/* --- VARIABLES & RESET --- */
:root {
    --primary-navy: #101B2D;
    --secondary-slate: #263B55;
    --accent-orange: #F47A35;
    --accent-blue: #8CB8D9;
    --bg-light: #F4F6F9;
    --white: #FFFFFF;
    --text-dark: #172437;
    --text-muted: #77869A;
    --border-light: rgba(140, 184, 217, 0.18);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --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-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-navy); color: var(--white); }
.text-white { color: var(--white); }

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

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 122, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 122, 53, 0.6);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-navy);
}

.full-width { width: 100%; }

/* --- GLASSMORPHISM --- */
.glass-effect {
    background: rgba(16, 27, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.bg-dark .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.btn-nav {
    background-color: var(--accent-orange);
    padding: 8px 20px;
    border-radius: 4px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    bottom: -50px;
    left: -50px;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(140, 184, 217, 0.2);
    color: var(--accent-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--accent-blue);
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: #d0d8e0;
    margin-bottom: 30px;
    max-width: 700px;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.trust-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- SERVICES --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

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

.service-card {
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-orange);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.featured {
    border-top: 4px solid var(--accent-orange);
}

.feature-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.feature-list li {
    list-style-type: disc;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.text-link {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- SPLIT SECTION --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange);
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.info-box ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* CSS Roof Illustration */
.roof-illustration {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e0e6ed 0%, #f4f6f9 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.roof-layer {
    position: absolute;
    width: 80%;
    height: 150px;
    background: var(--secondary-slate);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    bottom: 50px;
}

.layer-2 {
    background: var(--primary-navy);
    width: 70%;
    height: 120px;
    bottom: 50px;
    opacity: 0.8;
}

.hail-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: hailFall 2s infinite linear;
}

.p1 { left: 20%; animation-delay: 0s; }
.p2 { left: 50%; animation-delay: 0.5s; }
.p3 { left: 80%; animation-delay: 1s; }

@keyframes hailFall {
    0% { top: -20px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-light);
}

.timeline-item {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
    position: relative;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    top: 0;
}

.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 30px;
}

/* --- ARTICLE --- */
.article-container {
    max-width: 800px;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.article-header h1 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-content h2 {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-slate);
    margin-top: 25px;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 15px;
    color: #444;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
    color: #444;
}

.article-content a {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* --- COMPARISON TABLE --- */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background-color: var(--primary-navy);
    color: var(--white);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}

.f-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-navy);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* --- CONTACT --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-info {
    max-width: 600px;
    width: 100%;
}

.info-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.info-row strong {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.info-row a, .info-row span {
    font-size: 1.1rem;
    color: var(--white);
}

.hours-box {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.hours-box h3 {
    color: var(--accent-orange);
    margin-bottom: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: #0b121f;
    color: var(--text-muted);
    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(--primary-navy);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
    }

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

    .mobile-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-number {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start;
    }

    .timeline-content {
        width: 100%;
        padding-left: 50px !important;
        text-align: left !important;
        margin: 0 !important;
    }
    
    .article-container {
        padding: 20px;
    }
}