/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    /* WCAG AA Compliant: #CF4B00 provides 4.51:1 contrast with white text (SC 1.4.3) */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    padding: 11px 30px;
    border-radius: 999px;
    border: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 75, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 11px 30px;
    border-radius: 999px;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline-black {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
    padding: 11px 30px;
    border-radius: 999px;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-black:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #000000;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    /* WCAG AA: Using lighter orange for better contrast on black bg (7.11:1 is fine) */
    color: #F36F21;
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #f8f8f8;
    color: #F36F21;
}

/* Mobile Phone Icon - Primary CTA */
.mobile-phone-icon {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast with white text */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(207, 75, 0, 0.3);
}

.mobile-phone-icon:hover {
    background: linear-gradient(to right, rgb(168, 61, 0) 25%, rgb(168, 61, 0) 75%);
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(207, 75, 0, 0.4);
}

.mobile-phone-icon:active {
    transform: scale(1.02);
}

/* Mobile Menu Toggle - Hamburger */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 26px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #000000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    max-height: 100vh;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    background: rgba(243, 111, 33, 0.1);
    color: #F36F21;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 10px 20px;
    color: #CCCCCC;
    text-decoration: none;
    font-size: 14px;
}

.mobile-submenu a:hover {
    color: #F36F21;
}

.mobile-cta {
    padding: 20px;
}

.mobile-quote-btn {
    width: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    /* Mobile 3-Column Header Layout */
    .header-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0;
    }

    /* Logo - Left aligned */
    .logo {
        justify-self: start;
    }

    /* Phone CTA - Center positioned */
    .mobile-phone-icon {
        justify-self: center;
        grid-column: 2;
    }

    /* Hamburger - Right aligned */
    .mobile-menu-toggle {
        justify-self: end;
        grid-column: 3;
    }

    /* Hide desktop elements */
    .header-right {
        grid-column: 2 / 4;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
}

.logo h1 {
    color: #FFFFFF;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F36F21;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: 16px;
}

.phone-number i {
    font-size: 16px;
}

