/*
Color Palette & Variables
- Main Color (Dark Navy): #2C3E50
- Accent Color (Orange): #F39C12
- Background: #FFFFFF (White), #ECF0F1 (Light Gray)
- Text Color: #34495E (Dark Gray)
- Hover/Icons: #5DADE2 (Light Blue)
*/

:root {
    --main-color: #2C3E50;
    --accent-color: #F39C12;
    --background-light-gray: #ECF0F1;
    --text-color: #34495E;
    --hover-color: #5DADE2;
    --white-color: #FFFFFF;
    --text-light: #85929E;
}

/* Global Styles & Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white-color);
    background-image: url("https://www.transparenttextures.com/patterns/light-paper-fibers.png");
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--main-color);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Navbar */
.navbar-custom {
    background-color: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: var(--white-color);
}

.navbar-custom .nav-link {
    transition: color 0.3s ease;
    font-weight: 500;
    margin: 0 5px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus,
.navbar-custom .nav-item.active .nav-link {
    color: var(--accent-color);
}

.navbar-custom .dropdown-menu {
    background-color: rgba(44, 62, 80, 0.95);
    border: none;
    border-radius: 0.5rem;
}

.navbar-custom .dropdown-item {
    color: var(--white-color);
    transition: all 0.2s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--main-color);
    transform: translateX(5px);
}

.navbar-custom.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background-color: rgba(44, 62, 80, 0.98);
}

/* Detailed Services Page */
.detailed-service-section .service-item {
    margin-bottom: 80px;
    align-items: center;
}

.detailed-service-section .service-img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.detailed-service-section .service-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.detailed-service-section .service-content .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.detailed-service-section .service-content .features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.detailed-service-section .service-content .features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.detailed-service-section .service-content .features-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    padding-top: 5px;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--background-light-gray);
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    display: block;
    text-decoration: none;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
    color: var(--white-color);
    padding: 40px 20px 20px;
    transition: all 0.4s ease;
    transform: translateY(30%);
    opacity: 0;
}

.portfolio-card:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-card .overlay h5 {
    color: var(--white-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-card .overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.swiper-container {
    padding-bottom: 50px !important;
}

.swiper-pagination-bullet {
    background-color: var(--text-light) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
    transform: scale(1.2);
}

/* Quote Page */
.quote-page-section {
    padding: 80px 0;
    background-color: var(--background-light-gray);
}
.quote-wrapper {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.quote-form-container {
    padding: 40px;
}
.quote-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
}
.quote-form-container .form-section-title {
    font-weight: 600;
    color: var(--main-color);
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--background-light-gray);
    padding-bottom: 8px;
}
.quote-info-sidebar {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 40px;
}
.quote-info-sidebar h3 {
    color: var(--white-color);
    font-size: 1.8rem;
}
.quote-info-sidebar .info-item {
    display: flex;
    margin-top: 30px;
}
.quote-info-sidebar .info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
}
.quote-info-sidebar .info-item h5 {
    color: var(--white-color);
    margin-bottom: 5px;
}
.quote-info-sidebar .info-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-light-gray);
}
.contact-info-card {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}
.contact-info-card h3 {
    color: var(--white-color);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
}
.contact-info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    width: 30px;
}
.contact-info-item h5 {
    color: var(--white-color);
    margin-bottom: 5px;
}
.contact-info-item p, .contact-info-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info-item a:hover {
    color: var(--white-color);
}
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-form-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-form-card h3 {
    margin-bottom: 25px;
}

/* Floating Action Bubbles */
.floating-bubbles {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.floating-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color) !important;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}
.floating-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.bubble-whatsapp {
    background-color: #25D366;
}
.bubble-phone {
    background-color: var(--hover-color);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--white-color);
}
.why-choose-us-section .img-fluid {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.feature-item {
    display: flex;
    margin-bottom: 25px;
}
.feature-item .icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 20px;
    width: 50px;
}
.feature-item h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.feature-item p {
    color: var(--text-light);
}

/* Stats Counter Section */
.stats-counter-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1487595493414-892344b41b39?q=80&w=1470&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 0;
    text-align: center;
    color: var(--white-color);
}
.counter-box h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}
.counter-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section - New Collage Style */
.hero-section {
    background-color: var(--background-light-gray);
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-section .row {
    overflow-x: hidden;
}

.hero-section .hero-text-container {
    z-index: 10;
}

.hero-section h1 {
    font-size: 3.2rem;
    color: var(--main-color);
    text-shadow: none;
    font-weight: 700;
}

.hero-section .lead {
    font-size: 1.2rem;
    color: var(--text-color);
}

.hero-image-container {
    position: relative;
    height: 450px;
    overflow-x: hidden;
}

.hero-image-container img {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: cover;
}

.hero-image-container img:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 5;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image-container .img-1 {
    width: 60%;
    height: 80%;
    left: 0;
    top: 10%;
    z-index: 3;
}

.hero-image-container .img-2 {
    width: 50%;
    height: 60%;
    right: 0;
    top: 0;
    z-index: 2;
}

.hero-image-container .img-3 {
    width: 45%;
    height: 55%;
    right: 15%;
    bottom: 0;
    z-index: 4;
}

/* Custom Button */
.btn-custom-accent {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--white-color);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-custom-accent:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
}

/* Services Section */
.services-section {
    background-color: var(--background-light-gray);
}
.service-card {
    background-color: var(--white-color);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-card .icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 25px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background-color: var(--main-color);
    transform: rotate(360deg);
}

.service-card .card-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--main-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}
.footer h5 {
    color: var(--white-color);
    margin-bottom: 20px;
}
.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--accent-color);
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar-custom.fixed-top {
        padding: 1rem 1rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-image-container {
        margin-top: 40px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .hero-image-container img {
        position: static;
        width: 100%;
        height: auto;
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1 !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
    }
}

@media (max-width: 991px) {
    .detailed-service-section .service-item {
        text-align: center;
    }
    .detailed-service-section .service-img {
        margin-bottom: 30px;
        height: 300px;
    }
    .detailed-service-section .service-content .features-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 95%;
    }
    .section-padding {
        padding: 60px 0;
    }
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-section .lead {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .footer {
        text-align: center;
    }
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .btn-custom-accent {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-switcher a {
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease-in-out;
}

.lang-switcher img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}

.lang-switcher a.active img {
    border-color: var(--accent-color);
}

.lang-switcher a:not(.active) {
    opacity: 0.6;
}

.lang-switcher a:hover {
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }

    .navbar-custom .nav-link {
        padding: 10px 0;
    }

    .lang-switcher {
        justify-content: center;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* --- ANTI-OVERFLOW HERO FIX --- */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}
.hero-section, .hero-section .container, .hero-section .row, .hero-image-container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.hero-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.hero-image-container img {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    display: block !important;
}
@media (max-width: 992px) {
    .container, .hero-section, .hero-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
} 