/* ==========================================================================
   ANTIGRAVITY PREMIUM THEME - 2026 REBUILD
   A completely fresh, high-end design for Safety Invisible Grills.
   ========================================================================== */

/* --- 1. VARIABLES & SETUP --- */
:root {
    /* Brand Colors */
    --primary: #D90429;
    /* The Brand Red - Vibrant & Urgent */
    --primary-dark: #b8001f;
    --navy: #0F172A;
    /* Deep Blue/Slate for Text */
    --navy-light: #334155;
    --light-bg: #F8FAFC;
    /* Premium Off-White */
    --white: #ffffff;
    --gold: #C5A059;
    /* Subtle Accent for Luxury feel */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Trust & Luxury */
    --font-body: 'Manrope', sans-serif;
    /* Modern Cleanliness */

    /* Spacing & Layout */
    --container: 1280px;
    --section-spacing: 100px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--navy-light);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 4px;
    /* Slightly sharp for professional look */
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 13px;
    font-family: var(--font-body);
}

.section-title h2 {
    font-size: 42px;
}

/* --- 2. HEADER --- */
/* --- TOP BAR & MARQUEE --- */
.top-bar {
    background: #0F172A;
    /* Very dark navy */
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 20px;
}

.top-contact a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.top-contact a:hover {
    color: var(--primary);
}

.marquee-section {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}

/* Smoother, continuous marquee */
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    /* Slower speed (increased duration) */
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content span {
    margin-right: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(100vw);
        /* Start from right edge of viewport */
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {

    /* Show Top Bar on Mobile */
    .top-bar {
        font-size: 11px;
        padding: 8px 0;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-contact {
        justify-content: center;
        width: 100%;
    }

    /* Optimize Marquee for Mobile */
    .marquee-section {
        font-size: 12px;
        padding: 6px 0;
    }

    /* Faster animation relatively for smaller screens so it doesn't look static, 
       but `padding-left: 100%` ensures no initial gap-wait issue if continuous loop logic isn't perfect,
       however, standard marquee keyframes (100% to -100%) combined with long text is better.
       Let's stick to standard translateX but slower.
    */
    .marquee-content {
        animation-duration: 30s;
        /* Slightly faster than desktop but still readable */
    }
}

/* --- 2. HEADER --- */
header {
    position: relative;
    /* Changed from absolute to relative to stop overlap */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: var(--navy);
    /* Added background color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-contact a {
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 4px;
    padding: 10px 0;
    top: 100%;
}

.dropdown-content a {
    color: var(--navy);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary);
    padding-left: 20px;
}

.dropdown-content a::after {
    display: none;
    /* Remove underline from nav links */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown .dropbtn i {
    font-size: 12px;
    margin-left: 5px;
}

/* --- 3. HERO SECTION (Slider) --- */
.hero-slider-section {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background: #000;
    position: relative;
    /* Ensure context for absolute children */
}

.swiper {
    width: 100%;
    height: auto;
    position: relative;
    /* Swiper needs to be relative for arrows to position inside */
}

/* Fix for broken Swiper Button Placement */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    /* Force absolute */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.9);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 0 !important;
    /* Reset any default margins */
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

/* Fix for Pagination Dots */
.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0;
    width: 100%;
    z-index: 10;
    text-align: center;
}

.swiper-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Responsive Aspect Ratios */
/* Mobile First: 1:1 Ratio */
.slide-bg {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio (Square for Mobile) */
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    text-align: center;
}

.slide-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 90%;
    color: #f1f5f9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Desktop: 16:9 Ratio */
@media (min-width: 768px) {
    .slide-bg {
        padding-bottom: 56.25%;
        /* 16:9 Aspect Ratio */
    }

    .slide-content h1 {
        font-size: 64px;
        margin-bottom: 24px;
    }

    .slide-content p {
        font-size: 20px;
        max-width: 700px;
        margin-bottom: 40px;
    }
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 900;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* --- Quick Quote Section --- */
.quick-quote-area {
    position: relative;
    background: var(--navy);
    padding: 40px 0;
    margin-top: -5px;
    /* Visual connection */
    z-index: 20;
}

.quick-quote-form {
    display: flex;
    gap: 20px;
    align-items: center;
    background: transparent;
}

.quick-quote-form .form-group {
    flex: 1;
    margin: 0;
}

.quick-quote-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    outline: none;
    font-size: 16px;
}

.quick-quote-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.quick-quote-form .btn {
    padding: 15px 40px;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .quick-quote-form {
        flex-direction: column;
    }

    .quick-quote-form input,
    .quick-quote-form .btn {
        width: 100%;
    }
}

/* --- 4. FEATURES (Why Choose Us) --- */
.features {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--radius);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.08);
    /* Minimal border on hover */
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

/* --- 5. SERVICES --- */
.services {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-block;
}

/* --- 6. APPOINTMENT / CTA --- */
.appointment {
    padding: var(--section-spacing) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Abstract Background Pattern */
.appointment::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 4, 41, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    /* Prevent interfering with clicks */
}

@media (max-width: 768px) {
    .appointment::after {
        width: 300px;
        height: 300px;
        right: -50px;
        top: -20%;
    }
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.appointment-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.appointment-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    /* Ensure full width */
}

