:root {
    --primary-dark: #161f2e;
    --accent: #f2a900;
    --accent-hover: #e09b00;
    --light-bg: #f5f7fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--light-bg);
    top: 0 !important; /* Fix for Google Translate bar offset */
}

/* Hide Google Translate Banner */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

#google_translate_element {
    display: none;
}

.lang-btn {
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: white;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.lang-btn:hover, .lang-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Utilities */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.text-primary-dark { color: var(--primary-dark) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.border-accent { border-color: var(--accent) !important; }

.btn-accent {
    background-color: var(--accent);
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.4);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-white:hover { color: white !important; }
.letter-space { letter-spacing: 1.5px; }
.custom-shadow { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

/* Header */
.top-micro-bar { background-color: #fff; }
.header-title { color: var(--primary-dark); }
.desktop-nav .nav-link {
    font-weight: 700; font-size: 0.85rem; color: #555;
    text-transform: uppercase; transition: color 0.3s ease;
}
.desktop-nav .nav-link:hover, .desktop-nav .nav-link.active {
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(22, 31, 46, 0.5) 0%, rgba(22, 31, 46, 0.85) 100%);
}

.search-box {
    background: rgba(22, 31, 46, 0.85); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.custom-select {
    height: 55px; font-size: 1rem; border: none; font-weight: 600; color: #444; cursor: pointer;
}
.custom-select:focus {
    box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.5) !important;
}

/* Featured & List cards */
.featured-card { border: 1px solid #eaeaea; }
.hover-scale-img { transition: transform 0.5s ease; }
.featured-card:hover .hover-scale-img, .list-card:hover .hover-scale-img {
    transform: scale(1.1);
}

.list-card { border: 1px solid #eaeaea; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.list-card:hover { transform: translateX(10px); border-color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Icons */
.icon-circle { width: 100px; height: 100px; border-color: rgba(22,31,46,0.1) !important; cursor: pointer;}
.style-icon-box:hover .icon-circle { background-color: var(--accent) !important; color: white !important; border-color: var(--accent) !important;}
.style-icon-box:hover .icon-circle i { color: white !important; }

/* Recent Slider */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; cursor: grab;}
.hide-scroll:active { cursor: grabbing;}
.recent-card { border: 2px solid transparent; transition: all 0.3s ease; cursor: pointer;}
.recent-card:hover { border-color: var(--accent); transform: translateY(-8px); }

/* Review Card */
.review-card {
    transition: transform 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--accent);
}

/* Banner */
.banner-left::after {
    content: ''; position: absolute; right: -25px; top: 0;
    width: 50px; height: 100%; background-color: white; transform: skewX(-15deg); z-index: -1;
}

/* Floating Icons Box Right */
.floating-icons-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Floating Icons Box Left */
.floating-icons-left {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.floating-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.icon-label {
    position: absolute;
    right: 75px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-icon-wrapper:hover .icon-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.float-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.float-icon:hover {
    transform: scale(1.1) rotate(-5deg);
    color: white;
}

.whatsapp-icon {
    background-color: #25D366; /* WhatsApp Green */
}

.call-icon {
    background-color: var(--accent);
}

/* Google Translate Styling */
#google_translate_element {
    height: 30px;
    display: inline-block;
}
.goog-te-gadget-simple {
    border-radius: 20px !important;
    border: none !important;
    padding: 2px 10px !important;
    background: transparent !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
}
.goog-te-gadget-icon {
    display: none !important;
}
.goog-te-menu-value span:first-child {
    text-decoration: none !important;
}
/* Google Translate Hiding Rules */
iframe.goog-te-banner-frame {
    display: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#goog-gt-tt, .goog-te-balloon-frame, .goog-te-menu-frame {
    display: none !important;
    visibility: hidden !important;
}

#google_translate_element {
    display: inline-block !important;
}

.goog-te-gadget-simple {
    display: inline-flex !important;
    visibility: visible !important;
    border: none !important;
    background: transparent !important;
    padding: 0px !important;
}

.hover-accent:hover {
    color: var(--accent) !important;
    transition: color 0.3s ease;
}

/* Base Styles */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal.show .modal-dialog {
    transform: scale(1);
}

/* Floating active rules */
.hide-on-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.4s ease;
}
.hide-on-top.show-float {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Fixes for mobile */
@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }
    
    /* Mobile Menu Active State */
    .mobile-menu-open {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 15px;
        border-top: 1px solid #eee;
    }
    
    .mobile-menu-open .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .display-3 { font-size: 2.5rem !important; }
    .display-4 { font-size: 2rem !important; }
    .display-6 { font-size: 1.75rem !important; }
    
    .banner-left::after { display: none; }
    .hero-bg::after { background: linear-gradient(0deg, rgba(22, 31, 46, 0.9) 0%, rgba(22, 31, 46, 0.5) 100%); }
    .hero-section { min-height: auto; padding: 40px 0; }
    
    .floating-icons-right { bottom: 15px; right: 15px; gap: 10px; }
    .floating-icons-left { bottom: 15px; left: 15px; }
    .float-icon { width: 50px; height: 50px; font-size: 22px; }
    .icon-label { display: none !important; } /* Hide labels on very small screens */
    
    .p-5 { padding: 1.5rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    
    /* Mobile grid fix for branch offices */
    .col-6 { width: 50% !important; }
}

@media (max-width: 576px) {
    .display-3 { font-size: 2rem !important; }
    .btn-accent, .btn-outline-light { width: 100%; margin-bottom: 10px; }
    .d-flex.gap-3 { flex-direction: column; }
    .search-box { margin-top: 20px; }
}