/* =========================================================================
   KOD Techax - Layout & Components Stylesheet
   Author: Kosmos
   Description: Base layout + sticky nav, scrollable top bar
   ========================================================================= */

/* ------------------------------
   RESET & BASE SETTINGS
--------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Apply overflow-x: hidden only to HTML to effectively hide content exceeding viewport */
  overflow-x: hidden;  /* Prevent horizontal scrollbars */
  width: 100%; /* Ensure full width usage */
}

body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-family: 'Inter', sans-serif;

}

img, video {
  max-width: 100%; /* Prevents them from being wider than their container */
  height: auto;
}

/* ------------------------------
   HEADER AREA
   (Top social bar scrolls; nav sticks)
--------------------------------*/
.top-social-wrapper {
  position: relative;
  z-index: 100;
  background: #f0f0f0;
  border-bottom: 0.07rem solid #ffffff;
}





/* ------------------------------
   HERO STATS SECTION
--------------------------------*/
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  color: #fff;
  text-align: center;
  box-sizing: border-box;  /* Ensure padding is included in width calculations */
  overflow-x: hidden; /* Prevent horizontal scroll */
  background-color: #0d1340; /* Dark blue background */
  border-top: 0.5rem solid #ffcc00;
  border-bottom: 0.5rem solid #ffcc00;

}

/* Adjustments for stat items */
.stat-item {
  flex: 0 1 220px; /* Flex-grow, flex-shrink, flex-basis */
  border: 2px solid #ffcc00;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  background: rgba(12, 7, 85, 0.1); /* Slight transparent background */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;  /* Horizontal center */
  justify-content: center;  /* Vertical center */
  text-align: center;
  box-sizing: border-box;  /* Include padding in total width */
}

.stat-item h4 {
  margin: 0;
  color: #ffcc00;
  font-size: 2rem;
  font-weight: 700;
}

.stat-item p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #eee;
}

/* Hover effect for stats items */
.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

/* ------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------*/


