:root {
    --primary-color: #fdc84b;
    --primary-dark: #e6b035;
    --primary-light: #ffe082;
    --secondary-color: #002343;
    --secondary-light: #003d6b;
    --text-dark: #0a0a0a;
    --text-medium: #4a4a4a;
    --text-light: #6c757d;
    --border-color: #e5e7eb;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-medium);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 85px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
    height: 85px;
    display: flex;
    align-items: center;
}
@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        min-height: 85px;
        padding-bottom: 0.5rem;
        background-color: var(--white);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
    }
}

.navbar-brand {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

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

/* Navbar collapse: hidden on mobile until toggler adds .show; always flex on lg+ */
.navbar-collapse {
    flex-grow: 1;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background-color: var(--light-gray);
        border-radius: 0 0 12px 12px;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .navbar-collapse.show {
        display: flex !important;
    }
    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
    .header-cta {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    display: block;
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(253, 200, 75, 0.1);
}

.header-cta {
    margin-left: 2rem;
}

.btn {
    padding: 1rem 2.25rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    line-height: 1.5;
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 35, 67, 0.25);
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 35, 67, 0.35);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 200, 75, 0.45);
}

.btn-primary-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding-bottom: 120px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.85) 0%, rgba(0, 61, 107, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 80px 0 4rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-heading {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.05em;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.5rem;
    line-height: 1.75;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item-inline {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number-wrapper {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.stat-number-inline {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    letter-spacing: -0.02em;
    display: inline-block;
}

.stat-percent {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    display: inline-block;
    margin-left: 0;
}

.stat-label-inline {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.departments-section {
    margin: 0;
    padding: 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.department-block {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
}

.department-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.department-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.department-block:hover .department-image {
    transform: scale(1.1);
}

.department-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: var(--transition);
}

.residential-department .department-overlay {
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.75) 0%, rgba(0, 35, 67, 0.85) 100%);
}

.commercial-department .department-overlay {
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.75) 0%, rgba(253, 200, 75, 0.85) 100%);
}

.department-block:hover .department-overlay {
    opacity: 0.9;
}

.department-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    color: var(--white);
    max-width: 600px;
}

.residential-department .department-content {
    color: var(--white);
}

.commercial-department .department-content {
    color: var(--text-dark);
}

.department-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.commercial-department .department-label {
    background: rgba(0, 35, 67, 0.2);
    color: var(--text-dark);
}

.department-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.department-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.department-services-list {
    margin-bottom: 2.5rem;
}

.department-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
}

.department-service-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.commercial-department .department-service-item i {
    color: var(--secondary-color);
}

.btn-department {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.4);
}

.btn-department:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 200, 75, 0.5);
}

.section-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    filter: grayscale(20%) blur(0.5px);
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.section-background-wrapper:hover .section-bg-image {
    transform: scale(1.08);
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.65) 100%);
    z-index: 1;
}

.services-detail-section {
    background: var(--light-gray);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-detail-section .container {
    position: relative;
    z-index: 2;
}

.services-detail-section .section-bg-image {
    opacity: 0.3;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subheading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.services-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--white);
    color: var(--text-medium);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: 350px;
}

.service-block {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.service-block.large {
    grid-row: span 2;
}

.service-image-block {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-block-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.9) 0%, rgba(0, 35, 67, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.service-block:hover .service-block-overlay {
    opacity: 1;
}

.service-block:hover .service-block-image {
    transform: scale(1.15);
}

.service-block-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-block-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.service-block-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.service-block-link:hover {
    gap: 0.75rem;
}

.about-modern-section {
    background: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-modern-section .container {
    position: relative;
    z-index: 2;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-main-content {
    padding-right: 2rem;
}

.about-text-content {
    margin-bottom: 3rem;
}

.about-text-content p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.1) 0%, rgba(253, 200, 75, 0.05) 100%);
    transform: translateY(-5px);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.3);
}

.highlight-content h4 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin: 0;
    font-weight: 600;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    height: 100%;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-section {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.about-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 4rem;
}

.about-content-text {
    padding-right: 2rem;
}

