/* -----------------------------
   Base Styles & Reset
----------------------------- */
/* Trust Badges Styles */
.trust-badges {
    display: flex ;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    background-color: transparent;
    padding: 0.5rem;
    border-radius: 0rem;
    width: fit-content;
}

.trust-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

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

:root {
    --primary-color: #ff7417;
    --primary-dark: #3a1919;
    --primary-light: #ff7417;
    --secondary-color: #ffffff;
    --text-color: #3a1919;
    --text-light: #3a1919;
    --background-light: #ff7417;
    --background-white: #ff7417;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow-color: rgba(0, 0, 0, 0);
}

* {
    margin: 0;

    /* box-sizing: linear-gradient(180deg, #ff7417 0%, #3a1919  30%) */
}

margin-right: {
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Encode Sans', sans-serif;
    line-height: 1.6;
    transition: color 0.3s ease;
    background-color: linear-gradient(180deg, #ff7417 0%, #3a1919  30%);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--secondary-color);

    /* Corrected filter property */
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.5));
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 2.5rem;
}

p {
    /* No specific changes requested for p, keeping it clean */
}

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

.container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    background: linear-gradient(1800deg, #ff7417 94%, #3a1919  99%);
    text-align: center;
    color: #fff;
}

/* -----------------------------
   Buttons & CTAs
----------------------------- */
.cta-button {
    display: inline-block;
    background-color: #F47B20;
    color: rgb(255, 255, 255);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.8s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #F47B20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #F47B20;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid #F47B20;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.secondary-button:hover {
    background-color: #F47B20;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #F47B20;
    transition: all 0.3s ease;
}

.learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #D06618;
    text-decoration: underline;
}

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

.cta-center {
    text-align: center;
    margin-top: 8rem;
}

/* -----------------------------
   Header & Navigation
----------------------------- */
header {
    position: sticky;
    top: 0;
    background-color: #3a1919;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0rem;
}

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

nav ul.desktop-nav {
    display: flex;
    align-items: center;
}

nav ul.desktop-nav li {
    margin-left: 2rem;
}

nav ul.desktop-nav li a {
    color: white;
    font-weight: 700;
    position: relative;
}

nav ul.desktop-nav li a:after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul.desktop-nav li a:hover:after,
nav ul.desktop-nav li a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 999;
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav ul li {
    margin-bottom: 1.0rem;
}

.mobile-nav ul li a {
    color: white;
    font-size: 1.2rem;
    display: block;
}

/* -----------------------------
   Hero Section
----------------------------- */
.hero-section {
    padding: 2rem 0;
    position: relative;
    max-height: auto;
    background-image: url("http://loftguard.co.uk/assets/x-images/loftguard-hero-image.png");
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    color: var(--secondary-color);
    margin-bottom: auto;
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));

    /* Corrected filter property */
}

/* Trust Badges Styling */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;

    /* margin: 2rem 2 */
    margin-top: 25%;
}

.trust-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

.loftroll-image-top {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 1px;
    margin-top: 1px;
    padding: 1px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 0rem;
    color: #ff7417;
}

.hero-buttons {
    display: flex;
    gap: 0.5px;
    margin-bottom: 1rem;
}

.hero-features {
    position: absolute;
    top: 1rem;
    right: 12%;
    width: 325px;
    height: 460px;
    background-color: #ff7417;
    display: grid;
    gap: 0rem;
}

.feature-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h2:after {
    content: 'loftguard-boarding1.png';

    /* This might not work as intended, 'content' is for generated content, not images */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.feature-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.chat-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 90;
    transition: all 0.3s ease-in-out;
}

.chat-support.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #210E0E;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 89;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    animation: wiggle 3s infinite;
    transition: all 0.3s ease;
}

.chat-widget:hover {
    background-color: #3A1919;
    transform: translateY(-3px);
}

.chat-widget i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.widget-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    animation: pulse 2s infinite;
    background-color: rgba(33, 14, 14, 0.3);
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes wiggle {
    0%,
    7% {
        transform: rotateZ(0);
    }

    15% {
        transform: rotateZ(-10deg);
    }

    20% {
        transform: rotateZ(6deg);
    }

    25% {
        transform: rotateZ(-6deg);
    }

    30% {
        transform: rotateZ(3deg);
    }

    35% {
        transform: rotateZ(-1deg);
    }

    40%,
    100% {
        transform: rotateZ(0);
    }
}

.chat-header {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: white;
    padding: 2rem;
}

.chat-header i {
    margin-right: 0.5rem;
}

.chat-body {
    padding: 1rem;
    color: #ff7417;
}

.chat-message {
    background-color: #ffffff;
    padding: 0rem;
    border-radius: 0px;
    margin-bottom: 0rem;
}

.chat-message h3 {
    color: #3a1919;
    margin-top: auto;
    margin-bottom: 0rem;
}

