﻿/*------------------------------------------------------------------
  Theme Name:     RK Autocorp - Red/Black/White Theme
  Based on:       Dustech Template Structure
-------------------------------------------------------------------*/

/*--------------------------- Fonts -----------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/*--------------------------- Reset & Base -----------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    background: #ffffff;
    color: #777777;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/*--------------------------- Theme Variables -----------------------------*/
:root {
    --red: #cc0000;
    --red-dark: #a00000;
    --black: #111111;
    --black-light: #222222;
    --white: #ffffff;
    --gray: #888888;
    --light-gray: #f5f5f5;
    --shadow: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 16px 48px rgba(204,0,0,0.25);
    --radius: 10px;
    --transition: all 0.3s ease;
}
/* ============================================================
   GET A QUOTE BUTTON – WITH PULSE ANIMATION
   ============================================================ */

/* ----- Main Button ----- */
.quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 1;
}

/* ----- Hover Effect ----- */
.quote-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.4);
    color: var(--white);
}

/* ----- Pulse Animation Ring ----- */
.quote-btn .btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    animation: pulseRing 2s ease-out infinite;
    z-index: -1;
}

/* ----- Second Pulse Ring (delayed) ----- */
.quote-btn .btn-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50px;
    border: 2px solid rgba(204, 0, 0, 0.3);
    animation: pulseRing 2s ease-out infinite 1s;
}

/* ----- Pulse Animation Keyframes ----- */
@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* ----- Icon Animation (paper plane) ----- */
.quote-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.quote-btn:hover i {
    transform: translateX(4px) rotate(-10deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .quote-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .quote-btn i {
        font-size: 13px;
    }
    
    .quote-btn .btn-pulse {
        display: none; /* Hide pulse on mobile for cleaner look */
    }
}

@media (max-width: 480px) {
    .quote-btn {
        padding: 6px 12px;
        font-size: 10px;
        gap: 4px;
    }
    
    .quote-btn i {
        font-size: 11px;
    }
}

/*--------------------------- Buttons -----------------------------*/
.theme-btn {
    background: var(--red);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 17px 30px;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}
.theme-btn:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204,0,0,0.35);
}
.theme-btn-s2 {
    background: rgba(255,255,255,0.9);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    padding: 17px 30px;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}
.theme-btn-s2:hover {
    background: var(--white);
    color: var(--red);
}
.theme-btn-s3 {
    background: transparent;
    color: #3a3838;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 30px;
    border: 2px solid var(--red);
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}
.theme-btn-s3:hover {
    background: var(--red);
    color: var(--white);
}