.about-main-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-feature-card {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.08) 0%, rgba(253, 200, 75, 0.03) 100%);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(253, 200, 75, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.about-content-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: sticky;
    top: 120px;
}

.content-image-primary {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.content-image-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-image-primary:hover img {
    transform: scale(1.05);
}

.content-image-secondary {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 350px;
}

.content-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-image-secondary:hover img {
    transform: scale(1.05);
}

.advantages-modern-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.advantages-modern-section .section-background-wrapper {
    z-index: 0;
}

.advantages-modern-section .section-bg-image {
    opacity: 0.25;
    filter: grayscale(30%);
}

.advantages-modern-section .section-bg-overlay {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.6) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(248, 249, 250, 0.6) 100%);
}

.advantages-modern-section .container {
    position: relative;
    z-index: 2;
}

.advantages-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(253, 200, 75, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 35, 67, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.section-description-modern {
    font-size: 1.25rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    font-weight: 400;
}

.advantages-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.advantage-modern-card {
    position: relative;
    border-radius: 32px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid transparent;
}

.advantage-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.advantage-modern-card:hover::before {
    transform: scaleX(1);
}

.advantage-modern-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 200, 75, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.advantage-modern-card:hover::after {
    opacity: 1;
}

.advantage-modern-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(253, 200, 75, 0.3);
}

.advantage-card-inner {
    padding: 3.5rem 2.75rem 3rem;
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advantage-modern-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2.5rem;
}

.advantage-modern-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.15) 0%, rgba(253, 200, 75, 0.05) 100%);
    border-radius: 50%;
    transition: var(--transition);
}

.advantage-modern-card:hover .advantage-modern-icon-bg {
    transform: translate(-50%, -50%) scale(1.2);
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.25) 0%, rgba(253, 200, 75, 0.1) 100%);
}

.advantage-modern-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(253, 200, 75, 0.4);
    transition: var(--transition);
    z-index: 1;
}

.advantage-modern-card:hover .advantage-modern-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 16px 50px rgba(253, 200, 75, 0.5);
}

.advantage-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 35, 67, 0.05);
    line-height: 1;
    transition: var(--transition);
}

.advantage-modern-card:hover .advantage-number {
    color: rgba(253, 200, 75, 0.15);
    transform: scale(1.1);
}

.advantage-modern-title {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.advantage-modern-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-medium);
    font-weight: 400;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.advantage-modern-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-10px);
}

.advantage-modern-card:hover .advantage-modern-footer {
    opacity: 1;
    transform: translateX(0);
}

.advantage-modern-footer i {
    transition: var(--transition);
}

.advantage-modern-card:hover .advantage-modern-footer:hover {
    transform: translateX(5px);
}

.advantage-modern-card:hover .advantage-modern-footer:hover i {
    transform: translateX(3px);
}

.testimonials-modern-section {
    position: relative;
    background: var(--white);
    padding: 120px 0;
}

.testimonials-modern-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-modern-card {
    background: var(--light-gray);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-modern-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.375rem;
}

.testimonial-modern-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 400;
}

.testimonial-modern-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(253, 200, 75, 0.3);
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Parallax section – CSS-only parallax via background-attachment: fixed */
.parallax-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../img/IMG_1831.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.88) 0%, rgba(0, 61, 107, 0.82) 50%, rgba(0, 35, 67, 0.88) 100%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.parallax-heading {
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.parallax-text {
    font-size: 1.25rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.parallax-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(253, 200, 75, 0.5);
}

.parallax-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(253, 200, 75, 0.6);
}

/* Fallback for devices that don't support background-attachment: fixed (e.g. iOS) */
@media (prefers-reduced-motion: reduce) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

@supports (-webkit-touch-callout: none) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

.cta-modern-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0;
    margin: 80px 0;
    border-radius: 40px;
}

.cta-background-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 40px;
    overflow: hidden;
}

.cta-background-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(253, 200, 75, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    transform: scale(1);
}

.cta-modern-section:hover .cta-bg-image {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.88) 0%, rgba(0, 61, 107, 0.82) 50%, rgba(0, 35, 67, 0.88) 100%);
    background-size: 200% auto;
    animation: gradient-shift-cta 8s ease infinite;
    z-index: 1;
}

