 body {
            box-sizing: border-box;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --royal-blue: #0A1F44;
            --emerald-green: #2ECC71;
            --gold: #FFD700;
            --white: #FFFFFF;
            --light-gray: #F5F5F5;
        }

        body {
            font-family: 'Lato', sans-serif;
            color: #333;
            overflow-x: hidden;
            width: 100%;
        }

        .playfair {
            font-family: 'Playfair Display', serif;
        }

        .montserrat {
            font-family: 'Montserrat', sans-serif;
        }

        /* Navbar Styles */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--royal-blue);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--white);
            font-family: 'Playfair Display', serif;
        }

        .logo span {
            color: var(--gold);
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
            align-items: center;
            list-style: none;
        }

        .nav-menu a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 0.95rem;
        }

        .nav-menu a:hover {
            color: var(--gold);
        }

        .nav-cta {
            background: linear-gradient(135deg, var(--gold), #FFA500);
            color: var(--royal-blue);
            padding: 0.7rem 1.8rem;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            font-family: 'Montserrat', sans-serif;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            padding: 150px 5% 100px;
            background: linear-gradient(135deg, var(--royal-blue) 0%, #1a3a5c 100%);
            overflow: hidden;
            width: 100%;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l50 50-50 50V0zm50 0l50 50-50 50V0z" fill="%23FFD700" opacity="0.03"/></svg>');
            animation: float 20s infinite linear;
        }

        @keyframes float {
            0% { transform: translateY(0); }
            100% { transform: translateY(-100px); }
        }

        .hero-content {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            color: var(--white);
            animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold), #FFA500);
            color: var(--royal-blue);
            padding: 1rem 2.5rem;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
            font-family: 'Montserrat', sans-serif;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            padding: 1rem 2.5rem;
            border: 2px solid var(--white);
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            font-family: 'Montserrat', sans-serif;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-secondary:hover {
            background: var(--white);
            color: var(--royal-blue);
            transform: translateY(-3px);
        }

        /* Section Styles */
        .section {
            padding: 80px 5%;
            width: 100%;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--royal-blue);
        }

        /* Solutions Grid */
        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .solution-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

        .solution-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border-bottom: 4px solid var(--gold);
        }

        .solution-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }

        .solution-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--royal-blue);
            font-family: 'Playfair Display', serif;
        }

        .solution-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .learn-more {
            color: var(--emerald-green);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: gap 0.3s;
        }

        .learn-more:hover {
            gap: 1rem;
        }

        /* How It Works */
        .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .step-card {
            background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
            padding: 2.5rem 2rem;
            border-radius: 15px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        .step-card:hover {
            transform: scale(1.05);
        }

        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--royal-blue);
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        }

        .step-icon {
            font-size: 3rem;
            margin: 1.5rem 0 1rem;
        }

        .step-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--royal-blue);
            font-family: 'Playfair Display', serif;
        }

        /* Testimonials */
        .testimonials-container {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial-card {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin: 0 1rem;
        }

        .testimonial-quote {
            font-size: 1.3rem;
            font-style: italic;
            color: #555;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
        }

        .author-info h4 {
            color: var(--royal-blue);
            margin-bottom: 0.3rem;
            font-size: 1.1rem;
            border-bottom: 2px solid var(--gold);
            display: inline-block;
            padding-bottom: 2px;
        }

        .author-info p {
            color: #888;
            font-size: 0.9rem;
        }

        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--emerald-green) 0%, #27AE60 100%);
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="%23FFD700" opacity="0.05"/></svg>');
            animation: float 15s infinite linear;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        .stat-item {
            text-align: center;
            color: var(--white);
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-family: 'Playfair Display', serif;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.95;
        }

        /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .blog-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .blog-image {
            height: 200px;
            background: linear-gradient(135deg, var(--royal-blue), var(--emerald-green));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-category {
            color: var(--emerald-green);
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .blog-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--royal-blue);
            font-family: 'Playfair Display', serif;
        }

        .blog-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--emerald-green) 0%, #27AE60 100%);
            text-align: center;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
            animation: pulse 3s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .cta-content {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
        }

        /* Newsletter Section */
        .newsletter-section {
            background: linear-gradient(180deg, var(--emerald-green) 0%, var(--white) 100%);
            text-align: center;
            position: relative;
        }

        .newsletter-content {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }

        .newsletter-section h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--royal-blue);
        }

        .newsletter-form {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .newsletter-form input {
            flex: 1;
            min-width: 250px;
            padding: 1rem 1.5rem;
            border: 2px solid var(--emerald-green);
            border-radius: 30px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .newsletter-form input:focus {
            border-color: var(--gold);
        }

        .newsletter-form button {
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            color: var(--royal-blue);
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
        }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
        }

        .newsletter-icons {
            margin-top: 2rem;
            font-size: 2rem;
            opacity: 0.3;
        }

        /* Footer */
        .footer {
            background: var(--royal-blue);
            color: var(--white);
            padding: 60px 5% 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto 3rem;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: var(--gold);
            font-family: 'Playfair Display', serif;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 0.8rem;
        }

        .footer-section a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: all 0.3s;
        }

        .footer-section a:hover {
            opacity: 1;
            color: var(--gold);
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            opacity: 0.7;
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Popup Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(3px);
}

