        /* Reset and Base Styles */
        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
        }

        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6; 
            color: var(--text-primary); 
            background: var(--bg-primary);
            transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            overflow-x: hidden;
        }

        .container { 
            max-width: 1400px; 
            margin: 0 auto; 
            padding: 0 24px; 
        }

        /* Enhanced Color System */
        :root {
            --primary: #0f172a;
            --accent: #3b82f6;
            --gold: #f59e0b;
            --bg-primary: #020617;
            --bg-secondary: #0f172a;
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --border: #1e293b;
            --glass: rgba(15, 23, 42, 0.8);
            --shadow: rgba(0, 0, 0, 0.5);
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        /* Light Mode */
        body.light-mode {
            --primary: #1e40af;
            --accent: #3b82f6;
            --gold: #f59e0b;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --text-primary: #1e293b;
            --text-secondary: #475569;
            --border: #e2e8f0;
            --glass: rgba(255, 255, 255, 0.9);
            --shadow: rgba(0, 0, 0, 0.1);
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-accent: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
        }

        /* Enhanced Navigation with Glassmorphism */
        nav { 
            position: fixed; 
            top: 0; 
            width: 100%; 
            background: var(--glass);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: var(--glass);
            box-shadow: 0 8px 32px var(--shadow);
        }

        nav.hidden {
            transform: translateY(-100%);
        }

        nav .container { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 1rem 24px; 
        }

        /* Enhanced Logo with Animation */
        .logo { 
            display: flex; 
            align-items: center; 
            font-size: 1.8rem; 
            font-weight: 700; 
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .spiral { 
            width: 40px; 
            height: 40px; 
            background: var(--gradient-primary);
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            margin-right: 12px; 
            position: relative;
            overflow: hidden;
        }

        .spiral::before {
            content: '';
            position: absolute;
            inset: 2px;
            background: var(--bg-primary);
            border-radius: 50%;
            z-index: 1;
        }

        .inner-spiral { 
            width: 20px; 
            height: 20px; 
            background: var(--gradient-primary);
            border-radius: 50%;
            z-index: 2;
            animation: spiral-pulse 3s ease-in-out infinite;
        }

        @keyframes spiral-pulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(180deg); }
        }

        /* Enhanced Navigation Links */
        .nav-links { 
            display: flex; 
            list-style: none; 
            gap: 2.5rem; 
        }

        .nav-links a { 
            text-decoration: none; 
            color: var(--text-secondary);
            font-weight: 500; 
            font-size: 0.95rem;
            position: relative;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--gradient-accent);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover,
        .nav-links a.active { 
            color: var(--text-primary);
            background: rgba(59, 130, 246, 0.1);
        }

        .nav-links a:hover::before,
        .nav-links a.active::before {
            width: 80%;
        }

        /* Enhanced Theme Toggle */
        .theme-toggle-btn {
            background: var(--glass);
            border: 1px solid var(--border);
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            cursor: pointer;
            color: var(--text-primary);
            transition: all 0.3s ease;
            margin-left: 1rem;
        }

        .theme-toggle-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--shadow);
            background: var(--accent);
            color: white;
        }

        /* Hero Section with Enhanced Styling */
        #home { 
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-primary);
        }

        .hero-content {
            text-align: center;
            z-index: 10;
            max-width: 800px;
            padding: 2rem;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 800;
            color: white;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fade-up 1s ease-out;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 3vw, 1.5rem);
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            animation: fade-up 1s ease-out 0.2s both;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            animation: fade-up 1s ease-out 0.4s both;
        }

        .hero-cta:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
        }

        /* Animated Background Elements */
   .hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* replaces inset: 0 */
  overflow: hidden;
  opacity: 0;
  transform: translateY(-150px) scale(2.98);
  animation: dropZoomFade 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.3s;
  pointer-events: none; /* so they don’t block clicks */
}

.corner {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.8;
  z-index: 10;
}

/* Corner positions */
.top-left {
  top: 25px;
  left: 10px;
}

.top-right {
  top: 25px;
  right: 10px;
}

.bottom-left {
  bottom: 10px;
  left: 10px;
}

.bottom-right {
  bottom: 10px;
  right: 10px;
}