@keyframes gradient-shift-cta {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.cta-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 50m-40 0a40 40 0 1 1 80 0a40 40 0 1 1 -80 0" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.08"/></svg>');
    opacity: 0.6;
}

.cta-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 950px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-heading-modern {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.cta-heading-modern::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    border-radius: 3px;
}

.cta-text-modern {
    font-size: 1.375rem;
    line-height: 1.85;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.cta-modern-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(253, 200, 75, 0.5);
    position: relative;
    overflow: visible;
}

.cta-modern-section .btn-primary::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(15px);
    transition: var(--transition);
}

.cta-modern-section .btn-primary:hover::after {
    opacity: 0.5;
    inset: -10px;
}

.cta-modern-section .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 45px rgba(253, 200, 75, 0.6);
}

.gallery-modern-section {
    background: var(--light-gray);
    padding: 120px 0;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 250px;
}

.gallery-item-modern {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item-modern.large {
    grid-row: span 2;
}

.gallery-item-modern > a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(253, 200, 75, 0.8) 0%, rgba(0, 35, 67, 0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item-modern:hover::after {
    opacity: 1;
}

.gallery-item-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item-modern:hover .gallery-img {
    transform: scale(1.15);
}

/* Residential grid page */
.residential-grid-section {
    background: var(--light-gray);
    padding: 100px 0;
    position: relative;
}

.residential-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.residential-service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

.residential-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    color: inherit;
}

.residential-service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.residential-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.residential-service-card:hover .residential-service-img {
    transform: scale(1.08);
}

.residential-service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 35, 67, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.residential-service-card:hover .residential-service-overlay {
    opacity: 1;
}

.residential-service-content {
    padding: 2rem;
}

.residential-service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.residential-service-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.residential-service-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.residential-service-card:hover .residential-service-link {
    gap: 0.75rem;
}

/* Service detail page */
.page-breadcrumb {
    padding: 1.25rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.page-breadcrumb .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
    font-size: 0.9375rem;
}

.page-breadcrumb .breadcrumb-item a {
    color: var(--text-medium);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.page-breadcrumb .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-light);
    padding: 0 0.5rem;
}

.service-detail-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}

.service-detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-detail-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.88) 0%, rgba(0, 61, 107, 0.82) 100%);
}

.service-detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.service-detail-title {
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.service-detail-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

.service-detail-content-section {
    padding: 100px 0;
    background: var(--white);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}

.service-detail-main {
    min-width: 0;
}

.service-detail-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.service-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.service-detail-body {
    max-width: 720px;
}

.service-detail-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.service-detail-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.service-detail-text p {
    margin-bottom: 1.25rem;
}

.service-detail-text p:last-child {
    margin-bottom: 0;
}

.service-detail-benefits-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

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

.service-detail-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.service-detail-benefits-list li i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-detail-sidebar {
    position: sticky;
    top: 110px;
}

.service-detail-cta-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.service-detail-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-detail-cta-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-detail-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}

.service-detail-cta-link:hover {
    color: var(--primary-color);
}

