/* assets/css/style.css — Tata Power DDL inspired corporate redesign */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES — Tata Power DDL colour palette
   ============================================================ */
:root {
    --primary:        #003087;
    --primary-light:  #0052cc;
    --secondary:      #1a1a2e;
    --accent:         #e8401c;
    --accent-light:   #ff6b35;
    --text:           #1a1a2e;
    --text-light:     #5a6a7a;
    --white:          #ffffff;
    --bg-light:       #f4f7fb;
    --border:         rgba(0, 48, 135, 0.10);
    --shadow:         0 8px 32px rgba(0, 48, 135, 0.12);
    --shadow-soft:    0 4px 16px rgba(0, 48, 135, 0.08);
    --shadow-lg:      0 16px 56px rgba(0, 48, 135, 0.16);
    --ring:           0 0 0 3px rgba(0, 82, 204, 0.20);
    --transition:     all 0.30s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h:       140px;   /* kept for hero height calc reference */
    --header-h-small: 110px;
    --navbar-h:       48px;    /* actual sticky navbar height */
    --topblock-h:     126px;   /* top-bar (~32px) + logo-row (~94px) */
    --radius:         8px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* No padding-top needed — header-top-block is in normal flow,
       only sticky-nav is position:sticky so no offset required */
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0 50px;
}

.section {
    padding: 90px 0;
    background: var(--white);
}

.section:nth-child(even) {
    background: var(--bg-light);
}

/* Section title — left-aligned with accent underline bar */
.section-title {
    margin-bottom: 55px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 620px;
    line-height: 1.7;
}

/* ============================================================
   TOP BAR — primary blue background, white text
   ============================================================ */
.top-bar {
    background: var(--primary);
    padding: 7px 0;
    font-size: 12.5px;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 5;
    color: rgba(255, 255, 255, 0.90);
}

.top-bar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 24px;
}

.top-info a {
    color: rgba(255, 255, 255, 0.90);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    font-weight: 500;
}

.top-info a:hover {
    color: var(--white);
}

.top-info i {
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
}

.top-social {
    display: flex;
    gap: 14px;
    align-items: center;
}

.top-social a {
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.top-social a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.40);
    transform: translateY(-1px);
}

/* ============================================================
   HEADER TOP BLOCK — scrolls with page (not sticky)
   ============================================================ */
.header-top-block {
    position: relative;
    z-index: 100;
    background: var(--white);
}

/* No SVG animation */
.header-bg-animation {
    display: none;
}

/* Logo Row */
.header-logo-row {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-logo-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.main-logo {
    height: 64px;
    transition: var(--transition);
}

.company-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-name-gradient {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary) !important;
    letter-spacing: -0.01em;
    line-height: 1.15;
    white-space: nowrap;
}

.company-address {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 3px;
    max-width: 460px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ============================================================
   STICKY NAVBAR — only this sticks to top on scroll
   ============================================================ */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.25s ease;
}

.sticky-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 48, 135, 0.13);
}

.sticky-nav > .container-full {
    display: flex;
    align-items: center;
}

/* Keep old selectors working for any legacy references */
header {
    /* no longer used as main wrapper — kept for compatibility */
}
.header-content-layer { position: relative; z-index: 2; }
.header-container     { display: flex; flex-direction: column; }
.header-main-row      { display: flex; justify-content: space-between; align-items: center; }
.header-nav-row       { display: flex; }

/* Nav links */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
    padding: 14px 0;   /* vertical padding gives navbar its height */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 10px;   /* sits just above the nav bottom edge */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links li {
    position: relative;
}

/* CTA Button — solid primary, sharp radius */
.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 11px 24px;
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-block;
}

.cta-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 48, 135, 0.25);
}

.cta-btn.cta-btn-invert {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.cta-btn.cta-btn-invert:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    color: var(--secondary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 230px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 3000;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    width: 100%;
}

.dropdown-menu li a {
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
}

.dropdown-menu li a i {
    color: var(--primary);
    width: 16px;
    font-size: 14px;
    text-align: center;
}

.dropdown-menu li a:hover {
    background: rgba(0, 48, 135, 0.05);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown-toggle i {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    margin-top: 0;
    /* Full viewport minus sticky navbar and the scrollable header-top-block */
    height: calc(100vh - var(--navbar-h) - var(--topblock-h));
    height: calc(100svh - var(--navbar-h) - var(--topblock-h));
    min-height: 420px;
    max-height: 780px;
    overflow: hidden;
    background: var(--secondary);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    padding: 60px 80px;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 48, 135, 0.30) 0%,
        rgba(26, 26, 46, 0.20) 50%,
        rgba(26, 26, 46, 0.72) 100%
    );
    z-index: 1;
}