/*--------------------------- Section Titles -----------------------------*/
.section-title-s2 span,
.section-title-s3 span,
.section-title-s4 span,
.section-title-s5 span {
    font-size: 25px;
    font-weight: 500;
    color: var(--red);
    text-transform: capitalize;
    display: block;
}
.section-title-s2 h2,
.section-title-s3 h2,
.section-title-s4 h2,
.section-title-s5 h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--black);
    margin: 0.1em 0 0;
}
.section-title-s2 p,
.section-title-s3 p,
.section-title-s4 p,
.section-title-s5 p {
    color: var(--gray);
    margin: 0;
}
.section-title-s3 { text-align: center; }
.section-title-s3 h2 { color: var(--white); }
.section-title-s3 p { color: #aaa; }

.section-padding { padding: 100px 0; }
@media (max-width:991px) { .section-padding { padding: 80px 0; } }
@media (max-width:767px) { .section-padding { padding: 60px 0; } }

/*--------------------------- HEADER / TOPBAR -----------------------------*/
.topbar {
    background: var(--black);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .social-icons { float: left; }
.topbar .social-icons ul { overflow: hidden; }
.topbar .social-icons ul li { float: left; }
.topbar .social-icons ul li + li { margin-left: 15px; }
.topbar .social-icons ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.topbar .social-icons ul a:hover { color: var(--red); }

.topbar .contact-info { float: right; }
.topbar .contact-info ul { overflow: hidden; }
.topbar .contact-info ul li {
    float: left;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.topbar .contact-info ul li + li { margin-left: 25px; }
.topbar .contact-info ul i {
    color: var(--red);
    margin-right: 5px;
}

/*--------------------------- Navigation -----------------------------*/
.navigation {
    background: var(--black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--red);
}
.navbar-header { float: left; }
.navbar-brand {
    display: block;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
}
.navbar-brand span { color: var(--red); }
.navbar-brand small {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 2px;
}
.navbar-nav {
    float: left;
    margin-left: 250px;
    padding-top: 20px;
}
.navbar-nav > li { float: left; position: relative; }
.navbar-nav > li > a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    text-transform: uppercase;
    transition: var(--transition);
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    color: var(--white);
}
.navbar-nav > li > a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}
.navbar-nav > li > a:hover::after,
.navbar-nav > li.active > a::after {
    width: 100%;
}

/* ============================================================
   SEARCH OVERLAY - Google Search
   ============================================================ */

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 90%;
    max-width: 750px;
    padding: 40px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.search-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Search Form */
.search-form {
    display: flex;
    border-bottom: 3px solid #cc0000;
    padding-bottom: 5px;
    background: transparent;
}

.search-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    padding: 15px 10px 15px 0;
    outline: none;
    letter-spacing: 0.5px;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.search-form button {
    background: transparent;
    border: none;
    color: #cc0000;
    font-size: 24px;
    cursor: pointer;
    padding: 15px 10px;
    transition: all 0.3s ease;
}

.search-form button:hover {
    color: #ff3333;
    transform: scale(1.1);
}

/* Search Suggestions */
.search-suggestions {
    margin-top: 30px;
}

.search-suggestions p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tags span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tags span:hover {
    background: rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Search Engines */
.search-engines {
    margin-top: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-engines span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-right: 5px;
}

.engine-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.engine-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.engine-btn.active {
    background: rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
    color: #ffffff;
}

.engine-btn i {
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE - Search Overlay
   ============================================================ */

@media (max-width: 768px) {
    .search-overlay-inner {
        padding: 20px;
        width: 95%;
    }

    .search-form input {
        font-size: 18px;
        padding: 12px 10px 12px 0;
    }

    .search-form button {
        font-size: 18px;
        padding: 12px 8px;
    }

    .search-close {
        top: -40px;
        font-size: 24px;
    }

    .suggestion-tags span {
        font-size: 12px;
        padding: 6px 14px;
    }

    .search-engines {
        gap: 8px;
    }

    .engine-btn {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .search-form input {
        font-size: 16px;
    }

    .search-close {
        top: -35px;
        font-size: 20px;
    }

    .suggestion-tags span {
        font-size: 11px;
        padding: 5px 12px;
    }

    .search-suggestions p {
        font-size: 12px;
    }

    .engine-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Search & Contact in header */
.search-contact { float: right; display: flex; align-items: center; gap: 20px; padding-top: 20px;}
.search-contact .open-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}
.search-contact .call {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}
.search-contact .call i { font-size: 30px; color: var(--red); }
.search-contact .call p { font-size: 12px; margin: 0; color: var(--gray); }
.search-contact .call h5 { font-size: 16px; margin: 0; color: var(--white); }

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    float: right;
    margin-top: 5px;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
}
@media (max-width: 991px) {
    .navbar-nav { display: none; width: 100%; flex-direction: column; float: none; margin-left: 0; }
    .navbar-nav.open { display: flex; }
    .navbar-nav > li { float: none; }
    .hamburger { display: flex; }
    .search-contact .call { display: none; }
    .topbar .social-icons, .topbar .contact-info { float: none; text-align: center; }
    .topbar .contact-info ul li { float: none; display: inline-block; margin: 0 10px; }
}

/*--------------------------- HERO SLIDER (Swiper) -----------------------------*/
.hero-slider {
    width: 100%;
    height: 700px;
    position: relative;
    background: var(--black);
}
@media (max-width:991px) { .hero-slider { height: 550px; } }
@media (max-width:767px) { .hero-slider { height: 450px; } }

.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.swiper-slide .container { position: relative; z-index: 2; }
.slide-title h2 {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 0.3em;
}
.slide-title h2 span { color: var(--red); }
@media (max-width:991px) { .slide-title h2 { font-size: 40px; } }
@media (max-width:767px) { .slide-title h2 { font-size: 28px; } }

.slide-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin-bottom: 30px;
}
@media (max-width:767px) { .slide-text p { font-size: 15px; } }

.slide-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.swiper-pagination-bullet-active { background: var(--red) !important; }
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--red);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 20px; }

