/* --- CSS VARIABLES & RESET --- */
        :root {
            --bg-color: #080808;
            --bg-lighter: #121212;
            --bg-card: #1a1a1a;
            --primary-red: #e60000;
            --primary-red-hover: #ff1a1a;
            --text-main: #ffffff;
            --text-muted: #888888;
            --border-color: #2a2a2a;
            --transition-smooth: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
            --transition-fast: 0.3s ease;
        }

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

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* Typography */
        h1, h2, h3, h4, h5, .brand-font {
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-title {
            font-size: 3.5rem;
            margin-bottom: 2rem;
            line-height: 1.1;
        }
        
        .section-title span {
            color: var(--primary-red);
        }

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

        ul { list-style: none; }
        img, video { max-width: 100%; display: block; }

        /* --- LAYOUT COMPONENTS --- */
        .container {
            width: 90%;
            max-width: 1300px;
            margin: 0 auto;
        }

        section { padding: 100px 0; position: relative; }

		.brand-name {
			color: var(--primary-red);
		}

        /* --- BUTTONS --- */
        .btn-red {
            background-color: var(--primary-red);
            color: white;
            padding: 14px 34px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-red::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 0%; height: 100%;
            background-color: #000;
            transition: all var(--transition-smooth);
            z-index: -1;
        }

        .btn-red:hover::before { width: 100%; }
        .btn-red:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(230, 0, 0, 0.2); }

        /* --- ANIMATION CLASSES --- */
        .reveal-up { opacity: 0; transform: translateY(60px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .reveal-left { opacity: 0; transform: translateX(-60px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .reveal-right { opacity: 0; transform: translateX(60px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .reveal-scale { opacity: 0; transform: scale(0.9); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
        
        .reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
            opacity: 1; transform: translate(0) scale(1);
        }

        .delay-100 { transition-delay: 0.1s; }
        .delay-200 { transition-delay: 0.2s; }
        .delay-300 { transition-delay: 0.3s; }
        .delay-400 { transition-delay: 0.4s; }

        /* --- HEADER & NAVIGATION --- */
        header {
            position: fixed;
            top: 0; width: 100%;
            padding: 25px 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
            z-index: 1000;
            transition: all var(--transition-fast);
        }

        header.scrolled {
            background: rgba(8, 8, 8, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .nav-container { display: flex; justify-content: space-between; align-items: center; }
        .logo { z-index: 1002; } /* Keep logo above mobile menu */
        .logo img { height: 45px; transition: transform var(--transition-fast); }
        .logo:hover img { transform: scale(1.05); }

        .nav-menu { display: flex; align-items: center; gap: 35px; }
        .nav-menu ul { display: flex; gap: 35px; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
        .nav-menu ul li a { position: relative; }
        .nav-menu ul li a::after {
            content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
            background-color: var(--primary-red); transition: width var(--transition-fast);
        }
        .nav-menu ul li a:hover::after { width: 100%; }

        /* Hamburger Menu Icon */
        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1002;
            background: none;
            border: none;
        }
        .hamburger .bar {
            display: block;
            width: 25px; height: 3px;
            margin: 5px auto;
            background-color: var(--text-main);
            transition: all 0.3s ease-in-out;
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 0;
        }

        .hero-video {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            z-index: -2;
            filter: brightness(0.5);
        }

        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(8,8,8,0.9) 100%);
            z-index: -1;
        }

        .hero-content { text-align: center; max-width: 1000px; padding-top: 80px; }
        .hero h1 { font-size: 6vw; line-height: 1; margin-bottom: 20px; text-shadow: 2px 2px 20px rgba(0,0,0,0.5); }
        .hero h1 span { color: var(--primary-red); -webkit-text-stroke: 2px var(--primary-red); }
        .hero p { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 40px; font-weight: 300; }

        /* --- WHAT WE DO BEST --- */
        .what-we-do { background-color: var(--bg-lighter); }
        .services-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px;
        }
        .service-card {
            background: var(--bg-color); padding: 40px 30px; border: 1px solid var(--border-color);
            transition: all var(--transition-smooth); position: relative; overflow: hidden;
        }
        .service-card::before {
            content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
            background: var(--primary-red); transition: height var(--transition-smooth);
        }
        .service-card:hover { transform: translateY(-10px); border-color: #444; }
        .service-card:hover::before { height: 100%; }
        .service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
        .service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
        .service-icon { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 20px; display: inline-block; }

        /* --- TRUST SECTION --- */
        .trust-section { background: var(--bg-lighter); text-align: center;}
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 50px; }
        .stat-item h3 { font-size: 4rem; color: var(--primary-red); margin-bottom: 10px; }
        .stat-item p { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

        /* --- CUSTOM ABOUT US SECTION --- */
        .about-custom-section {
            background-color: var(--bg-color); /* Matches the dark background */
            padding: 100px 0;
            overflow: hidden;
        }

        .about-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        /* Left Content */
        .about-content h2 {
            font-size: 3rem;
            line-height: 1.1;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .about-content p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 90%;
        }

        .btn-outline-white {
            display: inline-block;
            background: transparent;
            color: white;
            border: 1px solid white;
            padding: 12px 30px;
            font-family: 'Poppins', sans-serif;
            text-transform: capitalize;
            transition: all 0.3s ease;
        }

        .btn-outline-white:hover {
            background: white;
            color: black;
        }

        /* Right Content */
        .about-main-image {
            width: 100%;
            margin-bottom: 20px;
        }

        .about-main-image img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            display: block;
        }

        .about-services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .about-service-box {
            background-color: var(--bg-color); /* Slightly lighter than pure black */
            padding: 25px;
            border-left: 3px solid var(--primary-red);
            transition: transform var(--transition-fast);
        }

/*         .about-service-box:hover {
            transform: translateY(-5px);
        } */

        .about-service-box h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .about-service-box p {
            font-size: 0.85rem;
            color: #999;
            line-height: 1.5;
        }

        /* Highlighted Red Box */
        .about-service-box.box-highlight {
            background-color: var(--primary-red);
            border-left: none;
        }

        .about-service-box.box-highlight h4,
        .about-service-box.box-highlight p {
            color: white;
        }

        /* --- FEATURED PROJECTS --- */
        .projects-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px;
        }
        .project-item {
            position: relative; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; border-radius: 4px;
        }
        .project-item img {
            width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
        .project-item:hover img { transform: scale(1.08); filter: brightness(0.5); }
        
        .play-btn {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
            width: 70px; height: 70px; background: rgba(230,0,0,0.9); border-radius: 50%;
            display: flex; justify-content: center; align-items: center; opacity: 0; transition: all var(--transition-fast);
        }
        .play-btn::after {
            content: ''; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
            border-left: 18px solid white; margin-left: 6px;
        }
        .project-item:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
        
        .project-info {
            position: absolute; bottom: -50px; left: 0; width: 100%; padding: 30px;
/*             background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); */
            transition: bottom var(--transition-fast); opacity: 0;
        }
        .project-item:hover .project-info { bottom: 0; opacity: 1; }
        .project-info h3 { font-size: 1.8rem; margin-bottom: 5px; }

        #work {
            border-bottom: 1px solid var(--border-color);
        }

        /* --- TESTIMONIALS --- */
        .testimonials { background: var(--bg-color); }
        .testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
        .testi-card {
            background: var(--bg-card); padding: 40px; border-radius: 4px; position: relative;
        }
        .quote-mark {
            position: absolute; top: 20px; right: 20px; font-size: 4rem; color: rgba(255,255,255,0.05); font-family: serif; line-height: 1;
        }
        .testi-text { font-style: italic; color: #ccc; margin-bottom: 25px; line-height: 1.7; }
        .client-info { display: flex; align-items: center; gap: 15px; }
        .client-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
        .client-details h4 { font-size: 1rem; margin-bottom: 2px; }
        .client-details span { font-size: 0.8rem; color: var(--primary-red); }

        /* --- CLIENT LOGOS (Marquee) --- */
        .clients-section { 
            padding: 50px 0; background: var(--bg-card); 
            border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); 
            overflow: hidden; white-space: nowrap; position: relative;
        }
        .clients-section::before, .clients-section::after {
            content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
        }
        .clients-section::before { left: 0; background: linear-gradient(to right, var(--bg-card), transparent); }
        .clients-section::after { right: 0; background: linear-gradient(to left, var(--bg-card), transparent); }
        
        .marquee { 
            display: inline-block;
            animation: scroll 25s linear infinite; 
        }
        .marquee-content { display: inline-flex; align-items: center; gap: 60px; padding: 0 30px; }
        .marquee-content img { 
            height: 60px; max-width: 180px; object-fit: contain; 
            transition: all 0.4s ease;
/* 			filter: grayscale(100%) opacity(0.6); */
        }
        .marquee-content img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
        @keyframes scroll { 
            0% { transform: translateX(0); } 
            100% { transform: translateX(-50%); } 
        }

        /* --- TEAM SECTION --- */
        .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
        .team-card { position: relative; overflow: hidden; border-radius: 4px; }
        .team-card img { width: 100%; height: 350px; object-fit: cover; filter: grayscale(100%); transition: all var(--transition-smooth); }
        .team-card:hover img { filter: grayscale(0%); transform: scale(1.05); }
        .team-info {
            position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
            background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
            transform: translateY(20px); opacity: 0; transition: all var(--transition-smooth);
        }
        .team-card:hover .team-info { transform: translateY(0); opacity: 1; }
        .team-info h4 { font-size: 1.3rem; }
        .team-info span { color: var(--primary-red); font-size: 0.85rem; text-transform: uppercase; }

        /* --- CTA SECTION --- */
        .cta-section {
            background: linear-gradient(45deg, var(--primary-red) 0%, #800000 100%);
            text-align: center; padding: 120px 0; position: relative; overflow: hidden;
        }
        .cta-section h2 { font-size: 4.5rem; margin-bottom: 20px; line-height: 1.1; }
        .cta-section p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; font-weight: 300; }
        .btn-white {
            background: white; color: black; padding: 15px 40px; font-weight: bold; font-family: 'Oswald', sans-serif;
            font-size: 1.1rem; text-transform: uppercase; border: none; cursor: pointer; transition: transform 0.3s;
        }
        .btn-white:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

        /* --- BLOG SECTION --- */
        .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
        .blog-card { background: var(--bg-card); overflow: hidden; border-radius: 4px; transition: transform var(--transition-smooth); }
        .blog-card:hover { transform: translateY(-10px); }
        .blog-img { height: 220px; overflow: hidden; }
        .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
        .blog-card:hover .blog-img img { transform: scale(1.1); }
        .blog-content { padding: 30px; }
        .blog-meta { color: var(--primary-red); font-size: 0.8rem; margin-bottom: 10px; font-weight: 500; text-transform: uppercase;}
        .blog-content h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.3; }
        .blog-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
        .read-more { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: white; display: inline-flex; align-items: center; gap: 5px; }
        .read-more:hover { color: var(--primary-red); }

        /* --- FOOTER --- */
        footer { background: #050505; padding: 80px 0 30px; border-top: 1px solid var(--border-color); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
        .footer-col h4 { font-size: 1.2rem; margin-bottom: 25px; color: white; }
        .footer-brand { font-size: 2.5rem; font-family: 'Oswald'; font-weight: 700; margin-bottom: 20px; display: block; }
        .footer-brand span { color: var(--primary-red); }
        .footer-col p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 0.9rem; }
        .footer-links a:hover { color: var(--primary-red); padding-left: 5px; }
        
        .newsletter-form { display: flex; margin-top: 20px; }
        .newsletter-form input { background: #111; border: 1px solid #333; padding: 12px 15px; color: white; flex: 1; font-family: 'Poppins'; outline: none; border-radius: 4px 0 0 4px; }
        .newsletter-form button { background: var(--primary-red); border: none; padding: 0 20px; color: white; cursor: pointer; font-weight: bold; transition: background 0.3s; border-radius: 0 4px 4px 0;}
        .newsletter-form button:hover { background: #cc0000; }

        .footer-bottom { border-top: 1px solid #222; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #666; }
        .social-icons { display: flex; gap: 15px; }
        .social-icons a { width: 35px; height: 35px; border-radius: 50%; background: #111; display: flex; justify-content: center; align-items: center; transition: all 0.3s; }
        .social-icons a:hover { background: var(--primary-red); color: white; transform: translateY(-3px); }

        /* --- VIDEO MODAL --- */
        .video-modal {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95);
            z-index: 9999; display: flex; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 0.4s ease; backdrop-filter: blur(10px);
        }
        .video-modal.active { opacity: 1; pointer-events: auto; }
        .video-container { width: 90%; max-width: 1000px; position: relative; transform: scale(0.9); transition: transform 0.4s ease; }
        .video-modal.active .video-container { transform: scale(1); }
        .video-modal video { width: 100%; border-radius: 5px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); background: black;}
        .close-modal {
            position: absolute; top: -40px; right: 0; background: none; border: none; color: white;
            font-size: 2.5rem; cursor: pointer; transition: color 0.3s; font-family: 'Poppins'; font-weight: 300; line-height: 1;
        }
        .close-modal:hover { color: var(--primary-red); }

        /* =========================================
           RESPONSIVE DESIGN (Media Queries)
           ========================================= */

           /* --- RESPONSIVE DESIGN FOR ABOUT SECTION --- */

/* Tablet */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr; /* Stacks the two main columns */
        gap: 40px;
    }
    
    .about-content h2 {
        font-size: 3.5rem;
    }
    
    .about-content p {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .about-services-grid {
        grid-template-columns: 1fr; /* Stacks the 4 small boxes on mobile */
    }
    
    .about-main-image img {
        height: 250px;
    }
}
        
        /* TABLET */
        @media (max-width: 992px) {
            .projects-grid { grid-template-columns: 1fr; }
            .project-item.delay-100 { margin-top: 0 !important; } /* Reset custom margins on mobile */
            .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
            .hero h1 { font-size: 8vw; }
            .section-title { font-size: 3rem; }
            .cta-section h2 { font-size: 3.5rem; }
        }

        /* MOBILE */
        @media (max-width: 768px) {
            /* Typography Adjustments */
            .hero h1 { font-size: 11vw; }
            .hero p { font-size: 1rem; padding: 0 10px; }
            .section-title { font-size: 2.4rem; }
            .cta-section h2 { font-size: 2.8rem; }
            .cta-section { padding: 80px 0; }
            
            /* Spacing Adjustments */
            section { padding: 70px 0; }
            .projects-grid, .testi-grid, .blog-grid, .team-grid, .stats-grid, .services-grid { gap: 20px; margin-top: 30px;}
            
            /* Footer */
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
            
            /* Hamburger Menu & Navigation */
            .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); }

            .nav-menu {
                position: fixed;
                top: 0; right: -100%;
                width: 100%; height: 100vh;
                background: rgba(8, 8, 8, 0.98);
                backdrop-filter: blur(15px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
                z-index: 1001;
            }
            .nav-menu.active { right: 0; }
            
            .nav-menu ul {
                flex-direction: column;
                text-align: center;
                gap: 40px;
                font-size: 1.5rem;
            }
            
            /* Mobile Nav Link Animation */
            .nav-menu ul li { opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
            .nav-menu.active ul li { opacity: 1; transform: translateY(0); }
            .nav-menu.active ul li:nth-child(1) { transition-delay: 0.2s; }
            .nav-menu.active ul li:nth-child(2) { transition-delay: 0.3s; }
            .nav-menu.active ul li:nth-child(3) { transition-delay: 0.4s; }
            .nav-menu.active ul li:nth-child(4) { transition-delay: 0.5s; }
            .nav-menu.active ul li:nth-child(5) { transition-delay: 0.6s; }

            .nav-menu .btn-red { 
                margin-top: 20px; 
                opacity: 0; transform: translateY(20px); transition: all 0.4s ease 0.7s; 
            }
            .nav-menu.active .btn-red { opacity: 1; transform: translateY(0); }
            
            /* Modal Adjustments */
            .close-modal { top: -45px; right: 10px; }
            
            /* Header Padding */
            header { padding: 15px 0; }
        }

        /* =========================================
   ABOUT US PAGE SPECIFIC STYLES
   (Excluding global, body, header, & footer styles)
   ========================================= */

/* About Hero */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    position: relative;
    background-attachment: fixed;
    margin-top: 0; /* Ensures it sits under transparent header */
}
.about-hero h1 { font-size: 5rem; line-height: 1; }
.about-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* The KPS Story */
.about-story {
    background-color: var(--bg-lighter);
}
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-text p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}
.story-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(40%);
    box-shadow: -10px 10px 0px rgba(30, 0, 0, 0.1);
}

/* Mission & Vision */
.mv-section { background-color: var(--bg-lighter); }
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.mv-card {
    background: var(--bg-color);
    padding: 60px 40px;
    border-top: 3px solid var(--primary-red);
    position: relative;
    overflow: hidden;
}
.mv-card h3 { font-size: 2.5rem; margin-bottom: 20px; }
.mv-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.mv-card::after {
    content: 'KPS'; position: absolute; right: -20px; bottom: -30px;
    font-size: 10rem; font-family: 'Oswald'; font-weight: 700;
    color: rgba(255,255,255,0.03); pointer-events: none;
}

/* Departments Scroller (Redesigned) */
.departments-scroller {
    background: var(--bg-color);
    overflow: hidden;
    padding-bottom: 120px;
}

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

/* Fading edges for the scroller */
.scroller-wrapper::before,
.scroller-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.scroller-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}
.scroller-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.scroller-track {
    display: inline-flex;
    gap: 30px;
    animation: scrollCards 35s linear infinite;
    padding-left: 30px;
}

