/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 250px;
    height: auto;
    animation: logoFloat 2s ease-in-out infinite;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.loading-slogan {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 86, 179, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

:root {
    --primary-color: #0056b3;
    --primary-light: #4dabff;
    --primary-dark: #003d82;
    --secondary-color: #1a1a1a;
    --accent-color: #ffa000;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Site Search Widget (icon button + dropdown panel) ─────────────────────── */
.site-search-widget {
    position: relative;
    z-index: 1200;
    display: flex;
    align-items: center;
}

/* Square-ish search icon button */
.search-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(0, 86, 179, 0.4);
    background: rgba(0, 86, 179, 0.06);
    color: var(--text-dark);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}

.search-icon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--primary-color), #004494);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.search-icon-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.22s ease;
}

.search-icon-btn:hover,
.search-icon-btn.active {
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 86, 179, 0.35);
}

.search-icon-btn:hover::before,
.search-icon-btn.active::before {
    opacity: 1;
}

.search-icon-btn.active i {
    animation: searchSpin 0.3s ease-out;
}

@keyframes searchSpin {
    from {
        transform: rotate(-15deg) scale(0.88);
    }

    to {
        transform: rotate(0deg) scale(1);
    }
}

/* ── Dropdown Panel — grey tones ────────────────────────────────────────────── */
.search-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: #f0f0f0;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.search-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Arrow tip */
.search-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #f0f0f0;
    border-left: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
    transform: rotate(45deg);
    z-index: 2;
}

.search-panel-inner {
    position: relative;
    z-index: 1;
}

/* Input row */
.search-panel-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 86, 179, 0.4);
    background: #e8e8e8;
}

.search-panel-icon {
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

#site-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #222;
    font-size: 13.5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    caret-color: var(--primary-color);
    min-width: 0;
}

#site-search-input::placeholder {
    color: #aaa;
    transition: color 0.22s;
}

#site-search-input:focus::placeholder {
    color: #bbb;
}

.search-panel-clear {
    background: rgba(0, 0, 0, 0.08);
    border: none;
    color: #888;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0);
}

.search-panel-clear.visible {
    opacity: 1;
    transform: scale(1);
}

.search-panel-clear:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
}

/* Results area */
.search-panel-results {
    max-height: 340px;
    overflow-y: auto;
    padding: 4px 0 6px;
    background: #f0f0f0;
}

.search-panel-results::-webkit-scrollbar {
    width: 3px;
}

.search-panel-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-panel-results::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 2px;
}

/* Category heading */
.search-category-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #999;
    padding: 10px 14px 3px;
    margin-top: 2px;
}

/* Individual result link */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
    position: relative;
}

.search-result-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.search-result-item:hover,
.search-result-item.focused {
    background: #e0e0e0;
    color: #111;
}

.search-result-item:hover::after,
.search-result-item.focused::after {
    opacity: 1;
}

.search-result-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #ddd;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.search-result-item:hover .search-result-icon,
.search-result-item.focused .search-result-icon {
    background: #d0d7e4;
    border-color: #b8c4d8;
}

.search-result-icon i {
    font-size: 10px;
    color: #666;
}

.search-result-item:hover .search-result-icon i,
.search-result-item.focused .search-result-icon i {
    color: var(--primary-color);
}

.search-result-text {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    font-size: 13px;
    color: #222;
}

.search-result-name mark {
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
}

.search-result-category {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 1px;
}

.search-result-arrow {
    color: #bbb;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.15s;
    transform: translateX(-3px);
}

.search-result-item:hover .search-result-arrow,
.search-result-item.focused .search-result-arrow {
    color: var(--primary-color);
    transform: translateX(0);
}

/* Empty state */
.search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.search-no-results i {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
    opacity: 0.4;
    color: #999;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20000; /* Ensure header is above chatbot (9999) */
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #e9ecef;
    color: var(--text-dark);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 100%;
    padding: 0 50px;
}

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

