@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');

h1,h2,h3,h4,h5,h6{
   font-family: "Geologica", sans-serif;
}

:root{
    --primary-color:#c0862b;
    --secondary-color:#1b1b1b;
    --white-color:#fff;
}

/* Navigation Start */

/* Top Bar Styles */
.header-top {
    background-color: var(--primary-color);
    /* Image la irunthu edutha color */
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.header-top a:hover {
    color: #ddd;
}

.header-top .contact-info i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.header-top .contact-info span {
    margin-right: 20px;
}

.header-top .social-icons a {
    color: var(--primary-color);
    background-color: #e0e0e0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-left: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-top .social-icons a:hover {
    background-color: #fff;
}

/* Main Navigation Bar Styles */
.navbar-custom {
    background-color: var(--white-color);
    /* Image la irunthu edutha color */
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    /* Logo size adjust pannikonga */
}

/* Unga logo text ah use panna intha style */
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    line-height: 1;
}

.navbar-brand span {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    display: block;
    color: #ccc;
}


.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    /* padding: 25px 15px; */
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    font-family: "Geologica", sans-serif;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Active link ku keela orange line */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--primary-color);
    /* Orange color */
}

/* Dropdown menu style */
.dropdown-menu {
    background-color: #1c4b63;
    border: none;
    border-radius: 0;
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    background-color: #2a5f7a;
    color: white;
}

/* "Get Quote" button style */
.btn-quote {
    background-color: var(--primary-color) !important;
    /* Orange color */
    color: white;
    border-radius: 1px !important;
    padding: 7px 35px !important;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-quote:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Bootstrap default toggler icon visible ah varanumna */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Responsive settings */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px;
        text-align: center;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
        /* Mobile la orange line venamna */
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .btn-quote {
        width: 100%;
        margin-top: 10px;
    }

    /* Mobile la tagline a hide pannalam */
    .header-top .tagline {
        display: none;
    }
}


/* Banner Section Start */

/* --- Hero Banner Section --- */
.hero-section {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./assets/images/banner-img-1.png');
    /* Intha URL la unga image link ah maathikonga */
    background-size: cover;
    background-position: center center;
    height: 80vh !important;
    /* Screen height adjust pannikonga */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    background-color: rgba(78, 75, 75, 0.4);
    /* Semi-transparent black */
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    /* Helps the box wrap the content */
}

.hero-content .pre-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-content h1 span{
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 30px;
}

