/* ==========================================================================
   Dream Oxide Cement Expert - Modern Design System & SEO Layout Enhancements
   Targeting Chennai & Bangalore Regional Presence & Mobile Responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Font Awesome 6 Pro Webfonts */
@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/fa-solid-900.woff2') format('woff2'),
         url('../fonts/fa-solid-900.ttf') format('truetype');
}
@font-face {
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fa-regular-400.woff2') format('woff2'),
         url('../fonts/fa-regular-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fa-brands-400.woff2') format('woff2'),
         url('../fonts/fa-brands-400.ttf') format('truetype');
}

:root {
    /* Brand Accent Colors */
    --rr-theme-primary: #F44E19 !important;
    --rr-theme-primary-hover: #dc3e0d !important;
    --rr-theme-primary-glow: rgba(244, 78, 25, 0.25) !important;
    
    /* Modern Deep High-Contrast Typography Colors */
    --rr-heading-primary: #0f172a !important;   /* Deep rich obsidian */
    --rr-heading-secondary: #1e293b !important; /* Deep charcoal */
    --rr-text-body: #334155 !important;         /* Deep slate for high contrast readability */
    --rr-text-p: #334155 !important;
    --rr-text-muted: #64748b !important;
    --rr-text-light: #94a3b8 !important;

    /* Backgrounds & Surfaces */
    --surface-light: #ffffff !important;
    --surface-subtle: #f8fafc !important;
    --surface-card: #ffffff !important;
    --border-subtle: rgba(148, 163, 184, 0.2) !important;
    
    /* Modern Typography Families */
    --rr-ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    --rr-ff-heading: 'Outfit', system-ui, -apple-system, sans-serif !important;
    --rr-ff-robo: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    --rr-ff-exo: 'Outfit', system-ui, -apple-system, sans-serif !important;

    /* Shadows & Transitions */
    --modern-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --modern-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --modern-shadow-lg: 0 20px 45px rgba(244, 78, 25, 0.14);
    --modern-radius: 16px;
    --modern-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Typography Overhauls */
body {
    font-family: var(--rr-ff-body) !important;
    color: var(--rr-text-body) !important;
    background-color: #fbfcfd !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6,
.section__title, .banner__item-title, .breadcrumb__title {
    font-family: var(--rr-ff-heading) !important;
    color: var(--rr-heading-primary) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
}

p, .des, .banner__item-content p {
    color: var(--rr-text-body) !important;
    font-family: var(--rr-ff-body) !important;
    line-height: 1.7 !important;
}

/* High Contrast on Banner/Dark Sections */
.banner__item-title,
.banner__item-sub-title,
.project-hero-title,
.theme-bg-heading-primary h1,
.theme-bg-heading-primary h2,
.theme-bg-heading-primary h3,
.theme-bg-heading-primary h4,
.theme-bg-heading-primary h5,
.color-white {
    color: #ffffff !important;
}

.banner__item-content .des,
.project-hero-sub,
.theme-bg-heading-primary p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* SEO City Badge Styling */
.city-pill-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.city-pill.chennai {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.city-pill.bangalore {
    background: rgba(244, 78, 25, 0.1);
    color: #F44E19;
    border: 1px solid rgba(244, 78, 25, 0.25);
}

.city-pill-light {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(8px);
}

/* Service Card Modernization */
.what-we-do__item {
    background: #ffffff !important;
    border-radius: var(--modern-radius) !important;
    padding: 32px 26px !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--modern-shadow-sm) !important;
    transition: var(--modern-transition) !important;
    position: relative;
    overflow: hidden;
}

.what-we-do__item:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--modern-shadow-lg) !important;
    border-color: rgba(244, 78, 25, 0.3) !important;
}

.what-we-do__item-text .title a {
    color: var(--rr-heading-primary) !important;
    font-family: var(--rr-ff-heading) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    transition: var(--modern-transition) !important;
}

.what-we-do__item:hover .what-we-do__item-text .title a {
    color: var(--rr-theme-primary) !important;
}

.what-we-do__item-text p {
    color: var(--rr-text-body) !important;
    font-size: 0.95rem !important;
}

/* ==========================================================================
   Modern Header, Top Bar & Navigation Overhauls
   ========================================================================== */

/* Header Wrapper & Sticky Overrides */
.header-1 {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    position: fixed;
    background: transparent !important;
}