.contact-info span {
    margin-right: 25px;
}

.contact-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.language-switcher {
    position: relative;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 65px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.lang-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.3s;
    color: var(--text-light);
}

.language-switcher:hover .lang-dropdown-btn i {
    transform: rotate(180deg);
}

.lang-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 130px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.language-switcher:hover .lang-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-btn.active {
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
}

.social-links {
    display: inline-flex;
    align-items: center;
}

.social-links a {
    color: var(--text-dark);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: all 0.3s;
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    text-decoration: none;
}

.navbar {
    padding: 10px 0;
}

.navbar .container {
    max-width: 100%;
    padding: 0 50px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px; /* Better spacing for desktop */
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    height: auto;
    padding: 10px 0;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}

.nav-menu>li:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 270px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
}

.nav-menu>li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: all 0.3s;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a::after {
    display: none;
}

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

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

/* Catalog Button */
.catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 86, 179, 0.08); /* More subtle background */
    color: var(--primary-color) !important;
    border: 1.5px solid rgba(0, 86, 179, 0.2);
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.catalog-btn i {
    font-size: 13px;
}

.catalog-btn:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.catalog-btn::after {
    display: none;
}

/* Stock Button */
.stock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(2, 136, 209, 0.08); /* More subtle background */
    color: #0288d1 !important;
    border: 1.5px solid rgba(2, 136, 209, 0.3);
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.stock-btn i {
    font-size: 13px;
}

.stock-btn:hover {
    background: #0288d1;
    color: var(--white) !important;
    border-color: #0288d1;
    transform: translateY(-1px);
}

.stock-btn::after {
    display: none;
}

/* Animated Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 11000; /* Extremely high z-index */
    position: relative;
    transition: all 0.3s ease-in-out;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background: var(--primary-color);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background: var(--primary-color);
}

/* Hide mobile-specific elements on desktop */
.mobile-menu-actions, 
.mobile-lang-switcher,
.menu-overlay {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Full viewport height */
    min-height: 600px;
    position: relative;
    margin-top: 0;
    /* Reset margin since it's full screen now */
    background: var(--secondary-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align content to the left */
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    /* Important for scaled video */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Scales the video to the minimum size needed to completely fill the area */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient for text readability on the left, clear on the right */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    /* Wider container for cinematic feel */
    margin: 0 auto;
    padding: 0 40px;
    padding-top: 80px;
}

.hero-text {
    max-width: 900px;
    /* Increased width */
    color: var(--white);
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    /* Decreased font size */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 4px 4px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.8);
}

.hero-title span {
    display: block;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px);
    animation: cinematicReveal 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 86, 179, 0.6);
}

.hero-title span:nth-child(3) {
    animation-delay: 0.6s;
    font-size: 0.9em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.8s forwards;
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 2px 4px 6px rgba(0, 0, 0, 0.5);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    max-width: 900px;
    height: 380px;
    overflow: visible;
}

@media (max-width: 992px) {
    .hero-slider {
        height: 460px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 520px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    /* Start slightly off-screen */
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    /* Slide into place */
    z-index: 2;
    pointer-events: auto;
}

/* Staggered text reveal within the slide */
.hero-slide.active .hero-title span {
    animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-slide.active .hero-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-slide.active .hero-title span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-slide.active .hero-title span:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-slide.active .hero-subtitle {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    /* Reduced further to move closer */
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

/* Specific button styles for hero to make them smaller */
.hero-buttons .btn-primary.glow-effect,
.hero-buttons .btn-outline {
    padding: 12px 30px;
    font-size: 0.95rem;
    border-radius: 40px;
}

/* Cinematic Animations */
@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles - Hero Specific */
.btn-primary.glow-effect {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 1.1rem;
    background: var(--primary-color);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4);
}

.btn-primary.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

.btn-primary.glow-effect:hover::before {
    left: 100%;
}

.btn-primary.glow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.6);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--white);
}

