/* Design System Tokens */
:root {
    --primary-green: #218e3b;
    --primary-red: #ce070a;
    --accent-yellow: #fad103;
    
    /* System Colors */
    --bg-white: #ffffff;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --bg-accent: #f1f5f9;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-muted: #64748b;
    --border-color: #f8f8f8;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    /* Max Width */
    --container-width: 1200px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

/* Common Components */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 0.25rem 0rem;
    background-color: transparent;
    color: var(--primary-green);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title-center {
    font-size: clamp(2rem, 3.5vw, 2.55rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.section-subtitle-center {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon-svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Primary Button Solid Colors */
.btn-primary {
    background-color: #ce070ad9;
    border: 1px solid #ce070ad9;
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(206, 7, 10, 0.2);
}

.btn-primary.bg-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}
.btn-primary.bg-green:hover {
    background-color: #176d2c;
    border-color: #176d2c;
    box-shadow: 0 4px 12px rgba(33, 142, 59, 0.2);
}

.btn-primary.bg-red {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}
.btn-primary.bg-red:hover {
    background-color: #a30508;
    border-color: #a30508;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 7, 10, 0.2);
}

/* Yellow Button uses Dark Text for Accessibility Contrast */
.btn-primary.hero-cta {
    border: 1px solid #fff;
    color: #fff;
}
.btn-primary.hero-cta:hover {
    background-color: #fff;
    color: var(--text-dark);
}

/* Secondary Button Outlined Colors */
.btn-secondary {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-medium);
}
.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-dark);
}

.btn-secondary.border-green {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.btn-secondary.border-green:hover {
    background-color: rgba(33, 142, 59, 0.05);
    transform: translateY(-2px);
}

.btn-secondary.border-red {
    border-color: var(--primary-red);
    color: var(--primary-red);
}
.btn-secondary.border-red:hover {
    background-color: rgba(206, 7, 10, 0.05);
    transform: translateY(-2px);
}

.btn-secondary.border-yellow {
    border-color: var(--accent-yellow);
    color: #bfa000;
}
.btn-secondary.border-yellow:hover {
    background-color: rgba(250, 209, 3, 0.05);
    transform: translateY(-2px);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ce070a;
    border-bottom: none;
    transition: var(--transition);
}

.main-header .nav-link {
    color: #ffffff;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.main-header.header-scrolled .nav-container {
    padding: 0.4rem 0rem;
}

.logo-link {
    display: flex;
    align-items: center;
    padding: 0.35rem 0rem;
    border-radius: var(--radius-md);
    background-color: transparent;
    transition: var(--transition);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-header.header-scrolled .logo-img {
    height: 40px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-medium);
    position: relative;
    padding: 0.5rem 0;
}
.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #fad103 0%, #bbf21d 50%, #218e3b 100%);
    transition: var(--transition);
}


