/* --- VARIABLES & RESET --- */
:root {
    --storm-navy: #0B1729;
    --deep-blue: #17365B;
    --electric-blue: #398BCB;
    --safety-orange: #F47B35;
    --silver-white: #F1F5F9;
    --pure-white: #FFFFFF;
    --text-primary: #172438;
    --text-secondary: #7A8798;
    --border-color: rgba(57, 139, 203, 0.16);
    --glass-bg: rgba(11, 23, 41, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--silver-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--storm-navy); margin-bottom: 15px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--safety-orange);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(244, 123, 53, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244, 123, 53, 0.6); }

.btn-outline {
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    margin-left: 15px;
}
.btn-outline:hover { background: var(--pure-white); color: var(--storm-navy); }

.highlight { color: var(--safety-orange); }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: 0.3s;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pure-white);
    letter-spacing: 1px;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--silver-white); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--electric-blue); }
.btn-nav {
    background: var(--safety-orange);
    padding: 8px 20px;
    border-radius: 4px;
    color: white !important;
}

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 25px; height: 3px; background: white; margin: 5px 0; }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--storm-navy) 0%, var(--deep-blue) 100%);
    color: var(--pure-white);
    padding: 160px 0 100px;
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero-bg-shapes::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(57,139,203,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.badge {
    display: inline-block;
    background: rgba(57, 139, 203, 0.2);
    color: var(--electric-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--electric-blue);
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; }
.hero p { font-size: 1.2rem; color: var(--silver-white); margin-bottom: 40px; opacity: 0.9; }

.trust-cards {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    flex: 1;
}
.trust-card h3 { color: var(--electric-blue); font-size: 1.1rem; margin-bottom: 5px; }
.trust-card p { font-size: 0.9rem; color: var(--silver-white); margin: 0; }
.trust-card.active { border-color: var(--safety-orange); background: rgba(244, 123, 53, 0.1); }

/* --- SERVICES --- */
.services-section { background: var(--pure-white); }

.service-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--electric-blue); }
.service-card.featured { border-top: 4px solid var(--safety-orange); }

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(57, 139, 203, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--electric-blue);
}
.icon-box svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--storm-navy); }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.feature-list li { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 8px; padding-left: 20px; position: relative; }
.feature-list li::before { content: '✓'; color: var(--safety-orange); position: absolute; left: 0; font-weight: bold; }
.text-link { color: var(--electric-blue); font-weight: 600; font-size: 0.9rem; }

/* --- EDUCATION SECTION --- */
.education-section { background: var(--silver-white); }
.split-layout { display: flex; align-items: center; gap: 50px; }
.content-side { flex: 1; }
.visual-side { flex: 1; display: flex; justify-content: center; }

/* CSS Art: Roof Layers */
.css-roof-art {
    width: 300px;
    height: 250px;
    position: relative;
}
.roof-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.layer-1 { background: var(--deep-blue); top: 0; z-index: 1; opacity: 0.3; transform: scale(0.9); }
.layer-2 { background: var(--electric-blue); top: 20px; z-index: 2; opacity: 0.6; transform: scale(0.95); }
.layer-3 { background: var(--storm-navy); top: 40px; z-index: 3; }
.rain-effect {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 12px);
    animation: rain 1s linear infinite;
    z-index: 4;
    pointer-events: none;
}
@keyframes rain { from { background-position: 0 0; } to { background-position: 0 20px; } }

/* --- PROCESS TIMELINE --- */
.process-section { background: var(--pure-white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}
.timeline-item { position: relative; padding-left: 70px; margin-bottom: 40px; }
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--storm-navy);
    color: var(--electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 4px solid var(--pure-white);
    box-shadow: 0 0 0 2px var(--electric-blue);
    z-index: 2;
}
.step-content h3 { color: var(--storm-navy); margin-bottom: 5px; }
.step-content p { color: var(--text-secondary); }

/* --- ARTICLE --- */
.article-section { background: var(--pure-white); }
.article-container { max-width: 900px; }
.article-container h1 { font-size: 2.8rem; color: var(--storm-navy); margin-bottom: 20px; line-height: 1.2; }
.article-container h2 { font-size: 1.8rem; color: var(--deep-blue); margin-top: 40px; margin-bottom: 15px; border-left: 4px solid var(--safety-orange); padding-left: 15px; }
.article-container h3 { font-size: 1.4rem; color: var(--storm-navy); margin-top: 25px; margin-bottom: 10px; }
.article-container p { margin-bottom: 15px; color: #444; font-size: 1.05rem; }
.article-container ul, .article-container ol { margin-bottom: 20px; padding-left: 20px; }
.article-container li { margin-bottom: 8px; color: #444; }
.article-container a { color: var(--electric-blue); text-decoration: underline; }
.lead { font-size: 1.2rem; font-weight: 500; color: var(--storm-navy); }

/* --- COMPARISON TABLE --- */
.comparison-table-wrapper { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: white; box-shadow: var(--shadow-soft); }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.comparison-table th { background: var(--storm-navy); color: white; }
.comparison-table tr:hover { background: #f9f9f9; }

/* --- SHOWCASE CARDS --- */
.showcase-card {
    background: var(--deep-blue);
    color: white;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.css-shape {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--electric-blue), var(--safety-orange));
    border-radius: 50%;
    opacity: 0.8;
}
.shape-1 { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); border-radius: 0; }
.shape-2 { clip-path: circle(50% at 50% 50%); }
.shape-3 { clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%); }

/* --- WHY US --- */
.why-us-section { background: var(--storm-navy); color: white; }
.why-us-section .section-header h2 { color: white; }
.benefit-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.benefit-card h4 { color: var(--safety-orange); margin-bottom: 10px; font-size: 1.2rem; }
.benefit-card p { color: var(--silver-white); font-size: 0.95rem; }

/* --- FAQ --- */
.faq-section { background: var(--silver-white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 10px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--storm-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--electric-blue); }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-secondary); }

/* --- CONTACT --- */
.contact-section { background: var(--storm-navy); color: white; position: relative; }
.contact-wrapper { display: flex; gap: 50px; align-items: center; }
.contact-info { flex: 1; }
.contact-info h2 { color: white; margin-bottom: 10px; }
.info-card { margin-bottom: 15px; font-size: 1.1rem; }
.info-card strong { color: var(--electric-blue); display: block; font-size: 0.9rem; margin-bottom: 3px; }
.info-card a { color: white; border-bottom: 1px dotted var(--safety-orange); }
.hours-card { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 8px; margin: 30px 0; }
.hours-card h3 { color: var(--safety-orange); margin-bottom: 10px; }
.btn-large { padding: 18px 40px; font-size: 1.1rem; }

.map-visual {
    flex: 1;
    height: 400px;
    background: var(--deep-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--electric-blue);
}
.pin-container svg { width: 80px; height: 80px; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5)); animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- FOOTER --- */
footer { background: #050b14; color: #7A8798; padding: 40px 0; text-align: center; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--storm-navy);
        flex-direction: column;
        padding-top: 50px;
        transition: 0.3s;
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2.2rem; }
    .split-layout { flex-direction: column; }
    .contact-wrapper { flex-direction: column; }
    .trust-cards { flex-direction: column; }
    .timeline::before { left: 15px; }
    .timeline-item { padding-left: 50px; }
    .step-number { width: 35px; height: 35px; font-size: 0.9rem; }
}