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

:root {
    --primary-bg: #0d1b2a;
    --secondary-bg: #1b263b;
    --accent-orange: #ff8c42;
    --text-white: #ffffff;
      --text-black: #000000;
    --text-gray: #acb7c3;
    --text-light: #5a6c7d;
       --navy:   #0a1628;
      --navy-2: #0e1d38;
      --steel:  #1b2d4a;
      --accent: #4a7fa5;
      --light:  #c8d8e8;
      --muted:  #5a7a9a;
      --white:  #eef3f9;
      --gold:   #c9a84c;
      --w:      1400px;
      --dur:    4000ms;
    
}

body {
  font-family: "Inter", sans-serif;
    background: var(--primary-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container Class for fixed sections */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive images by default */
img {
    max-width: 100%;
}

/* Logo */
.logo-image {
    height: 44px;
    width: auto;
    display: block;
}

/* Bokeh Background */
.bokeh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bokeh {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.bokeh-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.4), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bokeh-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.3), transparent);
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.bokeh-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(234, 67, 53, 0.3), transparent);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.bokeh-4 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(251, 188, 4, 0.4), transparent);
    bottom: 20%;
    right: 25%;
    animation-delay: 6s;
}

.bokeh-5 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.3), transparent);
    top: 60%;
    left: 40%;
    animation-delay: 1s;
}

.bokeh-6 {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.3), transparent);
    top: 40%;
    right: 35%;
    animation-delay: 3s;
}

.bokeh-7 {
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.35), transparent);
    bottom: 10%;
    left: 50%;
    animation-delay: 5s;
}

.bokeh-8 {
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.35), transparent);
    top: 80%;
    right: 10%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.home .navbar{
    background: rgba(0,0,0,0.3) !important;
    border-color: transparent !important;
    backdrop-filter:none;
}
.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(13, 27, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
     backdrop-filter:blur(20px) !important;
}
/* .home .navbar.scrolled{
     backdrop-filter:blur(20px) !important;
}  */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-white);
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--text-gray);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-white);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.hero:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.banner-imgs{
    height: 100vh;
    width: 100%;
}
.banner-imgs img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image svg {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(66, 133, 244, 0.3));
}

/* Background Text Watermark */
.bg-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 15vw, 18rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    pointer-events: none;
    letter-spacing: -5px;
}

.bg-text-2 {
    position: absolute;
    top: 48%;
    left: 52%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.015);
    z-index: 1;
    pointer-events: none;
}

/* Hero Section Slider Styles - Add these to your style.css */

.hero .hero-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 600px;
    width: 100%;
    left: 0;
    right: 0;
}

.hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.hero .hero-title {
    font-size: 1.8rem;
    color: #b3b3b3;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}
.hero .hero-title span{
    display: inline-block;
    color: #b3b3b3;
    font-weight: 200;
    
}
.hero .text-gray {
    color: #f9a826;
}

.hero .hero-main {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    gap: 20px;
     display: flex;
}

.hero .hero-main span {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.hero .hero-desc {
    color: #d7dde4;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero .hero-desc.is-visible {
    animation: fadeInUp 0.7s ease forwards;
}

.hero .text-white {
    font-weight: 700;
    color: #ffffff;
    animation: slideUp 1s ease-out 0.6s forwards;
}

.hero .text-light {
    font-weight: 300;
    color: #b9b9b9;
    animation: slideUp 1s ease-out 0.8s forwards;
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f9a826 0%, #ff8c42 100%);
    color: white;
    text-decoration: none;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 200;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 168, 38, 0.6);
}

.hero .arrow {
         transition: transform 0.3s ease;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .cta-button:hover .arrow {
    transform: translateX(20px);
}

/* Slides Container */
.hero .slides-wrapper {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 500px;
    height: 400px;
    perspective: 1200px;
    z-index: 5;
}

.hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}
.hero .hero-image img{
    max-width:100%;
}
.hero .hero-image.active {
    opacity: 1;
    pointer-events: auto;
}

/* Initial animation for first slide */
.hero .hero-image.active.initial {
    animation: scaleIn 1.2s ease-out 0.5s forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* GIS Globe Visual */
.hero .gis-globe-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.hero .globe-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    transform-style: preserve-3d;
    animation: globeFloat 4s ease-in-out infinite;
}

@keyframes globeFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg);
    }
    50% { 
        transform: translateY(-20px) rotateY(180deg);
    }
}

