/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2A6F97;       /* Deep Teal Blue */
    --primary-dark: #1B4965;
    --accent: #FFD166;        /* Soft Gold */
    --bg-light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #2D3436;
    --text-muted: #636E72;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-dark); line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* =========================================
   UTILITIES & COMPONENTS
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: white; color: var(--primary); border: 2px solid var(--primary); }
.glow-btn:hover { box-shadow: 0 0 20px rgba(42, 111, 151, 0.6); transform: translateY(-2px); }
.full-width { width: 100%; text-align: center; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    transition: var(--transition);
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Floating Shapes Background */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: #A8DADC; top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: #FFD166; bottom: 10%; right: -50px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}
.glass-nav {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--text-main); position: relative; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 24px; font-size: 0.9rem; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #fdfbf7 0%, #eef2f5 100%);
    overflow: hidden;
}
.hero-content { max-width: 800px; }
.badge {
    display: inline-block;
    background: rgba(42, 111, 151, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 25px; letter-spacing: -1px; }
.hero-text { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 20px; margin-bottom: 60px; }
.trust-stats { display: flex; gap: 40px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.1); }
.stat-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary-dark); }
.stat-item i { color: var(--primary); font-size: 1.2rem; }

/* Animation Classes */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { text-align: center; }
.icon-box {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: white; font-size: 1.8rem;
}
.service-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section { background: var(--primary-dark); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-card { text-align: center; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.stat-card .counter { font-size: 3rem; font-weight: 700; font-family: 'Playfair Display', serif; display: inline; }
.stat-card .plus { font-size: 2rem; font-weight: 700; }
.stat-card p { margin-top: 10px; opacity: 0.9; font-size: 1.1rem; }

/* =========================================
   ARTICLE SECTION
   ========================================= */
.article-container { max-width: 900px; }
.article-header { margin-bottom: 50px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 30px; }
.article-header h1 { font-size: 2.8rem; margin-bottom: 15px; }
.meta-info { display: flex; gap: 20px; color: var(--text-muted); font-size: 0.9rem; }
.content-body h2 { font-size: 2rem; margin: 50px 0 20px; color: var(--primary-dark); }
.content-body h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--primary); }
.content-body p { margin-bottom: 20px; font-size: 1.1rem; color: #444; }
.content-body ul { margin: 20px 0 30px 20px; list-style: disc; }
.content-body li { margin-bottom: 10px; color: #444; }

.callout-box, .warning-box {
    padding: 25px; border-radius: var(--radius); margin: 30px 0;
    display: flex; gap: 15px; align-items: flex-start;
}
.tip-box { background: rgba(42, 111, 151, 0.08); border-left: 4px solid var(--primary); }
.warning-box { background: rgba(255, 209, 102, 0.15); border-left: 4px solid var(--accent); }
.callout-box h4, .warning-box h4 { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px 25px;
    background: transparent; border: none;
    text-align: left; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    color: var(--primary-dark);
}
.faq-question i { transition: var(--transition); font-size: 0.9rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 25px; }
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: var(--accent); margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: #555; }
.author { display: flex; align-items: center; gap: 15px; }
.initials {
    width: 45px; height: 45px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}
.author span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h2 { margin-bottom: 15px; }
.info-item { display: flex; gap: 15px; margin: 25px 0; align-items: flex-start; }
.info-item i { color: var(--primary); font-size: 1.3rem; margin-top: 3px; }
.info-item a:hover { color: var(--primary); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 10px;
    font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42,111,151,0.1); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--primary-dark); color: white; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer h3, .footer h4 { color: white; margin-bottom: 20px; }
.footer p { opacity: 0.8; line-height: 1.8; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { opacity: 0.8; }
.footer ul a:hover { opacity: 1; padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: var(--accent); color: var(--primary-dark); }
.copyright { padding: 25px 0; text-align: center; font-size: 0.9rem; opacity: 0.6; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    
    /* Mobile Menu State */
    .navbar.active .nav-links {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; padding: 20px; box-shadow: var(--shadow-lg);
    }
    .navbar.active .nav-cta { display: inline-block; margin: 20px; }
    
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .trust-stats { flex-direction: column; gap: 15px; }
    
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    .article-header h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}