/* G-TEC PATTAMBI THEME - AWWWARDS UPGRADE */
/* Color Palette:
    - G-TEC Blue: #0078C7 (Primary)
    - G-TEC Red:  #E60026 (Accent)
    - Dark Text:  #1d2a3a
    - Body Text:  #4a5568
    - White:      #FFFFFF
    - Light BG:   #F7FAFC
*/

/* --- ROOT VARIABLES & GLOBAL RESETS --- */
:root {
    --gtec-blue: #004181; /* Congress Blue */
    --gtec-red: #FF0100;  /* Bright Red */
    --gtec-dark: #004181; /* Headings now Congress Blue */
    --gtec-text: #333333; /* Dark Gray */
    --gtec-white: #FFFFFF;
    --gtec-light-bg: #F7FAFC;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gtec-text);
    line-height: 1.7; /* Increased for readability */
    background-color: var(--gtec-white);
}

.container {
    max-width: 1140px; /* Wider container */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gtec-dark);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; }
ul { list-style: none; }

section {
    padding: 100px 0; /* More vertical space */
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gtec-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gtec-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto; /* Increased bottom margin */
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--gtec-red); /* Primary Buttons are now Red */
    color: var(--gtec-white);
}
.btn-primary:hover {
    background-color: #cc0000; /* Darker Red */
}

.btn-accent {
    background-color: var(--gtec-blue); /* Accent button now Blue */
    color: var(--gtec-white);
}
.btn-accent:hover {
    background-color: #003366; /* Darker Blue */
}

.btn-accent-light {
    background-color: var(--gtec-white);
    color: var(--gtec-blue);
    font-weight: 700;
}
.btn-accent-light:hover {
    background-color: var(--gtec-light-bg);
}

.btn-ghost {
    background-color: transparent;
    color: var(--gtec-white);
    border-color: rgba(255, 255, 255, 0.8);
}
.btn-ghost:hover {
    background-color: var(--gtec-white);
    color: var(--gtec-blue);
}

/* --- HEADER & NAVIGATION --- */
.header {
    background-color: var(--gtec-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
    padding: 0; /* Remove padding from header container as requested */
}

.header.scrolled {
    background-color: var(--gtec-blue);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Increased height */
    padding: 0 20px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gtec-white); /* White logo text */
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 90px; /* Match navbar height for no padding look */
    width: auto;
    display: block;
}

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

.nav-item {
    margin: 0 18px; /* Increased spacing */
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gtec-white); /* White links */
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: var(--gtec-white);
    opacity: 0.8;
}
.nav-link:hover::after {
    width: 100%;
}

/* Header Button Visibility */
.nav-btn-desktop {
    display: inline-block;
}

.nav-btn-mobile {
    display: none;
}

/* --- DROPDOWN MENU --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--gtec-white);
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 15px 0;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--gtec-blue); /* Use brand blue for dropdown text */
    padding: 10px 25px;
    text-decoration: none;
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--gtec-light-bg);
    color: var(--gtec-red);
    padding-left: 30px;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--gtec-white); /* White bars for blue header */
    transition: all 0.3s ease-in-out;
}


/* --- HERO SECTION (IMMERSIVE TECH REDESIGN) --- */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, #004181 0%, #002a52 50%, #001224 100%);
    z-index: 1;
    padding-top: 90px; /* Offset for fixed header */
}

/* Animated Tech Grid Background */
.tech-grid-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* Wrapper will handle Parallax via JS */
}

.tech-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: grid-move 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

/* Floating Particles/Glow */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    transition: transform 0.1s ease-out; /* Smooth movement for parallax */
}
.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gtec-red);
    top: -50px;
    right: -50px;
    /* Removed animation: float-orb... to let JS handle parallax/movement or mix them */
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gtec-blue);
    bottom: -100px;
    left: -100px;
}

/* Entrance Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-entry {
    opacity: 0; /* Start hidden */
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.hero-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Content */
.hero-content {
    color: var(--gtec-white);
}

.hero-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: #a5d8ff;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, #a5d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--gtec-red);
    position: relative;
    display: inline-block;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 540px;
}

/* New Button Styles */
.hero-btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-glow {
    position: relative;
    padding: 16px 36px;
    background: var(--gtec-red);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 1, 0, 0.4);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 1, 0, 0.6);
}