/* Pause animation on hover */
.scroller-track:hover {
    animation-play-state: paused;
}

.scroller-card {
    background: var(--bg-lighter);
    border: 1px solid var(--bg-color);
    border-radius: 6px;
    padding: 40px 30px;
    white-space: normal;
    flex-shrink: 0;
    transition: all var(--transition-smooth);
    cursor: default;
}

.scroller-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: var(--primary-red);
    transition: all var(--transition-fast);
}

.scroller-card:hover .icon-wrapper {
    background: var(--primary-red);
    color: white;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.scroller-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.scroller-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes scrollCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half the track to loop perfectly */
}

/* Responsive Adjustments for About Page */
@media (max-width: 992px) {
    .about-story-grid, .mv-grid { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .about-hero h1 { font-size: 3rem; }
    .scroller-card {padding: 30px 20px; }
    .scroller-wrapper::before, .scroller-wrapper::after { width: 50px; }
}

/* =========================================
   CONTACT US PAGE SPECIFIC STYLES
   ========================================= */

/* Contact Hero Banner */
.contact-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background-attachment: fixed;
    margin-top: 0;
    position: relative;
}
.contact-hero h1 { font-size: 5rem; line-height: 1; }
.contact-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* Contact Layout & Grid */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}

/* Contact Info Side */
.contact-info h2 { font-size: 3.5rem; margin-bottom: 15px; line-height: 1.1; }
.contact-info h2 span { color: var(--primary-red); }

