/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D4A574;
    --secondary-color: #1A2332;
    --dark-blue: #0D1520;
    --text-light: #ffffff;
    --text-dark: #1A2332;
    --text-gray: #6B7280;
    --accent-gold: #F5C77E;
    --bg-light: #F9FAFB;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 62px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link-cta {
    background: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    color: var(--dark-blue);
}

.nav-link-cta:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.nav-link-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #4a5568, #5a6575);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.hero-overlay {
    /* Not needed with solid gradient background */
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 8rem 0 5rem;
    margin-top: 0;
    padding-top: 10rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-header p {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.candidates-header {
    background: linear-gradient(135deg, #0D1520, #1A2332, #2C3E50);
}

.vendors-header {
    background: linear-gradient(135deg, #1A2332, #2C3E50, #34495E);
}

.contact-header {
    background: linear-gradient(135deg, #0D1520, #1A2332);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.emphasis-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 2rem 0;
}

/* Content Boxes */
.content-box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-box p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.content-box h3 {
    color: var(--dark-blue);
    margin: 2rem 0 1.5rem;
    font-size: 1.5rem;
}

/* Who We Are Section */
.who-we-are {
    background: var(--bg-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.feature-icon-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* What Makes Different */
.what-makes-different {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-color));
    color: var(--text-light);
}

.what-makes-different .section-title {
    color: var(--text-light);
}

.what-makes-different .feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.what-makes-different .feature-card h3 {
    color: var(--primary-color);
}

.what-makes-different .feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* What We Do */
.what-we-do {
    background: var(--bg-light);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.two-column h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: var(--primary-color);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Who We Serve */
.who-we-serve {
    background: white;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.serve-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.serve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.2);
}

.serve-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-gray);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Why Norte */
.why-norte {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
}

.why-norte-content {
    max-width: 800px;
    margin: 0 auto;
}

.compass-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.why-norte h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.why-norte .lead-text {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.why-norte p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* About Page Specific */
.about-content {
    background: white;
}

.mission-section {
    background: white;
}

.mission-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.mission-box h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.mission-box p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.values-section {
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.value-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.sets-apart {
    background: white;
}

.apart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.apart-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.apart-item h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.apart-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Candidates Page Specific */
.candidates-intro {
    background: white;
}

.how-we-work {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.benefit-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.expect-section {
    background: var(--bg-light);
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expect-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

.expect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expect-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.expect-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expect-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.tech-roles {
    background: white;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.role-category {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--primary-color);
}

.role-category h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.role-category ul {
    list-style: none;
}

.role-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.role-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1.2;
}

.contract-types {
    background: var(--bg-light);
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contract-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.contract-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contract-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Vendors Page Specific */
/* Partner Logos Carousel */
.logo-carousel-section {
    background: var(--dark-blue);
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}

.carousel-logo {
    flex-shrink: 0;
    width: 180px;
    height: 70px;
    margin: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.carousel-logo:hover {
    opacity: 0.85;
}

.carousel-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.logo-carousel-section:hover .logo-carousel-track {
    animation-play-state: paused;
}

/* Vendors Page Specific */
.vendors-intro {
    background: white;
}

.what-we-deliver {
    background: white;
}

.deliver-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.deliver-card {
    display: flex;
    gap: 2rem;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.deliver-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.deliver-icon {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.deliver-content h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.deliver-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

.why-partner {
    background: var(--bg-light);
}

.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.partner-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-benefit-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.partner-benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.tech-domains {
    background: white;
}

.domains-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.domain-group {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border-top: 3px solid var(--primary-color);
}

.domain-group h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.domain-group p {
    color: var(--text-gray);
    line-height: 1.8;
}

.our-process {
    background: var(--bg-light);
}

.process-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(212, 165, 116, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}

.step-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.engagement-models {
    background: white;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.engagement-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.engagement-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.engagement-card p {
    color: var(--text-gray);
    line-height: 1.8;
}


/* Careers Page - Job List */
.careers-section {
    background: var(--bg-light);
}

.jobs-list {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-list-item {
    background: white;
    border-bottom: 1px solid #e8eaed;
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.job-list-item:last-child {
    border-bottom: none;
}

.job-list-item:hover {
    background: #f0f4f8;
    padding-left: 2.1rem;
}

.job-list-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.job-list-title {
    color: var(--dark-blue);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.job-list-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.job-list-badge {
    background: var(--primary-color);
    color: var(--dark-blue);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    margin: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    position: relative;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    line-height: 1;
    z-index: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-header {
    background: linear-gradient(135deg, #1A2332, #2C3E50, #34495E);
    color: white;
    padding: 1.8rem 2rem 1.6rem;
}

.modal-header h2 {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.modal-header-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    opacity: 0.82;
}

.modal-body {
    padding: 1.8rem 2rem;
}

.modal-section {
    margin-bottom: 1.6rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h4 {
    color: var(--dark-blue);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.55rem;
    font-family: 'Inter', sans-serif;
}

.modal-section p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.93rem;
}

.modal-skills {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.25rem 1rem;
}

.modal-skills li {
    padding: 0.35rem 0 0.35rem 1.3rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.modal-skills li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-details {
    background: var(--bg-light);
    padding: 1.1rem 1.4rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.modal-detail-item strong {
    color: var(--dark-blue);
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.modal-detail-item span {
    color: var(--text-gray);
    font-size: 0.88rem;
}

.modal-footer {
    border-top: 1px solid #e8eaed;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-email {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.modal-email a {
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
}

.modal-email a:hover {
    text-decoration: underline;
}

.modal-posted {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin: 0;
}

/* Modal + list responsive */
@media (max-width: 600px) {
    .modal-overlay {
        padding: 1rem 0.5rem;
    }
    .modal-details {
        grid-template-columns: 1fr;
    }
    .modal-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .job-list-item {
        padding: 1.2rem 1rem;
    }
    .job-list-item:hover {
        padding-left: 1rem;
    }
    .job-list-meta {
        gap: 0.6rem;
    }
}

/* Contact Page Specific */
.contact-content {
    background: white;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.contact-details strong {
    color: var(--dark-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-gold);
}

.quick-links-section {
    background: white;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.quick-link-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.quick-link-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.response-section {
    background: var(--bg-light);
}

.response-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.response-box h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.response-box p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-color));
    color: var(--text-light);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-center {
    text-align: center;
    margin-top: 2.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

/* Large screen optimization */
@media (min-width: 1400px) {
    .feature-icon,
    .feature-icon-img {
        width: 130px;
        height: 130px;
    }
    
    .compass-icon {
        width: 90px;
        height: 90px;
    }
    
    .value-icon {
        width: 90px;
        height: 90px;
    }
    
    .feature-card {
        padding: 3rem;
    }
}

/* Extra large screens */
@media (min-width: 1920px) {
    .feature-icon,
    .feature-icon-img {
        width: 140px;
        height: 140px;
        max-width: 140px;
        max-height: 140px;
    }
    
    .compass-icon {
        width: 100px;
        height: 100px;
        max-width: 100px;
        max-height: 100px;
    }
    
    .value-icon {
        width: 100px;
        height: 100px;
        max-width: 100px;
        max-height: 100px;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-img {
    height: auto;
    width: 480px;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    /* Responsive icon sizing for tablets */
    .feature-icon,
    .feature-icon-img {
        width: 100px;
        height: 100px;
    }
    
    .compass-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .serve-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
    
    /* Mobile icon sizing */
    .feature-icon,
    .feature-icon-img {
        width: 80px;
        height: 80px;
        padding: 0.5rem;
    }
    
    .compass-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }

    .features-grid,
    .benefits-grid,
    .expect-grid,
    .roles-grid,
    .contract-grid,
    .partner-benefits-grid,
    .domains-showcase,
    .engagement-grid,
    .contact-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .deliver-card {
        flex-direction: column;
    }
    
    /* Careers page mobile styles */
    .job-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .job-badge {
        align-self: flex-start;
    }
    
    .job-body {
        padding: 1.5rem;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1.5rem;
    }
    
    .job-footer .btn {
        width: 100%;
    }
    
    .job-posted {
        text-align: center;
    }
    
    .job-skills {
        grid-template-columns: 1fr;
    }
}