/* About Page Specific Styles */

/* ========================================
   HERO SECTION - REFERENCE STYLE
   ======================================== */

/* Hero Section - Reference Style */
.ref-hero {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: white;
    min-height: 70vh;
    /* Account for fixed navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ref-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.ref-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ref-hero h1 {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero Font Sizes */
@media (max-width: 1536px) {
    .ref-hero h1 {
        font-size: clamp(3.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 1280px) {
    .ref-hero h1 {
        font-size: clamp(3rem, 8vw, 3rem);
    }
}

@media (max-width: 1024px) {
    .ref-hero h1 {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .ref-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 640px) {
    .ref-hero h1 {
        font-size: clamp(1.8rem, 8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .ref-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .ref-hero h1 {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}

.ref-hero h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* 28.8px - 40px */
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fbc213;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ref-hero h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem); /* 17.6px - 24px */
    font-weight: 400;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CONTENT SECTIONS - REFERENCE STYLE
   ======================================== */

/* Content Sections - Reference Style */
.ref-content-section {
    padding: 6rem 0;
    position: relative;
    background: #ffffff;
}

.ref-content-section.alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ref-content-section.dark-bg {
    background: #1a1a1a;
    color: white;
}

.ref-content-section.dark-bg .ref-text-block h2 {
    color: white;
}

.ref-content-section.dark-bg .ref-text-block p {
    color: rgba(255, 255, 255, 0.9);
}

.content-cta {
    margin-top: 2rem;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.ref-content-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 3rem;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4vw;
    align-items: start;
}

.ref-text-block {
    grid-column: span 12;
}

.ref-text-block h1 {
    font-size: clamp(2rem, 6vw, 3.5rem); /* 32px - 56px */
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.ref-text-block h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* 28.8px - 40px */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.ref-text-block h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem); /* 20.8px - 28.8px */
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color:#ffffff;
}

.ref-text-block p {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* 16px - 19.2px */
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ref-image-block {
    grid-column: span 12;
    text-align: center;
}

.ref-image-block img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ref-image-block:hover img {
    transform: scale(1.02);
}

/* ========================================
   BOARD OF DIRECTORS SECTION
   ======================================== */

/* Board of Directors Section */
.board-directors-section {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.board-header {
    text-align: center;
    margin-bottom: 80px;
}

.board-title {
    font-size: clamp(2rem, 6vw, 3rem); /* 32px - 48px */
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.board-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* 16px - 19.2px */
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.board-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Board Member Cards - Half Yellow/Half White Background */
.board-member {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #fbc213 50%, #ffffff 50%);
}

.board-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.board-red {
    background: linear-gradient(90deg, #fbc213 50%, #ffffff 50%);
}

.board-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.board-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.board-member:hover .board-image img {
    transform: scale(1.05);
}

/* Text Info Above Image at Bottom with Gradient Overlay */
.board-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 30%, 
        rgba(251, 194, 19, 0.8) 70%, 
        rgba(251, 194, 19, 1) 100%);
    color: white;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.board-info h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem); /* 19.2px - 25.6px */
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: var(--font-bold);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.board-designation {
    font-size: var(--font-size-base); /* 16px - Base text */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   CTA SECTION - ENHANCED DESIGN
   ======================================== */

/* CTA Section - Enhanced Design */
.ref-cta-section {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ref-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.ref-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ref-cta-section h2 {
    font-size: clamp(2rem, 6vw, 3.5rem); /* 32px - 56px */
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.ref-cta-section p {
    font-size: clamp(1rem, 2.5vw, 1.4rem); /* 16px - 22.4px */
    margin-bottom: 3rem;
    opacity: 0.95;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ref-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ref-cta-buttons .btn {
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem); /* 14.4px - 17.6px */
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ref-cta-buttons .btn-primary {
    background: linear-gradient(135deg, #fbc213 0%, #e6a800 100%);
    color: #19365f;
    border: 2px solid #fbc213;
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.4);
}

.ref-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(251, 194, 19, 0.6);
    background: linear-gradient(135deg, #ffd700 0%, #fbc213 100%);
}

.ref-cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.ref-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* ========================================
   PARTNERS & BRANDS SECTION
   ======================================== */

/* Main Partners Section */
.partners-section,
.ref-content-section.partners-section {
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* Container Wrapper */
.partners-section .container,
.ref-content-section.partners-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Section Title */
.partners-section .section-title,
.ref-content-section.partners-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

/* Partners Grid Container */
.partners-badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    place-items: center;
    justify-content: center;
    align-content: center;
}

/* Individual Partner Item */
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
    align-self: center;
}

/* Partner Badge (Yellow Container) */
.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary-color, #fbc213);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin: 0 auto 1.5rem auto;
    border-radius: 0px 30px 40px 30px / 30px 30px 0px 30px;
    box-sizing: border-box;
    overflow: visible;
    text-align: center;
    box-shadow: 0 4px 12px rgba(251, 189, 19, 0.2);
}

/* Partner Badge Hover Effect */
.partner-badge:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(251, 189, 19, 0.4);
}

/* Partner Badge Images */
.partner-badge img {
    width: 100%;
    height: 100%;
    max-width: 280px;
    max-height: 120px;
    object-fit: cover;
    filter: brightness(0);
    z-index: 2;
    position: relative;
    display: block;
    margin: 0 auto;
    transition: filter 0.3s ease;
}

/* Partner Name Label */
.partner-name {
    color: white;
    font-size: clamp(0.8rem, 2.5vw, var(--font-size-base, 16px)); /* 12.8px - 16px */
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    font-family: var(--font-bold, 'Satoshi-Bold', sans-serif);
    margin-top: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}

/* Partner Name Underline Effect */
.partner-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color, #fbc213);
    transition: width 0.3s ease;
}

.partner-item:hover .partner-name::after {
    width: 100%;
}

/* ========================================
   RESPONSIVE DESIGN FOR ABOUT PAGE
   ======================================== */

/* Responsive Design for Reference Hero */
@media (max-width: 1024px) {
    /* Hero titles will scale automatically with clamp() */
}

@media (max-width: 768px) {
    .ref-hero {
        min-height: 80vh;
        /* Account for navbar on mobile */
    }
    
    /* Hero titles will scale automatically with clamp() */
}

@media (max-width: 480px) {
    .ref-hero {
        min-height: 70vh;
        /* Account for navbar on small mobile */
    }
    
    /* Hero titles will scale automatically with clamp() */
}

/* Responsive Design for Board of Directors */
@media (min-width: 1200px) {
    .board-main-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .board-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .board-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .board-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .board-member {
        height: 400px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .board-directors-section {
        padding: 3rem 0;
    }
    
    /* Board titles will scale automatically with clamp() */
    
    .board-member {
        height: 350px;
        max-width: 100%;
    }
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .ref-cta-section {
        padding: 6rem 0;
    }
    
    /* CTA titles will scale automatically with clamp() */
    
    .ref-cta-buttons {
        gap: 1rem;
    }
    
    /* Button text will scale automatically with clamp() */
}

@media (max-width: 480px) {
    .ref-cta-section {
        padding: 5rem 0;
    }
    
    /* CTA titles will scale automatically with clamp() */
    
    .ref-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ref-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}

/* Responsive Design for Content Sections */
@media (max-width: 1024px) {
    .ref-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .ref-text-block {
        grid-column: span 1;
    }
    
    .ref-image-block {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .ref-content-section {
        padding: 4rem 0;
    }
    
    /* Content titles will scale automatically with clamp() */
}

@media (max-width: 480px) {
    .ref-content-section {
        padding: 3rem 0;
    }
    
    /* Content titles will scale automatically with clamp() */
    
    /* Our Work Button Mobile Styles */
    .content-cta {
        text-align: center;
        margin-top: 2rem;
    }
    
    .btn-outline-white {
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: inline-block;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
}

/* ========================================
   AUTO-LOOPING PARTNERS SLIDER STYLES
   ======================================== */

/* Partners Slider - Hidden by default */
.partners-slider {
    display: none;
}

/* Partners Slider Container */
.partners-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 2rem auto;
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Partners Slider Track */
.partners-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    padding: 0 2rem;
    align-items: center;
    will-change: transform;
}

/* ========================================
   CONTINUOUS LOOP SLIDER FOR MOBILE (480px and below)
   ======================================== */

/* Continuous Loop Partners Slider - Only for mobile */
.partners-continuous-slider {
    display: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 2rem auto;
    background: rgba(255, 0, 0, 0.1); /* Debug: temporary red background to see if it's showing */
}

.partners-continuous-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partners-continuous-track {
    display: flex;
    animation: continuousScroll 20s linear infinite;
    gap: 2rem;
    align-items: center;
    will-change: transform;
    width: 200%; /* Ensure enough width for seamless loop */
}

/* Duplicate slides for seamless loop */
.partners-continuous-track .partner-item {
    flex-shrink: 0;
}

/* Continuous scroll animation */
@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partners-continuous-slider:hover .partners-continuous-track {
    animation-play-state: paused;
}

/* Smooth fade edges for continuous slider */
.partners-continuous-slider-container::before,
.partners-continuous-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.partners-continuous-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #000000, transparent);
}

.partners-continuous-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #000000, transparent);
}

/* Reduced motion support for continuous slider */
@media (prefers-reduced-motion: reduce) {
    .partners-continuous-track {
        animation: none;
    }
    
    .partners-continuous-slider:hover .partners-continuous-track {
        animation-play-state: running;
    }
}

/* ========================================
   RESPONSIVE DESIGN FOR PARTNERS
   ======================================== */

/* Desktop and Large Screens (781px+) - Show Grid */
@media (min-width: 781px) {
    .partners-section .container,
    .ref-content-section.partners-section .container {
        padding: 0 2rem;
    }
    
    .partners-badges-grid {
        display: grid;
        max-width: 100%;
        gap: 2rem;
    }
    
    .partners-slider {
        display: none !important;
    }
    
    .partners-continuous-slider {
        display: none !important;
    }
}

/* Tablet (481px - 780px) - Show regular slider */
@media (min-width: 481px) and (max-width: 780px) {
    .partners-section,
    .ref-content-section.partners-section {
        padding: 3rem 0;
    }
    
    .partners-section .container,
    .ref-content-section.partners-section .container {
        padding: 0 1rem;
    }
    
    /* Hide desktop grid on tablet */
    .partners-badges-grid {
        display: none;
    }
    
    /* Show regular slider on tablet */
    .partners-slider {
        display: block !important;
    }
    
    /* Hide continuous loop slider on tablet */
    .partners-continuous-slider {
        display: none !important;
    }
    
    .partner-item {
        max-width: 160px;
        flex-shrink: 0;
        width: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .partner-badge {
        max-width: 160px;
        width: 160px;
        height: 90px;
        border-radius: 0px 20px 25px 20px / 20px 20px 0px 20px;
        margin-bottom: 1rem;
    }
    
    .partner-badge img {
        max-width: 100px;
        max-height: 55px;
    }
    
    .partner-name {
        font-size: var(--font-size-base, 16px);
        margin-top: 0.8rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
    }
    
    .partners-slider-track {
        gap: 3rem;
        padding: 0 3rem;
    }
    
    .partners-slider-container {
        margin: 2.5rem auto;
    }
}

/* Mobile (480px and below) - Show continuous loop slider */
@media (max-width: 480px) {
    .partners-section,
    .ref-content-section.partners-section {
        padding: 2.5rem 0;
    }
    
    .partners-section .container,
    .ref-content-section.partners-section .container {
        padding: 0 0.75rem;
    }
    
    /* Hide desktop grid on mobile */
    .partners-badges-grid {
        display: none !important;
    }
    
    /* Hide regular slider on mobile */
    .partners-slider {
        display: none !important;
    }
    
    /* Show continuous loop slider */
    .partners-continuous-slider {
        display: block !important;
    }
    
    .partner-item {
        max-width: 140px;
        flex-shrink: 0;
        width: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .partner-badge {
        max-width: 140px;
        width: 140px;
        height: 80px;
        border-radius: 0px 15px 20px 15px / 15px 15px 0px 15px;
        margin-bottom: 0.8rem;
    }
    
    .partner-badge img {
        max-width: 85px;
        max-height: 45px;
    }
    
    .partner-name {
        font-size: var(--font-size-xs, 12px);
        margin-top: 0.4rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }
    
    .partners-continuous-track {
        gap: 2rem;
    }
    
    .partners-continuous-slider-container {
        margin: 2rem auto;
    }
}

/* ========================================
   NEWS SECTION - SPECIFIC STYLES
   ======================================== */

/* News Item Specific Styles */

.about-news-item-1 img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-news-item-2 img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-news-item-3 img{
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: left center;
}

/* About News Content Padding */
.about-news-content {
    padding: 2rem 1.5rem;
}

.about-news-content h3 {
    font-size: clamp(1rem, 3vw, 1.3rem); /* 16px - 20.8px */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-decoration: none;
    padding-bottom: 0.5rem;
}

.about-news-content h3:hover {
    text-decoration: none;
}

.about-news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem); /* 13.6px - 15.2px */
    padding-bottom: 0.5rem;
}

.about-news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.about-news-date {
    color: #fbc213;
    font-weight: 700;
    font-size: clamp(0.8rem, 2vw, 0.9rem); /* 12.8px - 14.4px */
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-news-category {
    color: #6c757d;
    font-size: clamp(0.8rem, 2vw, 0.9rem); /* 12.8px - 14.4px */
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* About Page News Section Styles */
.news {
    padding: 6rem 0;
    background: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.news-item-link:hover {
    text-decoration: none !important;
    transform: translateY(-5px);
}

.news-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 600px; /* Match index page desktop height */
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    flex-wrap: wrap;
}

.news-date {
    color: #fbc213;
    font-weight: 700;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-category {
    color: #6c757d;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* 16px - 19.2px */
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.3;
    text-decoration: none;
    flex-grow: 1;
}

.news-item h3:hover {
    text-decoration: none;
}

/* Remove all text decorations from news links */
.news-item-link,
.news-item-link:hover,
.news-item-link:focus,
.news-item-link:active {
    text-decoration: none !important;
}

.news-item-link h3,
.news-item-link h3:hover,
.news-item-link h3:focus,
.news-item-link h3:active {
    text-decoration: none !important;
}

/* Remove underlines from all news text elements */
.news-item,
.news-item *,
.news-item a,
.news-item h3,
.news-item span,
.news-date,
.news-category {
    text-decoration: none !important;
}

.news-item:hover,
.news-item:hover *,
.news-item:hover a,
.news-item:hover h3,
.news-item:hover span,
.news-date:hover,
.news-category:hover {
    text-decoration: none !important;
}

/* Ensure no underlines on any state */
.news-item:focus,
.news-item:active,
.news-item:visited {
    text-decoration: none !important;
}

.news-item:focus *,
.news-item:active *,
.news-item:visited * {
    text-decoration: none !important;
}





.about-news-item-1 {
    /* First news item specific styles */
    transition: all 0.3s ease;
}

.about-news-item-1:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.about-news-item-2 {
    /* Second news item specific styles */
    transition: all 0.3s ease;
}

.about-news-item-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.about-news-item-3 {
    /* Third news item specific styles */
    transition: all 0.3s ease;
}

.about-news-item-3:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Individual news item animations */
.about-news-item-1 {
    animation-delay: 0.1s;
}

.about-news-item-2 {
    animation-delay: 0.2s;
}

.about-news-item-3 {
    animation-delay: 0.3s;
}

/* Enhanced hover effects for each news item */
.about-news-item-1:hover .about-news-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.about-news-item-2:hover .about-news-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.about-news-item-3:hover .about-news-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Specific styling for news item titles */
.about-news-item-1 h3 {
    color: #19365f;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-news-item-1:hover h3 {
    color: #fbc213;
}

.about-news-item-2 h3 {
    color: #19365f;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-news-item-2:hover h3 {
    color: #fbc213;
}

.about-news-item-3 h3 {
    color: #19365f;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-news-item-3:hover h3 {
    color: #fbc213;
}

/* Responsive Design for News Section */
@media (max-width: 1024px) {
    .news-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .news {
        padding: 4rem 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-image {
        height: 400px;
    }
    
    .news-meta {
        margin: 1rem 1rem 0.5rem 1rem;
    }
    
    /* News titles will scale automatically with clamp() */
}

@media (max-width: 480px) {
    .news {
        padding: 3rem 0;
    }
    
    /* Hide desktop grid on mobile */
    .news-grid {
        display: none !important;
    }
    
    /* Show mobile slider */
    .news-slider {
        display: block !important;
    }
    
    /* Slider Container */
    .news-slider .slider-container {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    
    /* Slider Track */
    .news-slider .slider-track {
        display: flex;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 0;
        width: 100%;
    }
    
    /* News slider items - Match index page dimensions */
    .news-slider .news-item-link {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 700px; /* Increased to accommodate 530px image + content */
    }
    
    /* News slider specific styles */
    .news-slider .news-item {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .news-slider .news-item-link {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .news-slider .news-item .news-meta {
        margin-top: auto;
    }
    
    .news-slider .news-item h3 {
        flex: 1;
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }
    
    /* Ensure all news images in slider have same height - Match index page */
    .news-slider .news-image {
        height: 530px !important;
        overflow: hidden;
    }
    
    .news-slider .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    /* Slider Controls */
    .news-slider .slider-controls {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .news-slider .slider-btn {
        background: #fbc213;
        color: #19365f;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(251, 194, 19, 0.3);
    }
    
    .news-slider .slider-btn:hover:not(:disabled) {
        background: #e6a800;
        transform: translateY(-2px) scale(1.1);
        box-shadow: 0 6px 20px rgba(251, 194, 19, 0.4);
    }
    
    .news-slider .slider-btn:disabled {
        background: #bdc3c7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        opacity: 0.5;
    }
    
    .news-slider .slider-btn:active {
        transform: translateY(0);
    }
    
    .news-image {
        height: 400px; /* Desktop mobile fallback */
    }
    
    .news-meta {
        margin: 0.8rem 0.8rem 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    .news-date,
    .news-category {
        font-size: clamp(0.7rem, 2vw, 0.8rem); /* 11.2px - 12.8px */
        padding: 0.4rem 0.8rem;
    }
    
    /* News titles will scale automatically with clamp() */
}

/* Hide mobile slider on desktop */
@media (min-width: 481px) {
    .news-slider {
        display: none !important;
    }
    
    /* Ensure desktop grid is visible */
    .news-grid {
        display: grid !important;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus states for keyboard navigation */
.partner-badge:focus {
    outline: 2px solid var(--accent-color, #fbc213);
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .partner-badge,
    .partner-name,
    .partner-name::after {
        transition: none;
    }
    
    .partner-badge:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .partner-badge {
        border: 2px solid white;
    }
    
    .partner-name {
        text-shadow: none;
        -webkit-text-fill-color: white;
        background: none;
    }
}

/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important; /* Reduced from 150px */
    width: 140px !important; /* Reduced from 200px */
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important; /* Reduced from 2rem */
}