@media (max-width: 768px) {

  /* HERO SECTION ADJUSTMENTS */
    .hero-selling-point {
        height: 85vh; /* Reduce height on tablets/mobiles */
    }

    .explore-btn {
        /* Smaller font and padding for better fit */
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }   

    /* Reduce intensity of animation on mobile for better performance */
@keyframes zoomPulse {
        0%   { transform: scale(1); }
        50%  { transform: scale(1.05); } /* Reduced scale from 1.1 to 1.05 */
        100% { transform: scale(1); }
    }


  .hero-stats {
    flex-direction: column;
    padding: 1.5rem 2rem;  /* Reduce padding on smaller screens */
  }

  .stat-item {
    width: 100%; /* Ensure the stat items take full width on smaller screens */
    max-width: 300px;
    margin: 0 auto;  /* Centering the stats on mobile */
    height: 150px;  /* Give a fixed height to ensure it stays visually balanced */
  }

  .stat-item h4 {
    font-size: 1.6rem;
  }

  .stat-item p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {

  /* HERO SECTION ADJUSTMENTS (Further reduction for small phones) */
    .hero-selling-point {
        /* Reduce height further for very small screens */
        height: 70vh; 
    }
    
    .btn-wrapper {
        /* Bring button slightly higher on small phones */
        bottom: 1.5rem; 
    }


 /*  HERO STATS SECTION ADJUSTMENTS */
  .stat-item {
    width: 95%;
    max-width: 280px;  /* Adjust width to fit small screens */
    height: auto;  /* Remove fixed height for small screens */
  }

  .stat-item h4 {
    font-size: 1.4rem;
  }

  .stat-item p {
    font-size: 0.9rem;
  }
}



/* ------------------------------
   GENERAL SAFETY
--------------------------------*/
html, body, main, header, section, nav, footer {
  max-width: 100%;
}




        /* ============================================================
        * FULL-WIDTH RESPONSIVE BANNER CAROUSEL WITH CENTERED IMAGE
        * (All classes prefixed with 'banner-')
        * ============================================================ */

        .banner-carousel-wrapper {
            /* NEW WRAPPER: To set the outer background color for the full width */
            max-width: 100vw; 
            overflow-x: hidden; 
            background-color: #f0faf2; /* Outer Background Color */
            padding-top: 15px; /* Add padding consistent with margin */
            padding-bottom: 15px;
        }

        .banner-carousel-container {
            position: relative;
            width: 95%; /* Responsive width */
            max-width: 1200px; /* Limits the container width */
            margin: 0 auto; /* Centers the container */
            overflow: hidden; 
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            
            /* FIXED HEIGHT on desktop, but using aspect ratio padding for better mobile feel */
            height: 400px; 
            
            display: flex;
            justify-content: center;
            align-items: center; /* Vertically center the media */
        }

        /* Carousel inner container (holds all carousel items) */
        .banner-carousel-inner {
            position: relative;
            width: 100%; 
            height: 100%; 
        }

        /* Each carousel item (image or video) */
        .banner-carousel-item {
            position: absolute;
            inset: 0; /* Stretch to fill entire container */
            width: 100%; 
            height: 100%; 
            opacity: 0; 
            transition: opacity 0.6s ease-in-out; /* Smooth fade transition */
        }

        .banner-carousel-item.active {
            opacity: 1; 
            z-index: 5; 
        }

        /* ============================================================
        * HANDLING IMAGE ASPECT-RATIO AND FITTING
        * ============================================================ */
        .banner-media {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensure it covers the container height */
            display: block; 
            object-position: center; /* Center the image within the container */
        }

        /* ============================================================
        * CTA BUTTON OVERLAY (on top of the banner)
        * ============================================================ */
        .banner-cta {
            position: absolute;
            bottom: 3%; 
            left: 3%; 
            animation: banner-ctaPulse 2s infinite ease-in-out; 
            padding: 8px 16px; 
            background: #ffc107; /* Bright yellow background */
            color: #1e293b; /* Dark text color (slate-800) */
            font-weight: 700;
            font-size: clamp(0.9rem, 1.8vw, 1.125rem); /* Responsive Font Size: 14.4px up to 18px */
            border-radius: 10px;
            text-decoration: none; 
            z-index: 10; 
            transition: all 0.3s ease; 
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .banner-cta:hover {
            animation: none; 
            background: #e0a800; /* Darker background on hover */
            transform: scale(1.05) translateY(-2px); 
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        /* ============================================================
        * NAVIGATION BUTTONS (Prev and Next Arrows)
        * ============================================================ */
        .banner-carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%); 
            background: rgba(0, 0, 0, 0.4); 
            color: white; 
            border: none; 
            border-radius: 50%; /* Make them circular */
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer; 
            z-index: 10; 
            font-size: 20px; 
            opacity: 0.8; 
            transition: 0.3s; 
        }

        /* Left (Prev) control */
        .banner-carousel-control.prev { 
            left: 10px; 
        }

        /* Right (Next) control */
        .banner-carousel-control.next { 
            right: 10px; 
        }

        /* Hover effect for navigation buttons */
        .banner-carousel-control:hover {
            opacity: 1; 
            background: rgba(0, 0, 0, 0.6);
        }

        /* ============================================================
        * KEYFRAME ANIMATION FOR CTA BUTTON (Prefixed)
        * ============================================================ */
        @keyframes banner-ctaPulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
            }
            50% {
                transform: scale(1.03); 
                box-shadow: 0 0 10px rgba(255, 193, 7, 0.8); /* Yellow glow */
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
            }
        }

        /* ============================================================
        * MOBILE RESPONSIVENESS
        * ============================================================ */
        @media (max-width: 768px) {
            /* On tablets or smaller screens, reduce the height of the banner */
            .banner-carousel-container { 
                height: 35vh; /* Adjusted from 32vh for a slightly larger appearance */
                min-height: 250px; /* Ensure a minimum size */
            }
            .banner-cta {
                bottom: 10px; 
                left: 15px; 
                padding: 6px 12px; 
                font-size: 0.875rem; /* text-sm */
            }
            .banner-carousel-control {
                width: 38px;
                height: 38px;
                font-size: 16px;
                opacity: 0.9;
            }
        }

        @media (max-width: 576px) {
            /* For very small screens (like phones) */
            .banner-carousel-container { 
                height: 30vh; /* Further reduced height */
                min-height: 180px; 
            }
            
            .banner-carousel-control { 
                font-size: 14px; 
                width: 32px;
                height: 32px;
            }
            
            .banner-cta { 
                font-size: 0.8rem; 
                padding: 4px 8px; 
            }
        }
    
       /* ==============================
        End Banner Page Styles 
       =============================== */








       /* ==============================
        Gallerys Page Styles 
       =============================== */
        
        /* Custom style for active filter button */
        .gallery-filter-active {
            background-color: #4f46e5 !important; /* Tailwind indigo-600 */
            color: white !important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
        }

        /* Enforce aspect ratio and height for media wrapper (Gallery Preview) */
        .gallery-media-wrapper { 
            position: relative;
            width: 100%;
            padding-top: 75%; /* 4:3 Aspect Ratio for THUMBNAILS (Kept for grid uniformity) */
            overflow: hidden;
            margin-bottom: 0.5rem;
        }
        
        /* Ensure media elements fill the wrapper */
        .gallery-media-wrapper img,
        .gallery-media-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Cover for images/posters */
            border-radius: 0.375rem; /* rounded-md */
            transition: transform 0.3s ease;
        }

        /* Hover effect only applies to images (which open modal) */
        .gallery-item.is-image:hover .gallery-media-wrapper img {
            transform: scale(1.05);
        }

        /* Modal Styles */
        .modal-content-wrapper {
            /* Limit size of the modal content */
            max-width: 90vw;
            max-height: 90vh;
            width: min(90vw, calc(90vh / 9 * 16)); 
            display: flex;
            flex-direction: column;
            background-color: #000; 
            border-radius: 0.5rem;
        }

        /* Container to enforce 16:9 for the image itself */
        .modal-media-container {
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            position: relative;
            flex-grow: 1; 
        }
        
        /* Ensures the media fits entirely within the 16:9 container */
        .modal-media {
            position: absolute;
            top: 0;
            left: 0;
            object-fit: contain; 
            width: 100%;
            height: 100%;
        }

        
    /* ==============================
      End Gallerys Page Styles 
    =============================== */









    /* ===========================================
      About Us Page Styles (V16: Duplicate/Placeholder Fix)
    =========================================== */
            
        /* Global Reset/Base */
        .about-page {
            font-family: 'Inter', sans-serif; 
            line-height: 1.6;
            color: #333;
            background: #f8f9fa; /* Lighter background */
            padding: 0;
            margin: 0;
        }

        /* ---------- Hero Section (Enhanced) ---------- */
        .about-hero-tech {
            position: relative;
            color: #fff;
            text-align: center;
            padding: 6rem 1rem 4rem; 
            overflow: hidden;
        }

        .about-hero-bg-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            filter: brightness(0.4);
            transition: opacity 0.3s ease;
        }

        /* Placeholder style if the image fails to load */
        .about-hero-bg-img.error {
            opacity: 0; /* Hide broken image icon */
            background-color: #130135; /* Fallback solid color */
            /* UPDATED: Removed text from the background placeholder */
            background-image: linear-gradient(rgba(19, 1, 53, 0.7), rgba(19, 1, 53, 0.7)), 
                                url('https://placehold.co/1400x600/130135/ffffff');
            background-size: cover;
            background-position: center;
            content: "Background Image Failed to Load"; /* Note: content only works on ::before/::after */
            display: block;
        }


        .about-hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(19, 1, 53, 0.6);
            z-index: 2;
        }

        .about-hero-tech .about-text-content {
            position: relative;
            z-index: 3;
            max-width: 900px;
            margin: 0 auto;
        }

        .about-hero-tech h1 {
            font-size: 3rem; 
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .about-hero-tech p {
            font-size: 1.25rem; 
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .about-btn-learn-more {
            background: #0aa2c0;
            color: #fff;
            padding: 0.75rem 1.5rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .about-btn-learn-more:hover {
            background: #087f98;
            transform: translateY(-2px);
        }

        /* -------------------------------------------------------------------------- */

        /* ------ Mission & Vision Section ----- */
        .about-mission-vision-container {
            max-width: 1200px;
            margin: -3rem auto 3rem;
            padding: 0 1rem;
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            position: relative;
            z-index: 4;
        }

        .about-mv-box {
            background: #fff;
            padding: 2rem;
            border-radius: 1rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            flex: 1 1 45%;
            min-width: 300px; 
            text-align: center;
            border-top: 5px solid;
            transition: transform 0.3s ease;
        }
        .about-mv-box:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .about-vision-box {
            border-color: #00796b;
        }
        .about-mission-box {
            border-color: #130135;
        }

        /* Styling for SVG Icons inside MV Box (Increased size) */
        .about-mv-box .about-svg-icon-large {
            display: block;
            margin: 0 auto 1rem;
            width: 65px; /* Large Icon Size */
            height: 65px;
        }

        .about-mv-box h2 {
            color: #130135;
            margin-top: 0;
        }

        /* -------------------------------------------------------------------------- */

        /* ---------- What We Offer Section (Services) ---------- */
        .about-what-we-do-services {
            padding: 2rem 1rem; 
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .about-text-content-h2 {
            color: #00796b;
            margin-bottom: 1rem;
            font-size: 2.25rem;
        }

        .about-text-content-p {
            max-width: 800px;
            margin: 0 auto 2.5rem;
            font-size: 1.1rem;
        }

        .about-services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .about-card {
            background: #fff;
            padding: 1.5rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            text-align: center;
            display: flex; 
            flex-direction: column; 
            border-left: 5px solid #0aa2c0;
        }

        .about-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .about-card h3 {
            color: #130135;
            margin-top: 0.5rem;
            font-size: 1.4rem;
            text-align: center; 
        }

        /* Styling for SVG Icons inside About Card (Increased size) */
        .about-card .about-svg-icon-small {
            display: block; 
            margin: 0 auto 1rem;
            width: 55px; /* Large Icon Size */
            height: 55px;
            color: #130135; /* Single color for service icons */
        }
        
        .about-card p {
            color: #666;
        }


        /* -------------------------------------------------------------------------- */

        /* ---------- History Section ---------- */
        .about-history-section {
            padding: 4rem 1rem;
            background: #ffffff;
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-history-section h2 {
            text-align: center;
            color: #130135;
            font-size: 2.25rem;
            margin-bottom: 2rem;
        }

        .about-timeline-item {
            display: flex;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .about-timeline-item:nth-child(even) {
            flex-direction: row-reverse; /* Alternate sides */
        }

        .about-timeline-year {
            width: 150px;
            flex-shrink: 0;
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: #00796b;
            padding-top: 1rem;
        }

        .about-timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 15px;
            height: 15px;
            background: #0aa2c0;
            border-radius: 50%;
            top: 25px;
            z-index: 10;
        }

        .about-timeline-content-wrapper {
            flex-grow: 1;
            padding: 0 2rem;
        }

        .about-timeline-content {
            background: #f0f0f0;
            padding: 1.5rem;
            border-radius: 0.75rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-left: 5px solid #130135;
        }
        
        .about-timeline-item:nth-child(even) .about-timeline-content {
            border-left: none;
            border-right: 5px solid #130135;
        }

        /* Vertical Line for Timeline */
        .about-timeline-wrapper {
            position: relative;
            padding-left: 150px;
        }

        .about-timeline-line {
            position: absolute;
            left: 157px; /* Align with dot center */
            top: 0;
            bottom: 0;
            width: 2px;
            background: #ddd;
            z-index: 5;
        }
        
        /* Leadership Section */
        .about-leadership-section {
            padding: 4rem 1rem;
            background: #e0f7fa;
            text-align: center;
        }

        .about-leadership-section h2 {
            color: #00796b;
            font-size: 2.25rem;
            margin-bottom: 2.5rem;
        }

        .about-team-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem; /* Increased gap for two members */
            justify-content: center;
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-team-member {
            background: #fff;
            padding: 1.5rem;
            border-radius: 1rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            width: 300px; /* Wider cards for two members */
            transition: transform 0.3s ease;
        }
        
        .about-team-member:hover {
            transform: scale(1.05);
        }

        .about-team-member img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1rem;
            border: 4px solid #0aa2c0;
        }
        
        .about-team-member h3 {
            color: #130135;
            font-size: 1.3rem;
            margin-bottom: 0.25rem;
        }
        
        .about-team-member p {
            color: #666;
            font-size: 0.95rem;
        }

        /* Interactive Counter Section */
        .about-stats-section {
            padding: 4rem 1rem;
            background: #130135;
            color: white;
            text-align: center;
        }

        .about-stats-section h2 {
            font-size: 2.25rem;
            margin-bottom: 2rem;
            color: #0aa2c0;
        }

        .about-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-stat-item {
            background: rgba(255, 255, 255, 0.08);
            padding: 2rem 1rem;
            border-radius: 0.75rem;
            border-bottom: 5px solid #00796b;
        }

        .about-stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            color: #fff;
            line-height: 1;
        }

        .about-stat-label {
            margin-top: 0.5rem;
            font-size: 1.1rem;
            font-weight: 300;
            color: #ddd;
        }
        
        /* -------------------------------------------------------------------------- */

        /* ---------- Impact Pillars Section (Education & Products) ---------- */
        .about-impact-pillars {
            padding: 4rem 1rem;
            background: #ffffff;
            text-align: center;
        }

        .about-impact-pillars h2 {
            margin-bottom: 2.5rem;
            color: #00796b;
            font-size: 2.25rem;
        }

        .about-pillars-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .about-pillar-card {
            background: #fff;
            padding: 2rem;
            border-radius: 1rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            flex: 1 1 45%;
            min-width: 300px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 5px solid #0aa2c0;
        }

        .about-pillar-card h3 {
            margin-top: 0.5rem;
            color: #00796b; 
            font-size: 1.75rem;
            text-align: center;
        }

        .about-pillar-card ul {
            list-style: none;
            padding: 0;
            text-align: left; /* Align list content */
        }

        .about-pillar-card li {
            margin: 1rem 0;
            display: flex;
            align-items: flex-start;
            font-size: 1.05rem;
        }
        
        /* Styling for the large pillar icon (at the top of the card) (Increased size) */
        .about-pillar-icon-svg {
            display: block;
            text-align: center;
            margin: 0 auto 1rem;
            width: 70px; /* Large Icon Size */
            height: 70px;
        }

        /* Styling for the small checkmark icon in the list items */
        .about-pillar-card li .about-svg-icon-check {
            width: 18px;
            height: 18px;
            min-width: 18px;
            color: #0aa2c0; /* Primary Accent color for checks */
            margin-right: 0.75rem;
            margin-top: 3px;
        }


        /* ===========================================
            MOBILE RESPONSIVENESS ADJUSTMENTS (Max 768px)
            =========================================== */
        @media (max-width: 768px) {
            /* General Spacing */
            .about-page section {
                padding: 3rem 1rem;
            }

            /* Hero */
            .about-hero-tech {
                padding: 4rem 1rem 3rem;
            }
            .about-hero-tech h1 {
                font-size: 2.25rem;
            }
            .about-hero-tech p {
                font-size: 1rem;
            }
            
            /* Mission & Vision */
            .about-mission-vision-container {
                margin-top: -2rem; 
                flex-direction: column; 
            }
            .about-mv-box {
                flex: 1 1 100%;
                min-width: unset; 
                padding: 1.5rem; 
            }

            /* Services Grid */
            .about-text-content-h2 {
                font-size: 1.75rem; 
            }
            .about-services-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
            
            /* History Timeline Adjustments */
            .about-timeline-wrapper {
                padding-left: 0;
            }
            .about-timeline-line, .about-timeline-dot {
                left: 10px;
                transform: translateX(0);
            }
            .about-timeline-year {
                width: 100%;
                text-align: left;
                padding-top: 0;
                margin-bottom: 0.5rem;
                font-size: 1.25rem;
            }
            .about-timeline-item {
                flex-direction: column !important; /* Force all to stack vertically */
                border-left: 2px solid #ddd;
                padding-left: 20px;
            }
            .about-timeline-item:nth-child(even) .about-timeline-content {
                border-right: none;
                border-left: 5px solid #130135;
            }
            .about-timeline-content-wrapper {
                padding: 0;
            }
            
            /* Stats Grid */
            .about-stats-grid {
                grid-template-columns: 1fr;
            }
            .about-stat-number {
                font-size: 3rem;
            }
            
            /* Pillars Section */
            .about-impact-pillars h2 {
                font-size: 1.75rem;
            }
            .about-pillars-grid {
                flex-direction: column; 
                gap: 1.5rem;
            }
            .about-pillar-card {
                flex: 1 1 100%;
                min-width: unset;
                padding: 1.5rem;
            }
            .about-pillar-card li {
                font-size: 1rem;
            }
        }

        /* ===========================================
            EXTRA SMALL DEVICES (Max 480px)
            =========================================== */
        @media (max-width: 480px) {
            /* Hero */
            .about-hero-tech {
                padding: 3rem 0.5rem 2rem;
            }
            .about-hero-tech h1 {
                font-size: 2rem;
            }

            /* Services Grid */
            .about-services-grid {
                grid-template-columns: 1fr;
            }
            .about-card {
                padding: 1.25rem;
            }
        }

/* ============================================================
 * END OF About Us STYLES
 * ============================================================ */




 

/* ===========================================
Services Page Styles (V9: Slide-in Animation)
 =========================================== */

        /* Global Styling for the Service Page */
        .services-page {
            padding: 3rem 3rem; 
            background: #f8f8f8;
            font-family: 'Inter', sans-serif; 
            max-width: 1400px;
            margin: 0 auto;
        }

        /* ---------- Header Section ---------- */
        .services-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            padding: 4rem 1rem;
            overflow: hidden;
            border-radius: 1rem;
            color: #fff;
            z-index: 2;
        }

        /* Solid Background Color for Header */
        .services-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            /* Solid dark blue background color for the header */
            background-color: #130135; 
        }

        /* Header Text Styling */
        .services-header h1 {
            color: #0aa2c0; 
            font-size: 3rem; 
            margin-bottom: 0.75rem;
            font-weight: 700;
            position: relative;
            z-index: 3; 
        }

        .services-header p {
            color: #fff; 
            font-size: 1.25rem; 
            max-width: 750px;
            margin: 0.5rem auto 0;
            position: relative;
            z-index: 3; 
        }


        /* ---------- Filter Buttons ---------- */
        .service-filter-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .service-filter-buttons button {
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            border: 2px solid #130135;
            cursor: pointer;
            background: transparent;
            color: #130135;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .service-filter-buttons button i {
            margin-right: 0.5rem;
        }

        .service-filter-buttons button.active,
        .service-filter-buttons button:hover {
            background: #0aa2c0;
            color: #fff;
            border-color: #0aa2c0;
            box-shadow: 0 4px 10px rgba(10, 162, 192, 0.4);
        }

        /* ---------- Services Grid & Cards ---------- */
        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding: 0;
        }

        .service-card {
            background: #fff;
            border-radius: 1rem;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: 
                transform 0.3s ease, 
                box-shadow 0.3s ease, 
                opacity 0.4s ease, 
                transform 0.4s ease; /* Added transform transition for smooth sliding */
            display: none; 
            opacity: 0;   
            transform: translateX(-50px); /* Initial state: Off-screen to the left */
            text-align: center;
            padding: 2rem 1.5rem;
            height: 100%;
        }
        
        /* State for visible, animated cards */
        .service-card.show {
            display: flex;
            flex-direction: column;
            opacity: 1;
            transform: translateX(0); /* Final state: Slide into position */
        }
        
        /* Ensure initial load cards also slide in */
        .service-card.initial-load {
            opacity: 0;
            transform: translateX(-50px);
        }
        /* Override initial load visibility once JS loads */
        .service-card.initial-load.show {
            opacity: 1;
            transform: translateX(0);
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .service-icon {
            font-size: 6rem;
            color: #0aa2c0; 
            margin: 0 auto 1.5rem;
            padding: 0.75rem;
            border-radius: 50%;
            background: rgba(10, 162, 192, 0.1); 
            display: block;
            max-width: fit-content;
        }

        .service-card-info {
            flex-grow: 1;
            padding: 0;
            margin-bottom: 1rem; 
        }

        .service-card h3 {
            margin: 0 0 0.5rem;
            font-size: 1.4rem;
            color: #130135; 
        }

        .service-card p {
            margin: 0;
            line-height: 1.6;
            font-size: 1rem;
            color: #666;
        }
        
        .learn-more-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: auto; 
            padding: 0.5rem 1.25rem;
            border-radius: 9999px; 
            background-color: #0aa2c0; 
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
            font-size: 0.9rem;
            border: 2px solid transparent;
        }

        .learn-more-btn:hover {
            background-color: #00796b; 
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(10, 162, 192, 0.5);
        }

        .learn-more-btn i {
            margin-left: 0.5rem;
            transition: margin-left 0.3s ease;
        }

        .learn-more-btn:hover i {
            margin-left: 0.75rem;
        }


        /* ===========================================
            RESPONSIVE DESIGN (Breakpoints)
            ========================================== */

        @media (max-width: 768px) {
            .services-header {
                padding: 2rem 1rem;
                margin-bottom: 2rem;
            }
            .services-header h1 {
                font-size: 2.2rem;
            }
            .services-header p {
                font-size: 1rem;
            }
        }

        @media (min-width: 600px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
        }
    

            /* ============================
            End Services Page Styles 
            ============================= */








        /* ============================
        Contact Us Page Styles 
        ============================= */

        /* Enforcing map aspect ratio/height for better responsiveness */
        .contact-map-wrapper {
            min-height: 20rem; /* Mobile height */
        }
        @media (min-width: 1024px) {
            .contact-map-wrapper {
                min-height: 30rem; /* Desktop height */
            }
        }
        .contact-map-wrapper iframe {
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 0.75rem;
        }

        /* Styling for the success message popup modal (contact-popup) */
        .contact-popup {
            display: none;
            position: fixed;
            z-index: 9999;
            inset: 0;
            background: rgba(17, 24, 39, 0.7); /* Dark semi-transparent backdrop */
            justify-content: center;
            align-items: center;
        }

        /* Custom style for showing invalid form fields (contact-input-error) */
        .contact-input-error {
            border-color: #ef4444 !important; /* Tailwind's red-500 */
        }

        /* Custom style for error text message (contact-text-error) */
        .contact-text-error {
            color: #ef4444;
            font-size: 0.875rem; /* text-sm */
            margin-top: 0.25rem;
        }
    

 /* ============================
     End Contact Us Page Styles 
 ============================= */
 