.hero .globe-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #4a9eff 0%, #2563eb 50%, #1e3a8a 100%);
    box-shadow: 
        inset -40px -40px 80px rgba(0, 0, 0, 0.4),
        inset 20px 20px 60px rgba(255, 255, 255, 0.1),
        0 40px 100px rgba(37, 99, 235, 0.4);
    transform-style: preserve-3d;
    animation: sphereRotate 30s linear infinite;
}

@keyframes sphereRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.hero .globe-sphere::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
}

.hero .globe-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: 
        repeating-linear-gradient(0deg, transparent 0px, transparent 28px, rgba(255,255,255,0.15) 28px, rgba(255,255,255,0.15) 30px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 28px, rgba(255,255,255,0.15) 28px, rgba(255,255,255,0.15) 30px);
    opacity: 0.6;
}

.hero .continent {
    position: absolute;
    background: rgba(76, 175, 80, 0.5);
    border-radius: 50%;
    filter: blur(1px);
}

.hero .continent:nth-child(1) {
    width: 70px;
    height: 90px;
    top: 20%;
    left: 15%;
    border-radius: 60% 40% 50% 50%;
    animation: continentShift 3s ease-in-out infinite;
}

.hero .continent:nth-child(2) {
    width: 80px;
    height: 70px;
    top: 50%;
    left: 45%;
    border-radius: 50% 50% 60% 40%;
    animation: continentShift 3s ease-in-out infinite 0.5s;
}

.hero .continent:nth-child(3) {
    width: 60px;
    height: 80px;
    top: 15%;
    right: 20%;
    border-radius: 40% 60% 50% 50%;
    animation: continentShift 3s ease-in-out infinite 1s;
}

.hero .continent:nth-child(4) {
    width: 50px;
    height: 60px;
    bottom: 25%;
    left: 30%;
    border-radius: 50% 50% 40% 60%;
    animation: continentShift 3s ease-in-out infinite 1.5s;
}