.info-items { 
    margin-top: 40px; 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}
.info-item { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}
.info-icon {
    width: 60px; height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--primary-red);
    transition: all var(--transition-smooth);
    flex-shrink: 0;
}
.info-item:hover .info-icon { 
    background: var(--primary-red); 
    color: white; 
    transform: scale(1.1); 
    border-color: var(--primary-red);
}
.info-text h4 { font-size: 1.3rem; margin-bottom: 5px; }
.info-text p { color: var(--text-muted); font-size: 0.95rem; transition: color var(--transition-fast);}
.info-text p a:hover { color: var(--primary-red); }

/* Contact Form Side */
.contact-form-container {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}
.form-group { margin-bottom: 25px; }
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #aaa; 
}

/* Form Inputs */
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    color: white;
    padding: 16px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--bg-color);
    box-shadow: 0 0 15px rgba(230,0,0,0.15);
}
.form-group textarea { 
    resize: vertical; 
    min-height: 150px; 
}

/* Map Section */
.map-section { background-color: var(--bg-lighter);}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}
/* CSS Filter to turn default Google Maps into a seamless Dark Mode map */
.map-container iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%) sepia(20%); 
}

/* Responsive Adjustments specifically for Contact Page */
@media (max-width: 1024px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 50px;}
    .contact-hero h1 { font-size: 4.5rem; }
}

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0;}
    .contact-form-container { padding: 40px 25px; }
    .contact-info h2 { font-size: 2.8rem; }
    .info-icon { width: 50px; height: 50px; }
    .map-container { height: 350px; }
}

