
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette */
    --primary-color: #000091;
    /* Deep Navy Blue */
    --secondary-color: #C5A059;
    /* Premium Gold */
    --accent-color: #F36F27;
    /* Existing Red Accent - kept for brand continuity but used sparingly */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Glassmorphism Utilities */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Premium Header Strings */
header,
header.header-section-1,
.header-section-1,
.header-section-3,
.header-1,
.header-3,
.header-main {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

.header-3 .header-right .header-button .theme-btn {
    padding: 18px 35px;
    /* Refine button size */
}

.main-menu ul li a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.main-menu ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section Refinements - Premium Typography */
.hero-content h1 {
    color: var(--primary-color);
    font-weight: 800;
    /* Bolder premium feel */
    letter-spacing: -0.02em;
    /* Tighter for modern look */
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    /* Subtle lift if image is busy */
}

.hero-content p {
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Icon Navigation */
.nav-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-icon-link i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.nav-icon-link:hover {
    color: var(--accent-color);
}

.nav-icon-link:hover i {
    transform: translateY(-2px);
}

/* Mobile Friendly Hamburger */
.header__hamburger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 8px;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__hamburger:hover {
    background: var(--primary-color);
    color: var(--item-white);
    /* using white variable if defined, else literal */
    color: #fff;
}

/* Offcanvas Menu Premium Style */
.offcanvas__info {
    background: var(--primary-color);
    /* Dark theme for menu */
    color: #fff;
}

.offcanvas__info .offcanvas__logo img {
    filter: brightness(0) invert(1);
    /* Make logo white if possible/needed */
}

.mobile-menu-items ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.mobile-menu-items ul li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

/* Hero Section Refinements */
.hero-content h1 {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-content p {
    color: var(--text-color);
    opacity: 0.9;
}

.theme-btn {
    background-color: var(--secondary-color);
    border-radius: 6px;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .header-top-section {
        display: none;
        /* Hide top bar on mobile for cleaner look */
    }

    .mean__menu-wrapper {
        display: none;
        /* Hide default meanmenu */
    }
}

/* Mobile Menu Visibility Fixes */
.offcanvas__contact h4,
.offcanvas__contact-text a,
.offcanvas__contact-text a span,
.offcanvas__contact-icon i,
.offcanvas__close button i {
    color: #ffffff !important;
}

.offcanvas__contact .social-icon a i {
    color: #ffffff;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    /* Ensure it stays on top */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: scale(1.1);
}

.floating-whatsapp i {
    margin-top: 2px;
    /* Slight adjustment for visual centering */
}

/* Premium Brand Grid Layout */
.brand-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.brand-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 250px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.brand-card img {
    max-width: 100%;
    max-height: 400px;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.4s ease;
    object-fit: contain;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Brand Layout */
@media (max-width: 767px) {
    .brand-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .brand-card {
        padding: 10px;
        height: auto;
        min-height: 120px;
        border-radius: 12px;
    }

    .brand-card img {
        max-height: 250px;
    }
}

/* Premium Service Cards */
/* Premium Service Cards - High Specificity */
.service-section .service-wrapper .service-card-items,
.service-card-items {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    border-radius: 16px !important;
    padding: 40px 30px !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
    position: relative;
    margin-top: 0;
    height: 100%;
}

.service-section .service-wrapper .service-card-items:hover,
.service-card-items:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.0) !important;
    background: #ffffff !important;
}

.service-section .service-wrapper .service-card-items h3 a,
.service-card-items h3 a {
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    color: var(--primary-color) !important;
}

.service-section .service-wrapper .service-card-items p,
.service-card-items p {
    color: var(--text-color) !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
    opacity: 0.85;
}

.service-section .service-wrapper .service-card-items .service-thumb img,
.service-card-items .service-thumb img {
    border-radius: 8px !important;
    filter: saturate(0.9) brightness(1.02);
}

.service-section .service-wrapper .service-card-items .link-btn,
.service-card-items .link-btn {
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    font-size: 0.9rem !important;
}

/* Service Box Items (Icon Boxes) - High specificity */
.service-box-items {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    padding: 35px 25px !important;
    transition: all 0.3s ease !important;
}

.service-box-items:hover {
    background: #ffffff !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06) !important;
}

.service-box-items .icon {
    margin-bottom: 25px !important;
    background: rgba(243, 111, 39, 0.05) !important;
    /* Light red tint */
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    border-radius: 50% !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.service-box-items:hover .icon {
    background: var(--theme) !important;
    color: #fff !important;
}

.service-box-items .icon i {
    font-size: 30px !important;
    color: var(--theme) !important;
    transition: all 0.3s ease !important;
}

.service-box-items:hover .icon i {
    color: #fff !important;
}

/* About Content Polish */
.about-content .section-title h2 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-list li {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-list li i {
    color: var(--theme);
    background: rgba(243, 111, 39, 0.1);
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 10px;
}

/* Footer Polish */
.footer-section {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
}

.footer-section h2,
.footer-section h3,
.footer-section h4 {
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Fix for Header Layout "Cut in Half" Issue */
.header-section-1 {
    min-height: 100px;
    height: auto;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999;
    width: 100%;
}

.header-1 {
    position: relative;
    width: 100%;
    z-index: 999;
    height: auto !important;
    overflow: visible !important;
}

/* Ensure sticky behavior is clean - Visuals only */
.sticky {
    /* position: fixed;  <-- REMOVED, relying on parent sticky */
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
}

/* Ensure sticky behavior is clean */
.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    animation: sticky 1s;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Fix for Header Alignment Issues */
.header-main {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.header-main .main-menu ul {
    display: flex !important;
    align-items: center !important;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-main .main-menu ul li {
    display: flex !important;
    align-items: center !important;
    margin-right: 0 !important;
}

/* Mobile Button Fix */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 90px !important;
        /* Move above back-to-top button (usually ~30px bottom) */
        right: 20px !important;
    }

    .scroll-up {
        bottom: 20px !important;
        right: 20px !important;
    }
}

/* Desktop Button Fix - stack them vertically */
@media (min-width: 769px) {
    .floating-whatsapp {
        bottom: 90px !important;
        /* Move above back-to-top button */
        right: 30px !important;
    }
}

/* Premium Glass Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 111, 39, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(243, 111, 39, 0.15);
}

/* Fix for icons stacking on top of text */
.header-main .main-menu ul li a {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px;
    /* Space between icon and text */
    padding: 30px 0 !important;
    line-height: 1 !important;
}

.header-main .main-menu ul li a i {
    margin: 0 !important;
    /* Remove any default margins causing layout shifts */
    display: inline-block !important;
}

/* Fix for Button Clip/Wrap */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px;
    flex-wrap: nowrap !important;
}

.header-button .link-btn {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    min-width: max-content;
}

/* Mobile Menu Animation Polish */
.offcanvas__info {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

.offcanvas__overlay {
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

/* Large Screen Header Refinement */
.custom-header-container {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1400px) {
    .custom-header-container {
        padding: 0 5%;
        max-width: 1920px;
    }

    .header-main {
        justify-content: space-between;
    }
}

/* Prevent Header Text Wrapping */
.header-main .main-menu ul li a,
.contact-info .content h6 a,
.contact-info .content p {
    white-space: nowrap !important;
}

.contact-info {
    min-width: max-content;
}

/* Contact form feedback message */
.form-message {
    margin-top: 6px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.form-message.success {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}