.chat-form {
    background: #fff;
    border-radius: 4rem;
    box-shadow: 4px rgba(58, 25, 25, 0.08);
    padding: 0rem;
    max-width: 400px;
}

.chat-form-group {
    margin-bottom: 0.1rem;
}

.chat-form-group input,
.chat-form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 0.2rem solid #ff7417;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Encode Sans', sans-serif;
    transition: border-color 0.2s;
    background: #f9f9f9;
    color: #3a1919;
}

.chat-form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.chat-form .cta-button {
    width: 100%;
    background-color: #ff7417;
    color: #fff;
    border: none;
    padding: 0.9rem 0;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chat-form .cta-button:hover,
.chat-form .cta-button:focus {
    background-color: #ff7417;
    color: #3a1919;
}

/* Success Popup Styles - Updated with your color preferences */
.form-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    text-align: center;
    max-width: 90%;
    width: 400px;
}

/* Default styles (for error) */
.form-popup {
    background-color: white;
    color: #333;
    border-top: 5px solid #dc3545;
}

/* Success popup styles with your requested colors */
.form-popup.success {
    background-color: #3a1919;
    color: #ffffff;
    border-top: 5px solid #ff7417;
}

.form-popup.error {
    border-top: 5px solid #3a1919;
}

.form-popup-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.success .form-popup-icon {
    color: #ff7417;
}

.form-popup h3 {
    margin-bottom: 5px;
}

/* Update text colors based on popup type */
.success h3,
.success p {
    color: #ffffff;
}

.form-popup p {
    margin-bottom: 10px;
}

.form-popup-close {
    background-color: #ff7417;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.form-popup-close:hover {
    background-color: #ff7417;
}

.form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
}

.chat-form-group input:focus,
.chat-form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.25);
}

.chat-form-group textarea {
    height: 50px;
    resize: none;
}

.loftroll-image-top {
    text-align: center;
}

.chat-send-button:hover {
    background-color: #3A1919;
}

.success-message {
    text-align: center;
    padding: 5px;
}

/* -----------------------------
   Services Section
----------------------------- */
.services-section {
    position: relative;
    text-align: center;
    padding: 0rem;
    background: linear-gradient(360deg, #ff7417 94%, #3a1919  99%);
}

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

.section-subtitle {
    display: block;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 400px;
    margin: 4 auto;
    color: #3a1919;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: #3a1919;
    border-radius: 4px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 90%;
}

/* The following service-card::before rules were commented out or malformed
   in the original CSS. Keeping them commented as they are not valid CSS
   for background images applied this way. If you intend to use specific
   background images for each service card, you would need to define
   unique classes or IDs for each card and apply `background-image`
   to those specific selectors. */
/* service-card with-bg-image-service-card::before {
    background-image: url('../assets/x-images/loftguard-boarding1.png');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
} */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 60px;
    background-color: rgba(242, 110, 9, 0.15);
    border-radius: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-align: right;
}

