/* 
* Acadify AI Lab - Dark Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Touring Brand Colors */
    --bg-body: #000000;
    --bg-nav: #000000;
    --bg-card: #111116;

    --primary-color: #3b82f6;
    /* Blue button color */
    --primary-hover: #2563eb;

    --text-main: #ffffff;
    --text-muted: #9ca3af;

    --border-color: #27272a;

    --font-main: 'Inter', sans-serif;

    --header-height: 80px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    padding-top: var(--header-height);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s;
}

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

/* Navbar */
.navbar {
    background-color: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    min-height: var(--header-height);
    z-index: 1050;
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    color: #d1d5db !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-top: 15px;
}

.dropdown-item {
    color: #d1d5db;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 4px 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    /* Turing uses slightly rounded corners, not pills */
    padding: 8px 24px;
    font-weight: 600;
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #050a1e !important;
    /* Dark blackish blue text on hover */
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #050a1e !important;
}

.btn-light {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    padding: 12px 32px;
    /* Bigger CTA buttons */
}

/* ========================================
   HERO SECTION - ACADIFY AI Lab STYLE
   ======================================== */

.hero-section {
    padding: 40px 0 30px 0;
    background-color: #000;
}

.hero-container {
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 50px 40px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.1);
    /* Gradient border effect */
    background-clip: padding-box;
    border: 2px solid transparent;
}