/* =========================================
   CAREER PAGE SPECIFIC STYLES
   ========================================= */

/* Career Hero Banner */
.career-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background-attachment: fixed;
    margin-top: 0;
    position: relative;
}
.career-hero h1 { font-size: 5rem; line-height: 1; }
.career-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* Culture Section */
.culture-section { 
	padding: 100px 0; 
	background-color: var(--bg-lighter);
}
.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.culture-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}
.culture-images {
    position: relative;
    height: 500px;
}
.culture-images .img-main {
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    top: 0;
    right: 0;
    filter: grayscale(30%);
}
.culture-images .img-sub {
    width: 60%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: -15px 15px 30px rgba(0,0,0,0.8);
}

/* Perks Section */
.perks-section { background-color: var(--bg-lighter); padding: 100px 0; }
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.perk-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    transition: transform var(--transition-smooth);
}
.perk-card:hover { transform: translateY(-10px); border-color: #444; }
.perk-icon { font-size: 3rem; margin-bottom: 20px; }
.perk-card h4 { font-size: 1.3rem; margin-bottom: 15px; }
.perk-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Jobs Section */
.jobs-section { padding: 100px 0 50px 0; }
.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}
.link-btn {
    background: none; border: none; color: var(--primary-red);
    text-decoration: underline; font-family: 'Poppins'; font-size: 1.1rem; cursor: pointer;
}
.jobs-list { display: flex; flex-direction: column; gap: 20px; }
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary-red); transform: scaleY(0); transition: transform var(--transition-fast);
    transform-origin: bottom;
}
.job-card:hover { border-color: #444; background: #1f1f1f; }
.job-card:hover::before { transform: scaleY(1); }

.job-info { max-width: 70%; }
.job-info h3 { font-size: 1.8rem; margin-bottom: 5px; }
.job-meta {
    display: block; font-size: 0.85rem; color: var(--primary-red); text-transform: uppercase;
    font-weight: 500; margin-bottom: 15px; letter-spacing: 1px;
}
.job-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.btn-outline-red {
    display: inline-block; padding: 12px 30px; border: 1px solid var(--primary-red);
    color: var(--primary-red); text-transform: uppercase; font-family: 'Oswald', sans-serif;
    font-weight: 500; letter-spacing: 1px; background: transparent; cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-outline-red:hover { background: var(--primary-red); color: white; }

/* =========================================
   INLINE APPLICATION FORM SECTION
   ========================================= */
.application-section {
    padding: 50px 0 120px 0;
}
.form-wrapper {
    background: var(--bg-card);
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px; color: #aaa;
}
.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group input[type="tel"], 
.form-group select {
    width: 100%; background: var(--bg-lighter); border: 1px solid var(--border-color);
    color: white; padding: 16px; border-radius: 4px; font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; transition: all 0.3s;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(230,0,0,0.15);
}

/* Custom File Upload Styling */
/* .custom-file-upload { position: relative; width: 100%; } */
/* .custom-file-upload input[type="file"] {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
} */
.upload-ui {
    background: var(--bg-lighter); border: 1px dashed var(--border-color);
    padding: 16px; border-radius: 4px; display: flex; justify-content: space-between;
    align-items: center; color: var(--text-muted); font-size: 0.95rem;
    transition: all 0.3s;
}
.custom-file-upload:hover .upload-ui { border-color: var(--primary-red); color: white; }
.upload-ui small { color: var(--primary-red); font-size: 0.85rem; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .culture-grid { grid-template-columns: 1fr; gap: 40px; }
    .culture-images { height: 400px; }
    .career-hero h1 { font-size: 4.5rem; }
    .job-card { flex-direction: column; align-items: flex-start; gap: 30px; }
    .job-info { max-width: 100%; }
}

@media (max-width: 768px) {
    .career-hero h1 { font-size: 3rem; }
    .culture-images { display: none; }
    .jobs-header { flex-direction: column; align-items: flex-start; }
    .job-card { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-wrapper { padding: 40px 25px; }
}

/* =========================================
   SERVICES PAGE SPECIFIC STYLES
   ========================================= */

/* Services Hero Banner */
.services-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background-attachment: fixed;
    margin-top: 0;
    position: relative;
}
.services-hero h1 { font-size: 5rem; line-height: 1; }
.services-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* Intro Section */
.services-intro {
    padding: 80px 0 20px 0;
}

/* Detailed Services Alternating Layout */
.detailed-services {
    padding: 60px 0 100px 0;
}
.service-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 120px;
}
.service-row.reverse {
    flex-direction: row-reverse;
}
.service-row:last-child {
    margin-bottom: 0;
}

.service-image {
    flex: 1;
    position: relative;
}
.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(20%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: filter var(--transition-smooth);
}
.service-image:hover img {
    filter: grayscale(0%);
}

.service-content {
    flex: 1;
}
.service-tag {
    display: inline-block;
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.service-content h3 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
}
.service-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Custom Bullet List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 500;
}
.feature-list li::before {
    content: '→';
    color: var(--primary-red);
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

/* =========================================
   EQUIPMENT RENTAL (CONTINUOUS SCROLL)
   ========================================= */
.equipment-rental {
    background-color: var(--bg-lighter);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    overflow: hidden; /* Prevents horizontal scrollbar */
}
.equip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}
.btn-outline-white {
    display: inline-block; padding: 12px 30px; border: 1px solid white;
    color: white; text-transform: uppercase; font-family: 'Oswald', sans-serif;
    font-weight: 500; letter-spacing: 1px; background: transparent; cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-outline-white:hover {
    background: white; color: black;
}

/* Marquee Logic */
.marquee-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}
/* Fading edges for the scroller */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-lighter), transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-lighter), transparent);
}

