:root {
    --primary: #0077B6;
    --secondary: #90E0EF;
    --accent: #CAF0F8;
    --dark: #023E8A;
    --text: #333;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border: #e2e8f0;
    --cta-bg: #FFD700;
    --cta-text: #023E8A;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

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

header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
}

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

.nav-links a:not(.btn) {
    text-decoration: none;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF !important; 
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 62, 138, 0.4);
}

.btn-cta {
    background: var(--cta-bg);
    color: var(--cta-text) !important;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #FFC400;
}

/* Header Specific Button Adjustment */
header .btn-primary {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f1f5f9;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    font-size: 0.8rem;
    color: #94a3b8;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text { flex: 1.2; }
.hero-image { flex: 0.8; }

.hero-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0 var(--accent);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: #475569;
}

.vud-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.section { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 800;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.2rem;
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.content-text h2 { color: var(--dark); margin: 40px 0 20px; font-size: 2rem; }
.content-text a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
}

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

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.card i { margin-bottom: 20px; color: var(--primary); }

.city-link {
    background: var(--white);
    padding: 18px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    text-align: center;
    font-size: 1rem;
    transition: 0.2s;
    font-weight: 600;
}

.city-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--accent);
    transform: scale(1.05);
}

.calc-widget {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.footer-refined {
    background: #0f172a;
    color: #f1f5f9;
    padding: 100px 0 120px; /* More padding bottom for sticky bar */
    margin-top: 100px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 900;
}

.footer-brand p { color: #94a3b8; line-height: 1.7; }

.footer-nav h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 800;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 15px; }
.footer-nav a { color: #94a3b8; text-decoration: none; transition: 0.3s; font-weight: 500; }
.footer-nav a:hover { color: var(--secondary); padding-left: 10px; }

.footer-promo {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-promo h4 { color: #fff; margin-bottom: 15px; font-weight: 800; }
.footer-promo p { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 25px; }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p { color: #94a3b8; font-size: 0.9rem; }

/* Sticky Conversion Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
    transition: transform 0.3s;
}

.sticky-cta-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sticky-text {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
}

.sticky-text span {
    color: var(--primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
    transform: translateY(20px);
    transition: all 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s;
}

.modal-close:hover { color: var(--primary); }

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--dark);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-header p {
    color: #64748b;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image { order: -1; margin-bottom: 30px; }
    .nav-links a:not(.btn) { display: none; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .content-text { padding: 30px; }
    .sticky-text { display: none; }
    .sticky-cta-bar .container { justify-content: center; }
    .sticky-cta-bar .btn { width: 100%; }
}