@keyframes continentShift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero .map-tile {
    position: absolute;
    width: 85px;
    height: 70px;
    background: white;
    border-radius: 6px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transform-style: preserve-3d;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero .map-tile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.hero .map-tile:nth-child(1) {
    top: -15%;
    left: -20%;
    transform: rotate(-25deg) rotateY(-15deg);
    animation: tileFloat1 4s ease-in-out infinite;
}

.hero .map-tile:nth-child(1)::before {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

@keyframes tileFloat1 {
    0%, 100% { transform: rotate(-25deg) rotateY(-15deg) translateZ(50px) translateY(0); }
    50% { transform: rotate(-20deg) rotateY(-10deg) translateZ(60px) translateY(-15px); }
}

.hero .map-tile:nth-child(2) {
    top: -20%;
    left: 35%;
    transform: rotate(5deg) rotateY(10deg);
    animation: tileFloat2 4.5s ease-in-out infinite;
}

.hero .map-tile:nth-child(2)::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@keyframes tileFloat2 {
    0%, 100% { transform: rotate(5deg) rotateY(10deg) translateZ(40px) translateY(0); }
    50% { transform: rotate(10deg) rotateY(15deg) translateZ(55px) translateY(-18px); }
}

.hero .map-tile:nth-child(3) {
    top: -10%;
    right: -18%;
    transform: rotate(20deg) rotateY(20deg);
    animation: tileFloat3 4.2s ease-in-out infinite;
}

.hero .map-tile:nth-child(3)::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

@keyframes tileFloat3 {
    0%, 100% { transform: rotate(20deg) rotateY(20deg) translateZ(45px) translateY(0); }
    50% { transform: rotate(25deg) rotateY(25deg) translateZ(58px) translateY(-12px); }
}

.hero .map-tile:nth-child(4) {
    top: 40%;
    right: -22%;
    transform: rotate(-15deg) rotateY(-20deg);
    animation: tileFloat4 4.8s ease-in-out infinite;
}

.hero .map-tile:nth-child(4)::before {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

@keyframes tileFloat4 {
    0%, 100% { transform: rotate(-15deg) rotateY(-20deg) translateZ(48px) translateY(0); }
    50% { transform: rotate(-10deg) rotateY(-15deg) translateZ(62px) translateY(-14px); }
}

.hero .map-tile:nth-child(5) {
    bottom: -8%;
    right: -15%;
    transform: rotate(18deg) rotateY(12deg);
    animation: tileFloat5 4.3s ease-in-out infinite;
}

.hero .map-tile:nth-child(5)::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

@keyframes tileFloat5 {
    0%, 100% { transform: rotate(18deg) rotateY(12deg) translateZ(42px) translateY(0); }
    50% { transform: rotate(23deg) rotateY(17deg) translateZ(56px) translateY(-16px); }
}

.hero .map-tile:nth-child(6) {
    bottom: -15%;
    left: 30%;
    transform: rotate(-8deg) rotateY(-8deg);
    animation: tileFloat6 4.6s ease-in-out infinite;
}

.hero .map-tile:nth-child(6)::before {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

@keyframes tileFloat6 {
    0%, 100% { transform: rotate(-8deg) rotateY(-8deg) translateZ(44px) translateY(0); }
    50% { transform: rotate(-3deg) rotateY(-3deg) translateZ(54px) translateY(-20px); }
}

.hero .map-tile:nth-child(7) {
    top: 35%;
    left: -25%;
    transform: rotate(12deg) rotateY(18deg);
    animation: tileFloat7 4.4s ease-in-out infinite;
}

.hero .map-tile:nth-child(7)::before {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

@keyframes tileFloat7 {
    0%, 100% { transform: rotate(12deg) rotateY(18deg) translateZ(46px) translateY(0); }
    50% { transform: rotate(17deg) rotateY(23deg) translateZ(60px) translateY(-13px); }
}

.hero .map-tile:nth-child(8) {
    bottom: -12%;
    left: -18%;
    transform: rotate(-22deg) rotateY(-12deg);
    animation: tileFloat8 4.7s ease-in-out infinite;
}

.hero .map-tile:nth-child(8)::before {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

@keyframes tileFloat8 {
    0%, 100% { transform: rotate(-22deg) rotateY(-12deg) translateZ(50px) translateY(0); }
    50% { transform: rotate(-17deg) rotateY(-7deg) translateZ(64px) translateY(-17px); }
}

/* Product Development SVG */
.hero .product-svg {
    width: 100%;
    height: 100%;
}

.hero .product-svg rect,
.hero .product-svg circle {
    animation: elementFloat 3s ease-in-out infinite;
}

.hero .product-svg rect:nth-child(1) { animation-delay: 0s; }
.hero .product-svg rect:nth-child(2) { animation-delay: 0.2s; }
.hero .product-svg rect:nth-child(3) { animation-delay: 0.4s; }

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

/* AI Development SVG */
.hero .ai-svg {
    width: 100%;
    height: 100%;
}

.hero .ai-node {
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Navigation Dots */
.hero .nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.hero .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero .dot.active {
    background: #f9a826;
    border-color: #fff;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        max-width: 1100px;
    }
}

@media (max-width: 968px) {
    .container {
        width: 95%;
        max-width: 900px;
    }

    .hero .hero-container {
        flex-direction: column;
        padding: 40px 5%;
        justify-content: center;
    }

    .hero .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero .slides-wrapper {
        position: relative;
        right: 0;
        transform: none;
        margin-top: 40px;
        width: 100%;
        max-width: 400px;
        height: 350px;
    }

    .hero .hero-image {
        transform: scale(0.8);
    }

    .hero .globe-wrapper {
        transform: scale(0.85);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        max-width: 600px;
    }

    .navbar {
        padding: 1rem 5% !important;
    }

    .logo-image {
        height: 38px;
    }

    .nav-container {
        flex-direction: row;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-menu.open {
        max-height: 380px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 5%;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

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

    .hero .cta-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero .slides-wrapper {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin: -3rem auto 0;
        padding: 0 2%;
        border-radius: 20px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .stat-item {
        flex: 1;
        min-width: 150px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: 90%;
        max-width: 100%;
    }
    .footer-container{
        padding-bottom: 0 !important;
    }
.footer-col ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
    .footer-social {
   padding-top: 1rem;
        border-top: 1px solid #eee;
     
    }
.footer-col a {
   margin-bottom: 0;
}
.footer-col a:hover{
    text-decoration: underline;
}
    .hero .hero-main {
        font-size: 1.5rem;
    }

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

    .hero .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .hero .hero-content {
        padding: 0;
    }

    .hero .cta-button {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .hero .slides-wrapper {
        height: 250px;
        max-width: 100%;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin: -2rem auto 0;
        padding: 0 1%;
        border-radius: 15px;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .page-header {
        padding: 6rem 5% 3rem;
        min-height: 30vh;
    }

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

    .page-header p {
        font-size: 0.95rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .footer {
        padding: 2rem 5%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -3rem 0 0 0;
    padding: 0 1.5%;
    gap: 0;
    position: relative;
    z-index: 50;
        background: #fff;
    border-radius: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
      border-radius:10px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 244, 244, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
      
    
}

.service-card:hover {
     background: #fff;
    transform: translateY(-15px);
    border-color: rgba(255, 140, 66, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        border-radius: 30px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 1.1rem;
    color: var(--accent-orange);
    transition: transform 0.4s ease;
}
.service-icon i{
    font-size: 50px;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-black);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Services grid responsive overrides — placed after the base rule so they take effect */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        margin: -3rem auto 0;
        padding: 0 2%;
        border-radius: 20px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}

/* About Section */
.about-section {
    padding: 8rem 5%;
    background: var(--primary-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    align-items: center;
}
.about-image{
       padding: 30px;
    display: contents;
}
.about-image img {
    max-width: 100%;
    height: auto;
    /* border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); */
}

.section-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Page Header (inner pages) */
.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 5% 4rem;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

/* What We Do Section */
.what-we-do {
    padding: 6rem 5%;
    position: relative;
}

.wwd-intro {
    max-width: 850px;
    margin: 0 auto 4rem;
    text-align: center;
}

.wwd-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wwd-intro .section-label {
    text-align: center;
}

.wwd-intro p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1rem;
}

.wwd-list {
    max-width: 1100px;
    margin: 0 auto;
}

.wwd-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wwd-row:first-child {
    border-top: none;
    padding-top: 0;
}

.wwd-row:nth-child(even) .wwd-row-head {
    order: 2;
}

.wwd-row .service-icon {
    margin-bottom: 1.2rem;
}

.wwd-row-head h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 700;
}

.wwd-row-head p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.wwd-row-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem 1.5rem;
    align-self: center;
}

.wwd-row-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wwd-row-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent-orange);
    font-size: 0.85rem;
}

.wwd-closing {
    max-width: 850px;
    margin: 4rem auto 0;
    text-align: center;
}

.wwd-closing h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.wwd-closing p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .wwd-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .wwd-row:nth-child(even) .wwd-row-head {
        order: 0;
    }
}

@media (max-width: 600px) {
    .wwd-row-list {
        grid-template-columns: 1fr;
    }
}

/* Our Solutions Section */
.solutions-section {
    padding: 7rem 5%;
    position: relative;
}

.solutions-head {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.solutions-head .section-label {
    text-align: center;
}

.solutions-head h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.solutions-head p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    border-color: rgba(255, 140, 66, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.solution-card:hover .service-icon {
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.solution-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.92rem;
}

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

.solutions-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f9a826 0%, #ff8c42 100%);
    color: #fff;
    text-decoration: none;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 200;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
}

.solutions-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 168, 38, 0.6);
}

.solutions-cta .arrow {
    transition: transform 0.3s ease;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-cta .cta-button:hover .arrow {
    transform: translateX(8px);
}

@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-head h2 {
        font-size: 1.8rem;
    }
}

/* Achievements Section */
.achievements {
    padding: 6rem 5%;
    background: var(--primary-bg);
}

.achievements h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 6rem;
    font-weight: 200;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
}


.quote-left,
.quote-right {
    font-size: 3rem;
    color: rgba(255, 140, 66, 0.3);
    font-family: Georgia, serif;
    position: absolute;
}

.quote-left {
    top: 0;
    left: 0;
}

.quote-right {
    bottom: 0;
    right: 0;
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    background-image: url('../assets/footerbg.png');
    background-color: #1a3a6b;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {

    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 5px 10px;

}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
    
}

.footer-social {
    text-align: right;
}

.social-icons {
    /* Hidden for now */
    display: none;
    gap: 1rem;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.85rem;
}


/* TESTIMONIAL */


    /* ── section ── */
    .testimonial { 
        padding: 80px 0;
         background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--primary-bg) 100%);
    }
.testimonial .container{
     width: 100%; max-width: var(--w); margin: 0 auto; 

}
       .testimonial h2{
            text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
    }
    .testimonial .dots{
        display: none;
    }
    /* ── heading ── */
    /* .testimonial-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 900;
      letter-spacing: .2em;
      text-align: center;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 52px;
    } */
    .testimonial .testimonial-title::after {
      content: '';
      display: block;
      width: 52px; height: 3px;
      background: var(--gold);
      margin: 14px auto 0;
      border-radius: 2px;
    }

    /* ── avatar strip ── */
   .testimonial  .strip-wrap {
      position: relative;
      display: flex;
      align-items: center;
      gap: 16px;
    }

   .testimonial  .strip-btn {
      flex-shrink: 0;
      width: 42px; height: 42px;
      border-radius: 50%;
      border: 1.5px solid var(--steel);
      background: var(--navy-2);
      color: var(--light);
      font-size: 1.3rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .25s, background .25s, transform .2s;
      z-index: 5;
      user-select: none;
      line-height: 1;
    }
    .testimonial .strip-btn:hover {
      border-color: var(--gold);
      background: var(--steel);
      transform: scale(1.1);
    }

    /* avatar row */
    .testimonial .avatars-row {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 20px 0 38px;
    }
   .testimonial  .avatars-row::before {
      content: '';
      position: absolute;
      top: 50%; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg,
        transparent,
        var(--steel) 15%,
        var(--accent) 50%,
        var(--steel) 85%,
        transparent);
      transform: translateY(-50%);
      pointer-events: none;
    }

    /* single card */
   .testimonial  .av {
      position: relative;
      cursor: pointer;
      flex-shrink: 0;
      z-index: 1;
      transition: transform .35s cubic-bezier(.4,0,.2,1);
    }
    .testimonial .av:not(:first-child) { margin-left: -10px; }

    .testimonial .av img {
      display: block;
      width: 100px; height: 100px;
      object-fit: cover;
      border: 3px solid var(--steel);
      filter: grayscale(55%) brightness(.7);
      transition: filter .35s, border-color .35s, box-shadow .35s, width .35s, height .35s;      
    border-radius: 50%;
    }

    .testimonial .av:hover { transform: translateY(-6px) scale(1.06); z-index: 5; }
    .testimonial .av:hover img { filter: grayscale(0%) brightness(.95); border-color: var(--accent); }

    .testimonial .av.active { transform: translateY(-12px) scale(1.18); z-index: 10; }
    .av.active img {
      width: 116px; height: 116px;
      filter: grayscale(0%) brightness(1);
      border-color: var(--gold);
      box-shadow: 0 0 0 3px var(--gold), 0 16px 40px rgba(201,168,76,.3);
    }
   .testimonial  .av.active::after {
      content: '';
      position: absolute;
      bottom: -6px; left: 50%;
      transform: translateX(-50%);
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--gold);
    }

    .testimonial .av .av-name {
      position: absolute;
      bottom: -24px; left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      font-size: .68rem;
      font-weight: 500;
      letter-spacing: .06em;
      color: var(--muted);
      opacity: 0;
      transition: opacity .25s, color .25s;
      pointer-events: none;
    }
    .testimonial .av:hover .av-name,
   .testimonial  .av.active .av-name { opacity: 1; color: var(--light); }

    /* ── progress bar ── */
    .testimonial .progress-wrap {
      height: 2px;
      background: var(--steel);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 6px;
    }
    .testimonial .progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--accent), var(--gold));
      border-radius: 2px;
    }

    /* ── dots ── */
    .testimonial .dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .testimonial .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--steel);
      border: 1.5px solid var(--muted);
      cursor: pointer;
      transition: background .25s, transform .25s, border-color .25s;
      padding: 0;
    }
   .testimonial  .dot.active {
      background: var(--gold);
      border-color: var(--gold);
      transform: scale(1.35);
    }

    /* ── quote panel ── */
    .testimonial .quote-panel {
      position: relative;
      /* background: var(--navy-2);
      border: 1px solid var(--steel); */
      overflow: hidden;
      margin-top: 32px;
      max-height: 0;
      opacity: 0;
      padding: 0 64px 0 76px;
      transition:
        max-height .5s cubic-bezier(.4,0,.2,1),
        opacity    .4s ease,
        padding    .45s ease;
    }
   .testimonial  .quote-panel.visible {
      max-height: 360px;
      opacity: 1;
      padding: 44px 64px 44px 76px;
    }


    .testimonial .q-o, .testimonial .q-c {
      font-family: 'Playfair Display', serif;
      font-size: 5.5rem;
      line-height: 1;
      color: var(--gold);
      opacity: .85;
      position: absolute;
      pointer-events: none;
    }
    .testimonial .q-o { top: 16px; left: 22px; }
    .testimonial .q-c { bottom: 8px; right: 28px; }

    .testimonial .q-inner {
      display: flex;
      gap: 36px;
      align-items: flex-start;
      opacity: 1;
      transform: translateY(0);
      transition: opacity .2s, transform .2s;
    }
    .testimonial .q-inner.out {
      opacity: 0;
      transform: translateY(10px);
    }

    .testimonial .q-photo {
      width: 88px; height: 88px;
      flex-shrink: 0;
      object-fit: cover;
      border: 3px solid var(--gold);
      box-shadow: 0 6px 28px rgba(0,0,0,.45);
    }

    .testimonial .q-body { flex: 1; text-align: center; }

    .testimonial .stars {     display: flex;
    gap: 4px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center; }
    .testimonial .stars span { font-size: 1.3rem; color: var(--gold); }
    .testimonial .stars span.off { color: var(--steel); }

    .testimonial .q-text {
      font-size: clamp(.87rem, 1.2vw, 1.03rem);
      line-height: 1.8;
      color: var(--light);
      font-weight: 300;
      font-style: italic;
      margin-bottom: 18px;
    }
    .testimonial .q-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.08rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: .03em;
    }
    .testimonial .q-role {
      font-size: .72rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 500;
      margin-top: 3px;
    }

    /* pause hint */
    .testimonial .pause-hint {
      text-align: center;
      margin-top: 12px;
      font-size: .67rem;
      letter-spacing: .08em;
      color: var(--muted);
      text-transform: uppercase;
      opacity: .7;
      transition: color .3s, opacity .3s;
    }
    .testimonial .pause-hint.paused { color: var(--gold); opacity: 1; }

    /* ── responsive ── */
    @media (max-width: 900px) {
      .testimonial .av img { width: 82px; height: 82px; }
      .testimonial .av.active img { width: 96px; height: 96px; }
      .testimonial .quote-panel.visible { padding: 36px 44px 36px 56px; }
    }
    @media (max-width: 640px) {
     .testimonial  .av:not(:first-child) { margin-left: -4px; }
      .testimonial .av img { width: 64px; height: 64px; }
      .testimonial .av.active img { width: 76px; height: 76px; }
      .testimonial .strip-btn { width: 34px; height: 34px; font-size: 1rem; }
      .testimonial .quote-panel.visible { padding: 32px 28px 32px 40px; }
      .testimonial .q-inner { flex-direction: column; align-items: center; text-align: center; }
      .testimonial .stars { justify-content: center; }
      .testimonial .q-o { font-size: 3.8rem; top: 10px; left: 12px; }
      .testimonial .q-c { font-size: 3.8rem; bottom: 6px; right: 16px; }
    }
    @media (max-width: 440px) {
      .testimonial .av img { width: 52px; height: 52px; }
      .testimonial .av.active img { width: 62px; height: 62px; }
    }