.marquee-track {
    display: flex;
    width: max-content; /* Critical for continuous scroll */
    gap: 30px;
}

/* The animations: Move from 0 to -50% to loop the duplicated items seamlessly */
.track-left {
    animation: scrollLeft 40s linear infinite;
}
.track-right {
    transform: translateX(-50%); /* Start halfway */
    animation: scrollRight 40s linear infinite;
}

/* Pause animations when hovering over the track */
.marquee-track:hover {
    animation-play-state: paused;
}

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

/* Equipment Cards inside Marquee */
.equip-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 350px;
    width: 450px; /* Fixed width to keep marquee stable */
    cursor: pointer;
    flex-shrink: 0;
    background: var(--bg-color);
}
.equip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(50%);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.equip-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px 25px;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.equip-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.equip-overlay p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Card Hover States */
.equip-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.4) grayscale(0%);
}
.equip-card:hover .equip-overlay {
    transform: translateY(0);
}
.equip-card:hover .equip-overlay p {
    opacity: 1;
}

/* Services Action Call */
.services-action {
    background: linear-gradient(45deg, var(--bg-card) 0%, #150000 100%);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}
.services-action h2 { font-size: 3rem; margin-bottom: 15px; }
.services-action p { color: var(--text-muted); font-size: 1.1rem; }

/* Responsive Adjustments for Services Page */
@media (max-width: 1024px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .service-image img { height: 400px; }
    .services-hero h1 { font-size: 4.5rem; }
    .equip-card { width: 350px; height: 300px; }
}

@media (max-width: 768px) {
    .services-hero h1 { font-size: 3rem; }
    .service-content h3 { font-size: 2.2rem; }
    .service-image img { height: 300px; }
    .equip-header { flex-direction: column; align-items: flex-start; }
    .services-action h2 { font-size: 2.2rem; }
    .equip-card { width: 280px; height: 250px; }
    .marquee-container::before, .marquee-container::after { width: 50px; }
}

/* =========================================
   PROJECTS PAGE SPECIFIC STYLES
   ========================================= */

/* Projects Hero Banner */
.projects-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background-attachment: fixed;
    margin-top: 0;
    position: relative;
}
.projects-hero h1 { font-size: 5rem; line-height: 1; }
.projects-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* In-Page Navigation */
.project-nav {
    background: var(--bg-lighter);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 75px; /* Sits just below the main header */
    z-index: 99;
}
.project-nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.project-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.project-nav a:hover {
    color: var(--primary-red);
}

/* General Section Formatting */
.portfolio-section {
    padding: 100px 0;
}
.section-header {
    margin-bottom: 60px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================
   SPORTS PROJECTS GRID
   ========================================= */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.project-card {
/*     position: relative; */
    min-height: 250px;
/*     border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color); */
}
.project-card .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: brightness(0.8) grayscale(60%);
}
.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
}
.project-card:hover .bg-img {
    transform: scale(1.08);
    filter: brightness(0.2) grayscale(0%);
}

