/* style.css - Complete CSS for Red Bricks Construction */

/* ===== BASE STYLES ===== */
:root {
    --primary-red: #c62828;
    --primary-dark-red: #8e0000;
    --primary-gray: #333333;
    --secondary-gray: #555555;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 20px 0px 20px 0px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-gray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-gray);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-gray);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 0;
    border-radius: 3px 3px 0 0;
}

.nav-btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 20px 0px 20px 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
}

.nav-btn:hover {
    background-color: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-gray);
    background: none;
    border: none;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/slider/1.webp');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/slider/2.webp');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/slider/3.webp');
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-content .btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px 0px 20px 0px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-prev, .slider-next {
    background: rgba(198, 40, 40, 0.8);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.dot.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

/* ===== ABOUT SECTION ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin-bottom: 25px;
}

.about-text strong {
    color: var(--primary-red);
}

.about-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-gray);
}

.about-feature i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 600;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat p {
    color: var(--secondary-gray);
    font-weight: 600;
    font-size: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(198, 40, 40, 0.9);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-gray);
}

.feature-card p {
    color: var(--secondary-gray);
    line-height: 1.6;
}

/* ===== SERVICES PREVIEW ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-gray);
}

.service-card p {
    color: var(--secondary-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-dark-red);
    gap: 10px;
}

/* ===== TRUSTED PARTNERS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
}

/* Logo Card */
.partner-logo {
    height: 100px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

/* Logo Image */
.partner-logo img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Hover Effect */
.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--primary-red);
}

/* ================= FOOTER ================= */
.footer {
    background: #2f2f2f;
    color: #fff;
    padding-top: 60px;
}

/* ===== FOOTER GRID ===== */
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: flex-start;
}

/* ===== FOOTER ABOUT ===== */
.footer-logo-img {
    width: 120px;
    margin-bottom: 12px;
}

.footer-logo h2 {
    color: #e63946;
    font-size: 1.9rem;
    margin: 0;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
}

/* ===== QR SECTION ===== */
.qr-code {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 25px;
    background: rgba(255,255,255,0.08);
    padding: 15px;
    border-radius: 8px;
}

.qr-placeholder {
    width: 110px;
    height: 110px;
    background: #fff;
    color: #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qr-placeholder i {
    font-size: 2.8rem;
    color: #e63946;
}

.qr-placeholder p {
    font-size: 0.8rem;
    margin-top: 5px;
}

.qr-info p {
    font-size: 0.9rem;
    color: #ddd;
}

/* ===== FOOTER TITLES ===== */
.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #e63946;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ===== QUICK LINKS ===== */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #e63946;
    padding-left: 6px;
}
.footer-qr h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-qr h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--primary-red);
    position: absolute;
    bottom: 0;
    left: 0;
}

.qr-box {
    margin-top: 15px;
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #fff;
    margin: 0 auto 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
}

.footer-qr p {
    font-size: 0.9rem;
    color: #ccc;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-info i {
    color: #e63946;
    font-size: 1.1rem;
    margin-top: 5px;
}

.contact-info strong {
    font-size: 0.9rem;
    display: block;
}

.contact-info p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 2px 0;
}
/* QR near Quick Links */
.footer-qr-small {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 8px;
}

.footer-qr-small .qr-placeholder {
    width: 70px;
    height: 70px;
}

.footer-qr-small .qr-placeholder i {
    font-size: 2rem;
}

.footer-qr-small .qr-info p {
    font-size: 0.85rem;
    color: #ccc;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    margin-top: 40px;
    background: rgba(0,0,0,0.3);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qr-code {
        flex-direction: column;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info li {
        justify-content: center;
    }
}
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-qr h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .banner-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
        width: 100%;
        display: block;
    }
    
    .nav-link.active::after {
        width: 0;
    }
    
    .nav-btn {
        margin: 15px auto;
        width: 80%;
        display: block;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .banner-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat {
        min-width: 150px;
    }
    
    .qr-code {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .banner-slider {
        height: 350px;
        margin-top: 60px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .slide-content .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .about-features {
        gap: 10px;
    }
    
    .about-feature {
        gap: 10px;
    }
    
    .about-feature span {
        font-size: 1rem;
    }
    
    .feature-card, .service-card {
        padding: 25px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        height: 80px;
        font-size: 1rem;
        padding: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding-top: 40px;
    }
    
    .footer-logo-img {
        width: 100px;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .qr-placeholder i {
        font-size: 2.5rem;
    }
}

@media (max-width: 400px) {
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}


/* ===== GOOGLE REVIEWS ===== */
.google-reviews {
    background: #ffffff;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.google-rating img {
    width: 90px;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
}

.stars i {
    color: #fbbc04;
    font-size: 1.2rem;
}

.review-count {
    color: #666;
    font-size: 0.95rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.review-card h4 {
    margin: 0;
    font-size: 1rem;
}

.review-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.review-btn {
    text-align: center;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}



/* ================================================services=========================== */
/* style.css - Services Page Additions */

/* ===== SERVICES HERO ===== */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('assets/img/bg/3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 140px 0 80px;
    margin-top: 70px;
    position: relative;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.page-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.3s both;
}

/* ===== MAIN SERVICES ===== */
.main-services {
    background-color: var(--white);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-gray);
    position: relative;
    padding-bottom: 15px;
}

.service-detail-content h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 0;
}

.service-detail.reverse .service-detail-content h2::after {
    left: auto;
    right: 0;
}

.service-detail-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--secondary-gray);
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(10px);
    color: var(--primary-gray);
}

