/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- Brand Colors --- */
:root {
    --primary: #2176ae;
    --primary-dark: #174c6b;
    --accent: #38b6ff;
    --background: #f7fafd;
    --white: #fff;
    --gray: #e9ecef;
    --text: #2c3e50;
    --shadow: 0 4px 24px rgba(33, 118, 174, 0.08);
}

/* Header and Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 6%;
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    letter-spacing: 1px;
}

.brand-highlight {
    color: var(--primary);
    font-weight: 800;
}

.site-tag {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-left: 0.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li a,
.nav-links .dropbtn {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    background: none;
    border: none;
    cursor: pointer;
    height: 100%;
    line-height: 1.2;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-links li a.active,
.nav-links li a:hover,
.nav-links .dropbtn:hover {
    color: var(--primary);
    background: var(--gray);
}

.nav-links .dropbtn i {
    margin-left: 0.4em;
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 1px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero.glass-hero {
    min-height: 60vh;
    background: linear-gradient(120deg, rgba(33,118,174,0.15) 0%, rgba(56,182,255,0.10) 100%), url('../images/hero-glass-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-dark);
    padding: 4rem 1rem 3rem 1rem;
    box-shadow: var(--shadow);
}

.hero-content h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    text-shadow: 0 2px 8px rgba(33,118,174,0.07);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    color: var(--primary-dark);
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(33,118,174,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(33,118,174,0.13);
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 6% 3rem 6%;
    background: var(--white);
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-size: 2.1rem;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding-bottom: 1.5rem;
    border: 1px solid var(--gray);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(33,118,174,0.13);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 8px rgba(33,118,174,0.07);
}

.product-card h3 {
    margin: 1.2rem 0 0.5rem 0;
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.product-card p {
    color: var(--primary-dark);
    opacity: 0.85;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.learn-more {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    background: var(--accent);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.learn-more:hover {
    background: var(--primary);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 6%;
    background: var(--background);
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    transition: box-shadow 0.2s;
}

.feature i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature p {
    color: var(--primary-dark);
    opacity: 0.85;
    font-size: 1rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 6%;
    background: linear-gradient(120deg, rgba(33,118,174,0.10) 0%, rgba(56,182,255,0.08) 100%);
    text-align: center;
    color: var(--primary-dark);
}

.contact-cta h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 6% 1rem 6%;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.2s, opacity 0.2s;
}

.footer-section a:hover {
    color: var(--accent);
    opacity: 1;
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 3%;
    }
    .logo h1 {
        font-size: 1.3rem;
    }
    .site-tag {
        font-size: 0.9rem;
    }
    .featured-products, .why-choose-us, .contact-cta, footer {
        padding-left: 3%;
        padding-right: 3%;
    }
    .product-card img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.7rem 1.5%;
    }
    .logo h1 {
        font-size: 1.1rem;
    }
    .site-tag {
        font-size: 0.8rem;
    }
    .featured-products, .why-choose-us, .contact-cta, footer {
        padding-left: 1.5%;
        padding-right: 1.5%;
    }
    .product-card img {
        height: 80px;
    }
    .hero-content h1 {
        font-size: 1.3rem;
    }
}

/* --- Enhanced Dropdown Menu Styles --- */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 180px !important;
    max-width: 240px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-radius: 0 0 10px 10px;
    z-index: 1001;
    padding: 0.5rem 0 !important;
    transition: box-shadow 0.2s;
}

.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content {
    display: block !important;
}

.dropdown-content .dropdown-submenu:hover > .submenu-list,
.dropdown-content .dropdown-submenu:focus-within > .submenu-list {
    display: block !important;
}

.submenu-list .dropdown-nested:hover > .nested-list,
.submenu-list .dropdown-nested:focus-within > .nested-list {
    display: block !important;
}