/* The Prominent Tournament Logo */
.project-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.project-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
/*     border-radius: 50%; */
}
.project-card:hover .project-logo {
    top: 35%; /* Slides up on hover */
    border-color: var(--primary-red);
    box-shadow: 0 15px 35px rgba(230,0,0,0.5);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Card Information (Hidden until hover) */
.project-info {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 30px;
    text-align: center;
    transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
	opacity: 1;
}
.project-card:hover .project-info {
    bottom: 0; /* Slides into view */
}
.project-info h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgb(0 0 0);
}
.project-info span {
    color: var(--primary-red);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   ENTERTAINMENT PROJECTS (ALTERNATING LAYOUT)
   ========================================= */
.entertainment-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ent-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
/*     height: 400px; */
    transition: all var(--transition-smooth);
}
.ent-card:hover {
    border-color: var(--primary-red);
    transform: translateX(15px);
    box-shadow: -15px 15px 40px rgba(0,0,0,0.6);
}

.ent-img {
    flex: 0 0 35%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.ent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: transform 0.8s ease, filter 0.8s ease;
}
.ent-card:hover .ent-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.ent-info {
    padding: 60px;
    flex: 1;
}
.ent-tag {
    display: inline-block;
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.ent-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.1;
}
.ent-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}
.read-more {
    font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: white; display: inline-flex; align-items: center; gap: 8px; 
}
.read-more:hover { color: var(--primary-red); }