.service-features i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.image-placeholder.service-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark-red));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.image-placeholder.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
}

.image-placeholder.service-image:hover::before {
    animation: shimmer 1.5s ease;
}

.image-placeholder.service-image:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(198, 40, 40, 0.3);
}

.image-placeholder.service-image i {
    font-size: 6rem;
    margin-bottom: 25px;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.image-placeholder.service-image:hover i {
    transform: scale(1.1) rotate(5deg);
}

.image-placeholder.service-image p {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ===== CONSTRUCTION PACKAGES ===== */
.packages {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.package-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.package-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 3px solid var(--primary-red);
    transform: scale(1.05);
    z-index: 1;
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(198, 40, 40, 0.3);
}

.package-header {
    background: linear-gradient(135deg, var(--primary-gray), var(--secondary-gray));
    color: var(--white);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.package-header:hover::before {
    opacity: 1;
}

.package-header h3 {
    font-size: 1.9rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.package-size {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.package-body {
    padding: 35px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-body p {
    color: var(--secondary-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    flex-grow: 1;
}

.package-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.package-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary-gray);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.package-features li:hover {
    color: var(--primary-gray);
    transform: translateX(5px);
}

.package-features i {
    color: var(--primary-red);
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Package Price Section (Optional Addition) */
.package-price {
    padding: 25px;
    background-color: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    text-align: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.price-note {
    color: var(--secondary-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.package-cta {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-cta:hover {
    background-color: var(--primary-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.3);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-detail-content h2 {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .service-detail-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-detail.reverse .service-detail-content h2::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .image-placeholder.service-image {
        height: 300px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 50px;
        margin-top: 60px;
    }
    
    .page-title {
        font-size: 2.3rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .service-detail {
        margin-bottom: 70px;
        gap: 35px;
    }
    
    .service-detail-content h2 {
        font-size: 2rem;
    }
    
    .service-detail-content p {
        font-size: 1.05rem;
    }
    
    .service-features li {
        font-size: 1rem;
    }
    
    .image-placeholder.service-image {
        height: 250px;
    }
    
    .image-placeholder.service-image i {
        font-size: 5rem;
        margin-bottom: 20px;
    }
    
    .image-placeholder.service-image p {
        font-size: 1.5rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .package-card.featured {
        order: -1;
    }
    
    .package-badge {
        top: 15px;
        right: -30px;
        padding: 6px 30px;
        font-size: 0.8rem;
    }
    
    .package-header {
        padding: 30px 20px;
    }
    
    .package-header h3 {
        font-size: 1.7rem;
    }
    
    .package-size {
        font-size: 1.2rem;
    }
    
    .package-body {
        padding: 30px 20px;
    }
    
    .package-body p {
        font-size: 1rem;
    }
    
    .package-features li {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .service-detail {
        margin-bottom: 60px;
        gap: 30px;
    }
    
    .service-detail-content h2 {
        font-size: 1.8rem;
    }
    
    .service-detail-content p {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .service-features i {
        font-size: 1.1rem;
    }
    
    .image-placeholder.service-image {
        height: 220px;
    }
    
    .image-placeholder.service-image i {
        font-size: 4rem;
        margin-bottom: 15px;
    }
    
    .image-placeholder.service-image p {
        font-size: 1.3rem;
    }
    
    .packages-grid {
        gap: 25px;
    }
    
    .package-header {
        padding: 25px 15px;
    }
    
    .package-header h3 {
        font-size: 1.5rem;
    }
    
    .package-size {
        font-size: 1.1rem;
    }
    
    .package-body {
        padding: 25px 15px;
    }
    
    .package-body p {
        font-size: 0.95rem;
    }
    
    .package-features li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .package-badge {
        top: 12px;
        right: -25px;
        padding: 5px 25px;
        font-size: 0.7rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .services-hero {
        background: none !important;
        color: var(--primary-gray) !important;
        padding: 50px 0 20px !important;
        margin-top: 0 !important;
    }
    
    .service-detail {
        break-inside: avoid;
        margin-bottom: 50px !important;
    }
    
    .image-placeholder.service-image {
        background: var(--light-gray) !important;
        color: var(--primary-gray) !important;
        box-shadow: none !important;
        border: 1px solid var(--medium-gray) !important;
    }
    
    .package-card {
        box-shadow: none !important;
        border: 1px solid var(--medium-gray) !important;
        break-inside: avoid;
    }
    
    .package-card.featured {
        border: 2px solid var(--primary-gray) !important;
    }
}
/* ===== GALLERY ===== */
.gallery {
    background: #f8f9fa;
    padding: 60px 0;
    /* max-width: 1200px; */
}

.gallery-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Tablet */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .gallery-item {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 160px;
    }
}
/* ===== GALLERY SECTION ===== */
.gallery {
    background: #f8f9fa;
    padding: 60px 20px;
}

.gallery-item {
    max-width: 1200px;
    margin: 0 auto;   /* 👈 CENTER */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Tablet */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .gallery-item {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 160px;
    }
}
/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* Close */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Arrows */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
    }
}

/* ===== MAIN SERVICES ===== */
.main-services {
    background: #fff;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

/* Reverse layout */
.service-detail.reverse {
    direction: rtl;
}
.service-detail.reverse > * {
    direction: ltr;
}

/* ===== CONTENT ===== */
.service-detail-content h2 {
    font-size: 2.4rem;
    color: var(--primary-gray);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.service-detail-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--primary-red);
}

.service-detail.reverse .service-detail-content h2::after {
    left: auto;
    right: 455px;
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin-bottom: 25px;
}

/* ===== FEATURES LIST ===== */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--secondary-gray);
}

.service-features i {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-top: 3px;
}

/* ===== IMAGE CARD ===== */
.service-detail-image {
    display: flex;
    justify-content: center;
}

.image-placeholder.service-image {
    width: 100%;
    max-width: 520px;
    height: 340px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.image-placeholder.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay text */
.image-placeholder.service-image p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
    .image-placeholder.service-image:hover {
        transform: translateY(-8px);
        transition: 0.3s ease;
    }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
        text-align: center;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-detail-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-detail.reverse .service-detail-content h2::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-features {
        max-width: 450px;
        margin: 0 auto;
    }

    .service-features li {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .service-detail-content h2 {
        font-size: 1.9rem;
    }

    .service-detail-content p {
        font-size: 0.95rem;
    }

    .image-placeholder.service-image {
        height: 240px;
    }

    .image-placeholder.service-image p {
        font-size: 1.2rem;
    }
}




/* ==================contact============== */
/* style.css - Contact Page Additions */

/* ===== CONTACT HERO ===== */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 140px 0 80px;
    margin-top: 70px;
    position: relative;
}

.contact-hero .page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.contact-hero .page-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.3s both;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-gray);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 0;
}

.contact-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    background-color: #f8f9fa;
    transform: translateX(10px);
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: var(--white);
}

.contact-text h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-gray);
}

.contact-text p {
    color: var(--secondary-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.quality-commitment {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.05), rgba(198, 40, 40, 0.1));
    border-radius: 12px;
    padding: 30px;
    border-left: 5px solid var(--primary-red);
    margin-top: 40px;
}

.quality-commitment h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-gray);
}

.quality-commitment p {
    color: var(--secondary-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== CONTACT FORM ===== */
.form {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid var(--medium-gray);
}

.form h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-gray);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.form h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#form {
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-group {
    padding: 0 15px;
    margin-bottom: 25px;
    width: 100%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-12 {
    width: 100%;
}

.col-lg-2 {
    width: 16.6667%;
}

.box {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-gray);
    background-color: var(--white);
}

.box:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.box::placeholder {
    color: #999;
}

select.box {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c62828' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

textarea.box {
    min-height: 150px;
    resize: vertical;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

/* .captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
} */

/* .captcha-container img {
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    height: 50px;
    padding: 5px;
    background-color: var(--light-gray);
} */

.form .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
}

.form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(198, 40, 40, 0.3);
}

.form .btn-primary:active {
    transform: translateY(-1px);
}

/* .captcha-note {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
} */

/* Form validation styles */
.box.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.box.valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    display: none;
}

/* ===== SERVICE AREAS ===== */
.service-areas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.area-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-dark-red));
    z-index: 2;
}

.area-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark-red));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.area-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.area-card:hover::after {
    opacity: 1;
}