.btn-glass {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Right Content: 3D Card Stack */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stack {
    position: relative;
    width: 320px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    animation: float-stack 6s ease-in-out infinite;
}

@keyframes float-stack {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

.glass-card {
    position: absolute;
    width: 100%;
    height: 220px; /* Shorter height for stacked look */
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    transition: all 0.4s ease;
    transform-origin: center;
}

.glass-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, #a5d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Stack positioning with Cycling Animation (5 Cards) */
.glass-card {
    position: absolute;
    animation: swap-card-5 15s ease-in-out infinite;
}

/* Pause the whole stack when hovering the container */
.card-stack:hover .glass-card {
    animation-play-state: paused;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -3s; }
.card-3 { animation-delay: -6s; }
.card-4 { animation-delay: -9s; }
.card-5 { animation-delay: -12s; }

@keyframes swap-card-5 {
    /* Front Position (Stage 1) */
    0%, 15% {
        top: 120px;
        z-index: 5;
        transform: translateZ(0) scale(1);
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.5);
        background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
    }
    /* Move to Middle (Stage 2) */
    20%, 35% {
        top: 60px;
        z-index: 4;
        transform: translateZ(-40px) scale(0.95);
        opacity: 0.8;
        border-color: rgba(255, 255, 255, 0.18);
        background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    }
    /* Move to Back (Stage 3) */
    40%, 55% {
        top: 0px;
        z-index: 3;
        transform: translateZ(-80px) scale(0.9);
        opacity: 0.6;
        border-color: rgba(255, 255, 255, 0.18);
    }
    /* Hidden/Transitioning (Stage 4) */
    60%, 75% {
        top: -40px;
        z-index: 2;
        transform: translateZ(-120px) scale(0.85);
        opacity: 0;
    }
    /* Hidden/Transitioning (Stage 5) */
    80%, 95% {
        top: 160px;
        z-index: 1;
        transform: translateZ(-120px) scale(0.85);
        opacity: 0;
    }
    100% {
        top: 120px;
        z-index: 5;
        transform: translateZ(0) scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-desc {
        margin: 0 auto 40px;
    }
    
    .hero-btn-group {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .card-stack {
        transform: rotateY(0) rotateX(0); /* Flatten for mobile */
        animation: none;
    }

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



/* --- PARTNERS SECTION --- */
.partners {
    background-color: var(--gtec-white);
    padding: 60px 0;
}
.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}
.partner-logos:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-logos img {
    max-height: 45px;
    transition: transform 0.3s ease;
}
.partner-logos img:hover {
    transform: scale(1.1);
}

/* --- COURSES SECTION --- */
.courses-section {
    background-color: var(--gtec-light-bg);
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--gtec-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.card-icon {
    font-size: 3rem;
    color: var(--gtec-blue);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.course-card:hover .card-icon {
    transform: scale(1.1);
}
.course-card h3 {
    margin-bottom: 0.5rem;
}
.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--gtec-red);
    font-weight: 700;
    transition: transform 0.3s ease;
}
.card-link:hover {
    transform: translateX(5px);
}

/* --- ABOUT SECTION (Awwwards Style Asymmetrical Layout) --- */
.about-section {
    background-color: var(--gtec-white);
}
.about-container {
    display: grid; /* Changed to Grid */
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}
.about-image {
    grid-column: 2 / 3; /* Image on the right */
    grid-row: 1 / 2;
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.about-content {
    grid-column: 1 / 2; /* Text on the left */
    grid-row: 1 / 2;
    z-index: 2; /* Text on top of image shadow */
    padding-right: 2rem;
}
.about-content p {
    text-align: justify;
    text-justify: inter-word;
}
.about-content .section-title, .about-content .section-subtitle {
    text-align: left;
}
.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 2.5rem;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gtec-blue);
}

/* --- STRENGTH SECTION --- */
.strength-section {
    background-color: var(--gtec-light-bg);
}
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.strength-item {
    text-align: center;
    padding: 20px;
}
.strength-icon {
    font-size: 2.5rem;
    color: var(--gtec-red);
    background-color: #fee2e2;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.strength-item:hover .strength-icon {
    background-color: var(--gtec-red);
    color: var(--gtec-white);
    transform: rotate(15deg) scale(1.1);
}
.strength-item h4 {
    color: var(--gtec-blue);
    margin-bottom: 0.5rem;
}

/* --- CTA SECTION --- */
.cta-section {
    /* Upgraded Gradient Background */
    background: linear-gradient(135deg, var(--gtec-blue), #005f9e);
    color: var(--gtec-white);
    text-align: center;
}
.cta-content h2 {
    color: var(--gtec-white);
    margin-bottom: 1rem;
}
.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--gtec-dark);
    color: #a0aec0;
    padding: 80px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr 1.5fr; /* 5 columns now */
    gap: 40px;
    padding: 0 40px 50px 40px; /* Added left and right padding */
}
.footer-col h4 {
    color: var(--gtec-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gtec-red);
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #a0aec0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--gtec-red);
    padding-left: 5px;
}
.footer-col p {
    font-size: 0.9rem;
}
.footer-col p i {
    color: var(--gtec-blue);
    margin-right: 10px;
    width: 15px; /* Align icons */
}

/* Dynamic Hours List */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    color: #a0aec0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list span.day-name {
    font-weight: 500;
}

.hours-list li.today-highlight {
    color: var(--gtec-white);
    font-weight: 700;
    border-left: 3px solid var(--gtec-red);
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(255, 1, 0, 0.1), transparent);
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gtec-white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--gtec-blue);
    color: var(--gtec-white);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid #4a5568;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* Footer Map */