/*--------------------------- Features Section (3 boxes) -----------------------------*/
.features-section {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.feature-grids { display: flex; gap: 0; }
.feature-grids .grid {
    flex: 1;
    background: var(--black);
    padding: 35px 25px 35px 80px;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.feature-grids .grid:last-child { border-right: 0; }
.feature-grids .grid .icon {
    position: absolute;
    left: 25px;
    top: 35px;
    font-size: 40px;
    color: var(--red);
}
.feature-grids .grid .count {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    display: block;
}
.feature-grids .grid h4 {
    font-size: 18px;
    color: var(--white);
    margin: 5px 0 0;
}
@media (max-width:991px) {
    .features-section { margin-top: 30px; }
    .feature-grids { flex-wrap: wrap; }
    .feature-grids .grid { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .feature-grids .grid:nth-child(2) { border-right: 0; }
}
@media (max-width:600px) {
    .feature-grids .grid { flex: 0 0 100%; padding-left: 70px; }
}

/*--------------------------- Service Section S2 -----------------------------*/
.service-section-s2 { background: var(--white); }
.service-section-s2 .row:first-child { margin-bottom: 50px; }
.service-section-s2 .title-text {
    text-align: right;
    padding-top: 20px;
}
@media (max-width:991px) {
    .service-section-s2 .title-text { text-align: left; padding-top: 0; }
}
.service-grids {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-grids .grid {
    background: var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.service-grids .grid:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-grids .grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--black);
}
.service-grids .grid h4 {
    font-size: 18px;
    padding: 20px 20px 10px;
    margin: 0;
}
.service-grids .grid h4 a { color: var(--black); }
.service-grids .grid h4 a:hover { color: var(--red); }
.service-grids .grid p {
    padding: 0 20px 15px;
    font-size: 15px;
    color: var(--gray);
    margin: 0;
}
.service-grids .grid .read-more {
    display: block;
    padding: 0 20px 20px;
    font-weight: 600;
    color: var(--red);
}
.service-grids .grid .read-more:hover { color: var(--red-dark); }
@media (max-width:991px) { .service-grids { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:600px) { .service-grids { grid-template-columns: 1fr; } }

/*--------------------------- Why Choose Us -----------------------------*/
.why-choose-section {
    background: var(--black);
    padding-bottom: 70px;
}
.why-choose-grids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.why-choose-grids .grid {
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 35px 25px;
    transition: var(--transition);
}
.why-choose-grids .grid:hover { border-color: var(--red); }
.why-choose-grids .grid i {
    font-size: 50px;
    color: var(--red);
    display: block;
    margin-bottom: 15px;
}
.why-choose-grids .grid h3 {
    font-size: 18px;
    color: var(--white);
    margin: 0 0 10px;
}
.why-choose-grids .grid p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}
@media (max-width:991px) { .why-choose-grids { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .why-choose-grids { grid-template-columns: 1fr; } }

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--light-gray);
    padding: 100px 0;
    position: relative;
}

.testimonials-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -15px;
}

/* Left Column - Image */
.testimonials-section .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

.testimonial-left-img-holder img {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 500px;
    object-fit: cover;
}

/* Right Column - Content */
.testimonials-section .col-md-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding: 0 15px;
}

/* Section Title */
.section-title-s4 {
    margin-bottom: 30px;
}

.section-title-s4 span {
    font-size: 15px;
    font-weight: 500;
    color: var(--red);
    text-transform: capitalize;
    display: block;
}

.section-title-s4 h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--black);
    margin: 0.1em 0 0;
}

/* Testimonial Grids */
.testimonial-grids .grid .quote i {
    font-size: 50px;
    color: var(--red);
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

.testimonial-grids .grid .quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Client Info */
.testimonial-grids .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-grids .client-info .img-holder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--red);
    flex-shrink: 0;
}

.testimonial-grids .client-info .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-grids .client-info .details h5 {
    font-size: 16px;
    margin: 0;
    color: var(--black);
    font-weight: 600;
}

.testimonial-grids .client-info .details p {
    font-size: 13px;
    margin: 0;
    color: var(--gray);
}

/* Owl Carousel Dots */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--red) !important;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .testimonials-section .col-md-4,
    .testimonials-section .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonials-section .col-md-4 {
        margin-bottom: 40px;
    }

    .testimonial-left-img-holder img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }

    .section-title-s4 h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-grids .grid .quote p {
        font-size: 16px;
    }

    .section-title-s4 h2 {
        font-size: 26px;
    }

    .testimonial-left-img-holder img {
        max-height: 200px;
    }
}