/* Reset legacy template notched cutout on logo */
.header-1 .header__logo {
    width: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.site-header-logo {
    height: 100px !important;
    width: auto !important;
    max-width: 259px !important;
    object-fit: contain !important;
    display: block !important;
    transition: all 0.25s ease !important;
}

.site-header-logo:hover {
    transform: scale(1.02);
}

.header-1.rr-sticky .site-header-logo {
    height: 100px !important;
    max-width: 259px !important;
}

@media (max-width: 1199px) {
    .site-header-logo {
        height: 75px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 575px) {
    .site-header-logo {
        height: 60px !important;
        max-width: 210px !important;
    }
}

/* 1. Sleek Full-Width Top Bar (Desktop) */
.header-1 .header__top {
    background: #0b0f19 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
}

.header__top .container {
    max-width: 1320px;
}

.top-branch-link {
    color: #e2e8f0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.top-branch-link:hover {
    color: var(--rr-theme-primary) !important;
}

.top-branch-link strong {
    font-weight: 700 !important;
    margin-right: 4px;
}

.top-branch-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

.top-contact-link {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
}

.top-contact-link:hover {
    color: #ffffff !important;
}

.top-call-pill {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(244, 78, 25, 0.2) !important;
    border: 1px solid rgba(244, 78, 25, 0.45) !important;
    padding: 4px 14px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.top-call-pill:hover {
    background: var(--rr-theme-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(244, 78, 25, 0.4) !important;
}

/* 2. Main Navigation Bar */
.header-1 .header__main {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 8px 0 !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.header-1.rr-sticky .header__main {
    padding: 6px 0 !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1) !important;
    border-bottom-color: rgba(203, 213, 225, 0.6) !important;
}

.header-1.rr-sticky .header__top {
    display: none !important;
}

.header__main-row {
    min-height: 100px;
}

/* Main Navigation Menu Typography & Hover */
.main-menu nav > ul {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.main-menu nav > ul > li {
    position: relative !important;
}

.main-menu nav > ul > li > a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.main-menu nav > ul > li:hover > a {
    color: var(--rr-theme-primary) !important;
    background: rgba(244, 78, 25, 0.06) !important;
}

.main-menu nav > ul > li.active > a {
    color: var(--rr-theme-primary) !important;
    background: rgba(244, 78, 25, 0.09) !important;
}

/* Dropdown Chevron Down Modern Indicator */
.main-menu nav > ul > li.has-dropdown > a,
.main-menu ul li.has-dropdown > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.main-menu nav > ul > li.has-dropdown > a::after,
.main-menu ul li.has-dropdown > a::after {
    content: "" !important;
    display: inline-block !important;
    width: 11px !important;
    height: 7px !important;
    margin-left: 7px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 2L6 6.5L10.5 2' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 7px !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: translateY(0) rotate(0deg) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-image 0.2s ease !important;
    flex-shrink: 0 !important;
    opacity: 0.8 !important;
}

.main-menu nav > ul > li.has-dropdown:hover > a::after,
.main-menu ul li.has-dropdown:hover > a::after {
    transform: translateY(0) rotate(180deg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 2L6 6.5L10.5 2' stroke='%23F44E19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    opacity: 1 !important;
}

/* Ensure mobile MeanMenu hides duplicate desktop arrow */
.mean-container .mean-nav ul li.has-dropdown > a::after,
.mean-container .mean-nav ul li > a::after {
    display: none !important;
    content: none !important;
}

.main-menu nav > ul > li .submenu {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    padding: 10px !important;
    min-width: 290px !important;
    margin-top: 8px !important;
}

.main-menu nav > ul > li .submenu li {
    margin-bottom: 2px !important;
}

.main-menu nav > ul > li .submenu li a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.main-menu nav > ul > li .submenu li a:hover {
    background: rgba(244, 78, 25, 0.08) !important;
    color: var(--rr-theme-primary) !important;
    padding-left: 20px !important;
}

/* 3. CTA Buttons & Header Actions */
.header-quote-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #F44E19 0%, #ff6433 100%) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    padding: 11px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(244, 78, 25, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
    white-space: nowrap !important;
}

.header-quote-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(244, 78, 25, 0.5) !important;
    color: #ffffff !important;
}

.header-quote-cta i {
    transition: transform 0.2s ease;
}

.header-quote-cta:hover i {
    transform: translateX(3px);
}

/* Mobile Quick Call Button in Header */
.mobile-header-call {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35) !important;
    text-decoration: none !important;
}

.mobile-header-call:hover {
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Hamburger Toggle Button */
.bar-icon {
    width: 30px !important;
    height: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    padding: 2px 0 !important;
}

.bar-icon span {
    display: block !important;
    height: 3px !important;
    width: 100% !important;
    background: #0f172a !important;
    border-radius: 3px !important;
    transition: all 0.25s ease !important;
}

.bar-icon:hover span {
    background: var(--rr-theme-primary) !important;
}

/* Offcanvas Drawer Styling */
.offcanvas__area {
    background: #0f172a !important;
    width: 340px !important;
    max-width: 86vw !important;
    padding: 28px 22px !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
}

.offcanvas-branch-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 10px !important;
    padding: 9px 12px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 12.5px !important;
}

.offcanvas-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.offcanvas-btn-call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.offcanvas-btn-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.offcanvas-btn-quote {
    background: linear-gradient(135deg, #F44E19 0%, #ff6b3d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(244, 78, 25, 0.35) !important;
}

.mean-container .mean-nav {
    background: transparent !important;
}

.mean-container .mean-nav ul li a {
    color: #e2e8f0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 12px 0 !important;
}

.mean-container .mean-nav ul li a.mean-expand {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    top: 8px !important;
    text-align: center !important;
    color: #ffffff !important;
}

.mean-container .mean-nav ul li ul li a {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    padding-left: 15px !important;
}

/* Modern Button Polish */
.rr-btn {
    background: var(--rr-theme-primary) !important;
    border-radius: 50px !important;
    font-family: var(--rr-ff-heading) !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(244, 78, 25, 0.35) !important;
    transition: var(--modern-transition) !important;
}

.rr-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(244, 78, 25, 0.45) !important;
}

/* Footer Modern Enhancements */
.footer__area-common {
    background: #0d1015 !important;
    color: #e2e8f0 !important;
}

.footer__widget-title h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 12px;
}

.footer__widget-title h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--rr-theme-primary);
    border-radius: 2px;
}