.area-card:hover .area-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.area-card:hover .area-icon i {
    color: var(--white);
}

.area-card:hover h3,
.area-card:hover p {
    color: var(--white);
}

.area-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.area-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.area-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-gray);
    transition: all 0.4s ease;
}

.area-card p {
    color: var(--secondary-gray);
    line-height: 1.7;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

/* ===== GOOGLE MAP ===== */
.map {
    width: 100%;
    height: 500px;
    margin-top: 80px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .contact-container {
        gap: 40px;
    }
    
    .form {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }
    
    .contact-hero .page-title {
        font-size: 2.8rem;
    }
    
    .contact-hero .page-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-info h2 {
        text-align: center;
        font-size: 2.4rem;
    }
    
    .contact-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-description {
        text-align: center;
    }
    
    .contact-item {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .quality-commitment {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .form h2 {
        font-size: 2.2rem;
    }
    
    .col-lg-6 {
        width: 100%;
    }
    
    .col-lg-2 {
        width: 30%;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .map {
        height: 400px;
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 50px;
        margin-top: 60px;
    }
    
    .contact-hero .page-title {
        font-size: 2.3rem;
    }
    
    .contact-hero .page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1.05rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .contact-text h3 {
        font-size: 1.3rem;
    }
    
    .contact-text p {
        font-size: 1.05rem;
    }
    
    .quality-commitment {
        padding: 25px;
    }
    
    .quality-commitment h3 {
        font-size: 1.6rem;
    }
    
    .quality-commitment p {
        font-size: 1.05rem;
    }
    
    .form {
        padding: 25px;
    }
    
    .form h2 {
        font-size: 1.9rem;
        margin-bottom: 25px;
    }
    
    .box {
        padding: 14px 18px;
        font-size: 1.05rem;
    }
    
    .form .btn-primary {
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .col-lg-2 {
        width: 100%;
        text-align: center;
    }
    
    .captcha-container img {
        height: 45px;
        margin: 0 auto;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .area-card {
        padding: 35px 25px;
    }
    
    .area-icon {
        width: 80px;
        height: 80px;
    }
    
    .area-icon i {
        font-size: 2.2rem;
    }
    
    .area-card h3 {
        font-size: 1.6rem;
    }
    
    .area-card p {
        font-size: 1.05rem;
    }
    
    .map {
        height: 350px;
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 80px 0 40px;
    }
    
    .contact-hero .page-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .contact-hero .page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
    
    .contact-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-text p {
        font-size: 1rem;
    }
    
    .quality-commitment {
        padding: 20px;
    }
    
    .quality-commitment h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .quality-commitment p {
        font-size: 1rem;
    }
    
    .form {
        padding: 20px 15px;
    }
    
    .form h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .box {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .form .btn-primary {
        padding: 14px;
        font-size: 1rem;
    }
    
    .areas-grid {
        gap: 25px;
    }
    
    .area-card {
        padding: 30px 20px;
    }
    
    .area-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .area-icon i {
        font-size: 2rem;
    }
    
    .area-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .area-card p {
        font-size: 1rem;
    }
    
    .map {
        height: 300px;
        margin-top: 40px;
    }
}

@media (max-width: 400px) {
    .contact-hero .page-title {
        font-size: 1.8rem;
    }
    
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .form h2 {
        font-size: 1.5rem;
    }
    
    .captcha-container img {
        height: 40px;
    }
    
    .map {
        height: 250px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .contact-hero {
        background: none !important;
        color: var(--primary-gray) !important;
        padding: 50px 0 20px !important;
        margin-top: 0 !important;
    }
    
    .form {
        box-shadow: none !important;
        border: 1px solid var(--medium-gray) !important;
    }
    
    .contact-item {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--medium-gray) !important;
    }
    
    .area-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--medium-gray) !important;
    }
    
    .map {
        display: none;
    }
}
/* Mobile view fix */
@media (max-width: 576px) {
  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;       /* horizontal center */
    justify-content: center;   /* vertical center */
    text-align: center;
    padding: 20px 15px;
    margin-bottom: 20px;       /* reduce huge gap */
  }

  .contact-item .icon,
  .contact-item .contact-icon {
    margin-bottom: 10px;
  }

  .contact-item h4,
  .contact-item h5 {
    margin: 5px 0;
  }

  .contact-item p,
  .contact-item a {
    margin: 0;
    font-size: 14px;
  }
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact ul li i {
  color: #e53935;
  font-size: 16px;
  margin-top: 4px;
}

@media (max-width: 576px) {
  .footer-contact {
    text-align: center;
  }

  .footer-contact ul li {
    flex-direction: column;     /* stack icon & text */
    align-items: center;        /* center everything */
    gap: 6px;
  }

  .footer-contact ul li i {
    margin-top: 0;
  }

  .footer-contact p,
  .footer-contact strong {
    text-align: center;
    display: block;
  }
}