.main-header:not(.header-scrolled) .nav-link:hover,
.main-header:not(.header-scrolled) .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100% !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 8rem;
    background:#ce070a;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 5;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.55rem);
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(to right, #fad103 0%, #bbf21d 50%, #218e3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    width: 100%;
    max-width: 490px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    margin-left: auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background-color: var(--bg-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* About Section */
.about-section {
    padding: 6.5rem 2rem;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-info {
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.55rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.about-image-wrapper {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Browser Mockup Fallback / Placeholder */
.about-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f1f5f9;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
}

/* Services Hub Section */
.services-section {
    padding: 6rem 2rem;
}

.services-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.services-grid {
    display: none;
}

/* Services Row Layout */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
    margin-top: 3rem;
}

.service-row-card {
    background-color: var(--bg-white);
    border: 1px solid #eeeeee;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    gap: 2.5rem;
    align-items: center;
    transition: var(--transition);
}

.service-row-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

/* Image column */
.row-image-wrapper {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #faf9f9; /* Neutral grey placeholder background */
    position: relative;
    border: 1px solid #e2e8f0;
}

.row-image-wrapper.bg-placeholder {
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-row-card:hover .row-image {
    transform: scale(1.03);
}

/* Content column */
.row-content-area {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.row-category {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.row-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.row-slogan {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
}

.row-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.55;
    margin-top: 0.25rem;
}

/* Actions column */
.row-actions-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.row-actions-area .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.825rem;
    border-radius: var(--radius-sm);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Actions column specific button styles */
.row-actions-area .btn-primary {
    background-color: #ce070ad9;
    border: 1px solid #ce070ad9;
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.row-actions-area .btn-primary:hover {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: var(--bg-white) !important;
    box-shadow: 0 4px 12px rgba(206, 7, 10, 0.2) !important;
}

.row-actions-area .btn-secondary {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    transition: all 0.3s ease;
}

.row-actions-area .btn-secondary:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .service-row-card {
        grid-template-columns: 180px 1fr 160px;
        gap: 1.5rem;
    }
}

@media (max-width: 820px) {
    .services-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-row-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 1.25rem;
        padding: 1.25rem;
        text-align: center;
        align-items: stretch;
    }
    
    .row-image-wrapper {
        height: 140px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .row-actions-area {
        flex-direction: row;
        gap: 0.5rem;
        margin-top: auto;
    }
    
    .row-actions-area .btn {
        flex: 1;
        font-size: 0.775rem;
        padding: 0.65rem 0.25rem;
    }
}

@media (max-width: 576px) {
    .services-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .row-actions-area {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .row-actions-area .btn {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}


/* Dedicated Talents Section (RH) */
.talents-section {
    padding: 6rem 2rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.talents-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.talents-intro-box {
    max-width: 750px;
    margin: -1.5rem auto 3.5rem;
    text-align: center;
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.6;
}

.talents-panels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.talent-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
    padding: 0; /* Bleed layout */
}

.talent-panel:hover {
    box-shadow: var(--shadow-md);
}

/* Panel Bleed Image Wrapper */
.panel-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px; /* Reduced from 200px for a more compact panel */
    overflow: hidden;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.panel-image-wrapper.bg-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.talent-panel:hover .panel-image {
    transform: scale(1.05);
}

.panel-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.5rem 1.5rem 0;
}

/* In-body panel badge styling */
.panel-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.panel-badge.badge-red {
    background-color: rgba(206, 7, 10, 0.08);
    color: var(--primary-red);
}

.panel-badge.badge-slate {
    background-color: rgba(71, 85, 105, 0.08);
    color: #475569;
}

.panel-body-content {
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    width: 100%;
}

.panel-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f5f9;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.panel-icon-box.text-red {
    color: var(--primary-red);
    background-color: rgba(206, 7, 10, 0.05);
}

.panel-icon-box.text-slate {
    color: #475569;
    background-color: rgba(71, 85, 105, 0.05);
}

.panel-icon-svg {
    width: 1.75rem; /* Reduced from 2rem */
    height: 1.75rem;
    color: currentColor;
    stroke-width: 1.5;
}

.talent-panel:hover .panel-icon-box.text-red {
    transform: scale(1.05);
    background-color: rgba(206, 7, 10, 0.1);
}

.talent-panel:hover .panel-icon-box.text-slate {
    transform: scale(1.05);
    background-color: rgba(71, 85, 105, 0.1);
}

.panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.panel-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1.75rem;
    line-height: 1.5;
    max-width: 425px;
    flex-grow: 1;
}

.panel-action {
    width: 100%;
}

.panel-action .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
}

/* Footer styling */
.main-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    background-color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    object-fit: contain;
    display: inline-block;
    transition: var(--transition);
}

.footer-logo:hover {
    background-color: #a30508;
}

.footer-brand-name {
    font-size: 1.35rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: var(--text-medium);
    font-weight: 400;
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.footer-contact-item {
    color: var(--text-medium);
    font-size: 0.87rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsiveness (Media queries) */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.25rem 2rem;
    }
    
    .main-header.header-scrolled .nav-container {
        padding: 0.85rem 2rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .footer-grid {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .hero-section {
        padding: 5.5rem 2rem 8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 0;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 310px;
        margin-bottom: 0 !important;
        aspect-ratio: 1 / 1;
        margin: 0 auto 2rem;
        order: -1; /* visual on top for mobile/tablet */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .talents-panels-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        padding: 3rem 2rem;
        border-top: 1px solid var(--border-color);
        transition: var(--transition);
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.menu-active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: 100%;
        color: var(--text-dark) !important;
    }

    .main-header .nav-link::after {
        background: var(--primary-red);
    }
    
    .main-header.header-scrolled .nav-container {
        padding: .8rem 2rem; /* keep same padding on mobile */
    }

    .nav-container {
        padding: 1.25rem 2rem; /* keep same padding on mobile */
    }

    .main-header {
        background-color: var(--primary-red) !important;
        border-bottom: none !important;
    }

    .main-header .hamburger-bar {
        background-color: #ffffff;
    }
    
    .main-header.header-scrolled .logo-img {
        height: 45px; /* keep logo size on mobile */
    }

    .logo-link {
        padding: 0;
    }

    /* Hide logo on mobile when not scrolled, show with smooth transition when scrolled */
    .main-header .logo-link {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.9) translateX(-15px);
        transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.35s ease;
    }

    .main-header.header-scrolled .logo-link {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1) translateX(0);
    }
    
    /* Toggle menu animation state */
    .mobile-menu-toggle.menu-active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.menu-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.menu-active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .services-list {
        gap: 2rem;
    }

    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-actions.actions-double {
        display: grid;
        grid-template-columns: 1fr; /* Stack actions only on small mobile viewports */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .talents-panels-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
}