.footer__link ul li a,
.footer__link-contact ul li .text a {
    color: #cbd5e1 !important;
    transition: var(--modern-transition) !important;
}

.footer__link ul li a:hover,
.footer__link-contact ul li .text a:hover {
    color: var(--rr-theme-primary) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & STICKY BOTTOM ACTION BAR
   ========================================================================== */

/* Mobile Bottom Navigation Bar (Visible only on screens <= 768px) */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Enable Mobile Fixed Action Bar */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        padding: 8px 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        justify-content: space-around;
        align-items: center;
    }

    .mobile-bottom-bar .bottom-bar-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        padding: 6px 4px;
        border-radius: 10px;
        font-size: 0.72rem;
        font-weight: 700;
        transition: var(--modern-transition);
        text-align: center;
    }

    .mobile-bottom-bar .bottom-bar-btn i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .mobile-bottom-bar .btn-call {
        color: #1e293b;
    }

    .mobile-bottom-bar .btn-whatsapp {
        color: #25D366;
    }

    .mobile-bottom-bar .btn-quote {
        background: var(--rr-theme-primary);
        color: #ffffff !important;
        border-radius: 30px;
        padding: 8px 14px;
        box-shadow: 0 4px 12px rgba(244, 78, 25, 0.4);
    }

    .mobile-bottom-bar .btn-quote i {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    /* Padding for mobile body to avoid bottom bar overlap */
    body {
        padding-bottom: 70px !important;
    }

    /* Heading sizing adjustments for mobile */
    .banner__item-title,
    .section__title,
    h1, h2 {
        font-size: clamp(1.75rem, 6vw, 2.4rem) !important;
        line-height: 1.25 !important;
    }

    .banner__item-sub-title,
    .section__subtitle {
        font-size: 0.88rem !important;
    }

    .banner__item-content .des {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    /* Container Spacing for mobile */
    .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .section-space {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
    }

    /* Offcanvas mobile menu styling */
    .offcanvas__wrapper {
        background: #111418 !important;
        color: #ffffff !important;
    }

    .mobile-menu ul li a {
        color: #f1f5f9 !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .mobile-menu ul li:hover a {
        color: var(--rr-theme-primary) !important;
    }
}