/* Every even card mirrors the layout */
.ent-card:nth-child(even) {
    flex-direction: row-reverse;
}
.ent-card:nth-child(even):hover {
    transform: translateX(-15px);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.6);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1024px) {
    .projects-hero h1 { font-size: 4.5rem; }
    .ent-info h3 { font-size: 1.8rem; }
    .ent-info { padding: 40px; }
}

@media (max-width: 768px) {
    .projects-hero h1 { font-size: 3rem; }
    .project-nav ul { flex-direction: column; gap: 15px; align-items: center; padding: 10px 0; }
    .project-nav { top: 60px; }
    
    .section-header { text-align: left !important; }
    .section-header p { margin-left: 0 !important; }
    
    /* Make Entertainment cards stack vertically */
    .ent-card, .ent-card:nth-child(even) {
        flex-direction: column;
        height: auto;
    }
    .ent-img { width: 100%; flex: none; }
    .ent-info { padding: 30px; }
    
    .ent-card:hover, .ent-card:nth-child(even):hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }
}

/* =========================================
   NEWS PAGE SPECIFIC STYLES
   ========================================= */

/* News Hero Banner */
.news-hero {
    height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    background-attachment: fixed;
    margin-top: 0;
    position: relative;
}
.news-hero h1 { font-size: 5rem; line-height: 1; }
.news-hero p { font-size: 1.2rem; color: var(--primary-red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* Intro Section */
.news-intro {
    padding: 80px 0 20px 0;
}

/* News Grid Section */
.news-section {
    padding: 40px 0 120px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

/* News Card */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: all var(--transition-smooth);
    position: relative;
}

.news-card::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 4px;
    background: var(--primary-red); 
    transform: scaleX(0); 
    transition: transform var(--transition-smooth);
    transform-origin: left;
    z-index: 10;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: #444;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.news-card:hover::before {
    transform: scaleX(1);
}

/* News Image */
.news-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: transform 0.8s ease, filter 0.8s ease;
}
.news-card:hover .news-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* News Content */
.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-publication {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.news-card h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif; /* Poppins looks better for long headlines */
    text-transform: none;
    font-weight: 500;
    color: #f4f4f4;
}

