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

:root {
    --primary: #215a63;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #0f172a;
}

/* ---- Base ---- */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ---- Navbar ---- */
.navbar {
    background-color: transparent;
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary) !important;
}

/* Brand text colors swap on scroll */
.navbar .brand-text {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 8px;
}

.navbar .brand-text .brand-accent,
.navbar .brand-text .brand-dot {
    color: #6ee7b7;
}

.navbar .brand-text .brand-dot {
    font-size: 0.5rem;
    vertical-align: super;
}

.navbar.scrolled .brand-text {
    color: var(--dark);
}

.navbar.scrolled .brand-text .brand-accent,
.navbar.scrolled .brand-text .brand-dot {
    color: var(--primary);
}

/* Logo SVG colors */
.navbar .logo-svg {
    color: #fff;
    transition: color 0.3s;
}

.navbar .logo-detail {
    transition: stroke 0.3s, fill 0.3s;
}

.navbar.scrolled .logo-svg {
    color: var(--dark);
}

.navbar.scrolled .logo-detail {
    stroke: var(--primary);
    fill: var(--primary);
}

/* Hamburger icon */
.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.4);
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.2);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cross icon when menu is active */
.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p.lead {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-hero {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: #1a4a52;
    border-color: #1a4a52;
    color: #fff;
}

/* ---- Questionnaire Section ---- */
.quote-section {
    padding: 60px 0 80px;
    background: #fff;
}

.quote-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 40px;
}

#questionnaire-container {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
}

/* Progress Bar */
#progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

#progress-bar .circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d1d5db;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

#progress-bar .circle.active {
    background: var(--primary);
}

#progress-bar .circle.completed {
    background: var(--primary);
}

#progress-bar .line {
    width: 60px;
    height: 3px;
    background: #d1d5db;
    margin: 0 8px;
    transition: background 0.3s;
}

#progress-bar .line.active {
    background: var(--primary);
}

/* Steps */
.step {
    display: none;
    text-align: center;
}

.step.active {
    display: block;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 25px;
}

.step .options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--dark);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
}

.option-btn:hover {
    background: #1e293b;
}

/* Phone section after questionnaire */
.phone-section {
    text-align: center;
    padding: 30px 0 0;
}

.phone-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.phone-section .phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.phone-section .phone-number a {
    color: var(--primary);
    text-decoration: none;
}

.phone-section .phone-number a:hover {
    text-decoration: underline;
}

.phone-section p {
    color: var(--secondary);
    margin-top: 8px;
    font-size: 14px;
}

/* ---- Services Section ---- */
.services-section {
    padding: 80px 0;
    background: var(--light);
}

.services-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.services-section .section-subtitle {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 50px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    border: 1px solid #eee;
    border-top: 3px solid var(--primary);
    height: 100%;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(33, 90, 99, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    font-size: 0.88rem;
    color: #555;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card ul li i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ---- About Section ---- */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-section p {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ---- Contact Section ---- */
.contact-banner {
    position: relative;
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75);
}

.contact-banner .container {
    position: relative;
    z-index: 1;
}

.contact-banner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-banner p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-info-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--dark);
}

.contact-info-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-section a {
    color: var(--secondary);
    font-size: 1rem;
    text-decoration: none;
}

.contact-info-section a:hover {
    color: var(--primary);
}

/* ---- Footer ---- */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
}

footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #fff;
}

footer p {
    font-size: 0.85rem;
}

footer .footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

footer .footer-contact a:hover {
    color: #fff;
}

footer hr {
    border-color: rgba(255,255,255,0.1);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .quote-section h2 {
        font-size: 2rem;
    }

    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .navbar .nav-link {
        color: var(--dark) !important;
        padding: 12px 0;
    }
    
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--primary) !important;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p.lead {
        font-size: 0.95rem;
    }

    .quote-section h2 {
        font-size: 1.6rem;
    }

    #questionnaire-container {
        padding: 25px 20px;
    }

    .services-section .section-title {
        font-size: 1.4rem;
    }

    .contact-banner h2 {
        font-size: 1.6rem;
    }

    footer .row > div {
        margin-bottom: 25px;
    }
}

@media (max-width: 360px) {
    .navbar .brand-text {
        font-size: 1.1rem;
        margin-left: 4px;
    }
    
    .navbar .logo-svg {
        width: 35px;
        height: 35px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p.lead {
        font-size: 0.85rem;
    }

    .btn-hero {
        padding: 10px 24px;
        font-size: 14px;
    }
}
