/* --- Variables & Reset --- */
:root {
    --primary: #0ea5e9; /* Sky Blue */
    --primary-dark: #0284c7;
    --secondary: #0f172a; /* Slate Dark */
    --accent: #f59e0b; /* Amber */
    --bg-light: #f0f9ff;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utilities --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--secondary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--secondary);
    transition: 0.3s;
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(circle at top right, #e0f2fe, #f0f9ff);
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.7;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: #bae6fd;
    top: -150px;
    right: -100px;
    animation: float 12s infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #7dd3fc;
    bottom: 50px;
    left: -100px;
    animation: float 10s infinite alternate-reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 40%;
    left: 20%;
    opacity: 0.15;
    animation: float 15s infinite alternate;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-dark);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 80px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-card {
    padding: 25px 40px;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    padding: 40px 30px;
    border-radius: 24px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
}

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 25px;
    background: #e0f2fe;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 1rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* --- Article Styling --- */
.article-section {
    background: #f8fafc;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 30px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.meta-info {
    display: flex;
    gap: 25px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.article-body h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    color: var(--secondary);
    position: relative;
    padding-left: 20px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 80%;
    width: 5px;
    background: var(--primary);
    border-radius: 4px;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    color: var(--primary-dark);
}

.article-body p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
}

.article-body ul, .article-body ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 5px solid var(--primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.1);
}

.info-box h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.5);
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    transition: 0.3s;
}

.faq-question:hover {
    background: #fff;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 300px;
    border-top: 1px solid #f1f5f9;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.8rem;
    background: #e0f2fe;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.full-width {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    background: #f8fafc;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: #64748b;
    font-size: 0.95rem;
}

/* --- Animations --- */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }
    .menu-toggle { display: block; }
    
    .hero-content h1 { font-size: 2.4rem; }
    .cta-group { flex-direction: column; }
    .stats-row { flex-direction: column; gap: 20px; }
    .glass-panel { padding: 30px 20px; }
}