.cta-button {
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast with white text (SC 1.4.3) */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    padding: 11px 30px;
    border-radius: 999px;
    border: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 75, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 135px 0 48px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trust-badge {
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast with white text (SC 1.4.3) */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 999px;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-title {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Explore Our Services Section */
.explore-services {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
}

.explore-header {
    text-align: center;
    margin-bottom: 60px;
}

.explore-title {
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.65px;
    text-transform: uppercase;
    color: #F36F21;
    margin-bottom: 20px;
}

.explore-arrow {
    color: #F36F21;
    font-size: 24px;
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

.explore-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.explore-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 380px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.explore-card.card-siding {
    z-index: 1;
    margin-right: -60px;
}

.explore-card.card-roofing {
    z-index: 3;
    transform: scale(1.05) translateY(-20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.explore-card.card-gutters {
    z-index: 2;
    margin-left: -60px;
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.explore-card.card-roofing:hover {
    transform: scale(1.08) translateY(-25px);
}

.explore-icon {
    width: 180px;
    height: 150px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.explore-card h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #000000;
    margin-bottom: 15px;
}

.explore-card p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    color: #F36F21;
    gap: 12px;
}

.btn-learn-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(3px);
}

.service-tags {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.service-tag {
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: 14px;
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast on white (SC 1.4.3) */
    color: #CF4B00;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.service-tag:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #CF4B00;
    transition: width 0.3s ease;
}

.service-tag:hover {
    /* Slightly darker on hover */
    color: #a83d00;
}

.service-tag:hover:after {
    width: 100%;
}

/* Responsive for Explore Services */
@media (max-width: 1024px) {
    .explore-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .explore-card {
        width: 100%;
        max-width: 400px;
        margin: 0 !important;
    }

    .explore-card.card-roofing {
        transform: none;
    }

    .explore-card:hover {
        transform: translateY(-10px);
    }

    .explore-card.card-roofing:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .explore-card {
        padding: 30px 20px;
    }

    .explore-icon {
        width: 140px;
        height: 120px;
    }

    .explore-card h3 {
        font-size: 24px;
    }

    .service-tags {
        flex-direction: column;
        gap: 10px;
    }
}

/* Service Cards Section */
.service-cards {
    padding: 135px 0 48px;
    background-color: #FFFFFF;
    position: relative;
}

.service-cards-wrapper {
    display: flex;
    justify-content: center;
    gap: -50px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 -25px;
}

.service-card.card-1 {
    z-index: 1;
}

.service-card.card-2 {
    z-index: 3;
    transform: scale(1.05) translateY(-20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.service-card.card-3 {
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.service-card.card-2:hover {
    transform: scale(1.08) translateY(-25px);
}

.service-icon {
    width: 80px;
    height: 80px;
    /* WCAG AA Compliant: Darker orange background */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.service-card h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
}

.service-card p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.service-link {
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast on white (SC 1.4.3) */
    color: #CF4B00;
    text-decoration: none;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #CF4B00;
    gap: 12px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 135px 0 48px;
    background-color: #f8f9fa;
}

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

.section-header h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #000000;
    margin-bottom: 15px;
}

.section-header p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #666666;
}

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

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    /* WCAG AA Compliant: Darker orange background for better contrast */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.feature h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.feature p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.calc-step {
    margin-bottom: 30px;
}

.calc-step label {
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
}

.calc-step input,
.calc-step select {
    width: 100%;
    padding: 12px;
    /* WCAG AA Compliant: Darker border for 3.11:1 contrast (SC 1.4.11) */
    border: 2px solid #929292;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.calc-step input:focus,
.calc-step select:focus {
    outline: none;
    /* Focus state uses darker orange for visibility */
    border-color: #CF4B00;
}

.calc-step small {
    display: block;
    margin-top: 5px;
    color: #666666;
    font-size: 13px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

#calculateBtn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

.calculator-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.calculator-results h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #000000;
    margin-bottom: 30px;
}

.price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.price-low,
.price-high {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
}

.price-low {
    background: #e8f5e9;
}

.price-high {
    background: #fff3e0;
}

.price-range .label {
    display: block;
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.price-range .price {
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #F36F21;
}

.breakdown {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.breakdown h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.breakdown ul {
    list-style: none;
}

.breakdown li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.disclaimer {
    background: #fffbf0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #F36F21;
    margin: 20px 0;
}

.disclaimer p {
    margin: 0;
    font-size: 14px;
    color: #666666;
}

.calculator-cta {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: #000000;
    border-radius: 12px;
    color: #FFFFFF;
}

.calculator-cta h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 10px;
}

.calculator-cta p {
    color: #CCCCCC;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}


/* Reviews Section */
.reviews {
    padding: 135px 0 48px;
    background-color: #000000;
    color: #FFFFFF;
}

.reviews .section-header h2 {
    color: #FFFFFF;
}

.reviews .section-header p {
    color: #CCCCCC;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.review {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: #F36F21;
    font-size: 18px;
    margin-bottom: 20px;
}

.review p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 25px;
    line-height: 1.6;
}

.reviewer strong {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
}

.reviewer span {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    color: #F36F21;
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.faq-item {
    background: #FFFFFF;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: #FFFFFF;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000000;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #F36F21;
    font-size: 16px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.faq-cta h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #000000;
    margin-bottom: 10px;
}

.faq-cta p {
    color: #666666;
    margin-bottom: 25px;
}

/* Areas We Serve Section */
.areas-served {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.areas-served .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.areas-served .section-header h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #000000;
    margin-bottom: 15px;
}

.areas-served .section-header p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

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

.area-link {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #000000;
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.area-link:hover {
    border-color: #CF4B00;
    color: #CF4B00;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(207, 75, 0, 0.15);
}

.areas-cta {
    text-align: center;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.areas-cta p {
    font-family: 'Overpass', sans-serif;
    font-size: 18px;
    color: #666666;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .area-link {
        padding: 15px;
        font-size: 14px;
    }

    .areas-served .section-header h2 {
        font-size: 28px;
    }

    .areas-served .section-header p {
        font-size: 16px;
    }
}

/* Process Section */
.process {
    padding: 135px 0 48px;
    background-color: #FFFFFF;
}

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

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    /* WCAG AA Compliant: Darker orange for 4.51:1 contrast with white text */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 28px;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.process-step p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-license {
    color: #F36F21;
    font-weight: 600;
    margin-top: 10px;
}

.footer-service-areas h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #F36F21;
    margin-bottom: 20px;
}

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

.service-areas-list li {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #CCCCCC;
    margin-bottom: 10px;
    padding-left: 0;
}

.all-essex {
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #F36F21;
    margin-top: 15px;
}

.footer-left .footer-logo h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-left p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    /* WCAG AA Compliant: Darker orange background */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-contact h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #F36F21;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #F36F21;
    width: 16px;
}

.contact-item span {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #CCCCCC;
}

.footer-bottom {
    /* WCAG AA Compliant: Lighter border for 3.04:1 contrast on black (SC 1.4.11) */
    border-top: 1px solid #5a5a5a;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #CCCCCC;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: #FFFFFF;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    /* WCAG AA Compliant: Darker gray for 3.11:1 contrast (SC 1.4.3 Large Text) */
    color: #929292;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
}

/* Contact Form Styles */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    /* WCAG AA Compliant: Darker border for 3.11:1 contrast (SC 1.4.11) */
    border: 1px solid #929292;
    border-radius: 8px;
    font-family: 'Overpass', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    /* WCAG AA Compliant: Darker orange for focus state */
    border-color: #CF4B00;
    box-shadow: 0 0 0 3px rgba(207, 75, 0, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
}

.form-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Video Fallback */
@media (max-width: 768px) {
    .hero-video-container {
        display: none;
    }

    .hero {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(51, 51, 51, 0.5) 100%), url('../images/roof-hero.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-nav {
        margin: 0 20px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-right {
        gap: 15px;
    }

    .phone-number {
        display: none;
    }

    .cta-button:not(.mobile-quote-btn) {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Show mobile phone icon */
    .mobile-phone-icon {
        display: flex;
    }

    /* Ensure hamburger menu shows */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Form responsive */
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .service-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .service-card {
        width: 100%;
        max-width: 400px;
        margin: 0;
    }

    .service-card.card-2 {
        transform: none;
    }
}

@media (max-width: 768px) {
    /* Mobile header already configured with 3-column grid above */

    .hero {
        padding: 120px 0 40px;
        margin-top: 100px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .service-areas-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Common Mobile Breakpoints */
@media (max-width: 414px) {
    /* iPhone Pro Max, large Android phones */
    .header-content {
        padding: 0 5px;
    }

    .logo-img {
        height: 38px;
    }

    .mobile-phone-icon {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }
}

@media (max-width: 390px) {
    /* iPhone 12/13/14 standard */
    .header-content {
        padding: 0 3px;
    }

    .logo-img {
        height: 36px;
    }
}

@media (max-width: 375px) {
    /* iPhone SE, smaller devices */
    .logo-img {
        height: 34px;
    }

    .mobile-phone-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hamburger {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .service-card,
    .review {
        padding: 30px 20px;
    }
}

/* Live Chat Widget */
.live-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* WCAG AA Compliant: Darker orange background */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(207, 75, 0, 0.4);
    position: relative;
    transition: all 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(207, 75, 0, 0.5);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #FFFFFF;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: #000000;
    color: #FFFFFF;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.chat-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message.bot p {
    background: #FFFFFF;
    padding: 12px 15px;
    border-radius: 15px 15px 15px 5px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-message.user p {
    /* WCAG AA Compliant: Darker orange background */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    padding: 12px 15px;
    border-radius: 15px 15px 5px 15px;
    margin: 0;
    margin-left: auto;
    max-width: 80%;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

#chatInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    font-family: 'Overpass', sans-serif;
}

#chatInput:focus {
    /* WCAG AA Compliant: Darker orange for focus state */
    border-color: #CF4B00;
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* WCAG AA Compliant: Darker orange background */
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send:hover {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000000;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    /* WCAG AA Compliant: Darker orange for hover state */
    background: #CF4B00;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .chat-window {
        width: 100%;
        max-width: 350px;
        right: -10px;
    }

    .live-chat {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        left: 20px;
        bottom: 20px;
    }
}
/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Grid */
.blog-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666666;
}

.category {
    color: #CF4B00;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 15px;
    color: #000000;
    line-height: 1.3;
}

.excerpt {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.read-more {
    color: #CF4B00;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 10px;
}

/* Blog Sidebar */
.blog-sidebar {
    max-width: 350px;
    margin: 0 auto;
}

.sidebar-widget {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
}

.sidebar-widget ul li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget ul li a:hover {
    color: #CF4B00;
}

.recent-posts-list li a {
    font-size: 15px;
    line-height: 1.4;
}

.cta-widget {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-widget h3 {
    color: #FFFFFF;
}

.cta-widget p {
    color: #FFFFFF;
    opacity: 0.9;
}

.cta-widget .btn-primary {
    margin: 20px 0;
}

/* Blog Post Page Styles */
.blog-post {
    padding: 80px 0;
    background: #FFFFFF;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666666;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #CF4B00;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    color: #333333;
}

.post-header h1 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000000;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666666;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-family: 'Overpass', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    max-width: 800px;
}

.post-content h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000000;
}

.post-content h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000000;
}

.post-content h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #000000;
}

.post-content p {
    margin-bottom: 20px;
}

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

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.post-content a {
    color: #CF4B00;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.post-content a:hover {
    opacity: 0.7;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-content blockquote {
    border-left: 4px solid #CF4B00;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555555;
}

/* Author Bio */
.author-bio {
    margin-top: 60px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #CF4B00;
    border-radius: 8px;
}

.author-bio h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 15px;
    color: #000000;
}

.author-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.author-bio a {
    color: #CF4B00;
    font-weight: 600;
    text-decoration: none;
}

.author-bio a:hover {
    text-decoration: underline;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
}

.related-posts h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 30px;
    color: #000000;
}

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

/* Post CTA */
.post-cta {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #FFFFFF;
    text-align: center;
    border-radius: 12px;
}

.post-cta h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.post-cta p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #FFFFFF;
    opacity: 0.9;
}

.post-cta a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.post-cta .btn-primary {
    margin: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-posts-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card h2 {
        font-size: 20px;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .blog-sidebar {
        max-width: 100%;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-cta {
        padding: 30px 20px;
    }
    
    .post-cta h3 {
        font-size: 24px;
    }
}

/* ========================================
   LEGAL COMPLIANCE STYLES
   (Cookie Consent, GDPR, Footer Legal Links)
   ======================================== */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #CF4B00;
}

.cookie-consent p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent a {
    color: #CF4B00;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent a:hover {
    color: #FF6B35;
}

.cookie-consent button {
    background: linear-gradient(to right, rgb(207, 75, 0) 25%, rgb(207, 75, 0) 75%);
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-consent button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 75, 0, 0.4);
}

/* GDPR Consent Checkbox in Forms */
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 3px solid #CF4B00;
}

.consent-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-group label {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    cursor: pointer;
    margin: 0;
}

.consent-group label a {
    color: #CF4B00;
    text-decoration: underline;
    font-weight: 600;
}

.consent-group label a:hover {
    color: #FF6B35;
}

/* Footer Legal Links */
.footer-legal {
    margin: 15px 0;
    text-align: center;
    font-size: 14px;
}

.footer-legal a {
    color: #FFFFFF;
    text-decoration: underline;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #CF4B00;
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-consent p {
        font-size: 13px;
        margin: 0 0 12px 0;
    }
    
    .cookie-consent button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .consent-group {
        padding: 12px;
    }
    
    .consent-group label {
        font-size: 12px;
    }
    
    .footer-legal {
        font-size: 12px;
    }
    
    .footer-legal a {
        display: inline-block;
        margin: 5px;
    }
}

/* Enhanced Service Grid */
.more-services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.more-services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
    color: #000;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 48px;
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid-enhanced .service-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.services-grid-enhanced .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #FF3B30);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.services-grid-enhanced .service-card:hover::before {
    transform: scaleX(1);
}

.services-grid-enhanced .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #FF6B35;
}

.services-grid-enhanced .service-card.current-service {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
}

.services-grid-enhanced .service-card.current-service::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF3B30 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.services-grid-enhanced .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.services-grid-enhanced .service-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #000;
}

.services-grid-enhanced .service-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.overview-card {
    background: linear-gradient(135deg, #000 0%, #333 100%) !important;
    color: white !important;
}

.overview-card h3,
.overview-card p {
    color: white !important;
}

.overview-card .service-icon {
    background: white !important;
}

.overview-card .service-icon i {
    color: #000 !important;
}

@media (max-width: 768px) {
    .services-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .more-services-section {
        padding: 60px 0;
    }

    .more-services-section h2 {
        font-size: 28px;
    }
}