/* Scroll Down Indicator */
.scroll-down-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.scroll-icon {
    width: 24px;
    /* Smaller icon */
    height: 40px;
    /* Capsule shape */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

.scroll-icon::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    animation: scrollDot 2s infinite;
}

.scroll-icon i {
    display: none;
    /* Hide the fontawesome icon, use custom css dot instead */
}

@keyframes scrollDot {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 24px;
        opacity: 0;
    }
}



.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

.scroll-down i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: auto;
        flex-direction: column;
        display: block;
        padding-bottom: 50px;
    }

    .hero-video-wrapper {
        position: absolute;
        height: 100%;
    }

    .hero-content {
        padding-top: 120px;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
        padding: 0 20px;
    }

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

    .hero-subtitle {
        margin: 0 auto 30px;
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
        padding-left: 0;
        padding-bottom: 20px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .btn-primary.glow-effect,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 18px;
}

.scroll-down {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 100;
    cursor: pointer;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--secondary-color);
}

.section-title span {
    color: var(--primary-color);
}

.section-description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: var(--white);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    font-weight: 700;
    color: #f0f0f0;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}



.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.gallery-main {
    position: relative;
}

.gallery-main img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery-subs {
    display: flex;
    gap: 20px;
}

.gallery-subs img {
    width: calc(50% - 10px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-main img:hover, .gallery-subs img:hover {
    transform: scale(1.02);
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 100001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.clickable-img {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

.clickable-img:hover {
    transform: scale(1.03) !important;
    filter: brightness(1.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    text-align: center;
    z-index: 10;
}

.experience-badge h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.about-content {
    text-align: left;
}

.about-text {
    color: var(--text-light);
    margin: 25px 0 35px;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-light);
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.product-link:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 20px;
    margin: 10px 0;
    color: var(--secondary-color);
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Quote Section */
/* Quote Section Modern Redesign */
.quote-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #004494 0%, #001529 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M54.627 0l.83.828-1.415 1.415L53.213 1.414 54.627 0zM5.373 0L3.959 1.414 2.545 0 .83.828l1.415 1.415L1.414 3.07 0 1.657 0 3.07l1.414 1.414L0 5.898V7.31L1.414 5.898l1.414 1.414L1.414 8.727 0 7.313V8.727l1.414 1.414L0 11.555v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 14.383v1.414l1.414-1.414 1.414 1.414L1.414 17.21 0 15.797v1.414l1.414 1.414L0 20.038v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 22.867v1.414l1.414-1.414 1.414 1.414L1.414 25.695 0 24.28v1.414l1.414 1.414L0 28.522v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 31.35v1.414l1.414-1.414 1.414 1.414L1.414 34.18 0 32.766v1.414l1.414 1.414L0 37.007v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 39.836v1.414l1.414-1.414 1.414 1.414L1.414 42.664 0 41.25v1.414l1.414 1.414L0 45.492v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 48.32v1.414l1.414-1.414 1.414 1.414L1.414 51.15 0 49.736v1.414l1.414 1.414L0 53.977v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 56.805v1.414l1.414-1.414 1.414 1.414L1.414 59.637 0 58.223v1.414l1.414 1.414L1.414 62.465 0 61.05v1.414l1.414 1.414L0 65.308v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 68.137v1.414l1.414-1.414 1.414 1.414L1.414 70.965 0 69.55v1.414l1.414 1.414L0 73.793v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 76.62v1.414l1.414-1.414 1.414 1.414L1.414 79.45 0 78.036v1.414l1.414 1.414L0 82.277v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 85.105v1.414l1.414-1.414 1.414 1.414L1.414 87.937 0 86.523v1.414l1.414 1.414L1.414 90.765 0 89.35v1.414l1.414 1.414L0 93.608v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 96.437v1.414l1.414-1.414 1.414 1.414L1.414 99.265 0 97.85v1.414l1.414 1.414L0 102.093v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 104.92v1.414l1.414-1.414 1.414 1.414L1.414 107.75 0 106.336v1.414l1.414 1.414L0 110.577v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 113.405v1.414l1.414-1.414 1.414 1.414L1.414 116.237 0 114.823v1.414l1.414 1.414L1.414 119.065 0 117.65v1.414l1.414 1.414L0 121.908v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 124.737v1.414l1.414-1.414 1.414 1.414L1.414 127.565 0 126.15v1.414l1.414 1.414L0 130.393v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 133.22v1.414l1.414-1.414 1.414 1.414L1.414 136.05 0 134.636v1.414l1.414 1.414L0 138.877v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 141.705v1.414l1.414-1.414 1.414 1.414L1.414 144.537 0 143.123v1.414l1.414 1.414L1.414 147.365 0 145.95v1.414l1.414 1.414L0 150.208v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 153.037v1.414l1.414-1.414 1.414 1.414L1.414 155.865 0 154.45v1.414l1.414 1.414L0 158.693v1.414l1.414-1.414 1.414 1.414-1.414 1.414L0 161.52v1.414z" fill="white" fill-opacity="0.03" fill-rule="evenodd"/%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(15deg);
    pointer-events: none;
}

.quote-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-content {
    text-align: center;
    width: 100%;
}

.quote-content .section-subtitle {
    color: var(--primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.quote-content .section-title {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.quote-content .section-title span {
    color: var(--primary-light);
}

.quote-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.quote-form label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.quote-form label i {
    margin-right: 10px;
    color: var(--primary-light);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
    transform: scale(1.01);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.form-group select option {
    background: #001529;
    color: var(--white);
    padding: 10px;
}

.quote-form button[type="submit"] {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.quote-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.4);
    background: linear-gradient(135deg, #004494 0%, var(--primary-color) 100%);
}

.quote-form button[type="submit"] i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 80px 0;
    }

    .quote-content .section-title {
        font-size: 2rem;
    }

    .quote-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
}

.project-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.author-info h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Map Cards */
.map-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.map-card {
    background: #fdfdfd;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.map-card-header {
    height: 300px;
    width: 100%;
}

.map-card-header iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-card-body {
    padding: 30px;
    flex-grow: 1;
    background: #f8f9fa;
}

.map-card-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.map-card-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-info-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.map-info-item strong {
    color: #1a1a1a;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .map-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .map-cards-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-cards {
    display: none; /* Hide old cards as we are moving to map cards */
}

.contact-info-card {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-info-card:hover {
    background: #0084ff;
    color: var(--white);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: var(--white);
    transition: all 0.3s;
}

.contact-info-card:hover .contact-icon {
    background: var(--white);
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-info-card:hover h3 {
    color: var(--white);
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 13px;
}

.contact-info-card:hover p {
    color: var(--white);
}

/* Department Contacts */
.department-contacts {
    margin-top: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.department-contacts h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dept-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dept-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 15px;
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.contact-form label i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230056b3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form button[type="submit"] i {
    margin-right: 8px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 0.8fr 0.6fr 1fr 1fr 2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-column h3,
.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-column h4,
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-column p,
.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-column ul,
.footer-col ul {
    list-style: none;
}

.footer-column ul li,
.footer-col ul li {
    margin-bottom: 12px;
}

.footer-column ul li a,
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a::before,
.footer-col ul li a::before {
    content: "•";
    color: var(--primary-color);
    font-size: 14px;
}

.footer-column ul li a:hover,
.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li,
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px !important;
}

.footer-contact i,
.contact-list i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-contact span {
    line-height: 1.8;
}

.footer-contact strong {
    color: var(--white);
    display: inline-block;
    margin-bottom: 2px;
}

.footer-contact span.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact span.contact-grid span {
    display: block;
    line-height: 1.4;
    font-size: 0.92rem;
}

.footer-contact strong {
    color: var(--white);
    font-weight: 600;
}

.contact-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
}

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

/* Specific styling for email lists to make them slightly smaller */
.footer-contact li:has(.fa-envelope) .contact-grid span,
.contact-info-card:has(.fa-envelope) p {
    font-size: 0.88rem;
}

.footer-bottom {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
}

.footer-design {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-design img {
    height: 60px;
    width: auto;
}

.footer-design a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px 0 30px;
    margin-top: 105px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Mission Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--white);
}

.mission-card h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: right;
    padding-right: 40px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    flex: 1;
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

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

.stat-icon {
    font-size: 50px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 50px;
    color: var(--white);
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    color: var(--text-light);
    font-size: 14px;
}

/* Product Detail Section */
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-detail-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.product-detail-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-detail-card ul {
    list-style: none;
}

.product-detail-card ul li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.product-detail-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 45px;
    }

    .about-wrapper,
    .about-row,
    .quote-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar for cleaner mobile header */
    }

    .header {
        padding: 5px 0;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .nav-wrapper {
        gap: 0;
    }

    .logo img {
        height: 32px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Side Panel */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        bottom: 0;
        width: 320px;
        max-width: 85%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 10500; /* Higher than overall header */
        margin: 0;
        text-align: left;
        gap: 8px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-menu.active > li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-menu.active > li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active > li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active > li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active > li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active > li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active > li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active > li:nth-child(7) { transition-delay: 0.4s; }

    .nav-menu a {
        font-size: 16px;
        font-weight: 600;
        padding: 12px 0;
        width: 100%;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu a.active {
        color: var(--primary-color);
    }

    .nav-menu a::after {
        display: none;
    }

    /* Mobile Dropdown */
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0 0 0 15px;
        background: transparent;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 2px solid rgba(0, 86, 179, 0.1);
    }

    .dropdown-menu.active {
        max-height: 1000px;
        padding-top: 5px;
        padding-bottom: 10px;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu a {
        font-size: 14px;
        font-weight: 500;
        padding: 10px 0;
        border-bottom: none;
        opacity: 0.8;
    }

    .dropdown-menu a:hover {
        padding-left: 10px;
        background: transparent;
    }

    /* Mobile Overlay */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 10450;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Action buttons in mobile menu */
    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-actions .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 14px;
    }

    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
    }


    .hero-indicators {
        bottom: 30px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .scroll-down {
        bottom: 70px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form,
    .contact-form {
        padding: 30px 20px;
    }

    .contact-form label {
        font-size: 13px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 14px;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
    }

    .badge-content h3 {
        font-size: 35px;
    }

    .page-header {
        margin-top: 70px;
        padding: 40px 0 20px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        flex: none;
    }

    .timeline-year::after {
        left: -50px;
    }

    .about-wrapper[style*="direction: rtl"] {
        direction: ltr !important;
    }

    .mission-vision-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid,
    .products-grid,
    .testimonials-wrapper,
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .loading-logo {
        width: 180px;
    }

    .loading-slogan {
        font-size: 16px;
        padding: 0 10px;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
    }

    .loading-text {
        font-size: 16px;
    }

    .hero-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    .scroll-down {
        bottom: 60px;
        font-size: 24px;
    }
}

/* Language Change Notification */
.lang-notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 15px;
    z-index: 10000;
    transition: right 0.3s ease;
}

.lang-notification.show {
    right: 30px;
}

.lang-notification i {
    font-size: 18px;
    color: var(--white);
}

@media (max-width: 768px) {
    .lang-notification {
        top: 80px;
        right: -300px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .lang-notification.show {
        right: 20px;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: -500px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(45, 45, 45, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 25px 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--primary-color);
}

.cookie-consent.show {
    bottom: 0;
    animation: slideUpBounce 0.6s ease-out;
}

@keyframes slideUpBounce {
    0% {
        bottom: -500px;
    }

    70% {
        bottom: 10px;
    }

    100% {
        bottom: 0;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 48px;
    color: var(--primary-color);
    animation: cookieRotate 3s ease-in-out infinite;
}

@keyframes cookieRotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: var(--white);
}

.cookie-text h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.cookie-text p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.4);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.5);
}

.cookie-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Consent Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 20px 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-icon {
        font-size: 36px;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-text h4 {
        font-size: 18px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Cookie Notification (for accept/reject feedback) */
.cookie-notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(45, 45, 45, 0.98) 100%);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 15px;
    z-index: 100000;
    transition: right 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.cookie-notification.show {
    right: 30px;
}

.cookie-notification i {
    font-size: 18px;
}

.cookie-notification .fa-check-circle {
    color: #4caf50;
}

.cookie-notification .fa-times-circle {
    color: #f44336;
}

@media (max-width: 768px) {
    .cookie-notification {
        top: 80px;
        right: -300px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .cookie-notification.show {
        right: 20px;
    }
}

/* Cookie Policy Page Styles */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.policy-block {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.policy-block h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-block h2 i {
    color: var(--primary-color);
    font-size: 32px;
}

.policy-block h3 {
    color: var(--dark);
    font-size: 22px;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-block h3 i {
    color: var(--secondary-color);
}

.policy-block h4 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.policy-block p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.policy-list li {
    padding: 12px 0;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.policy-list li i {
    color: #4caf50;
    font-size: 18px;
    margin-top: 2px;
}

.cookie-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.cookie-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cookie-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0097a7 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.cookie-duration {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.duration-item {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffb74d;
}

.duration-item i {
    font-size: 40px;
    color: #ff9800;
    margin-bottom: 15px;
}

.duration-item h4 {
    color: var(--dark);
    margin-bottom: 8px;
}

.duration-item p {
    margin: 0;
    font-size: 14px;
}

.control-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.control-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #90caf9;
}

.control-item:hover {
    transform: scale(1.05);
}

.control-item i {
    font-size: 40px;
    color: #2196f3;
    margin-bottom: 15px;
}

.browser-guides {
    margin-top: 30px;
    padding: 25px;
    background: #f5f5f5;
    border-radius: 10px;
}

.browser-guides h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.browser-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.browser-link {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    border: 2px solid transparent;
}

.browser-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.browser-link i {
    font-size: 20px;
}

.cookie-table {
    overflow-x: auto;
    margin-top: 20px;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.cookie-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-color);
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

.cookie-table code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 600;
}

.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.badge-essential {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: var(--white);
}

.badge-functional {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: var(--white);
}

.badge-analytics {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: var(--white);
}

.warning-block {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-left: 5px solid #ffa726;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.warning-list li {
    padding: 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-list li i {
    color: #f44336;
    font-size: 18px;
    margin-top: 2px;
}

.contact-block {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-left: 5px solid #4caf50;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
}

.update-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    text-align: center;
    border-left: none;
    border-top: 4px solid #2196f3;
}

.update-info p {
    margin: 10px 0;
    font-size: 14px;
}

.update-info i {
    color: #2196f3;
    margin-right: 5px;
}

/* Cookie Policy Responsive */
@media (max-width: 768px) {
    .policy-block {
        padding: 25px 20px;
    }

    .policy-block h2 {
        font-size: 22px;
        flex-direction: column;
        text-align: center;
    }

    .policy-block h3 {
        font-size: 18px;
    }

    .cookie-duration,
    .control-options,
    .contact-info-box {
        grid-template-columns: 1fr;
    }

    .browser-links {
        grid-template-columns: 1fr;
    }

    .cookie-table {
        font-size: 14px;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

/* =========================================
   Chess Timeline Styles
   ========================================= */
.chess-timeline-container {
    padding: 60px 0;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

/* Rows */
.chess-timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.chess-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    min-width: 0;
    /* allows flex items to shrink below content size if needed */
    border-right: 1px solid #e0e0e0;
    /* Vertical separator */
}

.chess-item:last-child {
    border-right: none;
}

/* Pieces */
.chess-piece {
    font-size: 3.5rem;
    color: #444;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chess-item:hover .chess-piece {
    transform: translateY(-10px) scale(1.1);
    color: var(--primary-color);
}

/* Years */
.chess-year {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    /* Colorized */
    margin-bottom: 5px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -1px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

/* Text */
.chess-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    min-height: 2.4em;
    /* aligned heights */
}

.chess-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    max-width: 90%;
    margin: 0 auto;
}

/* Connector Line */
.chess-connector {
    height: 12px;
    background-color: #ddd;
    width: 100%;
    position: relative;
    margin: 10px 0 50px 0;
    /* Space between rows */
    border-radius: 6px;
    z-index: 1;
}

/* Unique override for Carbon Steel, Case Hardening Steel, and Free Cutting Steel page side-nav position */
[data-page="carbon_steel"] .side-nav,
[data-page="case_hardening_steel"] .side-nav,
[data-page="free_cutting_steel"] .side-nav,
[data-page="boron_steel"] .side-nav {
    top: calc(50% + 70px) !important;
    /* Moved down by 70px total (120px - 50px) */
}

/* Unique override for Cookie Policy page navbar alignment */
[data-page="cerez-politikasi"] .nav-menu {
    margin-left: auto;
}

/* Reduced font sizes for Cookie Policy page */
[data-page="cerez-politikasi"] .policy-block p,
[data-page="cerez-politikasi"] .policy-list li,
[data-page="cerez-politikasi"] .cookie-table td,
[data-page="cerez-politikasi"] .cookie-table th,
[data-page="cerez-politikasi"] .control-item p,
[data-page="cerez-politikasi"] .duration-item p {
    font-size: 0.95rem;
    /* Slightly reduced from default */
}

[data-page="cerez-politikasi"] .policy-block h2 {
    font-size: 1.6rem;
}

[data-page="cerez-politikasi"] .policy-block h3,
[data-page="cerez-politikasi"] .duration-item h4,
[data-page="cerez-politikasi"] .control-item h4 {
    font-size: 1.1rem;
}

/* Increase top margin for the first policy block (Çerezler Nedir?) */
[data-page="cerez-politikasi"] .policy-block:first-child {
    margin-top: 50px;
}

/* Connector Arrows/Decorations */
.chess-connector::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
}

.chess-connector::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .chess-timeline-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .chess-connector {
        display: none;
    }

    .chess-item {
        width: 100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px dashed #eee;
        border-right: none;
        /* Remove vertical separator on mobile */
    }

    .chess-item:last-child {
        border-bottom: none;
    }

    .chess-item h4 {
        min-height: auto;
    }
}

/* =========================================
   Enhanced Stats Section Styles
   ========================================= */
.stats-section {
    padding: 80px 0;
    /* Dark Radial Gradient for depth */
    background: radial-gradient(circle at center, #34495e 0%, #1a252f 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    /* Inner shadow for depth */
}

/* Texture overlay effect */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    pointer-events: none;
}

.stats-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.stats-header h2 {
    font-size: 2.8rem;
    /* Larger Title */
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    background: linear-gradient(to bottom, #ffffff, #bdc3c7);
    /* Metallic Text Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding-top: 10px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center align */
    flex-wrap: nowrap;
    /* Force single row on desktop */
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    /* Remove gap, handle with padding */
}

.stat-item {
    flex: 1;
    padding: 0 10px;
    /* Reduced padding */
    min-width: auto;
    /* Allow shrinking */
    position: relative;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Metallic Icon Style */
.stat-icon {
    font-size: 2.5rem;
    /* Smaller icons */
    margin-bottom: 15px;
    /* Silver/Metallic Gradient */
    background: linear-gradient(135deg, #e0e0e0 0%, #bdc3c7 50%, #7f8c8d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

/* Number Style */
.stat-number {
    font-size: 1.8rem;
    /* Smaller numbers */
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    /* Smaller label */
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Vertical Divider */
.stat-divider {
    width: 1px;
    height: 60px;
    /* Shorter divider */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0));
    align-self: center;
    margin: 0;
}

@media (max-width: 992px) {
    .stat-divider {
        display: none;
    }

    .stats-grid {
        gap: 40px;
    }

    .stat-item {
        flex: 1 1 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 1 1 100%;
    }
}

/* =========================================
   Side Navigation Styles
   ========================================= */
.side-nav {
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 1000;
    display: block;
    /* Ensure visibility */
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin: 30px 0;
    /* Increased spacing */
}

.side-nav a {
    display: block;
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.side-nav a:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.side-nav a.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

/* Label (Always Visible) */
.side-nav a::after {
    content: attr(data-label);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Enable clicks */
    cursor: pointer;
    /* Show pointer */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.side-nav a.active::after {
    background: var(--secondary-color);
    font-weight: bold;
}

/* Arrow for label (Always Visible) */
.side-nav a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--primary-color) transparent transparent;
    opacity: 1;
    visibility: visible;
}

.side-nav a.active::before {
    border-color: transparent var(--secondary-color) transparent transparent;
}

/* Mobile check - hide on small screens */
@media (max-width: 992px) {
    .side-nav {
        display: none;
    }
}

/* Contact Page Split Layout */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    /* Stretch to same height */
}

/* Adjust contact info cards when in split layout */
.contact-split-layout .contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid for cards */
    gap: 20px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles for Contact Split */
@media (max-width: 992px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        /* Stack on smaller screens */
    }

    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-split-layout .contact-info-cards {
        grid-template-columns: 1fr;
        /* 1 column for cards on mobile */
    }
}

/* Weight Calculator Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background: var(--primary-color, #c0392b);
    /* Fallback to existing red if var not defined */
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

/* Higher specificity to override potential global resets */
.modal-body .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #999 !important;
    /* Much darker and thicker border */
    background-color: #eee !important;
    /* Clearly gray background */
    border-radius: 8px;
    font-size: 1rem;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Inner shadow for depth */
}

.modal-body .form-control:focus {
    background-color: #fff !important;
    border-color: var(--primary-color, #c0392b) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2) !important;
    outline: none;
}



.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.calc-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-calculate {
    flex: 2;
    background: var(--primary-color, #c0392b);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-calculate:hover {
    background: #a93226;
}

.btn-reset {
    flex: 1;
    background: #f1f1f1;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-reset:hover {
    background: #e0e0e0;
}

.result-box {
    margin-top: 25px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed #ccc;
    display: none;
    /* Hidden by default */
}

.result-box.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.result-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #c0392b);
}

.calc-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    text-align: center;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 90px;
    /* To the left of Scroll Top Button */
    z-index: 998;
    background-color: #25D366;
    color: #fff !important;
    height: 50px;
    /* Matching .scroll-top height */
    padding: 0 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.whatsapp-button i {
    font-size: 20px;
    background: #fff;
    color: #25D366;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.whatsapp-button:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.whatsapp-label {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.whatsapp-button:hover .whatsapp-label {
    max-width: 200px;
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 75px;
        /* Aligned with .scroll-top (20px) + width (45px) + gap (10px) */
        height: 45px;
        /* Matching .scroll-top mobile height */
        padding: 0 10px;
        width: 45px;
        justify-content: center;
    }

    .whatsapp-label {
        display: none;
    }

    .whatsapp-button i {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

/* Product Categories Grid on Home Page */
.products-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-category-card {
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 86, 179, 0.2);
    border-color: var(--primary-color);
}

.product-category-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.product-category-content {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-category-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-category-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

@media (max-width: 1200px) {
    .products-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-categories-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 992px) {
  .services-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .services-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
}