@keyframes dropZoomFade {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

        /* .hero-bg .floating-element {
    background-color: black; 
} */

        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-20px) rotate(120deg); }
            66% { transform: translateY(-10px) rotate(240deg); }
        }

        /* Enhanced Sections */
        section { 
            padding: 6rem 0;
            position: relative;
        }

        section:nth-child(even) {
            background: var(--bg-secondary);
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 3rem);
            text-align: center;
            margin-bottom: 4rem;
            color: var(--text-primary);
            font-weight: 700;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }

        /* Enhanced Cards */
        .card { 
            background: var(--glass);
            backdrop-filter: blur(20px);
            padding: 2.5rem; 
            border-radius: 20px; 
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--gradient-accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px var(--shadow);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        /* Enhanced Services Grid */
        .services-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .service-card {
            position: relative;
            overflow: hidden;
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        /* Enhanced Animations */
        @keyframes fade-up {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fade-in { 
            opacity: 0; 
            transform: translateY(50px); 
            transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1); 
        }

        .fade-in.visible { 
            opacity: 1; 
            transform: translateY(0); 
        }

        /* Enhanced Buttons */
        .btn { 
            background: var(--gradient-primary);
            color: white; 
            padding: 1rem 2rem; 
            border: none; 
            border-radius: 50px; 
            cursor: pointer; 
            font-weight: 600; 
            transition: all 0.3s ease; 
            text-decoration: none; 
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-accent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
        }

        .btn:hover::before {
            opacity: 1;
        }

        .btn span {
            position: relative;
            z-index: 1;
        }

        /* Mobile Responsiveness */
        .mobile-menu-btn { 
            display: none; 
            background: none; 
            border: none; 
            font-size: 1.5rem; 
            cursor: pointer; 
            color: var(--text-primary);
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--glass);
            border: 1px solid var(--border);
        }

        .mobile-menu { 
            display: none; 
            flex-direction: column; 
            position: absolute; 
            top: 100%; 
            left: 0; 
            width: 100%; 
            background: var(--glass);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--border);
        }

        .mobile-menu.active { 
            display: flex; 
        }

        .mobile-menu a { 
            padding: 1.25rem 2rem; 
            text-decoration: none; 
            color: var(--text-primary);
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .mobile-menu a:hover {
            background: rgba(59, 130, 246, 0.1);
            padding-left: 2.5rem;
        }

        @media (max-width: 768px) {
            .nav-links { 
                display: none; 
            }
            .mobile-menu-btn { 
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .container {
                padding: 0 16px;
            }
            nav .container {
                padding: 1rem 16px;
            }
            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            section {
                padding: 4rem 0;
            }
            .two-col-grid {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
            }
        }

        .two-col-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        /* Footer */
        footer { 
            background: var(--bg-secondary);
            color: var(--text-secondary); 
            text-align: center; 
            padding: 3rem 0; 
            border-top: 1px solid var(--border);
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .footer-logo {
            height: 80px;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .footer-logo:hover {
            opacity: 1;
        }

        /* Founders Section Enhancements */
        .founders-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .founder-card {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background-size: contain !important;
            background-position: top center;
            background-repeat: no-repeat;
            background-color: var(--bg-secondary);
            height: 520px;
            cursor: pointer;
            transition: transform 0.45s ease, box-shadow 0.45s ease;
        }

        .founder-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 22px 45px var(--shadow);
        }

        .founder-overlay {
            position: absolute;
            inset: 0;
            padding: 2.2rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            text-align: left;
            color: #fff;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 20%, transparent 100%);
            transform: translateY(100%);
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 2;
            backdrop-filter: blur(2px);
        }

        .founder-card:hover .founder-overlay {
            transform: translateY(0);
        }

        body.light-mode .founder-overlay {
            background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 35%, transparent 100%);
            color: #1f2937;
        }

        /* Why Us Section Styles */
        .why-us-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        /* Approach Section Styles */
        .approach-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .step-icon {
            background: var(--gradient-primary);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .step-icon:nth-child(2n) {
            background: var(--gradient-accent);
        }

        .step-icon:nth-child(3n) {
            background: var(--gold);
        }

        /* Contact Section Styles */
        .contact-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: white;
        }

        .contact-tags {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }

        .contact-tag {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            border: 1px solid;
        }

        /* Form Styles */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        input, textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--glass);
            backdrop-filter: blur(10px);
            color: var(--text-primary);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 120px;
        }
        /* test animation */
        .hero-title {
    opacity: 0;
    transform: translateY(-100%);
    animation: dropDownFade 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRightFade 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.7s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(100%);
    animation: riseUpFade 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.1s;
}

/* Keyframes */
@keyframes dropDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRightFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes riseUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ///////////////////////////// */
.card {
    /* Make sure the card rotates around its center */
    transform-origin: center;
    /* Enable 3D effect */
    transform-style: preserve-3d;
    /* Animate the flip */
    animation: flip360 1.5s ease forwards;
}

/* Define the flip animation */
@keyframes flip360 {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}
/* test our servecies animation */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  /* Optional: add perspective for 3D effect */
  perspective: 800px;
}

/* Base styles for cards */
.service-card {
  opacity: 0;
  transform: translate(0, 0);
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: 0.3s;
}

/* From left */
.from-left {
  transform: translateX(-100px);
  animation-name: slideInFromLeft;
}

/* From right */
.from-right {
  transform: translateX(100px);
  animation-name: slideInFromRight;
}

/* From up */
.from-up {
  transform: translateY(-100px);
  animation-name: slideInFromUp;
}

/* From down */
.from-down {
  transform: translateY(100px);
  animation-name: slideInFromDown;
}

/* Keyframes */
@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }
.service-card:nth-child(5) { animation-delay: 1.0s; }
.service-card:nth-child(6) { animation-delay: 1.2s; }
.service-card:nth-child(7) { animation-delay: 1.4s; }

/* General animation classes for other sections */
.animate-in {
  opacity: 0;
  transform: translate(0, 0);
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: 0.3s;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;        /* 🔥 Increase size here */
  height: 50px;       /* 🔥 Increase size here */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.contact-icon dotlottie-wc {
  width: 100%;
  height: 100%;
  transform: scale(1.2); /* optional: make it pop a bit more */
}