/* Remove .open class dependency for desktop */
@media (min-width: 901px) {
    .dropdown-content,
    .submenu-list,
    .nested-list {
        display: none;
    }
    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content {
        display: block !important;
    }
    .dropdown-content .dropdown-submenu:hover > .submenu-list,
    .dropdown-content .dropdown-submenu:focus-within > .submenu-list {
        display: block !important;
    }
    .submenu-list .dropdown-nested:hover > .nested-list,
    .submenu-list .dropdown-nested:focus-within > .nested-list {
        display: block !important;
    }
}

.dropdown-submenu {
    position: relative;
}

.submenu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem 0.85rem 1.7rem;
    color: #2c3e50;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
    font-size: 1rem !important;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem !important;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submenu-title:hover,
.submenu-title:focus {
    background: #f0f4f8;
    color: #3498db;
    border-left: 3px solid #3498db;
}

.submenu-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px !important;
    max-width: 240px !important;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-radius: 0 10px 10px 0;
    z-index: 1002;
    padding: 0.5rem 0 !important;
    transition: left 0.2s;
    font-size: 1rem !important;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem !important;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-submenu:hover .submenu-list,
.dropdown-submenu:focus-within .submenu-list,
.dropdown-submenu.open .submenu-list {
    display: block;
}

.submenu-list a {
    display: block;
    padding: 0.7rem 2rem 0.7rem 2.2rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.submenu-list a:hover,
.submenu-list a:focus {
    background: #f0f4f8;
    color: #3498db;
    border-left: 3px solid #3498db;
}

/* Nested Dropdowns for Aluminum */
.dropdown-nested {
    position: relative;
}

.nested-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem 0.7rem 2.5rem;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
    font-size: 1rem !important;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem !important;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nested-title:hover,
.nested-title:focus {
    background: #f0f4f8;
    color: #3498db;
    border-left: 3px solid #3498db;
}

.nested-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px !important;
    max-width: 240px !important;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-radius: 0 10px 10px 0;
    z-index: 1003;
    padding: 0.5rem 0 !important;
    transition: left 0.2s;
    font-size: 1rem !important;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem !important;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-nested:hover .nested-list,
.dropdown-nested:focus-within .nested-list,
.dropdown-nested.open .nested-list {
    display: block;
}

.nested-list a {
    display: block;
    padding: 0.7rem 2rem 0.7rem 2.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.nested-list a:hover,
.nested-list a:focus {
    background: #f0f4f8;
    color: #3498db;
    border-left: 3px solid #3498db;
}

/* Dropdown open left if needed */
.submenu-list.open-left, .nested-list.open-left {
    left: auto !important;
    right: 100% !important;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* Responsive: Hide dropdown on mobile, show as normal nav */
@media (max-width: 900px) {
    .dropdown-content, .submenu-list, .nested-list {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        padding: 0;
    }
    .dropdown-content {
        display: none !important;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block !important;
    }
    .submenu-list, .nested-list {
        display: block !important;
    }
    .submenu-title, .nested-title {
        padding-left: 1.5rem;
    }
}

/* Compact Dropdowns */
.dropdown-content, .submenu-list, .nested-list {
    min-width: 180px !important;
    max-width: 240px !important;
    padding: 0.5rem 0 !important;
}

.submenu-list a, .nested-list a, .submenu-title, .nested-title {
    font-size: 1rem !important;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem !important;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-content {
    max-width: 240px !important;
}

@media (max-width: 600px) {
    .dropdown-content, .submenu-list, .nested-list {
        min-width: 120px !important;
        max-width: 98vw !important;
    }
    .submenu-list a, .nested-list a, .submenu-title, .nested-title {
        font-size: 0.95rem !important;
        padding: 0.45rem 0.7rem 0.45rem 0.7rem !important;
    }
}

/* Ensure third-level (nested) submenus show on hover */
.dropdown-nested:hover > .nested-list,
.dropdown-nested:focus-within > .nested-list {
    display: block !important;
}

.site-logo {
    height: 54px;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

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

@media (max-width: 900px) {
    .site-logo {
        height: 38px;
        max-width: 120px;
    }
}

/* Logo and Brand Row */
.logo-and-brand {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-left: 2.5%;
}

.brand-animate {
    font-size: 2.8rem;
    font-weight: 900;
    color: #7c3aed;
    letter-spacing: 3px;
    white-space: nowrap;
    user-select: none;
    text-align: left;
    opacity: 0;
    transform: translateX(120px);
    animation:
        brandSlideInRight 1.3s cubic-bezier(0.4,0,0.2,1) 0s 1 forwards,
        brandPulse 2.2s infinite alternate 1.3s;
}

@keyframes brandSlideInRight {
    0% { opacity: 0; transform: translateX(120px);}
    100% { opacity: 1; transform: translateX(0);}
}
@keyframes brandPulse {
    0% { color: #7c3aed; text-shadow: 0 0 8px #b794f4; }
    100% { color: #2176ae; text-shadow: 0 0 18px #38b6ff; }
}

@media (max-width: 900px) {
    .logo-and-brand {
        gap: 0.8rem;
        margin-left: 1%;
    }
    .brand-animate {
        font-size: 1.5rem;
        min-width: 180px;
        letter-spacing: 1.5px;
    }
}
@media (max-width: 600px) {
    .logo-and-brand {
        gap: 0.3rem;
        margin-left: 0.5%;
    }
    .brand-animate {
        font-size: 1rem;
        min-width: 80px;
        letter-spacing: 0.5px;
    }
}

/* Centered Main Navbar */
.main-navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 0;
}
.centered-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.centered-nav li {
    display: flex;
    align-items: center;
}
.centered-nav li a,
.centered-nav .dropbtn {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: none;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.7rem;
    transition: background 0.2s, color 0.2s;
}
.centered-nav li a.active,
.centered-nav li a:hover,
.centered-nav .dropbtn:hover {
    color: var(--primary);
    background: var(--gray);
}

/* Remove old .site-tag styles */
.site-tag { display: none !important; }

@media (max-width: 900px) {
    .top-bar .logo {
        left: 1%;
    }
    .brand-animate {
        font-size: 1.1rem;
    }
    .centered-nav li a, .centered-nav .dropbtn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}
@media (max-width: 600px) {
    .top-bar .logo {
        left: 0.5%;
    }
    .brand-animate {
        font-size: 0.9rem;
    }
    .centered-nav li a, .centered-nav .dropbtn {
        font-size: 0.95rem;
        padding: 0.4rem 0.7rem;
    }
}

.centered-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0 0.5rem 0;
    width: 100%;
    background: transparent;
    gap: 0.5rem;
}

.site-logo {
    height: 60px;
    max-width: 200px;
    margin-bottom: 0.2rem;
}

.brand-animate-pro {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #2176ae 0%, #38b6ff 40%, #7c3aed 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    text-align: center;
    animation:
        fadeInScale 1.2s cubic-bezier(0.4,0,0.2,1) 0s 1 forwards,
        shimmer 2.5s linear infinite 1.2s;
    opacity: 0;
    transform: scale(0.92);
    filter: drop-shadow(0 2px 18px #2176ae33);
    user-select: none;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.92);}
    100% { opacity: 1; transform: scale(1);}
}
@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

@media (max-width: 900px) {
    .brand-animate-pro {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    .site-logo {
        height: 38px;
        max-width: 120px;
    }
}
@media (max-width: 600px) {
    .brand-animate-pro {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .site-logo {
        height: 28px;
        max-width: 80px;
    }
}

/* Remove old logo-and-brand and brand-animate styles to avoid conflict */
/* .logo-and-brand { display: none !important; } */
/* .brand-animate { display: none !important; } */

/* Statistics Section */
.stats-section {
    background: #2176ae url('../images/hero-glass-bg.jpg') repeat;
    padding: 3.5rem 0 2.5rem 0;
    color: #fff;
    position: relative;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.stat-box {
    text-align: center;
    position: relative;
    min-width: 220px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-number::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border: 5px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    text-shadow: 0 2px 8px rgba(33,118,174,0.10);
}

@media (max-width: 900px) {
    .stats-grid {
        gap: 2rem;
        flex-wrap: nowrap;
    }
    .stat-box {
        min-width: 160px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-number::before {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .stat-box {
        min-width: 0;
        width: 100%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 5px;
}

/* Catalog Download Button */
.catalog-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #e74c3c;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.catalog-float:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    color: #FFF;
}

.catalog-float i {
    margin-top: 5px;
}

/* Tooltip Styles */
.whatsapp-float, .catalog-float {
    position: fixed;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.whatsapp-float .tooltip {
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.catalog-float .tooltip {
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-float:hover .tooltip,
.catalog-float:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Tooltip Arrow */
.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}

.whatsapp-float .tooltip::after {
    right: -12px;
    transform: translateY(-50%);
    border-left-color: #333;
}

.catalog-float .tooltip::after {
    left: -12px;
    transform: translateY(-50%);
    border-right-color: #333;
}

/* Force show nested-list on hover for Aluminum Products */
.dropdown-nested:hover > .nested-list,
.dropdown-nested:focus-within > .nested-list {
    display: block !important;
}

/* Partner Companies Section */
.partner-companies {
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #e3f0ff 0%, #f7fafd 100%);
    text-align: center;
}

.partner-companies h2 {
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.2rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(33, 118, 174, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--gray);
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(33,118,174,0.13);
}

.partner-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    background: #e9ecef;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(33,118,174,0.07);
}

.partner-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.partner-card p {
    color: var(--primary-dark);
    opacity: 0.85;
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .partner-companies {
        padding: 3rem 1rem;
    }
}

/* Partner Companies Logo Slider */
.partner-logo-slider {
    width: 100%;
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.partner-logo-track {
    display: flex;
    width: calc(250px * 8); /* 8 cards for seamless loop */
    animation: logoSlide 18s linear infinite;
}

.partner-logo-card {
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(33,118,174,0.07), 0 0 0 0 rgba(56,182,255,0.18);
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 110px;
    margin: 0 1.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
    background-clip: padding-box;
}

.partner-logo-card:hover {
    box-shadow: 0 8px 32px rgba(33,118,174,0.13), 0 0 16px 2px var(--accent);
    transform: translateY(-6px) scale(1.07);
    border-color: var(--primary);
    z-index: 2;
}

.partner-logo-img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

@keyframes logoSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .partner-logo-card {
        min-width: 160px;
        min-height: 80px;
        padding: 1rem 1.2rem;
        margin: 0 0.7rem;
    }
    .partner-logo-img {
        max-width: 80px;
        max-height: 40px;
    }
    .partner-logo-track {
        width: calc(160px * 8);
    }
}

@media (max-width: 600px) {
    .partner-logo-card {
        min-width: 110px;
        min-height: 60px;
        padding: 0.7rem 0.7rem;
        margin: 0 0.4rem;
    }
    .partner-logo-img {
        max-width: 60px;
        max-height: 30px;
    }
    .partner-logo-track {
        width: calc(110px * 8);
    }
}

/* Animation: Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.partner-logo-card:nth-child(2) { animation-delay: 0.15s; }
.partner-logo-card:nth-child(3) { animation-delay: 0.3s; }
.partner-logo-card:nth-child(4) { animation-delay: 0.45s; }

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

@media (max-width: 900px) {
    .partner-logo-slider {
        gap: 1.2rem;
    }
    .partner-logo-card {
        min-width: 120px;
        min-height: 80px;
        padding: 1rem 1.2rem;
    }
    .partner-logo-img {
        max-width: 80px;
        max-height: 40px;
    }
}

@media (max-width: 600px) {
    .partner-logo-slider {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .partner-logo-card {
        min-width: 90px;
        min-height: 60px;
        padding: 0.7rem 0.7rem;
    }
    .partner-logo-img {
        max-width: 60px;
        max-height: 30px;
    }
}

.blue-highlight {
    color: var(--primary);
    font-weight: 800;
}

.partner-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.heading-icon {
    font-size: 2.1rem;
    color: var(--primary);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(33,118,174,0.10);
    padding: 0.3em 0.4em;
    margin-right: 0.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.heading-accent-bar {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    margin: 0.5rem auto 1.2rem auto;
    box-shadow: 0 2px 8px rgba(33,118,174,0.10);
}
.partner-tagline {
    color: #3a4a5d;
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    opacity: 0.85;
    font-weight: 500;
}
.partner-divider {
    margin-top: 2.5rem;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.partner-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

@media (max-width: 600px) {
    .partner-heading {
        font-size: 1.2rem;
    }
    .heading-icon {
        font-size: 1.2rem;
        padding: 0.2em 0.25em;
    }
    .heading-accent-bar {
        width: 40px;
        height: 3px;
    }
    .partner-divider svg {
        height: 30px;
    }
}

.bis-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #e0e6ed 0%, #d0eaff 100%);
    color: #2176ae;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 20px;
    padding: 0.5em 1.2em;
    margin: 0.5rem auto 1.5rem auto;
    box-shadow: 0 2px 8px rgba(33,118,174,0.07);
    gap: 0.6em;
    letter-spacing: 0.01em;
    border: 1.5px solid #b3d6f7;
}
.bis-badge i {
    color: #f7b731;
    font-size: 1.2em;
    margin-right: 0.4em;
}

/* Enhanced Mobile Navigation */
@media (max-width: 992px) {
    .navbar.main-navbar {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 1.2rem !important;
    }
    .site-logo {
        margin: 0 !important;
        height: 40px !important;
        max-width: 120px !important;
    }
    .hamburger {
        margin-left: auto;
        order: 2;
    }
    .nav-links.centered-nav {
        display: none !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80vw;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1101;
    }
    .nav-links.centered-nav.active {
        display: flex !important;
        right: 0;
        z-index: 1101;
    }
    body.nav-open::after {
        z-index: 1100;
    }
    /* Remove/override any .nav-links (without .centered-nav) mobile menu rules */
    .nav-links {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        right: auto !important;
        top: auto !important;
        z-index: 1 !important;
    }
}

/* Enhanced Mobile Hero Section */
@media (max-width: 768px) {
    .hero.glass-hero {
        min-height: 50vh;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

/* Enhanced Mobile Product Grid */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        padding-bottom: 1rem;
    }

    .product-card img {
        height: 160px;
    }

    .product-card h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }

    .product-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Enhanced Mobile Features Grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .feature h3 {
        font-size: 1.2rem;
    }

    .feature p {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-section h3 {
        margin-bottom: 1rem;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul li {
        margin: 0.5rem 0;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Enhanced Mobile Stats Section */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Partner Section */
@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .partner-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .partner-card h3 {
        font-size: 1.2rem;
    }

    .partner-card p {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Contact CTA */
@media (max-width: 768px) {
    .contact-cta {
        padding: 3rem 1rem;
    }

    .contact-cta h2 {
        font-size: 1.8rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }
}

/* Enhanced Mobile Floating Buttons */
@media (max-width: 768px) {
    .whatsapp-float,
    .catalog-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    .whatsapp-float {
        right: 20px;
    }

    .catalog-float {
        right: 80px;
    }

    .tooltip {
        display: none;
    }
}

/* Enhanced Mobile Typography */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Spacing */
@media (max-width: 480px) {
    .section-padding {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Enhanced Mobile Images */
@media (max-width: 480px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Enhanced Mobile Forms */
@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    button[type="submit"] {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Tables */
@media (max-width: 480px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Modal */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 1rem 0;
    }
}

/* Enhanced Mobile Animations */
@media (max-width: 480px) {
    .fade-in-up {
        animation-duration: 0.5s;
    }

    .brand-animate {
        animation: none;
    }
}

/* Enhanced Mobile Accessibility */
@media (max-width: 480px) {
    .nav-links li a,
    .nav-links .dropbtn,
    .cta-button,
    .learn-more {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Touch Interaction Styles */
.touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger.active {
    position: fixed;
    right: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
body.nav-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

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

/* Mobile Dropdown Styles */
@media (max-width: 900px) {
    .dropdown-content.active {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .submenu-list.active,
    .nested-list.active {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .dropbtn::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .dropbtn.active::after {
        transform: rotate(180deg);
    }
}

/* Mobile Form Styles */
@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    input[type="submit"],
    button[type="submit"] {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Mobile Image Optimization */
@media (max-width: 480px) {
    img {
        max-width: 100%;
        height: auto;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Mobile Button Styles */
@media (max-width: 480px) {
    .cta-button,
    .learn-more {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.5rem 0;
    }
}

/* Mobile Table Styles */
@media (max-width: 480px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile Modal Styles */
@media (max-width: 480px) {
    .modal {
        padding: 0;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* Mobile Loading States */
@media (max-width: 480px) {
    .loading {
        width: 30px;
        height: 30px;
    }

    .loading::after {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Accessibility */
@media (max-width: 480px) {
    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 480px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

@media (max-width: 992px) {
  .navbar.main-navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 1.2rem !important;
  }
  .site-logo {
    margin: 0 !important;
    height: 40px !important;
    max-width: 120px !important;
  }
  .hamburger {
    margin-left: auto;
    order: 2;
  }
  .nav-links.centered-nav {
    display: none !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1101;
  }
  .nav-links.centered-nav.active {
    display: flex !important;
    right: 0;
    z-index: 1101;
  }
  body.nav-open::after {
    z-index: 1100;
  }
}

/* QR Code Section - Consistent & User-Friendly */
.qr-section {
    padding: 5rem 6% 3rem 6%;
    background: var(--white);
    text-align: center;
}
.qr-section-title {
    text-align: center;
    margin-bottom: 2.2rem;
    color: var(--primary-dark);
    font-size: 2.1rem;
    font-weight: 700;
}
.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 340px;
    margin: 0 auto;
    transition: box-shadow 0.2s, transform 0.2s;
}
.qr-card:hover {
    box-shadow: 0 8px 32px rgba(33,118,174,0.13);
    transform: translateY(-4px) scale(1.03);
}
.qr-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}
.qr-img-outer {
    background: #e3f0ff;
    padding: 4px;
    border-radius: 1.2rem;
    display: inline-block;
    box-shadow: 0 0 10px 1px #38b6ff22;
}
.qr-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 1rem;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 1px 6px rgba(33,118,174,0.08);
}
.qr-scan-label {
    font-size: 0.92rem;
    color: #2176ae;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-align: center;
    background: #e3f0ff;
    border-radius: 6px;
    padding: 0.18rem 0.7rem;
    box-shadow: 0 1px 4px rgba(56,182,255,0.06);
}
.qr-card-desc {
    margin-top: 1.2rem;
}
.qr-card-head {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}
.qr-card-text {
    font-size: 0.98rem;
    color: #444;
    margin-bottom: 0.7rem;
    opacity: 0.92;
}
.qr-cta-text {
    font-size: 0.92rem;
    color: #2176ae;
    font-weight: 600;
    background: #e3f0ff;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    margin-top: 0.2rem;
    box-shadow: 0 1px 4px rgba(56,182,255,0.08);
}
@media (max-width: 600px) {
    .qr-section {
        padding: 2.5rem 2% 2rem 2%;
    }
    .qr-section-title {
        font-size: 1.3rem;
    }
    .qr-card {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        max-width: 98vw;
    }
    .qr-img {
        width: 60px;
        height: 60px;
        border-radius: 0.7rem;
    }
    .qr-img-outer {
        border-radius: 0.8rem;
        padding: 2px;
    }
    .qr-scan-label {
        font-size: 0.75rem;
        padding: 0.12rem 0.4rem;
    }
    .qr-card-head {
        font-size: 0.95rem;
    }
    .qr-card-text {
        font-size: 0.85rem;
    }
    .qr-cta-text {
        font-size: 0.8rem;
    }
} 