.service-card h5 {
    color: #ffffff;
    text-align: left;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card .service-icon {
    position: relative;
    z-index: 1;
}

.service-card .learn-more {
    position: relative;
    z-index: 1;
}

/* -----------------------------
   Areas Section
----------------------------- */
.areas-section {
    position: relative;
    max-width: 100%;
    text-align: left;
    padding: 0rem;
    letter-spacing: 1px;
    background: linear-gradient(180deg,  #ff7417 2%, #3a1919  80%);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.0rem;
    align-items: flex-start;
}

.areas-map iframe {
    width: 100%;
    height: 720px;
    border: 0;

    /* Changed from 4rem, assuming 0 is desired for a map iframe */
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.13);
}

.areas-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.area-group {
    display: flex;
    background: var(--primary-dark);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
    color: #3a1919;
}

.area-group:hover {
    transform: translateX(7px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.area-icon {
    margin-right: 1.5rem;
    color: var(--primary-color, #f47b20);
    font-size: 3rem;
    padding-top: .2rem;
}

.area-details h3 {
    margin-bottom: 0.1rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.area-details p,
.area-description {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .areas-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .areas-map {
        margin-bottom: 2rem;
    }
}

/* -----------------------------
   Testimonials Section
----------------------------- */
.testimonials-section {
    background: linear-gradient(360deg, #f47b20 0%, #3a1919  80%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 5rem;
    letter-spacing: 1px;
}

.testimonials-slider {
    display: #fff;
    align-items: center;
    justify-content: center;
    margin-bottom: 0rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    max-width: 900px;
    text-align: center;
    color: #000;
}

.quote {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(244, 123, 32, 0.15);
    font-family: 'Encode Sans', sans-serif;
}

.testimonial-rating {
    margin-bottom: 0rem;
}

.testimonial-rating i {
    color: var(--primary-color);
    margin: 1rem;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 0rem;
}

.testimonial-author {
    margin-top: 2.5rem;
}

.author-name {
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.author-location {
    color: #3a1919;
    font-size: 1.9rem;
}

.testimonial-controls button {
    background-color: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
}

.testimonial-controls button:hover {
    color: var(--primary-dark);
}

/* -----------------------------
   Contact Section
----------------------------- */
.contact-section {
    padding: 5% 0;
    background: linear-gradient(180deg, #ff7417 2%, #3a1919  65%);
}

.contact-section .section-title {
    color: rgb(255, 255, 255);
}

.contact-section .section-description {
    color: rgb(255, 255, 255);
}

.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.contact-form {
    background-color: #3a1919;
    padding: 2rem;
    border-radius: 10px;

    /* Corrected: removed invalid 'px' unit */
    color: #ff7417;
}

.contact-form h3 {
    margin-bottom: 4rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 1000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 4px solid #3a1919;
    border-radius: 4px;
    font-family: 'Encode Sans', sans-serif;
    transition: all 0.2s ease;
    font-size: 1.4rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.25);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 0px;
    color: white;
    font-weight: 1000;
}

.contact-info h3 {
    color: #3a1919;
    font-size: 2rem;
    margin-bottom: 5rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
}

.info-icon {
    margin-right: 4rem;
    color: #3a1919;
    font-size: 3rem;
}

.info-content h4 {
    color: white;
    margin-bottom: 0rem;
}

.working-hours {
    margin-top: 5rem;
    margin-bottom: 1rem;

    /* Added unit 'rem' */
}

.working-hours {
    margin-bottom: 1rem;
    color: #3a1919;
    font-size: 1.3rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0rem;
    border-bottom: 0rem;
    padding-bottom: 0rem;
}

.emergency-services {
    margin-top: 0rem;
    color: #3a1919;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.emergency-number {
    font-size: 2rem;
    font-weight: 1000;
    margin-top: 0rem;
    color: #3a1919;
}

/* -----------------------------
   Quote Section
----------------------------- */
.quote-section {
    padding: 5% 0;
    background: linear-gradient(360deg, #f47b20 0%, #3a1919  70%);

    /* Corrected double parenthesis */
}

.quote-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.quote-content p {
    margin-bottom: 2rem;
}

.quote-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.quote-form .form-row {
    margin-bottom: 1.5rem;
}

.quote-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #F47B20;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.quote-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.25);

    /* Corrected incomplete value */
}

/* -----------------------------
   Footer
----------------------------- */
footer {
    background: linear-gradient(360deg, #f47b20 0%, #3a1919  80%);
    color: #fff;
    padding: 4rem;

    /* Corrected invalid '9' unit */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4 1rem;

    /* This '4' is unitless, if it's meant to be a pixel value, it should be '4px 1rem' or '4rem 1rem'. Leaving as is for now if it's not causing issues, but noted for future debugging. */
}

.footer-logo img {
    width: 340px;
    height: 100px;
    margin-bottom: 3rem;
    background-color: #3a1919;
}

.footer-logo p {
    font-size: 0rem;

    /* This will make the text invisible */
    margin-bottom: 0rem;
    color: #fff;
}

.social-icons a {
    color: #fff;
    margin-right: 12px;
    font-size: 2.5rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #f47b20;
}

.footer-links {
    display: flex;
    flex: 3 1 400px;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-column h3 {
    color: #f47b20;
    margin-bottom: 0rem;
    font-size: 1.5rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
    color: #fefefe;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #f47b20;
    text-decoration: underline;
}

.contact-details li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-details i {
    margin-right: 10px;
    color: #f47b20;
    font-size: 2rem;
    min-width: 22px;
    text-align: center;
}

.footer-bottom {
    background: #3a1919;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 0 0 8px 8px;
    margin-top: 1rem;
}

.footer-bottom ul {
    list-style: none;
    display: inline-flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer-bottom ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-bottom ul li a:hover {
    color: #f47b20;
}

.back-to-top a {
    background: #f47b20;
    color: #fff;
    font-size: 1.5rem;
    padding: 12px 16px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.back-to-top a:hover {
    background: #fff;
    color: #f47b20;
    border: 2px solid #f47b20;
}

@media (max-width: 900px) {
    .footer-content,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-logo,
    .footer-links,
    .footer-column {
        width: 100%;
        max-width: 100%;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 80;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* -----------------------------
   Responsive Styles
----------------------------- */
@media (max-width: 1024px) {
    .hero-features {
        position: relative;
        right: auto;
        width: 100%;
        max-width: 600px;
        margin: 2rem auto 0;
    }

    .areas-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

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

    nav ul.desktop-nav {
        display: none;
    }

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

    .hero-section {
        padding: 3rem 0;
    }

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

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

    .testimonials-slider {
        flex-direction: column;
    }

    .testimonial-controls {
        margin: 1rem 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 2rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}