/*--------------------------- Featured Projects (Slider) -----------------------------*/
.featured-project-section-s2 { padding-bottom: 0; background: var(--white); }
.project-grids .grid {
    position: relative;
    overflow: hidden;
    height: 400px;
}
.project-grids .grid .img-holder {
    width: 100%;
    height: 100%;
    background: var(--black);
}
.project-grids .grid .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-grids .grid .overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.85);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}
.project-grids .grid:hover .overlay { opacity: 1; }
.project-grids .grid .overlay .count {
    font-size: 40px;
    font-weight: 700;
    color: var(--red);
}
.project-grids .grid .overlay h3 {
    font-size: 22px;
    color: var(--white);
    margin: 10px 0;
}
.project-grids .grid .overlay p {
    color: #ccc;
    margin-bottom: 20px;
}
.project-grids .grid .overlay .theme-btn { padding: 10px 25px; font-size: 13px; }

/*--------------------------- Partners -----------------------------*/
/* ===== PARTNERS SECTION - MARQUEE STYLE ===== */
.partners-section-marquee {
    padding: 80px 0 60px;
    background: var(--white);
    overflow: hidden;
}

/* Marquee Wrapper */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--black);
    padding: 25px 0;
    margin-top: 40px;
    position: relative;
    border-top: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
}

/* Add gradient fade effect on edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--black), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--black), transparent);
}

/* Track - scrolling animation */
.marquee-track {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Partner Item */
.partner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-item:hover {
    background: rgba(204, 0, 0, 0.15);
    border-color: var(--red);
    transform: scale(1.05);
}

.partner-icon {
    font-size: 24px;
    color: var(--red);
}

.partner-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .partners-section-marquee {
        padding: 50px 0 40px;
    }

    .marquee-wrapper {
        padding: 18px 0;
    }

    .partner-item {
        padding: 8px 18px;
        gap: 8px;
    }

    .partner-icon {
        font-size: 18px;
    }

    .partner-item span {
        font-size: 13px;
    }

    .marquee-track {
        gap: 25px;
        animation-duration: 15s;
    }

    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .partner-item {
        padding: 6px 14px;
    }

    .partner-icon {
        font-size: 14px;
    }

    .partner-item span {
        font-size: 11px;
    }

    .marquee-track {
        gap: 18px;
        animation-duration: 12s;
    }
}

/*--------------------------- Fun Facts -----------------------------*/
.fun-fact-section .fun-fact-grids { display: flex; }
.fun-fact-section .fun-fact-grids .grid {
    flex: 1;
    background: var(--red);
    padding: 35px 25px 35px 80px;
    position: relative;
}
.fun-fact-section .fun-fact-grids .grid:nth-child(even) { background: var(--red-dark); }
.fun-fact-section .fun-fact-grids .grid i {
    position: absolute;
    left: 25px;
    top: 35px;
    font-size: 45px;
    color: rgba(255,255,255,0.3);
}
.fun-fact-section .fun-fact-grids .grid h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 5px;
}
.fun-fact-section .fun-fact-grids .grid p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}
@media (max-width:991px) { .fun-fact-section .fun-fact-grids { flex-wrap: wrap; } .fun-fact-section .fun-fact-grids .grid { flex: 0 0 50%; } }
@media (max-width:600px) { .fun-fact-section .fun-fact-grids .grid { flex: 0 0 100%; } }


/* ===== TEAM SECTION ===== */
.team-section {
    padding: 80px 0 45px;
    background: var(--white);
}

.team-grids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-grids .grid {
    text-align: center;
    background: var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.team-grids .grid:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* ===== IMAGE CONTAINER - FIXED SIZE ===== */
.team-grids .grid .img-social {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px; /* FIXED HEIGHT - all images same size */
    background: var(--black);
}

/* ===== IMAGE HOLDER - FIXED SIZE & CENTERED ===== */
.team-grids .grid .img-holder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--light-gray);
}

/* ===== IMAGE STYLING - COVERS THE BOX ===== */
.team-grids .grid .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes all images fill the box uniformly */
    display: block;
}

/* Fallback - if no image, show initials */
.team-grids .grid .img-holder .initials {
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    background: var(--black);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SOCIAL ICONS OVERLAY ===== */
.team-grids .grid .social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
}

.team-grids .grid:hover .social {
    opacity: 1;
    bottom: 30px;
}