/* Modal Box */
.modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 520px;
  padding: 30px;
  border-radius: 14px;
  animation: fadeIn 0.25s linear;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #444;
}

.modal-close:hover {
  color: red;
}

/* Modal Button */
.modal-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  background: #007bff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.modal-btn:hover {
  background: #005fcc;
}

@keyframes fadeIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}


        /* Auth Modal Styles */
        .auth-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 31, 68, 0.95);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .auth-modal.active {
            display: flex;
        }

        .auth-container {
            background: var(--white);
            border-radius: 20px;
            padding: 3rem;
            max-width: 450px;
            width: 90%;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: slideUp 0.4s ease-out;
        }

        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .auth-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }

        .auth-close:hover {
            color: var(--royal-blue);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .auth-header h2 {
            font-size: 2rem;
            color: var(--royal-blue);
            margin-bottom: 0.5rem;
        }

        .auth-header p {
            color: #666;
        }

        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            color: var(--royal-blue);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .form-group input {
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s;
            outline: none;
        }

        .form-group input:focus {
            border-color: var(--gold);
        }

        .auth-submit {
            padding: 1rem;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            color: var(--royal-blue);
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1rem;
            font-family: 'Montserrat', sans-serif;
        }

        .auth-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
        }

        .auth-toggle {
            text-align: center;
            margin-top: 1.5rem;
            color: #666;
        }

        .auth-toggle a {
            color: var(--emerald-green);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.3s;
        }

        .auth-toggle a:hover {
            color: var(--gold);
        }

        .user-menu {
            position: relative;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-weight: 700;
            color: var(--royal-blue);
            transition: transform 0.3s;
        }

        .user-avatar:hover {
            transform: scale(1.1);
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 50px;
            right: 0;
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            min-width: 200px;
            overflow: hidden;
            animation: slideDown 0.3s ease-out;
        }

        .dropdown-menu.active {
            display: block;
        }

        .dropdown-item {
            padding: 1rem 1.5rem;
            color: var(--royal-blue);
            text-decoration: none;
            display: block;
            transition: background 0.3s;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }

        .dropdown-item:hover {
            background: var(--light-gray);
        }

        .dropdown-item:last-child {
            border-bottom: none;
            color: #e74c3c;
        }

        .welcome-banner {
            background: linear-gradient(135deg, var(--emerald-green), #27AE60);
            color: var(--white);
            padding: 1rem 5%;
            text-align: center;
            margin-top: 70px;
            display: none;
        }

        .welcome-banner.active {
            display: block;
        }

        .welcome-banner strong {
            color: var(--gold);
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }

            .cta-section h2 {
                font-size: 2rem;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .newsletter-form input {
                min-width: 100%;
            }
        }
    /* Base Navbar */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: white;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #ffc400;
}

.logo span {
  color: #007bff;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #007bff;
}

/* CTA */
.nav-cta {
  padding: 8px 20px;
  background: #007bff;
  color: #fff !important;
  border-radius: 6px;
  transition: 0.3s;
}

.nav-cta:hover {
  background: #005fcc;
}

/* Mobile Button */
.mobile-menu-btn {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* User Avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  background: #007bff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 55px;
  right: 0;
  background: white;
  border-radius: 8px;
  width: 180px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
}

.dropdown-item {
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  display: block;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 260px;
    background: white;
    flex-direction: column;
    padding: 20px;
    display: none;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    margin: 12px 0;
  }

  .dropdown-menu {
    position: relative;
    top: 10px;
    box-shadow: none;
    border: 1px solid #eee;
    width: 100%;
  }
}
/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  width: 90%;
  max-width: 600px;
  background: #0A0F24;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #444;
  color: #fff;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-popup {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: var(--gold);
}

/* Scrollable Area */
.popup-content {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 15px;
  line-height: 1.7;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