/* ═══════════════════════════════════════════════════════════════ */
/* AOS (Animate On Scroll) Animation Styles */
/* ═══════════════════════════════════════════════════════════════ */

/* Base styles for elements with data-aos attribute */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* Fade Up Animation */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fade Down Animation */
[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fade Left Animation */
[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Fade Right Animation */
[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Fade In Animation */
[data-aos="fade-in"] {
    opacity: 0;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1 !important;
}

/* Zoom In Animation */
[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Zoom Out Animation */
[data-aos="zoom-out"] {
    transform: scale(1.1);
}

[data-aos="zoom-out"].aos-animate {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Slide Up Animation */
[data-aos="slide-up"] {
    transform: translateY(50px);
}

[data-aos="slide-up"].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Flip Animation */
[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(90deg);
    opacity: 0;
}

[data-aos="flip-left"].aos-animate {
    opacity: 1 !important;
    transform: perspective(1000px) rotateY(0) !important;
}

[data-aos="flip-right"] {
    transform: perspective(1000px) rotateY(-90deg);
    opacity: 0;
}

[data-aos="flip-right"].aos-animate {
    opacity: 1 !important;
    transform: perspective(1000px) rotateY(0) !important;
}

/* Handle data-aos-delay attribute */
[data-aos-delay] {
    transition-delay: 0ms !important;
}

[data-aos-delay="50"] {
    --aos-delay: 50ms;
}

[data-aos-delay="100"] {
    --aos-delay: 100ms;
}

[data-aos-delay="150"] {
    --aos-delay: 150ms;
}

[data-aos-delay="200"] {
    --aos-delay: 200ms;
}

[data-aos-delay="250"] {
    --aos-delay: 250ms;
}

[data-aos-delay="300"] {
    --aos-delay: 300ms;
}

[data-aos-delay="400"] {
    --aos-delay: 400ms;
}

[data-aos-delay="500"] {
    --aos-delay: 500ms;
}

[data-aos].aos-animate {
    animation: aosFadeIn 0.8s ease-in-out forwards;
}

@keyframes aosFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================================
   Responsive overrides (placed last so they win over base rules
   that are declared after the original media-query blocks)
   ============================================================ */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Disable scroll parallax on mobile to avoid shifted layout/gaps */
    [data-parallax] {
        transform: none !important;
    }

    .about-content h1 {
        font-size: 2rem;
    }

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

    .page-header p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-divider {
        display: none;
    }

    /* Footer stacks into a single column */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-social {
        text-align: left;
    }

    .copyright {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 6rem 5% 3rem;
        min-height: 30vh;
    }

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

    .page-header p {
        font-size: 0.95rem;
    }

    .achievements h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 220px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .footer {
        padding: 3rem 5% 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-col a {
        justify-content: center;
        margin-bottom: 0;
    }

    .footer-social,
    .copyright {
        text-align: center;
    }
}
 