:root {
    --primary-color: #164E87;
    --primary-dark: #0d3259;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Preloader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #cbd5e1;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Professional Contact Button */
.nav-links .btn-contact {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 22px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links .btn-contact::after {
    display: none;
}

.nav-links .btn-contact:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 78, 135, 0.2);
}

/* Vertical Google Translate Widget Styling */
#google_translate_element {
    display: inline-block !important;
}

#google_translate_element select.goog-te-combo {
    background-color: #ffffff !important;
    color: #164E87 !important;
    border: 1px solid #164E87 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease-in-out;
}

#google_translate_element select.goog-te-combo:hover,
#google_translate_element select.goog-te-combo:focus {
    border-color: #0d3259 !important;
    box-shadow: 0 0 0 3px rgba(22, 78, 135, 0.15) !important;
}

.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget {
    font-size: 11px !important;
    color: #64748b !important;
}

select.goog-te-combo option {
    background-color: #ffffff;
    color: #1e293b;
    padding: 8px;
    font-size: 14px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 220px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 8px 0;
    border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 18px;
    display: block;
    font-size: 14px;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Reliable Mobile Hamburger Button */
.hamburger {
    display: none; /* Hidden by default on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 999999 !important;
    pointer-events: auto !important;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px auto;
    border-radius: 2px;
    transition: var(--transition);
    pointer-events: none; /* Passes touch straight to parent button */
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Force hamburger to show on smaller/emulated desktop screens */
@media (max-width: 1100px) {
    .hamburger {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 80px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 50, 89, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(22,78,135,0.3);
}

/* Page Hero Banner with Blue Gradient */
.page-hero-banner {
    background: linear-gradient(135deg, #0d3259 0%, #164E87 50%, #2563eb 100%) !important;
    padding: 70px 20px !important;
    text-align: center !important;
    color: #ffffff !important;
    margin-top: 105px !important;
    position: relative !important;
    width: 100% !important;
}

.page-hero-banner h1 {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #ffffff !important;
}

.page-hero-banner p {
    font-size: 1.15rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* Breadcrumb Section - Increased height and prominent larger text */
.breadcrumb-section {
    background-color: var(--white) !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    margin-top: 0 !important; 
    position: relative !important;
    z-index: 10 !important;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.breadcrumb-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumb-container a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-weight: 600;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

/* General Layout & Sections */
.container {
    max-width: 1200px !important;
    margin: 10px auto 40px auto !important;
    padding: 10px 20px !important;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.product-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

/* Horizontal Auto Scroll */
.auto-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.scroll-btn.left { left: -20px; }
.scroll-btn.right { right: -20px; }

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22,78,135,0.15);
}

/* Footer */
footer {
    background: #0f172a;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

/* Responsive Styles & Mobile Navigation (Updated to 1100px breakpoint) */
@media (max-width: 1100px) {
    .hamburger {
        display: block !important;
    }

    /* Hide the desktop row of links by default and enable mobile slide-out */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: left 0.4s ease-in-out;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        overflow-y: auto;
        z-index: 8888;
        display: flex !important;
    }

    .nav-links.active {
        left: 0;
    }

    /* Fixed mobile dropdown visibility toggle styling */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 15px !important;
        background: var(--bg-light) !important;
        display: none !important;
        margin-top: 8px;
        border-radius: 6px;
        width: 100%;
    }

    /* Explicitly force sub-menu display when mobile-open is present */
    .dropdown.mobile-open > .dropdown-menu {
        display: block !important;
    }

    .nav-links a {
        font-size: 18px;
        width: 100%;
    }

    .nav-links .btn-contact {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        border: 2px solid var(--primary-color);
        background: var(--primary-color);
        color: var(--white);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}