.team-grids .grid .social ul {
    display: flex;
    gap: 8px;
}

.team-grids .grid .social ul a {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    transition: var(--transition);
}

.team-grids .grid .social ul a:hover {
    background: var(--white);
    color: var(--red);
}

/* ===== DETAILS BELOW IMAGE ===== */
.team-grids .grid .details {
    padding: 20px 15px 25px;
    background: var(--white);
}

.team-grids .grid .details h3 {
    font-size: 18px;
    margin: 0 0 4px;
    color: var(--black);
}

.team-grids .grid .details span {
    font-size: 13px;
    color: var(--red);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .team-grids {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grids .grid .img-social {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .team-grids {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .team-grids .grid .img-social {
        height: 280px;
    }
}

/*--------------------------- Quote Section S2 -----------------------------*/
.quote-section-s2 {
    background: var(--light-gray);
    display: flex;
    flex-wrap: wrap;
}
.quote-section-s2 .left-col {
    flex: 1;
    padding: 120px 80px;
    background: var(--white);
}
.quote-section-s2 .left-col h2 {
    font-size: 38px;
    color: var(--black);
    margin-bottom: 20px;
}
.quote-section-s2 .left-col h2 span { color: var(--red); }
.quote-section-s2 .left-col ul { display: flex; flex-wrap: wrap; gap: 15px; margin: 20px 0; }
.quote-section-s2 .left-col ul li {
    flex: 0 0 50%;
    color: var(--black);
    font-weight: 500;
}
.quote-section-s2 .left-col ul li i { color: var(--red); margin-right: 8px; }
.quote-section-s2 .right-col {
    flex: 1;
    background: var(--black);
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-section-s2 .right-col .quote-area {
    max-width: 470px;
    width: 100%;
}
.quote-section-s2 .right-col .quote-area h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
}
.quote-section-s2 .right-col .quote-area p { color: #aaa; margin-bottom: 25px; }
.quote-section-s2 .right-col .quote-area input,
.quote-section-s2 .right-col .quote-area textarea {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    margin-bottom: 15px;
}
.quote-section-s2 .right-col .quote-area input::placeholder,
.quote-section-s2 .right-col .quote-area textarea::placeholder { color: #888; }
.quote-section-s2 .right-col .quote-area textarea { height: 120px; resize: vertical; }
.quote-section-s2 .right-col .quote-area .theme-btn { width: 100%; text-align: center; }
@media (max-width:991px) {
    .quote-section-s2 { flex-direction: column; }
    .quote-section-s2 .left-col { padding: 60px 30px; }
    .quote-section-s2 .right-col { padding: 60px 30px; }
}
/* ===== FORM VALIDATION STYLES ===== */
.quote-area .form-group {
    margin-bottom: 18px;
    position: relative;
}

.quote-area .form-group input,
.quote-area .form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.quote-area .form-group input::placeholder,
.quote-area .form-group textarea::placeholder {
    color: #888;
}

.quote-area .form-group input:focus,
.quote-area .form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-bottom-color: var(--red);
}

/* ===== ERROR STATE ===== */
.quote-area .form-group.error input,
.quote-area .form-group.error textarea {
    border-bottom-color: #ff3333;
    background: rgba(255, 51, 51, 0.08);
}

.quote-area .form-group .error-msg {
    display: none;
    font-size: 13px;
    color: #ff3333;
    margin-top: 5px;
    padding-left: 5px;
}

.quote-area .form-group.error .error-msg {
    display: block;
}

/* ===== SUCCESS STATE ===== */
.quote-area .form-group.success input,
.quote-area .form-group.success textarea {
    border-bottom-color: #00cc66;
}

.quote-area .form-group.success .error-msg {
    display: none;
}

/* ===== SUCCESS MESSAGE ===== */
.quote-area .success-msg {
    display: none;
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 204, 102, 0.1);
    border: 2px solid #00cc66;
    border-radius: 8px;
    margin-top: 15px;
}

.quote-area .success-msg.show {
    display: block;
}

.quote-area .success-msg i {
    font-size: 50px;
    color: #00cc66;
    display: block;
    margin-bottom: 10px;
}

.quote-area .success-msg h4 {
    font-size: 22px;
    color: var(--white);
    margin: 0 0 8px;
}

.quote-area .success-msg p {
    color: #aaa;
    font-size: 15px;
    margin: 0;
}

/* ===== HIDE FORM ON SUCCESS ===== */
.quote-area form.hide-form .form-group,
.quote-area form.hide-form .theme-btn {
    display: none;
}

.quote-area form.hide-form .success-msg {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .quote-area .form-group input,
    .quote-area .form-group textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.capabilities-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ---- Left Side - Text ---- */
.capabilities-text .section-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.capabilities-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.capabilities-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    max-width: 500px;
}

/* ---- Right Side - List ---- */
.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 22px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--red);
    transition: var(--transition);
}

.capability-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.capability-item .cap-icon {
    font-size: 20px;
    color: var(--red);
    line-height: 1.4;
    font-weight: 700;
}

.capability-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 4px;
}