.read-article {
    margin-top: auto; /* Pushes to bottom of card */
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.read-article .arrow {
    font-family: Arial, sans-serif; /* For the clean arrow character */
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.news-card:hover .read-article {
    color: var(--text-main);
}

.news-card:hover .read-article .arrow {
    transform: translate(3px, -3px);
    color: var(--primary-red);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-hero h1 { font-size: 4.5rem; }
}

@media (max-width: 768px) {
    .news-hero h1 { font-size: 3rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { margin-bottom: 10px; }
    .news-img { height: 200px; }
}

/* =========================================
   COMBINED HIRING & APPLICATION SECTION
   ========================================= */
.hiring-section {
    padding: 120px 0;
    background-color: var(--bg-color);
}

/* Grid Layout with alignment for sticky child */
.split-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start; /* CRUCIAL for position: sticky to work */
}

/* --- Left Column: Hiring Content --- */
.hiring-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.hiring-header h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.hiring-header h2 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 15px;
    color: white;
}
.hiring-header h2 span {
    color: var(--primary-red);
}
.hiring-banner {
    background: var(--primary-red);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.hiring-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.red-title {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.positions-list ul, .specializations-list ul {
    list-style: none;
    padding: 0;
}
.positions-list ul li, .specializations-list ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 500;
}
.positions-list ul li::before, .specializations-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

.spec-desc {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Why Join Us Box */
.why-join-box {
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.box-title {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    flex-shrink: 0;
    max-width: 150px;
}
.check-list {
    list-style: none;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.check-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Apply Info Box */
.apply-info-box {
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
}
.apply-title {
    background: var(--primary-red);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.apply-details {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}
.apply-details a {
    color: white;
}
.apply-details a:hover {
    color: var(--primary-red);
}

.hiring-footer-text {
    text-align: center;
    font-size: 1.05rem;
}
.red-text-small {
    color: var(--primary-red);
    font-size: 0.95rem;
    margin-top: 5px;
    font-style: italic;
}

/* --- Right Column: Sticky Sidebar --- */
.sticky-sidebar {
    position: sticky;
    top: 120px; /* Adjusts clearance below the fixed header */
}

.form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px; color: #aaa;
}
.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group input[type="tel"], 
.form-group select {
    width: 100%; background: var(--bg-lighter); border: 1px solid var(--border-color);
    color: white; padding: 14px; border-radius: 4px; font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; transition: all 0.3s;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(230,0,0,0.15);
}

/* Custom File Upload */
.custom-file-upload { position: relative;}
.custom-file-upload input[type="file"] {
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 1; cursor: pointer; z-index: 2;
}
.upload-ui {
    background: var(--bg-lighter); border: 1px dashed var(--border-color);
    padding: 14px; border-radius: 4px; display: flex; justify-content: space-between;
    align-items: center; color: var(--text-muted); font-size: 0.95rem;
    transition: all 0.3s;
}
.custom-file-upload:hover .upload-ui { border-color: var(--primary-red); color: white; }
.upload-ui small { color: var(--primary-red); font-size: 0.85rem; }

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .why-join-box { flex-direction: column; text-align: center; gap: 15px; }
    .box-title { max-width: 100%; font-size: 2rem; }
    .check-list li { text-align: left; }
    
    .apply-info-box { flex-direction: column; }
    .apply-title { font-size: 2rem; padding: 15px; }
}

@media (max-width: 992px) {
    .split-layout { 
        grid-template-columns: 1fr; /* Stacks the columns vertically */
        gap: 40px; 
    }
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
    .hiring-header h2 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .hiring-content { padding: 30px 20px; }
    .hiring-grid-2col { grid-template-columns: 1fr; }
    .hiring-header h2 { font-size: 3rem; }
    .form-wrapper { padding: 30px 20px; }
}

/* =========================================
   PROMOTIONAL SPOTLIGHT (SPLIT CARD)
   ========================================= */

.promo-spotlight-section {
    padding: 100px 0;
    background-color: var(--bg-lighter); /* Matches your dark background */
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* Right side is slightly wider, matching the screenshot */
    gap: 20px; /* Small gap between the two cards */
}

.promo-card {
    border-radius: 24px; /* Distinctive smooth rounded corners */
    overflow: hidden;
    position: relative;
    min-height: 450px;
}

/* --- Left Card (Content) --- */
.content-card {
    /* Subtle dark red to black gradient reflecting KPS colors */
    background: radial-gradient(circle at top right, rgba(138, 0, 0, 0.4) 0%, rgba(15, 15, 15, 1) 70%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
}

.promo-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: white;
}

.promo-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 90%;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 14px 28px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-pill svg {
    transition: transform var(--transition-fast);
}

.btn-pill:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

.btn-pill:hover svg {
    transform: translateX(4px);
}

/* --- Right Card (Image) --- */
.image-card {
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 1s ease, filter 1s ease;
}

.image-card:hover .promo-bg-img {
    transform: scale(1.05);
    filter: brightness(0.4);
}

.image-overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.image-overlay-text p {
    font-size: 2rem;
    color: #e0e0e0;
    font-weight: 300;
}

.image-overlay-text strong {
    font-weight: 700;
    color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .image-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .content-card {
        padding: 40px 30px;
    }
    .promo-title {
        font-size: 2.8rem;
    }
    .image-card {
        min-height: 300px;
    }
    .image-overlay-text p {
        font-size: 1.5rem;
    }
}

/* Add this to the CSS block for a realistic pulsing effect on the red dot */
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(230, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

.pulsing-dot {
    animation: pulse-dot 2s infinite;
}