@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-blue: #002395;
    --primary-red: #ED2939;
    --pure-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #1D1D1F;
    --text-muted: #6E6E73;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

body, html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
}

header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.logo span {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-only {
    display: none;
}

.btn-nav {
    background: var(--primary-red);
    color: white !important;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 15px rgba(237, 41, 57, 0.2);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(237, 41, 57, 0.3);
    background: var(--primary-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 35, 149, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(237, 41, 57, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 41, 57, 0.5);
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card.premium {
    transform: scale(1.05);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-premium);
}

.pricing-card.premium::after {
    content: "Pus Populaire";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: 800;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 1.2rem;
    border-radius: 15px;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--text-dark);
}

.pricing-card.premium .btn-pricing {
    background: var(--primary-blue);
    color: white;
}

.btn-pricing:hover {
    background: var(--primary-red);
    color: white;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.faq-question {
    padding: 1.8rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-blue);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.faq-item.active {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-premium);
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
    padding-bottom: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-blue);
    color: white;
}

.faq-item.active .faq-answer {
    padding: 0 2.5rem 2rem 2.5rem;
    max-height: 500px; /* Increased for longer answers */
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 120px 2rem 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .mobile-only {
        display: block;
        width: 100%;
        text-align: center;
    }

    .btn-nav-mobile {
        display: inline-block !important;
        width: 100%;
        max-width: 250px;
        margin-top: 1rem;
    }

    .btn-nav {
        display: none; /* Hide in header on small mobile */
    }

    .nav-menu .btn-nav-mobile {
        display: block;
        margin-top: 2rem;
        text-align: center;
    }
}
/* Blog Section Styles */
.blog-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00155a 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.blog-card-img {
    height: 220px;
    background: #eee;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-tag {
    background: rgba(0, 35, 149, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    width: fit-content;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

/* Individual Post Styles */
.post-container {
    max-width: 850px;
    margin: 160px auto 100px;
    padding: 0 1.5rem;
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.post-meta {
    color: var(--text-muted);
    font-weight: 500;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-blue);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-red);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    width: 100%;
    border-radius: 24px;
    margin: 2rem 0;
    box-shadow: var(--shadow-premium);
}

.blog-button {
    text-align: center;
    margin-top: 3rem;
}
/* Testimonials Slider */
.testimonials-section {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.testimonials-wrapper {
    margin-top: 3rem;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    animation: scrollTestimonials 35s linear infinite;
    width: max-content;
}

.testimonials-slider:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    min-width: 350px;
    max-width: 350px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.testimonial-name {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-stars {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-comment {
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    font-size: 1rem;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 7 - 2rem * 7)); }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-pricing {
        width: 100%;
        text-align: center;
    }

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

    .pricing-card.premium {
        transform: none;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

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

    .post-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
    }

    @keyframes scrollTestimonials {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-280px * 7 - 2rem * 7)); }
    }
}