.capability-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .capabilities-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .capabilities-text h2 {
        font-size: 30px;
    }

    .capabilities-text p {
        max-width: 100%;
    }

    .capability-item:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 600px) {
    .capabilities-section {
        padding: 60px 0;
    }

    .capabilities-text h2 {
        font-size: 26px;
    }

    .capability-item {
        padding: 14px 16px;
    }

    .capability-item h4 {
        font-size: 14px;
    }

    .capability-item p {
        font-size: 13px;
    }
}

/*--------------------------- Blog -----------------------------*/
.blog-section { background: var(--white); padding-bottom: 65px; }
.blog-grids {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-grids .grid .entry-media {
    height: 200px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
}
.blog-grids .grid .entry-body { padding: 20px 0 0; }
.blog-grids .grid .entry-body .cats {
    font-size: 14px;
    color: var(--red);
}
.blog-grids .grid .entry-body h4 {
    font-size: 18px;
    margin: 8px 0 12px;
}
.blog-grids .grid .entry-body h4 a { color: var(--black); }
.blog-grids .grid .entry-body h4 a:hover { color: var(--red); }
.blog-grids .grid .entry-body .date { color: var(--gray); font-size: 14px; }
.blog-grids .grid .entry-body .read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--red);
}
.blog-grids .grid .entry-body .read-more:hover { color: var(--red-dark); }
@media (max-width:991px) { .blog-grids { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .blog-grids { grid-template-columns: 1fr; } }

/*--------------------------- CTA Section -----------------------------*/
.cta-section {
    background: var(--black);
    padding: 70px 0 60px;
    border-top: 3px solid var(--red);
}
.cta-section .cta-text h3 {
    font-size: 30px;
    color: var(--white);
    margin: 0 0 0.3em;
}
.cta-section .cta-text p { color: #aaa; margin: 0; }
.cta-section .contact-info { display: flex; gap: 40px; justify-content: flex-end; }
.cta-section .contact-info > div { display: flex; align-items: center; gap: 15px; }
.cta-section .contact-info i { font-size: 40px; color: var(--red); }
.cta-section .contact-info h4 { color: var(--white); font-size: 20px; margin: 0; }
.cta-section .contact-info p { color: #aaa; margin: 0; }
@media (max-width:991px) {
    .cta-section .contact-info { justify-content: flex-start; margin-top: 30px; flex-wrap: wrap; }
}

/*--------------------------- Footer -----------------------------*/
.site-footer {
    background: #0a0a0a;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid .about-widget .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}
.footer-grid .about-widget .logo span { color: var(--red); }
.footer-grid .about-widget .logo small {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 2px;
}
.footer-grid .about-widget p { color: #888; margin-top: 15px; max-width: 300px; }
.footer-grid .widget-title h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a {
    color: #888;
    font-size: 14px;
    transition: var(--transition);
}
.footer-grid ul li a:hover { color: var(--red); padding-left: 5px; }
.footer-grid .contact-widget ul li {
    color: #888;
    font-size: 14px;
}
.footer-grid .contact-widget ul li span { color: var(--white); font-weight: 500; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
.footer-bottom span { color: var(--red); }
@media (max-width:991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:600px) { .footer-grid { grid-template-columns: 1fr; } }

/*--------------------------- Page Header (inner pages) -----------------------------*/
.page-header {
    background: var(--black);
    padding: 80px 0 60px;
    border-bottom: 3px solid var(--red);
    text-align: center;
}
.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.page-header h1 span { color: #cc0000; }
.page-header p { color: #aaaaaa;
    font-size: 18px;
    margin-top: 10px; }
    
    /* ============================================================
   FIX: Responsive - Page Header
   ============================================================ */

@media (max-width: 991px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 16px;
    }
}

    
    

/*--------------------------- Contact Page -----------------------------*/
.contact-pg-section { padding: 80px 0; background: var(--white); }
.contact-pg-section form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-pg-section form .fullwidth { grid-column: 1 / -1; }
.contact-pg-section form input,
.contact-pg-section form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}
.contact-pg-section form input:focus,
.contact-pg-section form textarea:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 4px rgba(204,0,0,0.1);
}
.contact-pg-section form textarea { height: 150px; resize: vertical; }
.office-info {
    background: var(--black);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--white);
}
.office-info h3 { color: var(--white); font-size: 20px; margin-bottom: 15px; }
.office-info li { color: #ccc; margin-bottom: 8px; }
.office-info li i { color: var(--red); margin-right: 8px; }
.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--radius);
    margin-top: 40px;
}
@media (max-width:991px) {
    .contact-pg-section form { grid-template-columns: 1fr; }
    .contact-pg-section .office-info { margin-top: 40px; }
}

/*--------------------------- Responsive Utilities -----------------------------*/
.clearfix::after { content: ''; display: table; clear: both; }
.text-center { text-align: center; }

/* ============================================================
   CONTACT SECTION - CLEAN VERSION (No Conflicts)
   ============================================================ */

.contact-section {
    padding: 80px 0 60px;
    background: #f8fafc;
}

/* --- Heading --- */
.contact-heading {
    text-align: center;
    margin-bottom: 50px;
}

.contact-tag {
    display: inline-block;
    background: rgba(204, 0, 0, 0.1);
    color: #cc0000;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(204, 0, 0, 0.15);
}

.contact-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #111111;
}

.contact-heading h2 span {
    color: #cc0000;
}

.contact-heading p {
    font-size: 1.1rem;
    color: #777777;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Wrapper --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* --- Info Box --- */
.contact-info-box {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111111;
}

.contact-info-box h3 span {
    color: #cc0000;
}

.info-desc {
    color: #777777;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(204, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #cc0000;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: #cc0000;
    color: #ffffff;
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: #111111;
    margin-bottom: 2px;
}

.info-text span {
    font-size: 15px;
    color: #555555;
}

/* --- Social Links --- */
.contact-social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background: #cc0000;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}

/* --- Form Box --- */
.contact-form-box {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
}

.form-field {
    margin-bottom: 20px;
    position: relative;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
}

.form-field .required {
    color: #cc0000;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #111111;
    background: #fafbfc;
    transition: all 0.3s ease;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #cc0000;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.08);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field .field-error {
    display: none;
    color: #ff3333;
    font-size: 13px;
    margin-top: 6px;
    padding-left: 4px;
}

/* --- Validation States --- */
.form-field.error input,
.form-field.error textarea {
    border-color: #ff3333;
    background: #fff5f5;
}

.form-field.error .field-error {
    display: block;
}

.form-field.success input,
.form-field.success textarea {
    border-color: #22c55e;
    background: #f0fdf4;
}

/* --- Buttons --- */
.form-actions-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-send {
    background: #cc0000;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 160px;
}

.btn-send:hover {
    background: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}

.btn-send:active {
    transform: scale(0.97);
}

.btn-clear {
    background: #f1f5f9;
    color: #555;
    border: 2px solid #e9ecef;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* --- Success Message --- */
.form-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 2px solid #22c55e;
    margin-top: 20px;
    animation: successAnim 0.5s ease;
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 50px;
    margin-bottom: 10px;
    display: block;
}

.form-success h4 {
    font-size: 20px;
    color: #16a34a;
    margin-bottom: 5px;
}

.form-success p {
    color: #15803d;
    font-size: 15px;
}

@keyframes successAnim {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Map --- */
.map-wrapper {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    padding-bottom: 40%;
    height: 0;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-heading h2 {
        font-size: 2rem;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0 40px;
    }

    .contact-heading h2 {
        font-size: 1.6rem;
    }

    .contact-heading p {
        font-size: 0.95rem;
    }

    .contact-info-box h3 {
        font-size: 1.2rem;
    }

    .form-actions-row {
        flex-direction: column;
    }

    .btn-send,
    .btn-clear {
        width: 100%;
        justify-content: center;
    }

    .info-text span {
        font-size: 13px;
    }

    .map-wrapper {
        padding-bottom: 60%;
    }
}