.footer-modern {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001a2e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(253, 200, 75, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 35, 67, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top-modern {
    padding: 100px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-column {
    padding: 0 0.5rem;
}

.footer-about-column {
    padding-right: 2rem;
}

.footer-logo-section {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.footer-social-modern {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.3);
}

.footer-title-modern {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -0.01em;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.footer-title-modern::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.footer-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list-modern li {
    margin-bottom: 1.25rem;
}

.footer-list-modern a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-list-modern a i {
    font-size: 0.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-list-modern a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-list-modern a:hover i {
    transform: translateX(3px);
    color: var(--primary-light);
}

.footer-contact-column {
    padding-left: 1rem;
}

.footer-contact-modern {
    margin-bottom: 2.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(253, 200, 75, 0.3);
    transform: translateX(5px);
}

.footer-contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(253, 200, 75, 0.3);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
}

.footer-contact-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-contact-value {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-contact-value:hover {
    color: var(--primary-color);
}

.footer-cta-modern {
    margin-top: 2rem;
}

.btn-footer-cta {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.4);
}

.btn-footer-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 200, 75, 0.5);
}

.footer-partnerships-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.partnerships-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.partnerships-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partnership-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 10px;
    background-color: #ffffff;
}

.partnership-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.footer-copyright-modern {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }

    .department-block {
        min-height: 500px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-main-content {
        padding-right: 0;
    }

    .about-content-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content-text {
        padding-right: 0;
    }

    .about-content-images {
        position: static;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .advantages-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 4rem;
    }

    .advantage-card-inner {
        padding: 3rem 2.5rem 2.5rem;
    }

    .advantage-modern-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 2rem;
    }

    .advantage-modern-icon {
        width: 85px;
        height: 85px;
        font-size: 2.25rem;
    }

    .advantage-modern-icon-bg {
        width: 100px;
        height: 100px;
    }

    .advantage-number {
        font-size: 3rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .section-description-modern {
        font-size: 1.125rem;
    }

    .advantages-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: 1fr;
    }

    .services-masonry,
    .gallery-masonry {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-block.large {
        grid-row: span 1;
    }

    .footer-grid-modern {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-about-column {
        padding-right: 0;
    }

    .footer-contact-column {
        padding-left: 0;
    }

    .footer-social-modern {
        justify-content: center;
    }

    .hero-heading {
        font-size: 3rem;
    }

    .cta-modern-section {
        margin: 60px 0;
        border-radius: 30px;
        min-height: 500px;
        padding: 100px 0;
    }

    .cta-heading-modern {
        font-size: 2.75rem;
    }

    .cta-text-modern {
        font-size: 1.125rem;
    }

    .parallax-section {
        min-height: 75vh;
        padding: 100px 0;
    }

    .parallax-heading {
        font-size: 2.75rem;
    }

    .parallax-text {
        font-size: 1.125rem;
    }

    .section-heading {
        font-size: 2.5rem;
    }

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

    .residential-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-sidebar {
        position: static;
    }

    .service-detail-title {
        font-size: 2.5rem;
    }

    .service-detail-content-section {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
        padding-bottom: 140px;
    }

    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number-inline {
        font-size: 2rem;
    }

    .department-content {
        padding: 2rem;
    }

    .department-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cta-modern-section {
        margin: 40px 0;
        border-radius: 24px;
        min-height: 450px;
        padding: 80px 0;
    }

    .cta-heading-modern {
        font-size: 1.875rem;
    }

    .cta-text-modern {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .cta-content-modern {
        padding: 0 1rem;
    }

    .cta-modern-section .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .parallax-section {
        min-height: 70vh;
        padding: 80px 0;
    }

    .parallax-heading {
        font-size: 1.875rem;
    }

    .parallax-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .parallax-content {
        padding: 0 1rem;
    }

    .parallax-section .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .advantages-modern-section {
        padding: 60px 0;
    }

    .residential-grid-section {
        padding: 60px 0;
    }

    .residential-service-content {
        padding: 1.5rem;
    }

    .residential-service-title {
        font-size: 1.25rem;
    }

    .service-detail-hero {
        min-height: 35vh;
        padding: 60px 0;
    }

    .service-detail-title {
        font-size: 1.875rem;
    }

    .service-detail-subtitle {
        font-size: 1rem;
    }

    .service-detail-content-section {
        padding: 60px 0;
    }

    .service-detail-heading {
        font-size: 1.5rem;
    }

    .service-detail-cta-card {
        padding: 1.5rem;
    }

    .advantages-grid-modern {
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .advantage-card-inner {
        padding: 2.5rem 2rem 2rem;
    }

    .advantage-modern-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1.75rem;
    }

    .advantage-modern-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }

    .advantage-modern-icon-bg {
        width: 90px;
        height: 90px;
    }

    .advantage-number {
        font-size: 2.5rem;
        top: 1.25rem;
        right: 1.25rem;
    }

    .advantage-modern-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .advantage-modern-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-description-modern {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .footer-top-modern {
        padding: 60px 0 40px;
    }

    .footer-grid-modern {
        gap: 3rem;
    }

    .footer-about-text {
        font-size: 0.9375rem;
    }

    .footer-contact-item {
        padding: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .footer-contact-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }

    .footer-title-modern {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-content-section {
        padding: 60px 0;
    }

    .about-content-layout {
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .about-main-text {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }

    .about-features-grid {
        gap: 1.5rem;
    }

    .about-feature-card {
        padding: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.9375rem;
    }

    .content-image-primary {
        height: 350px;
    }

    .content-image-secondary {
        height: 280px;
    }

    .services-masonry,
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .footer-partnerships-modern {
        padding: 1.5rem 0;
    }

    .partnerships-title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .partnerships-logos {
        gap: 2rem;
    }

    .partnership-logo {
        height: 45px;
        max-width: 140px;
    }
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-form-section {
    padding: 5rem 0 6rem;
    background: var(--light-gray);
    position: relative;
}

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

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
    margin: 0 -12px;
}

.contact-layout .contact-info,
.contact-layout .contact-form-wrapper {
    padding: 0 12px;
}

/* Left column: intro + contact details */
.contact-form-section .contact-info .section-header-modern {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form-section .contact-info .section-subheading {
    color: var(--primary-color);
}

.contact-form-section .contact-info .section-heading {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .contact-form-section .contact-info .section-heading {
        font-size: 2.75rem;
    }
}

.contact-intro-text {
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.contact-intro-text p {
    margin-bottom: 1rem;
}

.contact-intro-text p:last-child {
    margin-bottom: 0;
}

/* Contact detail items (location, phone, email, hours) */
.contact-details-modern {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-detail-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(253, 200, 75, 0.35);
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.contact-detail-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-detail-value a {
    color: inherit;
}

.contact-detail-value a:hover {
    color: var(--secondary-color);
}

/* Right column: form card */
.contact-form-wrapper {
    flex: 1;
    min-width: 0;
}

.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Fluent Forms styling to match theme */
.contact-form-section .ff-form {
    margin: 0;
}

.contact-form-section .ff-el-form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form-section .ff-el-form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(253, 200, 75, 0.2);
}

.contact-form-section textarea.ff-el-form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form-section .ff-el-group {
    margin-bottom: 1.5rem;
}

.contact-form-section .ff-el-input--label label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-section .ff_submit_btn_wrapper {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.contact-form-section .ff-btn.ff-btn-submit {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.35);
    font-family: inherit;
}

.contact-form-section .ff-btn.ff-btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 200, 75, 0.45);
}

/* Fallback for Fluent Forms (alternate class names / structure) */
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="url"],
.contact-form-section textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(253, 200, 75, 0.2);
}

.contact-form-section input[type="submit"],
.contact-form-section button[type="submit"] {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(253, 200, 75, 0.35);
    font-family: inherit;
}

.contact-form-section input[type="submit"]:hover,
.contact-form-section button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 200, 75, 0.45);
}

/* Contact page: stack on small screens */
@media (max-width: 991.98px) {
    .contact-form-section {
        padding: 3rem 0 4rem;
    }

    .contact-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .contact-form-section .contact-info .section-header-modern {
        text-align: center;
    }

    .contact-form-section .contact-info .section-heading {
        font-size: 2rem;
    }

    .contact-intro-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-form-card {
        padding: 1.75rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .contact-form-section {
        padding: 2.5rem 0 3.5rem;
    }

    .contact-detail-item {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .contact-detail-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.125rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.hero-404 {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-404 .hero-background {
    background: radial-gradient(circle at top left, rgba(253, 200, 75, 0.4), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 35, 67, 0.7), rgba(0, 35, 67, 0.95));
}

.hero-404 .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.9) 0%, rgba(0, 61, 107, 0.9) 100%);
}

.hero-404 .section-subheading {
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-404 .hero-heading {
    font-size: 3.5rem;
}

.hero-404 .hero-description {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    .hero-404 {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .hero-404 .hero-heading {
        font-size: 2.5rem;
    }
}

.not-found-section {
    padding: 4rem 0 5rem;
    background: var(--light-gray);
}

.not-found-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 3rem;
    padding: 3rem;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    align-items: center;
}

.not-found-copy h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.not-found-copy p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.75rem;
}

.not-found-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.not-found-actions .search-form {
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.not-found-actions .search-field {
    flex: 1;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.not-found-actions .search-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(253, 200, 75, 0.25);
}

.not-found-actions .search-submit {
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(253, 200, 75, 0.35);
    transition: var(--transition);
    padding: 0;
    border-radius: 0;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-actions .search-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(253, 200, 75, 0.45);
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.not-found-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 35, 67, 0.15);
    background: rgba(0, 35, 67, 0.02);
}

.not-found-links a:hover {
    border-color: var(--primary-color);
    background: rgba(253, 200, 75, 0.1);
}

.not-found-highlight {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.not-found-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(253, 200, 75, 0.4), transparent 55%);
    opacity: 0.9;
}

