/* =============================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ============================================= */
:root {
    /* Color Palette */
    --glass-blue: #0a1628;
    --glass-silver: #c8d8e8;
    --glass-accent: #4a9eca;
    --glass-light: #f0f6fb;
    --glass-white: #ffffff;
    --glass-dark: #0d1f35;
    --glass-muted: #6b8299;
    --glass-border: rgba(74, 158, 202, 0.15);

    /* Legacy Compatibility Aliases */
    --primary-color: var(--glass-blue);
    --secondary-color: var(--glass-dark);
    --accent-color: var(--glass-accent);
    --text-color: #2c2c2c;
    --light-text: var(--glass-muted);
    --bg-white: var(--glass-white);
    --bg-light: var(--glass-light);
    --footer-bg: #111;
    --footer-text: #ddd;

    /* Spacing & Layout */
    --container-width: 1180px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* Shadows & Effects */
    --shadow-soft: 0 4px 24px rgba(10, 22, 40, 0.08);
    --shadow-card: 0 8px 40px rgba(10, 22, 40, 0.12);
    --shadow-hover: 0 16px 56px rgba(10, 22, 40, 0.18);
    --shadow: var(--shadow-soft);

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: var(--transition);
}

/* ==========================
   GLOBAL RESETS
   ========================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 15px;
    font-weight: 700;
}

a {
    transition: var(--transition);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================
   UTILITY CLASSES
   ========================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--glass-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 202, 0.2);
}

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

/* ==========================
   HEADER / NAVIGATION
   ========================== */
header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

header .logo img {
    height: 50px;
    display: block;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a {
    margin: 0 15px;
    color: var(--glass-blue);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

header nav a:hover,
header nav a.active {
    color: var(--accent-color);
}

/* Dropdown Navigation */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-item-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-card);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1001;
    border-top: 3px solid var(--accent-color);
}

.dropdown-menu a {
    display: block;
    margin: 0;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--glass-blue);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--glass-light);
    color: var(--accent-color);
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

header .header-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* ==========================
   RESPONSIVE HEADER
   ========================== */

/* ==========================
   DESKTOP HEADER FIX
   ========================== */
@media (min-width: 769px) {
    header nav.nav-links {
        flex: 1;
    }

    header nav.nav-links::before {
        content: "";
        margin-right: auto;
    }

    header .header-cta {
        margin-left: auto;
    }
}

/* ==========================
   MOBILE MENU (Hamburger)
   ========================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--glass-blue);
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

@media(max-width: 768px) {
    header .container.nav {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
    }
    
    header .logo img {
        max-width: 150px !important;
        height: auto !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hide the nav by default, make it a dropdown overlay */
    header nav.nav-links {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 0 !important;
        gap: 0 !important;
        z-index: 1001;
    }

    header nav.nav-links.active {
        display: flex !important;
        padding: 15px 0 !important;
    }

    header nav.nav-links a {
        font-size: 16px !important;
        padding: 15px 25px !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Nav Item Dropdown on mobile */
    .nav-item-dropdown {
        width: 100%;
    }

    .nav-item-dropdown>a {
        justify-content: space-between;
        width: 100%;
        padding-right: 25px !important;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: var(--glass-light);
        display: none;
        padding: 0;
        min-width: 100%;
    }

    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:active .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 40px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    /* Move the button to bottom of mobile menu */
    header .header-cta {
        display: block !important;
        padding: 20px 25px;
        margin: 0;
    }

    header .header-cta .btn {
        width: 100%;
        padding: 12px !important;
        font-size: 14px !important;
    }
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/header/imgslide.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
}

/* ==========================
   GRID & CARDS
   ========================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

/* ==========================
   ABOUT & CONTENT SECTIONS
   ========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media(max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.about-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ==========================
   FEATURES / WHY CHOOSE US
   ========================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

/* =============================================
   CONTACT PAGE — PREMIUM SECTION STYLES
   ============================================= */
.contact-section-premium {
    background: var(--glass-light);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-section-premium::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(74, 158, 202, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-section-premium::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(74, 158, 202, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 56px;
}

@media (max-width: 1024px) {
    .contact-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.info-panel-header {
    background: linear-gradient(135deg, var(--glass-blue) 0%, var(--glass-dark) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 40px 36px 36px;
    position: relative;
    overflow: hidden;
}

.info-panel-header h3 {
    color: var(--glass-white);
    margin: 0 0 8px;
    font-size: 22px;
}

.info-panel-header p {
    color: rgba(200, 216, 232, 0.75);
    font-size: 14px;
    margin: 0;
}

.info-panel-body {
    background: var(--glass-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 8px 0;
    box-shadow: var(--shadow-card);
}

.info-item {
    display: flex;
    gap: 18px;
    padding: 22px 32px;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: var(--transition);
}

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

.info-item:hover {
    background: rgba(74, 158, 202, 0.04);
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(74, 158, 202, 0.1);
    border: 1px solid rgba(74, 158, 202, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item:hover .info-icon {
    background: var(--glass-accent);
}

.info-icon i {
    color: var(--glass-accent);
    font-size: 16px;
}

.info-item:hover .info-icon i {
    color: white;
}

.info-content h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--glass-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.info-social {
    padding: 20px 32px 10px;
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glass-muted);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--glass-accent);
    color: white;
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--glass-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.form-card-header {
    background: linear-gradient(135deg, var(--glass-accent) 0%, #2d7fb5 100%);
    padding: 32px 40px;
}

.form-card-header h3 {
    font-size: 20px;
    color: white;
    margin: 0 0 6px;
}

.form-card-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.form-card-body {
    padding: 40px;
}

@media (max-width: 768px) {
    .form-card-body {
        padding: 24px;
    }
}

.form-premium .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(10, 22, 40, 0.1);
    border-radius: var(--radius-sm);
    background: var(--glass-light);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--glass-blue);
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--glass-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(74, 158, 202, 0.1);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--glass-blue) 0%, var(--glass-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background: var(--glass-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 158, 202, 0.35);
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    color: var(--glass-muted);
    font-size: 13px;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(10, 22, 40, 0.08);
}

.quick-contact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .quick-contact-strip {
        grid-template-columns: 1fr;
    }
}

.quick-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 1.5px solid rgba(10, 22, 40, 0.08);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--glass-blue);
    font-size: 12px;
}

.quick-contact-btn i {
    font-size: 18px;
    color: var(--glass-accent);
    margin-bottom: 5px;
}

.quick-contact-btn:hover {
    background: var(--glass-accent);
    color: white;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-top: 20px;
}

.contact-cta-strip {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--glass-blue) 0%, var(--glass-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

@media (max-width: 768px) {
    .contact-cta-strip {
        flex-direction: column;
        padding: 30px;
        text-align: center;
        gap: 24px;
    }
}

.cta-btn-primary {
    background: var(--glass-accent);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.cta-btn-secondary {
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
}

/* ==========================
   FOOTER
   ========================== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

footer h3 {
    color: #fff;
    font-size: 20px;
}

footer a {
    color: var(--footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #777;
}

/* ==========================
   MISC UTILITIES
   ========================== */
.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

.product-hero {
    height: 50vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/products/product-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
@media (max-width: 768px) {
    header .logo img {
        max-width: 150px !important;
        min-height: 70px !important;
        height: auto !important;
    }
}