:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --card-bg: #ffffff;
    --primary-accent: #9b111e;
    /* Dark Ruby Red */
    --secondary-accent: #d41a2c;
    /* Brighter Red for accents */
    --text-main: #0f172a;
    /* Solid Black/Slate */
    --text-muted: #64748b;
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 40px rgba(155, 17, 30, 0.08);
    /* Hint of Ruby in shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #0f172a;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.logo a {
    font-size: 1.3rem;
    color: var(--primary-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.nav a {
    color: var(--text-muted);
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-accent);
}

.btn-cta {
    background: var(--primary-accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-cta:hover {
    background: #7d0e18;
    /* Even darker red */
    box-shadow: 0 4px 15px rgba(155, 17, 30, 0.3);
}

/* Hero Slideshow (Light Overlay) */
.hero,
.hero-geo {
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
    background: #0f172a;
    /* Dark fallback */
}

.hero-geo {
    background: #0f172a;
    /* Solid dark background, no image */
    margin-bottom: 60px;
    color: #ffffff;
}

.hero-geo .container {
    position: relative;
    z-index: 5;
    /* Ensure content is above everything */
}

/* Remove overlay for internal pages if no image is present */
.hero-geo::before {
    display: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: brightness(0.4);
    /* Darkened for high contrast with white text */
    animation: slideAnimation 15s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    33% {
        opacity: 1;
        transform: scale(1);
    }

    43% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 16, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

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

.hero h1,
.hero-geo h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p,
.hero-geo p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-hero {
    background: var(--primary-accent);
    color: #fff;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 8px;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 8px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    /* Reduced to leave space for subtitle */
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-title span {
    color: var(--primary-accent);
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-accent);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
    /* Restored to Black per user request */
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-accent);
    font-weight: 700;
    transition: var(--transition);
}

.service-card:hover .btn-text {
    transform: translateX(5px);
}

/* Zones */
.zones-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.zones-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.zones-column {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.zones-column h3 {
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.zones-list a {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: var(--text-main);
    border-radius: 6px;
    margin: 4px;
    font-size: 0.85rem;
}

.zones-list a:hover {
    background: var(--primary-accent);
    color: #fff;
}

/* Contact Home */
.contact-section {
    padding: 80px 0;
    background: var(--primary-bg);
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input,
.form-row select {
    flex: 1;
}

.request-types {
    text-align: left;
    margin-bottom: 20px;
}

.request-types p {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-form .form-group {
    flex: 1;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.checkbox-group,
.checkbox-group-vertical {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group label,
.checkbox-group-vertical label {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.checkbox-group-vertical {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.checkbox-group-vertical label {
    width: 100%;
}

.checkbox-group input[type="checkbox"],
.checkbox-group-vertical input[type="checkbox"] {
    display: none;
    /* Hide default */
}

.checkbox-group label:has(input:checked),
.checkbox-group-vertical label:has(input:checked) {
    background: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
    box-shadow: 0 4px 12px rgba(155, 17, 30, 0.2);
}

.checkbox-group label:hover,
.checkbox-group-vertical label:hover {
    border-color: var(--primary-accent);
}

.contact-form input:focus {
    border-color: var(--primary-accent);
    outline: none;
}

.contact-form .btn-submit {
    width: 100%;
    background: var(--primary-accent);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Geo Details Page */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.col-text {
    flex: 1.5;
    padding: 60px;
}

.col-form {
    flex: 1;
    background: #f8fafc;
    padding: 40px 30px;
    border-left: 1px solid #e2e8f0;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-accent);
    margin-top: 3px;
}

.benefit-item strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.service-details-box {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-accent);
    margin-bottom: 40px;
}

.service-details-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
}

.local-trust {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-style: italic;
}

.col-form h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.col-form p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.col-form input:not([type="checkbox"]):not([type="radio"]),
.col-form select,
.col-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 14px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.col-form input:focus {
    border-color: var(--primary-accent);
    outline: none;
    box-shadow: 0 0 10px rgba(155, 17, 30, 0.05);
}

.col-form button.btn-submit-full,
.col-form .btn-submit-full {
    width: 100%;
    background: var(--primary-accent);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.col-form button.btn-submit-full:hover {
    background: #7d0e18;
    box-shadow: 0 4px 15px rgba(155, 17, 30, 0.2);
}

.benefits-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.benefits-list li i {
    color: var(--primary-accent);
    margin-right: 10px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px;
    text-align: left;
}

.footer h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col i {
    color: var(--primary-accent);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-col a {
    color: inherit;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

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

@media (max-width: 850px) {
    .content-wrapper {
        flex-direction: column;
    }

    .col-form {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

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

/* Privacy & Legal */
.privacy-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    text-align: left;
}

.privacy-wrapper input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.privacy-wrapper label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.privacy-wrapper label a {
    color: var(--primary-accent);
    font-weight: 700;
    text-decoration: underline;
}

.legal-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.4;
    text-align: center;
}

.col-form .legal-notice {
    text-align: left;
}