.hero-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.4) 0%,
            rgba(147, 197, 253, 0.2) 25%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(147, 197, 253, 0.2) 75%,
            rgba(59, 130, 246, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

.btn-hero {
    background-color: #fff;
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Partner Logos Slider */
.partner-logos-slider {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-logos-track {
    display: flex;
    gap: 60px;
    animation: slide-logos 30s linear infinite;
    width: fit-content;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo i {
    font-size: 1.3rem;
}

@keyframes slide-logos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Hover Scale Utility (replaces inline onmouseover) */
.btn-hover-scale {
    transition: transform 0.3s ease;
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

/* White Pill Button */
.btn-white-pill {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-white-pill:hover {
    background-color: #f3f4f6;
    color: #050a1e !important;
    /* Dark blackish blue text on hover */
    transform: translateY(-1px);
}

/* Feature Grid (Dark) */
.feature-section {
    padding: 5rem 0;
    /* Removed solid black to let body pattern show, or apply pattern explicitly if needed */
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.dark-card {
    background: transparent;
    border-top: 1px solid #333;
    padding: 2rem 0;
}

.dark-card:hover h4 {
    color: var(--primary-color);
}

.dark-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.dark-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer (Dark) */
footer {
    background-color: #000;
    border-top: 1px solid #222;
    padding-top: 5rem;
}

/* Blog/Subpages */
.page-header {
    background-color: #000;
    padding: 4rem 0;
    border-bottom: 1px solid #222;
}

/* --- Section 2: Mission Statement & Global Patterns --- */

/* High-tech Dot Matrix Background */
.bg-dot-pattern {
    background-color: #000;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 30px 30px;
    /* Spacing of dots */
    position: relative;
}

/* Fade overlay for the dot pattern so it doesn't look flat */
.bg-dot-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 90%);
    pointer-events: none;
}

.mission-section {
    padding: 4rem 0;
    /* Reduced from 8rem for consistency */
    position: relative;
    z-index: 10;
}

.mission-text {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    /* Reduced from 2.5rem */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.text-gradient-blue {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Custom Carousel Controls */
.carousel-custom-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 20;
}

.carousel-control-btn {
    background: rgba(255, 255, 255, 0.05);
    /* Slight fill */
    border: 1px solid #3f3f46;
    color: #fff;
    width: 56px;
    /* Larger buttons */
    height: 56px;
    border-radius: 50%;
    /* Rounded for modern feel */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.2rem;
}

.carousel-control-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.15);
    /* More visible hover */
    transform: scale(1.1);
}

.carousel-indicators-custom {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.carousel-indicators-custom li {
    width: 10px;
    height: 10px;
    background-color: #3f3f46;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators-custom li.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-color);
    /* Glow for active dot */
}

/* --- Section 3: Train AI (Grid) --- */
.train-section {
    padding: 4rem 0;
    /* Reduced from 6rem for tighter spacing */
    position: relative;
    z-index: 10;
}

.train-section .container {
    position: relative;
    z-index: 5;
    /* Ensure content is above the bg-dot-pattern overlay */
}

.section-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    color: #fff;
    text-transform: uppercase;
}

.train-headline {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2rem;
    max-width: 900px;
    text-align: left;
}

/* Interactive Cards */
.train-card {
    background-color: #0b0f19;
    /* Lighter dark blue for visibility */
    border: 1px solid #2d3748;
    /* More visible border */
    border-radius: 12px;
    padding: 2rem;
    min-height: 160px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    /* Ensure link style doesn't interfere */
}

.train-card:hover {
    border-color: var(--primary-color);
    background-color: #111827;
    /* Slightly lighter on hover */
    transform: translateY(-5px);
}

.card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-desc {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow Animation */
.arrow-icon {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.train-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* --- Section 4: Build AI (Concentric Circles) --- */
.build-section {
    padding: 4rem 0;
    /* Reduced from 6rem for tighter spacing */
    position: relative;
    overflow: hidden;
    /* Concentric Circles Background */
    background: radial-gradient(circle at center, transparent 0%, transparent 10%, #111 10.5%, transparent 11%),
        radial-gradient(circle at center, transparent 0%, transparent 20%, #111 20.5%, transparent 21%),
        radial-gradient(circle at center, transparent 0%, transparent 30%, #111 30.5%, transparent 31%),
        radial-gradient(circle at center, transparent 0%, transparent 40%, #111 40.5%, transparent 41%),
        radial-gradient(circle at center, transparent 0%, transparent 50%, #111 50.5%, transparent 51%);
    background-size: 100% 100%;
}

/* Fine concentric lines using repeating gradient for cleaner look */
.bg-concentric {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background-image: repeating-radial-gradient(circle at center,
            transparent 0,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40.5px,
            transparent 41px);
    z-index: 1;
    pointer-events: none;
}

.build-content {
    position: relative;
    z-index: 10;
}

.build-card {
    background-color: #05050a;
    border: 1px solid #1f2937;
    border-radius: 16px;
    height: 320px;
    /* Reduced from 400px */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.build-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

/* Card Background Image */
.build-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: all 0.5s ease;
    z-index: 1;
}

.build-card:hover .build-card-bg {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Gradient overlay for text readability */
.build-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    z-index: 2;
}

.build-card-content {
    position: relative;
    z-index: 5;
}

.build-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.build-card-desc {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Partner Bar */
.partner-bar {
    background: linear-gradient(90deg, #0b102b 0%, #171f48 50%, #0b102b 100%);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 1.5rem 3rem;
    margin-top: 2rem;
    /* Reduced from 3rem */
    display: flex;
    justify-content: center;
    /* Changed from space-between for better centering */
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    /* Reduced from 3rem */
}

.partner-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    /* Slightly larger */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.partner-logos {
    display: flex;
    gap: 3rem;
    /* Reduced from 3.5rem */
    align-items: center;
    justify-content: center;
}

.partner-logo {
    color: #fff;
    font-size: 1.5rem;
    /* Increased from 1.25rem */
    font-weight: 700;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-logo i {
    font-size: 1.8rem;
    /* Increased from 1.5rem */
}

/* --- Section 6: Trusted by Industry Leaders (Testimonials) --- */
.trusted-section {
    padding: 4rem 0;
    /* Reduced from 8rem for consistency */
    position: relative;
    background-color: #000;
    border-top: 1px solid #1f2937;
    overflow: hidden;
}

.testimonial-wrapper {
    max-width: 1000px;
    /* Increased from 900px for larger cards */
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

/* Card Style for Testimonials */
.testimonial-card {
    background-color: #0b0f19;
    /* Dark card bg */
    border: 1px solid #1f2937;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0.5rem;
    /* Reduced from 1rem for tighter spacing */
}

.testimonial-card:hover {
    border-color: #2b3544;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* --- Section 7: Research & Insights (Visionary Style) --- */
.research-section {
    padding: 4rem 0;
    /* Reduced from 8rem for consistency */
    position: relative;
    background-color: #0b0f19;
    /* Slightly lighter background than black sections */
    border-top: 1px solid #1f2937;
}

.research-card {
    background-color: #111827;
    /* Dark card base */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 350px;
    /* Reduced from 400px for more compact layout */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Utilities */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.transition-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.group:hover .group-hover-text-info {
    color: #00ccff !important;
}

.transition-colors {
    transition: color 0.3s ease;
}

.research-img-wrapper {
    height: 75%;
    /* Occupies most of the card */
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.research-card:hover .research-img {
    transform: scale(1.05);
    /* Zoom effect */
}

.research-info {
    height: 25%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    /* Distinct dark bottom bar */
    border-top: 1px solid #1f2937;
}

.research-text {
    display: flex;
    flex-direction: column;
}

.research-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.research-subtitle {
    color: #9ca3af;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-btn {
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.research-card:hover .research-btn {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
    /* "+" rotates */
}

/* --- Section 8: Final CTA (Glowing Card) --- */
.cta-section {
    padding: 5rem 0;
    /* Reduced from 8rem */
    position: relative;
    background-color: #000;
}

.cta-card {
    background: linear-gradient(135deg, #051433 0%, #000000 60%);
    border: 1px solid #1e3a8a;
    /* Blue border */
    border-radius: 20px;
    padding: 4rem 3rem;
    /* Reduced padding */
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(30, 58, 138, 0.3);
    /* Blue glow */
}

/* Ensure button text is white */
.cta-card .btn-primary-custom {
    color: #fff !important;
}

.cta-headline {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-subtext {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    max-width: 800px;
    line-height: 1.6;
}

/* Mobile responsiveness for CTA */
@media (max-width: 768px) {
    .cta-card {
        padding: 3rem 2rem;
        text-align: center;
    }

    .cta-headline {
        font-size: 2rem;
    }
}

/* --- Section 9: Footer --- */
.footer-section {
    background-color: #0b0f19;
    /* Dark base */
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid #1f2937;
    font-size: 0.95rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #9ca3af;
    /* Gray text */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
}

.footer-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    color: #d1d5db;
    /* Lighter gray for contact info */
}

.footer-contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
}

.footer-social-icons a {
    color: #9ca3af;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: #fff;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    flex-wrap: wrap;
    gap: 1rem;
}

.heart-icon {
    color: #ef4444;
    /* Red heart */
}

.testimonial-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 2rem;
    /* Remove shadow as it's now in a card */
    text-shadow: none;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-info {
    text-align: left;
}

/* --- Section 5: Hire AI Talent --- */
.hire-section {
    padding: 5rem 0;
    /* Reduced from 8rem */
    position: relative;
    /* Deep blue top gradient fading to black */
    background: linear-gradient(to bottom, #071a4e 0%, #000000 40%);
    border-top: 1px solid #1f2937;
}

.hire-headline {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2rem;
    max-width: 800px;
}

.stat-card {
    background-color: rgba(11, 15, 25, 0.6);
    /* Transparent dark */
    backdrop-filter: blur(10px);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 0 40px rgba(30, 58, 138, 0.3);
    /* Outer glow like hero section */
}

.stat-card:hover {
    background-color: rgba(11, 15, 25, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(30, 58, 138, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Enhanced glow on hover */
}

.stat-icon-wrapper {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
    /* Ensure alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    display: block;
    line-height: 1.2;
}

.stat-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Mega Menu Styles */
.navbar .has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    transition: all 0.3s ease;
    margin-top: 0;
    background-color: #000;
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    display: block;
    /* Override default display: none to animate opacity */
}

/* Show mega menu on hover */
/* Show mega menu when toggled by Bootstrap (click) */
.mega-menu.show {
    visibility: visible;
    opacity: 1;
}

.mega-menu-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1f2937;
}

.mega-menu-link {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mega-menu-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.mega-menu-link .text-muted {
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 0.25rem;
    color: #9ca3af !important;
}

/* Adjust dropdown toggle behavior for mega menu */
.navbar-nav .nav-item.has-mega-menu {
    position: static;
}

/* ========================================
   RESPONSIVE NAVIGATION STYLES
   ======================================== */

/* Tablet Landscape and Below (< 992px) */
@media (max-width: 991px) {

    /* Navbar adjustments */
    .navbar .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Mega menu becomes regular dropdown on tablet */
    .navbar-nav .nav-item.has-mega-menu {
        position: relative;
    }

    .mega-menu {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        max-height: 70vh;
        overflow-y: auto;
        background-color: #000 !important;
        z-index: 1040;
    }

    .mega-menu .container {
        padding: 0;
    }

    /* Stack mega menu columns */
    .mega-menu .row {
        flex-direction: column;
    }

    .mega-menu .col-lg-4,
    .mega-menu .col-lg-6,
    .mega-menu .col-md-6,
    .mega-menu .col-md-12 {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    /* Touch-friendly targets */
    .nav-link,
    .dropdown-item,
    .mega-menu-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
    }

    /* Improve dropdown spacing */
    .dropdown-menu {
        margin-top: 0.5rem;
    }
}

/* ========================================
   HERO SECTION RESPONSIVE
   ======================================== */

/* Tablet and below */
@media (max-width: 991px) {
    .hero-container {
        padding: 50px 35px;
        min-height: 500px;
    }

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

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

    .partner-logos-track {
        gap: 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0 20px 0;
    }

    .hero-container {
        padding: 35px 25px;
        min-height: 450px;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(59, 130, 246, 0.08);
    }

    .hero-content-center {
        padding: 30px 0;
    }

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

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .partner-logos-slider {
        padding-top: 30px;
    }

    .partner-logos-track {
        gap: 40px;
    }

    .partner-logo {
        font-size: 1rem;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .hero-container {
        padding: 25px 20px;
    }

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

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

    .partner-logos-track {
        gap: 35px;
    }

    .partner-logo {
        font-size: 0.9rem;
    }

    .partner-logo i {
        font-size: 1.1rem;
    }
}

/* Tablet Portrait and Below (< 768px) */
@media (max-width: 768px) {

    /* Reduce navbar padding */
    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Remove left margin from nav items */
    .navbar-nav {
        margin-left: 0 !important;
        padding: 0;
    }

    /* Full width mobile menu with better styling */
    .navbar-collapse {
        margin-top: 1rem;
        background-color: #000;
        border-radius: 12px;
        padding: 1rem 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    /* Mobile nav items */
    .nav-item {
        border-bottom: 1px solid #1f2937;
    }

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

    /* Nav links - larger touch targets */
    .nav-link {
        padding: 1rem 1.25rem !important;
        font-size: 1rem;
        font-weight: 600;
        color: #fff !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 48px;
        transition: all 0.2s ease;
    }

    .nav-link:hover,
    .nav-link:active {
        background-color: rgba(59, 130, 246, 0.1);
        color: var(--primary-color) !important;
    }

    /* Dropdown toggle arrow */
    .dropdown-toggle::after {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    /* Mega menu - accordion style */
    .mega-menu {
        position: relative !important;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #0b0f19 !important;
        padding: 0.5rem 0;
        margin: 0;
        max-height: none;
        border-radius: 8px;
        /* Let Bootstrap handle visibility with .show class */
        visibility: hidden;
        opacity: 0;
        display: none;
        transition: all 0.3s ease;
    }

    /* Show mega menu when Bootstrap adds .show class */
    .mega-menu.show {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }

    .mega-menu .container {
        padding: 0;
    }

    .mega-menu .row {
        margin: 0;
    }

    .mega-menu .col-lg-4,
    .mega-menu .col-lg-6,
    .mega-menu .col-md-6,
    .mega-menu .col-md-12 {
        padding: 0;
    }

    /* Mega menu sections */
    .mega-menu-heading {
        margin: 0;
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
        font-weight: 700;
        color: #9ca3af !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        background-color: rgba(31, 41, 55, 0.3);
        border-bottom: none;
    }

    .mega-menu ul {
        padding: 0.25rem 0;
    }

    /* Mega menu links - clean design */
    .mega-menu-link {
        padding: 0.875rem 1.25rem !important;
        margin: 0;
        border-radius: 0;
        transition: all 0.2s ease;
        color: #d1d5db !important;
        font-size: 0.95rem;
        font-weight: 500;
        display: block;
        min-height: 48px;
        border-left: 3px solid transparent;
    }

    .mega-menu-link:hover,
    .mega-menu-link:active,
    .mega-menu-link:focus {
        background-color: rgba(59, 130, 246, 0.08);
        color: #fff !important;
        border-left-color: var(--primary-color);
        padding-left: 1.5rem !important;
    }

    .mega-menu-link .text-muted,
    .mega-menu-link .small {
        display: none;
        /* Hide descriptions on mobile for cleaner look */
    }

    /* Standard dropdown menus */
    .dropdown-menu {
        border: none;
        background-color: #0b0f19 !important;
        padding: 0.25rem 0;
        margin: 0;
        border-radius: 8px;
        z-index: 1050;
        /* Let Bootstrap handle visibility */
        display: none;
    }

    /* Show dropdown when Bootstrap adds .show class */
    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        padding: 0.875rem 1.25rem;
        border-radius: 0;
        margin: 0;
        color: #d1d5db !important;
        font-size: 0.95rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }

    .dropdown-item .fw-bold {
        font-weight: 600;
        color: #fff;
    }

    .dropdown-item .small {
        display: none;
        /* Hide descriptions for cleaner mobile menu */
    }

    .dropdown-item:hover,
    .dropdown-item:active,
    .dropdown-item:focus {
        background-color: rgba(59, 130, 246, 0.08);
        color: #fff !important;
        border-left-color: var(--primary-color);
    }

    /* Navbar buttons - full width */
    .navbar .btn {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
    }

    .navbar .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
        padding: 1rem 1.25rem;
        border-top: 1px solid #1f2937;
        margin-top: 0.5rem;
    }

    .navbar .d-flex .nav-link {
        text-align: center;
        padding: 0.75rem !important;
    }




    /* Mission text */
    .mission-text {
        font-size: 1.75rem;
    }

    /* Train headline */
    .train-headline {
        font-size: 1.75rem;
    }

    /* Partner bar */
    .partner-bar {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.5rem;
    }

    .partner-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Footer adjustments */
    .footer-contact-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-social-icons {
        justify-content: center;
    }

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

/* Mobile (< 576px) */
@media (max-width: 576px) {

    /* Further reduce padding */
    .navbar .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Smaller brand text */
    .navbar-brand {
        font-size: 1.25rem;
    }



    .btn-white-pill {
        padding: 10px 24px;
        font-size: 0.95rem;
    }



    /* Mission section */
    .mission-section {
        padding: 4rem 0;
    }

    .mission-text {
        font-size: 1.5rem;
    }

    /* Section labels and headlines */
    .section-label {
        font-size: 0.8rem;
    }

    .train-headline,
    .hire-headline {
        font-size: 1.5rem;
    }

    /* Cards */
    .train-card,
    .build-card,
    .stat-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Build cards */
    .build-card {
        height: 300px;
    }

    .build-card-title {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.25rem;
    }

    /* Research cards */
    .research-card {
        height: 350px;
    }

    /* CTA section */
    .cta-headline {
        font-size: 1.75rem;
    }

    .cta-subtext {
        font-size: 1rem;
    }

    /* Mega menu links - better touch targets */
    .mega-menu-link {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .mega-menu-link .text-muted {
        font-size: 0.75rem;
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 375px) {



    .mission-text {
        font-size: 1.35rem;
    }

    .train-headline,
    .hire-headline,
    .cta-headline {
        font-size: 1.35rem;
    }

    /* Reduce card heights */
    .build-card {
        height: 250px;
    }

    .research-card {
        height: 300px;
    }

    /* Smaller buttons */
    .btn-white-pill,
    .btn-primary-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* Compact footer */
    .footer-section {
        padding-top: 3rem;
    }

    .footer-heading {
        font-size: 0.9rem;
    }
}

/* Landscape orientation improvements */
@media (max-height: 600px) and (orientation: landscape) {
    .mega-menu {
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }

    .container-fluid {
        overflow-x: hidden;
    }
}