.footer-map {
    width: 100%;
    height: 350px;
    margin: 0 auto; /* Center the map */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; /* Stack on tablet */
    }
    .about-image {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        margin-bottom: 2rem;
    }
    .about-content {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        padding-right: 0;
    }
    .about-content .section-title, .about-content .section-subtitle {
        text-align: center;
    }
    .stats-container {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for tablets */
    }
    
        .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--gtec-white);
        width: 100%;
        height: calc(100vh - 90px);
        overflow-y: auto;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: stretch; /* Stretch items to full width */
        padding: 20px 0;
    }

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

    .nav-item {
        width: 100%;
        margin: 0;
        display: block; /* Changed from flex to block for better child width control */
        text-align: center;
    }

    .nav-link {
        color: var(--gtec-dark);
        display: block; /* Changed from flex to block */
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

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

    /* Improved Mobile Dropdown */
    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none; /* Controlled by .active */
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        width: 100%;
        min-width: 0;
        left: auto;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
        transition: none;
    }

    .dropdown:hover .dropdown-content {
        transform: none;
        display: none; /* Hide unless .active class is present on parent */
    }

    .dropdown.active .dropdown-content {
        display: block;
        border-top: 1px solid #f1f1f1;
        border-bottom: 1px solid #f1f1f1;
    }

    .dropdown.active .nav-link {
        color: var(--gtec-red);
        background-color: #fafafa;
    }

    .dropdown-content a {
        padding: 15px 20px;
        font-size: 1rem;
        color: var(--gtec-text);
        text-align: center;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        color: var(--gtec-red);
        background-color: #f1f1f1;
        /* Removed padding-left transition for centered layout */
    }

    .dropdown-toggle i {
        margin-left: 10px;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

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

    .nav-btn-desktop {
        display: none;
    }

    .nav-btn-mobile {
        display: block;
        width: 100%;
        padding: 20px 40px;
    }

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

    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    section { padding: 80px 0; }
    .hero { height: 85vh; }
    .hero-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* HERO LEFT + BOUNCE EFFECT */
.hero-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.hero-text {
    max-width: 45%;
}

/* Slide-in for heading and paragraph */
.hero-heading,
.hero-paragraph,
.hero-buttons a {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-heading.active,
.hero-paragraph.active,
.hero-buttons a.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Hero stats cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 300px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translate(0,50px);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-card:nth-child(odd) {
    transform: translate(50px, 50px);
}
.stat-card:nth-child(even) {
    transform: translate(-50px, 50px);
}

.stat-card.active {
    opacity: 1;
    transform: translate(0, 0);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--gtec-blue);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    color: var(--gtec-white);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-left {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* --- AFFILIATIONS MARQUEE --- */
.affiliations-section {
    padding: 60px 0;
    background-color: var(--gtec-white);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: inline-block;
    animation: scroll-right 40s linear infinite;
}

.marquee-track img {
    height: 120px;
    width: auto;
    margin: 0 50px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.marquee-track img:hover {
    transform: scale(1.1);
}

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

@media (max-width: 992px) {
    .affiliations-section {
        padding: 50px 0;
    }
    .marquee-track img {
        height: 100px;
        margin: 0 40px;
    }
}

@media (max-width: 576px) {
    .affiliations-section {
        padding: 40px 0;
    }
    .marquee-track img {
        height: 80px;
        margin: 0 25px;
    }
}

/* --- ABOUT DETAILED SECTION (Justified Text) --- */
.about-detailed {
    padding: 80px 0;
    background-color: var(--gtec-white);
}

.about-detailed p {
    text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.01em; /* Minimal word spacing as requested */
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--gtec-text);
    line-height: 1.8;
}

/* Page Hero Global Fix */
.page-hero h1 {
    color: #ffffff !important;
}

/* =========================================
   ULTRA-WIDE SCREEN OPTIMIZATIONS (32"+)
   ========================================= */

/* Large Desktop / 32" Monitors (1600px+) */
@media (min-width: 1600px) {
    .container, .hero-inner {
        max-width: 1440px;
    }
    
    .footer-grid {
        max-width: 1440px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* Scaling Typography slightly */
    body {
        font-size: 1.1rem;
    }

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

    .section-title {
        font-size: 3.5rem;
    }

    /* Scaling Hero Visuals */
    .hero-visual {
        transform: scale(1.1);
        transform-origin: right center;
    }
}

/* Ultra-Wide Monitors / Dual Setup (2000px+) */
@media (min-width: 2000px) {
    .container, .hero-inner {
        max-width: 1700px;
    }

    .footer-grid {
        max-width: 1700px;
    }

    /* Scaling Typography further */
    body {
        font-size: 1.2rem;
    }

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

    .section-title {
        font-size: 4rem;
    }

    .hero-desc {
        font-size: 1.3rem;
        max-width: 750px;
    }

    /* Increased Gaps for Grids */
    .courses-grid, .strength-grid {
        gap: 60px;
    }

    .footer-grid {
        gap: 80px;
    }

    /* Further scaling hero visuals */
    .hero-visual {
        transform: scale(1.25);
    }
}