.form-control {
    width: 100%;
    max-width: 100%;
    /* Prevent overflow */
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.appointment-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .appointment-box {
        padding: 20px;
        /* Reduced padding for mobile */
    }
}

/* --- 7. FOOTER --- */
footer {
    background: #050911;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {

    .feature-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {

    .feature-grid,
    .service-grid,
    .appointment-wrapper,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Add mobile menu later if needed */
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

/* --- 8. INNER PAGE COMPATIBILITY --- */
/* Breadcrumb */
.breadcrumb__area {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--white);
    background-color: var(--navy);
    /* Fallback */
}

.breadcrumb__area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.breadcrumb__content {
    position: relative;
    z-index: 1;
}

.breadcrumb__content .title {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--white);
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    display: inline-block;
}

.breadcrumb .active {
    color: var(--primary);
    font-weight: 700;
}

/* Inner Layouts */
.about__area-five,
.counter-area,
.request-area {
    padding: var(--section-spacing) 0;
}

.about__content-five p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--navy-light);
}

.about__img-wrap-five img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

/* Counter Section */
.counter-area {
    background: var(--navy);
    color: var(--white);
}

.counter-item {
    text-align: center;
    padding: 30px;
}

.counter-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.counter-item .count {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.counter-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Request/CTA Area */
.request-area {
    background: var(--light-bg);
    text-align: center;
}

.request-content .title {
    font-size: 36px;
    margin-bottom: 30px;
}

.request-content .btn {
    background: var(--primary);
    color: var(--white);
}

/* Service Details & Lists */
.services__details-content h1,
.services__details-content h2,
.services__details-content h3 {
    margin-bottom: 20px;
}

.services__details-content p {
    margin-bottom: 20px;
}

.services__details-list ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.services__details-list ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Gallery Grid */
.gallery-active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 0;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius);
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Contact Page Specifics */
.contact__area {
    padding: 80px 0;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    border: 0;
    margin-bottom: 40px;
}

.contact__content p {
    margin-bottom: 20px;
}

.contact__content ul li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact__content i {
    color: var(--primary);
}

.contact-form-box {
    margin-top: 40px;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .contact-form-box {
        padding: 20px;
    }

    .contact-form-box .btn {
        width: 100%;
    }
}

/* Responsive extras */
@media (max-width: 768px) {
    .gallery-active {
        grid-template-columns: 1fr;
    }

    .breadcrumb__content .title {
        font-size: 32px;
    }

}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Default hidden */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        align-items: center;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    .mobile-toggle {
        display: block;
    }

    .header-inner {
        position: relative;
    }
}


/* --- 9. SIDEBAR & WIDGETS --- */
.services__details-area {
    padding: var(--section-spacing) 0;
}

.services__sidebar {
    margin-left: 30px;
}

.sidebar__widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar__widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar__cat-list-two ul li {
    margin-bottom: 12px;
}

.sidebar__cat-list-two ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy);
    font-weight: 500;
    padding: 10px;
    background: var(--white);
    border-radius: 4px;
    transition: 0.3s;
}

.sidebar__cat-list-two ul li a:hover {
    background: var(--primary);
    color: var(--white);
}

.sidebar__contact {
    text-align: center;
}

.sidebar__contact .title {
    font-size: 24px;
    margin-bottom: 20px;
}

/* --- 10. GALLERY / TEAM GRID --- */
.team-area {
    padding: var(--section-spacing) 0;
}

.team-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: 0.3s;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-thumb {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.team-item:hover .team-thumb img {
    transform: scale(1.1);
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-content .title {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-content span {
    color: var(--primary);
    font-weight: 700;
}

/* --- 11. EXTRA SECTIONS (Testimonials, FAQ, Blog) --- */
/* Testimonials */
.testimonials {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testi-rating {
    color: #F7A400;
    margin-bottom: 15px;
    font-size: 14px;
}

.testi-text {
    font-style: italic;
    color: var(--navy-light);
    margin-bottom: 20px;
}

.testi-user h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testi-user span {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

/* FAQ */
.faq-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--navy-light);
    transition: 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Blogs */
.blog-section {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-link {
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.blog-link:hover {
    color: var(--primary);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: var(--white);
}

@media (max-width: 992px) {

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* --- LEGACY GRID COMPATIBILITY (Bootstrap 4-ish) --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-xl-3,
.col-xl-4,
.col-70,
.col-30,
.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-70 {
    flex: 0 0 70%;
    max-width: 70%;
}

.col-30 {
    flex: 0 0 30%;
    max-width: 30%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .order-lg-2 {
        order: 2;
    }
}

@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Legacy Utilities */
.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }
}

/* Legacy Sidebar */
.sidebar__widget-two {
    background: transparent;
    border: none;
    padding: 0;
}

/* --- FLOATING CONTACT SECTION --- */
.floating-contact-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.float-whatsapp {
    background: #25D366;
}

.float-call {
    background: var(--primary);
}

/* Tooltip/Label on Hover */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    font-weight: 700;
    font-family: var(--font-body);
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Pulse Animation for attention */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(217, 4, 41, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(217, 4, 41, 0);
    }
}

.float-call {
    animation: pulse-btn 2s infinite;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .floating-contact-wrap {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* Remove tooltip on mobile to avoid sticking */
    .floating-btn::before {
        display: none;
    }
}