.not-found-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.75rem;
}

.not-found-code {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.not-found-text {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991.98px) {
    .not-found-card {
        grid-template-columns: 1fr;
        padding: 2.25rem 2rem;
    }

    .not-found-highlight {
        order: -1;
    }
}

@media (max-width: 575.98px) {
    .not-found-card {
        padding: 1.75rem 1.5rem;
    }

    .hero-404 .hero-heading {
        font-size: 2.1rem;
    }

    .not-found-copy h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Search Results Page
   ========================================================================== */

.hero-search {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-archive {
    height: 60vh;
}

.hero-search .hero-background {
    background: radial-gradient(circle at top left, rgba(253, 200, 75, 0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 35, 67, 0.65), rgba(0, 35, 67, 0.9));
}

.hero-search .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 35, 67, 0.9) 0%, rgba(0, 61, 107, 0.9) 100%);
}

.hero-search .hero-content {
    max-width: 800px;
}

.hero-search .hero-heading {
    font-size: 3rem;
}

.hero-search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

.hero-search-form .search-field {
    flex: 1;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.15);
    color: var(--white);
}

.hero-search-form .search-field::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.hero-search-form .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(253, 200, 75, 0.35);
}

.hero-search-form .search-submit {
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(253, 200, 75, 0.35);
    transition: var(--transition);
    padding: 0;
    border-radius: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-form .search-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(253, 200, 75, 0.45);
}