.hero-content {
    z-index: 2;
    color: var(--white);
    max-width: 100%;
    padding: 0;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.slide.active .hero-content h1 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.hero-divider {
    display: block;
    width: 52px;
    height: 3px;
    background: var(--accent);
    margin: 14px 0 14px auto;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.slide.active .hero-divider {
    transform: scaleX(1);
    transition-delay: 0.3s;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 28px;
    font-weight: 400;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.90);
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.slide.active .hero-content p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}

.hero .cta-btn {
    border: none;
    padding: 13px 32px;
    font-size: 14px;
    border-radius: var(--radius);
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.6s ease;
    display: inline-block;
}

@keyframes bounceInRight {
    0%   { opacity: 0; transform: translateX(50px) scale(0.3); }
    60%  { opacity: 1; transform: translateX(-10px) scale(1.1); }
    80%  { transform: translateX(5px) scale(0.95); opacity: 1; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

.hero-content h1 span {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide.active .hero-content h1 span {
    animation: bounceInRight 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    opacity: 1;
}

.slide.active .hero-content p,
.slide.active .cta-btn {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.8s;
}

/* ============================================================
   SERVICES MARQUEE
   ============================================================ */
.services-marquee-container {
    width: 100%;
    overflow: hidden;           /* clips cards outside viewport */
    padding: 32px 0;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.services-marquee {
    display: flex;
    gap: 24px;
    width: max-content;         /* lets it grow as wide as all cards */
    animation: marqueeScroll 28s linear infinite;
}

.services-marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }  /* exactly half = one full set */
}

/* Individual service card */
.svc-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px 32px;
    width: 320px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

/* Coloured top accent bar */
.svc-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.svc-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    line-height: 1;
}

.svc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.svc-card p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.svc-card a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.svc-card a:hover {
    gap: 10px;
    color: var(--accent);
}

/* ============================================================
   SLIDER CONTROLS
   ============================================================ */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 10;
    pointer-events: none;
}

.slider-controls button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.slider-controls button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: var(--accent);
}

/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0;
}

/* ============================================================
   CARDS — clean white, subtle border, hover lifts with blue border
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.40s ease;
}

.card:hover .card-img img {
    transform: scale(1.06);
}

.card-body {
    padding: 26px 28px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-body .cat {
    display: inline-block;
    background: rgba(0, 48, 135, 0.07);
    color: var(--primary);
    padding: 4px 11px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

/* ============================================================
   CLIENTS BAR
   ============================================================ */
.clients-slider {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 72px;
    align-items: center;
}

.clients-track img {
    height: 56px;
    transition: var(--transition);
    object-fit: contain;
}

.clients-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER — solid dark navy
   ============================================================ */
footer {
    position: relative;
    overflow: hidden;
    background: #0d1b3e;
    color: rgba(255, 255, 255, 0.80);
    padding: 90px 0 30px;
}

/* Keep the class in markup but hide the SVG animation */
.ht-power-grid-animation {
    display: none;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

footer p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.75;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 72px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE — 991px
   ============================================================ */
@media (max-width: 991px) {
    .container-full {
        padding: 0 20px;
    }

    /* Hide desktop nav, show hamburger */
    .sticky-nav > .container-full {
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 36px 40px;
        box-shadow: -8px 0 28px rgba(0, 48, 135, 0.12);
        transition: right 0.30s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
        gap: 4px;
        display: flex !important;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 12px 0;
    }

    .nav-links a::after {
        bottom: 6px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: var(--secondary);
        cursor: pointer;
        z-index: 1600;
        background: none;
        border: none;
        padding: 8px;
    }

    .company-name-gradient {
        font-size: 16px;
        color: var(--primary) !important;
    }

    .company-address {
        font-size: 10px;
        white-space: normal;
        max-width: 200px;
        line-height: 1.2;
    }

    .main-logo {
        height: 52px;
    }

    .header-actions .cta-btn {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .about-brief .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-image {
        order: -1;
    }

    .about-image div {
        bottom: -15px !important;
        right: -15px !important;
        padding: 20px !important;
    }

    .hero {
        height: 420px;
        min-height: unset;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        white-space: normal;
    }

    footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .company-name-gradient {
        font-size: 14px;
    }

    .main-logo {
        height: 44px;
    }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .company-name-gradient {
        display: none;
    }

    .main-logo {
        height: 36px;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .hero {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .slide {
        padding: 30px 20px;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        padding: 0 16px;
    }
}

/* ============================================================
   LOGO GRID (Partners / Clients)
   ============================================================ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 56px;
}

.logo-item {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.logo-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.logo-item svg,
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 24px;
    }

    .logo-item {
        height: 72px;
    }
}

/* ============================================================
   MOBILE TOGGLE — hidden on desktop, shown on mobile via media query
   ============================================================ */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--secondary);
    padding: 8px;
    line-height: 1;
}

/* ============================================================
   NAV OVERLAY (mobile)
   ============================================================ */
#navOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1400;
}

#navOverlay.active {
    display: block;
}

/* ============================================================
   UTILITY
   ============================================================ */
.top_bar_buffer {
    display: none;
}

/* ============================================================
   FOOTER SOCIAL ICONS HOVER
   ============================================================ */
footer .footer-col a[aria-label]:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.40) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ============================================================
   SECTION TITLE — centered variant
   ============================================================ */
.section-title.centered {
    text-align: center;
}

.section-title.centered h2::after {
    left: 50%;
    transform: translateX(-50%);
}
