/* ================= RESET & GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #d9ecff 0%, #ffe8d6 100%);
    color: #333;
    line-height: 1.6;
}

/* ================= HEADER / NAV ================= */
.main-header {
    position: sticky;               /* stays at the top */
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;

    background: rgba(255, 255, 255, 0.4);  /* semi-transparent for glass effect */
    backdrop-filter: blur(10px);           /* frosted glass effect */
    -webkit-backdrop-filter: blur(10px);   /* Safari support */

    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);         /* gentle shadow */
    
    z-index: 100; /* stays above content */
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    margin-left: auto;
    padding: 0;
}

.navbar a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.navbar a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00b4ff);
    border-radius: 2px;
}

.sign-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.sign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #0056b3, #007bff);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

/* ================= HERO ================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #003366;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    background: linear-gradient(135deg, #003366, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cta-btn, .cta-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.cta-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #0056b3, #003d82);
}

.cta-secondary {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.cta-secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #003366;
    font-weight: 700;
}

.about-section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

/* ================= FEATURE GRID ================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00b4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card img {
    height: 70px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #003366;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.1);
}

.learn-btn:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #0056b3;
    transform: translateX(5px);
}

/* ================= CTA SECTION ================= */
.cta-section {
    background: linear-gradient(135deg, #003366, #0056b3);
    color: white;
    text-align: center;
    padding: 80px 40px;
    border-radius: 30px;
    margin: 80px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    background-size: cover;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #007bff;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ================= FOOTER ================= */
footer {
    background: #001f4d;
    color: white;
    padding: 60px 40px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-left p {
    color: #b3b3cc;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-middle h4, .footer-right h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-links a:hover {
    color: #FF6B00; /* Orange hover */
    padding-left: 5px;
}

.footer-contact p {
    color: #b3b3cc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.footer-social a {
    color: #b3b3cc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        z-index: 999;
    }
    
    .navbar ul.show {
        display: flex;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 80px 20px;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn, .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .about-section {
        padding: 60px 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
        margin: 60px 20px;
        border-radius: 20px;
    }
    
    footer {
        padding: 40px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}