.btn-hero-cta {
    background-color: var(--primary-color) !important;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-hero-cta i {
    margin-right: 8px;
}

/* --- Features Cards Section (Overlapping) --- */
.features-section {
    position: relative;
    margin-top: -100px;
    /* Ithuthaan antha overlap effect */
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 10px;
    /* border-radius: 8px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Dark Card Style */
.feature-card.dark-card {
    background-color: var(--primary-color);
    color: white;
}

.feature-card.dark-card .icon-circle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.feature-card.dark-card p {
    color: #ddd;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: white;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-section {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-section {
        margin-top: 0;
        /* Mobile la overlap venam */
        padding: 30px 0;
    }

    .feature-card {
        margin-bottom: 20px;
    }
}



/* About Section Start */

/* --- About Section Styles --- */
.about-section {
    padding: 40px 0;
    background-color: #fdfdfd;
    /* Or white #fff */
}

.about-content .pre-title {
    color: var(--primary-color);
    /* Orange color */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-custom-orange {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-custom-orange:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* --- Image Composition Styles --- */
.image-composition {
    position: relative;
}

.experience-box {
    background: linear-gradient(45deg, #d14523, var(--primary-color));
    color: white;
    padding: 1px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 200px;
    /* Box size */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-box .number {
    font-size: 3rem;
    font-weight: 700;
}

.experience-box .text {
    font-size: 1rem;
    font-weight: 500;
}

.image-composition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .about-content h2 {
        font-size: 2rem;
    }

    .image-composition {
        margin-top: 40px;
    }
}


/* Center Banner and Count Section Start */

/* --- Hero Banner Section --- */
.showcase-banner {
    /* Formerly hero-banner-section */
    position: relative;
    background-image: linear-gradient(rgba(28, 75, 99, 0.8), rgba(28, 75, 99, 0.8)), url('./assets/images/3');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: white;
    text-align: center;
}

.showcase-content .tagline {
    /* Formerly pre-title */
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.showcase-content h1 {
    font-size: 3rem;
    font-weight: 700;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-content p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 20px auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-showcase {
    /* Formerly btn-hero-about */
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-showcase:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* --- Stats Counter Section --- */
.metrics-section {
    /* Formerly stats-section */
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.metrics-wrapper {
    /* Formerly stats-container */
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.metric-item {
    /* Formerly stat-box */
    text-align: center;
    padding: 10px 10px;
    border: 2px solid var(--primary-color);
}

.metric-item .number-counter {
    /* Formerly counter */
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-item .metric-title {
    /* Formerly stat-title */
    font-size: 1rem;
    color: #555;
    margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .showcase-content h1 {
        font-size: 2.2rem;
    }

    .metrics-section {
        margin-top: 0;
        padding: 40px 0;
        background-color: white;
    }

    .metrics-wrapper {
        box-shadow: none;
        padding: 0;
    }

    .metric-item {
        margin-bottom: 20px;
    }
}


/* Services Section Start */

/* --- Services Section General Style --- */
/* --- SECTION STYLING --- */
.services-section {
    padding: 30px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: #222;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 10px auto 0;
}

/* --- UPDATED & IMPROVED TAB STYLES --- */
.services-tabs .nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allows tabs to wrap to the next line */
    gap: 15px;
    /* Perfect spacing between tabs, both horizontally and vertically */
}

.services-tabs .nav-link {
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    color: #333;
    background-color: #e9ecef;
    transition: all 0.3s ease-in-out;
    text-align: center;
    flex-shrink: 0;
    /* Prevents buttons from shrinking */
}

/* REMOVED margin from .nav-link as gap on parent is better */

/* Hover effect for non-active tabs */
.services-tabs .nav-link:not(.active):hover {
    background-color: #d8dde2;
    transform: translateY(-3px);
}

/* Active tab style */
.services-tabs .nav-link.active {
    background-color: var(--primary-color) !important;
    /* Theme orange color */
    color: white !important;
    box-shadow: 0 5px 15px rgba(240, 108, 36, 0.4);
    transform: translateY(-3px);
}

/* --- Tab Content Pane Style --- */
.services-tabs .tab-content {
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.service-image:hover {
    transform: scale(1.05);
}

.service-content h3 {
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.service-content p {
    color: #555;
    line-height: 1.8;
}

.service-content h5 {
    font-weight: 600;
    color: #333;
    margin-top: 25px;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.benefits-list i {
    color: var(--primary-color);
    /* Theme orange color */
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    /* Fixed width for icon alignment */
}

/* --- UPDATED RESPONSIVE ADJUSTMENTS --- */

/* For Tablets (e.g., iPads) - This creates 2 or 3 columns depending on space */
@media (max-width: 991px) {
    .services-tabs .nav-item {
        flex-grow: 1; 
    }
    .services-tabs .nav-link {
        width: 100%;
    }
}
    
/* For Mobile Phones - This creates exactly 2 columns */
@media (max-width: 767px) {
    .services-tabs .nav-item {
        /* Each item takes up roughly 50% of the width, considering the gap */
        flex-basis: calc(50% - 8px); 
        flex-grow: 0; /* Prevents items from stretching */
    }
}

/* Gallery Section Start */

.gallery {
    position: relative;
    background: url("https://www.rakinteriors.com/images/rak-calicut.jpg") no-repeat center center/cover;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.795);
}

.section-title-one {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 16px;
    color: #ddd;
    margin-top: 5px;
}


.gallery-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Gallery Images */
.gallery img {
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.5);
}

/* Modal Image */
.gallery .popup-img {
    width: 100%;
    border-radius: 10px;
}

/* Remove default modal background */
.modal-content {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

/* Bootstrap overlay ah light ah reduce panna */
.modal-backdrop.show {
  opacity: 0.85; /* 1 ah vechha full black, 0.85 la little dim, oru 0.5 try panna clear ah irukkum */
}

/* Popup image styling */
.popup-img {
  display: block;
  margin: auto;
  border-radius: 10px;
  max-height: 90vh; /* screen la fit aagum */
  object-fit: contain;
}


/* Testimonials Section Start */

.testimonial-section {
    background: #f8f9fc;
    padding: 30px 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 10px;
}

.testimonial-header h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.testimonial-header h2 {
    font-weight: bold;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 15px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.client-info h6 {
    margin: 0;
    font-weight: bold;
    color: var(--primary-color);
}

.client-info span {
    display: block;
    font-size: 14px;
    color: #777;
}


/* extra Section */

.consult-banner {
    background: linear-gradient(90deg, #2c2c2c, #642f2f);
    color: #fff;
    padding: 50px 20px;
}

.consult-content {
    display: flex;
    /* Flexbox will manage alignment */
    align-items: center;
    /* Vertically center items */
    justify-content: center;
    /* Horizontally center content */
}

.consult-icon img {
    max-width: 180px;
    /* Slightly larger icon */
    width: 100%;
    height: auto;
    /* Ensure image scales proportionally */
    display: block;
    /* Remove extra space below image */
    margin-left: 200px;
}

@media(max-width:1399px) {
    .consult-icon img {
        margin-left: 100px;
    }
}

@media(max-width:991px) {
    .consult-icon img {
        margin-left: 10px;
    }
}

.consult-text h2 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 25px;
    text-transform: uppercase;
    /* Make heading slightly larger */
}

.consult-text p {
    font-size: 1.1em;
    /* Make paragraph text slightly larger */
    margin-bottom: 25px;
    /* More space before button */
    line-height: 1.6;
    /* Better readability */
}

.consult-btn {
    background-color: var(--primary-color);
    /* Red color */
    color: #fff;
    font-weight: bold;
    padding: 5px 25px !important;
    /* Slightly larger button */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    /* Smooth transition */
    display: inline-block;
    /* Allow padding and margin */
}

.consult-btn:hover {
    background-color: #d32f2f;
    /* Darker red on hover */
    color: #fff;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {

    .consult-content .col-md-4,
    .consult-content .col-md-8 {
        text-align: center;
        /* Center content on smaller screens */
    }

    .consult-text h2 {
        font-size: 1.8em;
        /* Adjust heading size for mobile */
    }

    .consult-text p {
        font-size: 1em;
        /* Adjust paragraph size for mobile */
    }

    .consult-icon {
        margin-bottom: 30px;
        /* Space between icon and text on mobile */
    }
}

/* Contact details & Form Section Start */

.contact-page {
    padding: 60px 0;
    animation: fadeIn 1s ease-in-out;
}

/* --- TOP CONTACT DETAILS STYLING (UPDATED) --- */

/* UPDATED: Removed flex properties. Bootstrap's .row class handles the layout now. */
.contact-details {
    margin-bottom: 30px;
}

.detail-box {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* NEW: Ensures all boxes have the same height in a row */
    /* REMOVED: flex-basis. Bootstrap's .col-* classes handle the width. */
}

.detail-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.detail-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.detail-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.detail-box p {
    font-size: 16px;
    color: #c7c7c7;
}

.detail-box p a{
    text-decoration: none;
    color: var(--white-color);
}

/* --- BOTTOM CONTACT FORM STYLING (No changes needed here) --- */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.form-left h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #1e1e1e;
    color: #f4f4f4;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c7c7c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-color), #ff8c00);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.form-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.form-right img:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* REMOVED: Old responsive media query for .contact-details, as Bootstrap handles it now */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0;
    }

    .form-container {
        padding: 15px;
    }
}


/* Footer Section Start */

.footer {
    background-color: #1c1c1c;
    color: #c7c7c7;
    padding-top: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    /* Adjusted min-width for 4 columns */
    position: relative;
    /* UPDATED: Needed for the gradient line positioning */
}

.footer-section.about .logo {
    max-width: 200px;
    margin-bottom: 20px;
    background-color: var(--white-color);
}

.footer-section.about p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- Social Icons with Border --- */
.socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #555;
    border-radius: 50%;
    color: #c7c7c7;
    margin-right: 10px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.socials a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.footer-section h2 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
}

.footer-section.links ul li a {
    color: #c7c7c7;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section.links ul li a:hover {
    color: var(--primary-color);
}

/* NEW: Gradient Separator Line */
.footer-section.links:nth-of-type(2)::after {
    content: '';
    position: absolute;
    top: 0%;
    right: -15px;
    /* Positions it in the middle of the 30px gap */
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #fff, var(--primary-color));
}


.footer-section.contact-form {
    background-color: #333333;
    padding: 15px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-info p a{
    text-decoration: none;
    color: var(--white-color);
}

.estimate {
    margin-top: 20px;
    border: 1px solid #555;
    padding: 20px;
    border-radius: 5px;
}

.estimate p {
    margin-bottom: 15px;
}

.btn {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e65c00;
}

/* UPDATED: Footer Bottom for Centered Copyright */
.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    gap: 15px;
}

.footer-bottom p {
    margin: 5px 10px;
    text-align: center;
}

.footer-bottom .copyright a {
    font-weight: 600;
    /* Makes the company name stand out */
    color: #ffffff;
}

.footer-bottom a {
    color: #c7c7c7;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-section.links ul {
    list-style: none;
    /* Removes default bullet points */
    padding-left: 0;
    /* Removes default padding */
}

.footer-section.links ul li::before {
    content: '\f105';
    /* This is the Font Awesome chevron-right icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    /* Required for solid icons */
    color: var(--primary-color);
    /* Your theme's accent color */
    margin-right: 10px;
    transition: margin-left 0.3s ease-in-out;
}

/* Optional: Cool hover effect for the icon */
.footer-section.links ul li:hover::before {
    margin-left: 5px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: start;
        text-align: start;
    }

    .footer-section {
        margin-bottom: 30px;
        min-width: 280px;
        /* Revert min-width */
    }

    .footer-section.about .logo {
        margin-left: auto;
        margin-right: auto;
    }

    /* NEW: Hide separator line on smaller screens */
    .footer-section.links:nth-of-type(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom p {
        margin-bottom: 10px;
    }

    /* NEW: Puts the copyright at the top on mobile */
    .footer-bottom .copyright {
        order: -1;
    }
}