/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Prevent fixed navbar from overlapping the first section */
    padding-top: 72px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-gradient {
     background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

  .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo h2 {
            font-size: 24px;
            font-weight: 700;
            color: #1a365d;
        }

        .tech-gradient {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: #1a365d;
            font-weight: 500;
            transition: color 0.3s ease;
            padding: 10px 0;
        }

        .nav-link:hover {
            color: #667eea;
        }

        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            padding: 30px;
            min-width: 800px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(10px);
        }

        .dropdown-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .dropdown-col h4 {
            color: #1a365d;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 16px;
        }

        .dropdown-link {
            display: block;
            color: #64748b;
            text-decoration: none;
            padding: 8px 0;
            transition: color 0.3s ease;
            font-size: 14px;
        }

        .dropdown-link:hover {
            color: #667eea;
        }

        .nav-buttons {
            display: flex;
            gap: 15px;
        }

        .btn-join {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .btn-join:hover {
            transform: translateY(-2px);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .bar {
            width: 25px;
            height: 3px;
            background: #1a365d;
            margin: 3px 0;
            transition: 0.3s;
        }

        
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
     background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
    padding: 0;
}

.hero-container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #1a1a1a;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Animated Text Effect */
.animated-text {
    background: linear-gradient(45deg, #1a1a1a, #f0eff1, #e9cfed, #1a1a1a, #f2f1f3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-start-project {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.btn-start-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Network Container */
.network-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.center-text {
    text-align: center;
    color: white;
}

.center-text .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.center-text .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Orbits */
.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation: rotate 20s linear infinite;
}

.orbit-2 {
    width: 450px;
    height: 450px;
    animation: rotate 30s linear infinite reverse;
}

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

/* Profile Avatars */
.profile-avatar {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar Positions - Orbit 1 */
.avatar-1 {
    top: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: counterRotate 20s linear infinite;
}

.avatar-2 {
    top: 50%;
    right: -35px;
    transform: translateY(-50%) rotate(0deg);
    animation: counterRotate 20s linear infinite;
}

.avatar-3 {
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: counterRotate 20s linear infinite;
}

/* Avatar Positions - Orbit 2 */
.avatar-4 {
    top: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: counterRotate 30s linear infinite reverse;
}

.avatar-5 {
    top: 20%;
    right: -35px;
    transform: translateY(-50%) rotate(0deg);
    animation: counterRotate 30s linear infinite reverse;
}

.avatar-6 {
    bottom: 20%;
    right: -35px;
    transform: translateY(50%) rotate(0deg);
    animation: counterRotate 30s linear infinite reverse;
}

.avatar-7 {
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: counterRotate 30s linear infinite reverse;
}

.avatar-8 {
    top: 20%;
    left: -35px;
    transform: translateY(-50%) rotate(0deg);
    animation: counterRotate 30s linear infinite reverse;
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

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

    .network-container {
        width: 350px;
        height: 350px;
    }

    .orbit-1 {
        width: 220px;
        height: 220px;
    }

    .orbit-2 {
        width: 320px;
        height: 320px;
    }

    .center-circle {
        width: 120px;
        height: 120px;
    }

    .center-text .number {
        font-size: 1.8rem;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }

    .company-logos {
        justify-content: center;
        gap: 1rem;
    }

    .logo-item {
        font-size: 0.9rem;
    }
}

/* Connecting Lines */
.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

/* Hero Footer */
.hero-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.company-logos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-item {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.logo-item:hover {
    color: white;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #010827 0%, #051c5c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-card p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: #f7fafc;
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #011f39 0%, #010537 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2rem;
    color: white;
}

.why-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.why-card p {
    color: #718096;
    line-height: 1.6;
}

/* Recent Work Section */
.recent-work {
    padding: 6rem 0;
    background: #f7fafc;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.work-image {
    height: 250px;
    background: linear-gradient(135deg, #010723 0%, #011467 100%);
    position: relative;
    overflow: hidden;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-info {
    text-align: center;
    color: white;
    padding: 2rem;
}

.work-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.work-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.work-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #ffffff;
  color: #1a202c;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: all 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.chip.feature-highlight {
 background: linear-gradient(135deg, #ba500a 0%, #0A2DF6 100%);
  color: #fff;
  border-color: transparent;
}

/* Footer */
.footer {
  background: #0b0f14;
  color: #e2e8f0;
  padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-2px);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: #667eea;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

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

    .nav-buttons {
        display: none;
    }

    /* Mobile dropdown: stack and reveal on tap */
    .dropdown-menu {
        position: static;
        min-width: 100%;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent;
        box-shadow: none;
        border: 0;
        padding: 0.5rem 1rem 1rem;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* Loading animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Intersection Observer animations will be handled by JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== */
/* Night Mode (Dark Theme) */
/* Scoped using body.dark-mode to avoid breaking existing styles */
/* ===================== */
body.dark-mode {
    color: #e5e7eb;
    background: #0b0f14;
}

/* Navbar */
body.dark-mode .nav-link,
body.dark-mode .btn-login,
body.dark-mode .nav-logo h2 { color: #e5e7eb; }
body.dark-mode .nav-logo h2::before { background: #e5e7eb; }
body.dark-mode .navbar.scrolled,
body.dark-mode .navbar.menu-open { background: rgba(17,24,39,0.9); border-bottom: 1px solid rgba(255,255,255,0.08); }
body.dark-mode .navbar.scrolled .nav-logo h2,
body.dark-mode .navbar.scrolled .nav-link,
body.dark-mode .navbar.scrolled .btn-login { color: #e5e7eb; }

/* Mobile menu panel */
@media (max-width: 768px) {
  body.dark-mode .nav-menu { background: rgba(17,24,39,0.95); box-shadow: 0 10px 27px rgba(0,0,0,0.5); }
}

/* Dropdown */
body.dark-mode .dropdown-menu { background: rgba(17,24,39,0.97); border: 1px solid rgba(255,255,255,0.06); }
body.dark-mode .dropdown-col h4 { color: #cbd5e1; }
body.dark-mode .dropdown-link { color: #e5e7eb; }
body.dark-mode .dropdown-link:hover { background: rgba(255,255,255,0.06); color: #a5b4fc; }

/* Hero text in dark */
body.dark-mode .hero-content { color: #f3f4f6; }
body.dark-mode .hero-title { color: #f9fafb; }
body.dark-mode .btn-start-project { background: #111827; color: #f9fafb; }

/* Chips */
body.dark-mode .chip { background: #0f172a; color: #e5e7eb; border-color: rgba(255,255,255,0.08); }
body.dark-mode .chip.feature-highlight { color: #fff; }

/* Sections */
body.dark-mode .services { background: #0f1620; }
body.dark-mode .recent-work { background: #0f1620; }
body.dark-mode .why-us { background: #0b0f14; }
body.dark-mode .section-header h2 { color: #e5e7eb; }
body.dark-mode .section-header p { color: #cbd5e1; }

/* Cards */
body.dark-mode .service-card { background: #0f172a; border-color: rgba(255,255,255,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
body.dark-mode .service-card h3 { color: #e5e7eb; }
body.dark-mode .service-card p { color: #cbd5e1; }
body.dark-mode .service-features li { color: #cbd5e1; }

body.dark-mode .why-card:hover { background: rgba(255,255,255,0.04); }
body.dark-mode .why-card h3 { color: #e5e7eb; }
body.dark-mode .why-card p { color: #cbd5e1; }

body.dark-mode .work-card { background: #0f172a; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
body.dark-mode .work-overlay { background: rgba(0,0,0,0.6); }

/* Footer stays dark; just ensure link contrast */
body.dark-mode .footer-links a,
body.dark-mode .footer-section ul li a { color: #94a3b8; }
body.dark-mode .footer-section ul li a:hover,
body.dark-mode .footer-links a:hover { color: #fff; }

/* Scroll to top button */
body.dark-mode .scroll-to-top { box-shadow: 0 4px 15px rgba(0,0,0,0.5); }



/* Dropdown Container */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 1000px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1000;
}

/* Show on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Grid Layout */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Column */
.dropdown-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.3s ease;
  text-decoration: none;
}

.dropdown-link:hover {
  background: #f4f7ff;
  color: #0056ff;
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .dropdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


.testimonials {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafc, #eef2f7);
  overflow: hidden;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.08);
  z-index: 0;
}

.testimonials::before {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.testimonials::after {
  width: 250px;
  height: 250px;
  bottom: -80px;
  right: -80px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-quote {
  font-size: 30px;
  color: #007bff;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.testimonial-user span {
  font-size: 13px;
  color: #777;
}
.counts {
  background: #f9fafc;
  padding: 60px 20px;
  text-align: center;
}

.counts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.count-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.count-box:hover {
  transform: translateY(-6px);
}

.count-number {
  font-size: 36px;
  font-weight: 700;
  color: #007bff;
  display: block;
  margin-bottom: 8px;
}

.count-box p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
}

.logo-box {
  position: relative;
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px; /* Small radius for rectangular look */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.logo-box:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
  transition: bottom 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.logo-box:hover .overlay {
  bottom: 0;
  opacity: 1;
}

/* Scroll Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
 .courses-container {
      max-width: 1200px;
      margin: auto;
      padding: 20px;
      text-align: center;
    }

    .courses-container h2 {
      font-size: 28px;
      color: #003366;
      margin-bottom: 20px;
    }

    /* Tabs */
    .tabs {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .tab {
      padding: 12px 20px;
      margin: 5px;
      cursor: pointer;
      border-radius: 5px;
      background: #eaeaea;
      color: #003366;
      font-weight: bold;
      transition: 0.3s;
    }

    .tab.active {
      background: #ffcc00;
      color: #003366;
    }

    /* Courses Grid */
    .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
    }

    .course-card {
      background: #003366;
      border-radius: 10px;
      color: #fff;
      padding: 10px;
      text-align: center;
      transition: transform 0.3s;
    }

    .course-card:hover {
      transform: scale(1.05);
    }

    .course-card img {
      width: 100%;
      height: 100px;
      object-fit: contain;
      background: #fff;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .course-card p {
      font-size: 14px;
      margin: 0;
    }

    @media (max-width: 768px) {
      .courses-container h2 {
        font-size: 22px;
      }
      .tab {
        padding: 10px 15px;
        font-size: 14px;
      }
    }
      
    /* Responsive */
    @media (max-width: 768px) {
      .banner-section {
        flex-direction: column;
        align-items: center;
      }
    }
     .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background: #25d366;
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .whatsapp-float:hover {
            background: #128c7e;
            transform: scale(1.1);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        /* Consultation Button */
        .consultation-btn {
            position: fixed;
            bottom: 40px;
            left: 40px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 15px 25px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .consultation-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }

        /* Popup Modal */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .popup {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            transform: scale(0.8);
            transition: transform 0.3s ease;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }

        .popup-overlay.active .popup {
            transform: scale(1);
        }

        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            transition: color 0.3s ease;
            background: none;
            border: none;
        }

        .popup-close:hover {
            color: #667eea;
        }

        .popup-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .popup-header h3 {
            color: #333;
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .popup-header p {
            color: #666;
            font-size: 0.9rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .btn-submit {
            width: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 1rem;
            display: none;
        }

        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 1rem;
            display: none;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 24px;
            }

            .consultation-btn {
                bottom: 20px;
                left: 20px;
                padding: 12px 20px;
                font-size: 0.9rem;
            }

            .popup {
                padding: 1.5rem;
                margin: 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .popup-header h3 {
                font-size: 1.3rem;
            }
        }

        /* Additional styles for better integration */
        .popup-trigger {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .popup-trigger:hover {
            transform: scale(1.05);
        }