.search-results-section {
    padding: 4rem 0 5rem;
    background: var(--light-gray);
}

.search-results-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.search-results-header {
    text-align: left;
    margin-bottom: 2rem;
}

.search-results-header .section-subheading {
    color: var(--text-light);
}

.search-results-header .section-description-modern{
    text-align: left;
    max-width: initial;
}

.search-result-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

.search-result-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-result-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.search-result-type {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(253, 200, 75, 0.15);
    color: var(--secondary-color);
    font-weight: 600;
}

.search-result-date {
    opacity: 0.8;
}

.search-result-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.search-result-title a {
    color: var(--secondary-color);
}

.search-result-title a:hover {
    color: var(--primary-color);
}

.search-result-excerpt {
    font-size: 0.98rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.search-result-link i {
    font-size: 1rem;
}

.search-result-link:hover {
    color: var(--primary-color);
}

/* Archive result cards: optional thumbnail */
.archive-result-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.archive-result-card .search-result-thumb {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: var(--light-gray);
}

.archive-result-card .search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.archive-result-card:hover .search-result-thumb img {
    transform: scale(1.05);
}

.archive-result-card .search-result-content {
    display: flex;
    flex-direction: column;
}

.archive-result-card .search-result-excerpt {
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    .archive-result-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.search-pagination {
    margin-top: 2.5rem;
}

.search-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-empty-actions .btn-primary-outline {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.search-empty-actions .btn-primary-outline:hover {
    background: rgba(253, 200, 75, 0.08);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .hero-search {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-search .hero-heading {
        font-size: 2.5rem;
    }

    .search-results-header {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-search {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-search .hero-heading {
        font-size: 2.1rem;
    }

    .search-result-card {
        padding: 1.5rem 1.25rem;
    }
}
