:root {
    --black: #000;
    --primary-color: #122232;
    --secondry-color: #87CEEB;
    --white: #fff;
}

body,
html {
    overflow-x: hidden;
}


/* --- Main Footer Container --- */
.site-footer {
    background-color: #312e2e;
    color: var(--text-light);
}

.rainbow-bar {
    height: 6px;
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
}

.footer-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0px 20px;
    background-color: var(--primary-color);
}

/* --- Logo Section --- */
.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    /* margin-top: 30px; */
    border-bottom: 1px solid var(--gold-accent);
}

.logo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-icon-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paint-brush-icon {
    height: 60px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-main-text {
    font-size: 2.8rem;
    line-height: 0.9;
    font-weight: 500;
    color: var(--secondry-color);
}

.logo-subtext {

    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--secondry-color);
    margin-top: 5px;
}

.logo-separator {
    width: 2px;
    height: 70px;
    background-color: var(--secondry-color);
}

.logo-service-text {
    text-align: left;
}

.service-main-text {
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--white);
    font-weight: 500;
}

.service-tagline-tamil {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    margin-top: 5px;
}

/* --- Main Content Section (4 Columns) --- */
.footer-main-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h3 {
    color: var(--secondry-color);
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    margin-left: 30px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 35px;
    background-color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondry-color);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list i {
    color: var(--white);
    margin-top: 5px;
}

.contact-list span {
    color: var(--white);
}

/* --- Bottom Copyright Section --- */
.footer-bottom {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--secondry-color);
    font-size: 0.9rem;
    width: 100%;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom i {
    color: var(--secondry-color);
}

.footer-bottom {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}



/* ==================================
   RESPONSIVE DESIGN (FOR MOBILE)
   ================================== */
@media (max-width: 992px) {
    .footer-main-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .logo-separator {
        width: 100px;
        height: 1px;
    }

    .footer-main-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

.footer-bottom {
    color: var(--white);
}

.our-works-slider img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.our-works-slider img:hover {
    transform: scale(1.05);
}



.footer-logo-section {
    background-color: var(--dark-bg);
    /* Use your footer background color */
    /* padding: 20px; */
    width: 100%;
    /* Max width for the footer section */
    box-sizing: border-box;
    /* Include padding in element's total width */
    color: var(--white);
    /* Default text color for the section */
}

.footer-logo-section .d-flex {
    display: flex;
    /* Makes items inside side-by-side */
    align-items: center;
    /* Vertically aligns items in the center */
    justify-content: center;
    /* Horizontally centers the group */
    flex-wrap: nowrap;
    /* Prevent wrapping by default */
}

.footer-logo-section h1 {
    color: var(--secondry-color);
    /* From your inline style */
    margin: 0;
    /* Remove default margin */
    font-size: 2.5em;
    /* Adjust as needed */
}

.footer-logo-section .vertical-border {
    border-right: 2px solid var(--white);
    /* From your inline style */
    margin-left: 20px;
    height: 50px;
    /* Adjust height based on content */
    margin-right: 20px;
    /* Added margin for spacing */
}

.footer-logo-section h5 {
    color: var(--white);
    /* From your inline style */
    margin: 0;
    /* Remove default margin */
    font-size: 1.2em;
    /* Adjust as needed */
    line-height: 1.4;
    text-align: left;
    /* Align text to left in desktop */
}

/* --- Mobile View Responsiveness --- */
@media (max-width: 768px) {
    .footer-logo-section .d-flex {
        flex-direction: column;
        /* Stack items vertically for mobile */
        align-items: center;
        /* Center items horizontally when stacked */
        text-align: center;
        /* Center text for stacked items */
    }

    .footer-logo-section h1 {
        margin-bottom: 10px;
        /* Space below the heading */
        font-size: 2em;
        /* Slightly smaller font for mobile */
    }

    .footer-logo-section .vertical-border {
        display: none;
        /* Hide the vertical border for mobile */
    }

    .footer-logo-section h5 {
        margin: 0;
        /* Remove previous margins */
        font-size: 1em;
        /* Smaller font for mobile content */
        text-align: center;
        /* Center the content text */
    }
}

@media (max-width: 480px) {
    .footer-logo-section h1 {
        font-size: 1.8em;
    }

    .footer-logo-section h5 {
        font-size: 0.9em;
    }
}