/* Reset and Variables */
:root {
    --primary-navy: #1a365d;
    --primary-coral: #ff6b6b;
    --secondary-coral: #e85a4f;
    --accent-burgundy: #8b1538;
    --accent-orange: #ff8c42;
    --accent-gold: #d4af37;
    --neutral-white: #ffffff;
    --neutral-light: #f7fafc;
    --neutral-gray: #e2e8f0;
    --neutral-dark: #2d3748;
    --text-light: #718096;
    --success-green: #38a169;
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, #2d5a87 100%);
    --gradient-coral: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-coral) 100%);
    --gradient-premium: linear-gradient(135deg, var(--accent-burgundy) 0%, var(--primary-coral) 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.16);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --border-radius-large: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background: var(--neutral-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Marquee Bar */
.marquee-bar {
    background: var(--gradient-coral);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 60s linear infinite;
    transform: translateX(0);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Header */
.header {
    background: var(--neutral-white);
    position: relative;
    z-index: 1000;
}

.header-main {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-gray);
}

.header-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
}

.search-section {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-bar {
    position: relative;
    display: flex;
    border: 2px solid var(--neutral-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    background: white;
}

.search-bar:focus-within {
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--neutral-dark);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    background: var(--gradient-coral);
    color: white;
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 16px;
}

.search-btn:hover {
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.expert-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--neutral-light);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.expert-contact:hover {
    background: var(--primary-coral);
    color: white;
    transform: translateY(-2px);
}

.expert-contact i {
    font-size: 24px;
    color: var(--primary-coral);
}

.expert-contact:hover i {
    color: white;
}

.contact-items .contact-label{
    color: wheat;
    
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600; /* Increased weight */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-navy); /* Make it darker and visible */
}


.expert-contact:hover .contact-label {
    color: white; /* Keep white on hover */
}

.contact-number {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-navy);
}

.expert-contact:hover .contact-number {
    color: white;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--neutral-dark);
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.action-btn:hover {
    background: var(--neutral-light);
    color: var(--primary-coral);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-coral);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    background: var(--neutral-white);
    border-bottom: 1px solid var(--neutral-gray);
    transition: var(--transition-smooth);
    position: relative;
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--shadow-medium);
    background: white;
}

.nav-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Simple dropdown for Dinnerware Tabletop ONLY */
.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.has-dropdown:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.simple-dropdown ul li {
    margin: 0;
}

.simple-dropdown ul li a {
    display: block;
    padding: 10px 20px;
    color: var(--neutral-dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.simple-dropdown ul li a:hover {
    background: var(--neutral-light);
    color: var(--primary-coral);
    padding-left: 30px;
}


.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    flex: 1;
    position: relative;
}

/* MENU ICONS BESIDE TEXT - CENTERED LAYOUT */

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    text-align: center;
    min-height: 60px;
    flex-direction: row; /* Icons beside text */
}

.menu-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.2s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.menu-text {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.nav-link .fa-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover {
    background: var(--gradient-coral);
    color: white;
    border-bottom-color: var(--accent-gold);
}

.nav-link:hover .menu-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1); /* Make icon white on hover */
}

.mega-menu-trigger:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

/* Ensure nav items are evenly spaced */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-item {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Fix for sticky menu mega menu positioning */
.main-nav.sticky .mega-menu {
    position: fixed !important;
    top: var(--sticky-nav-height, 70px) !important;
    z-index: 999 !important;
}

/* Variable for sticky nav height */
.main-nav.sticky {
    --sticky-nav-height: 70px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .menu-text {
        font-size: 12px;
        max-width: 80px;
    }
    
    .menu-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .menu-text {
        white-space: normal;
        max-width: none;
        text-align: left;
        -webkit-line-clamp: none;
        overflow: visible;
    }
    
    .nav-link .fa-chevron-down {
        margin-left: auto;
    }
}

.nav-link:hover {
    background: var(--gradient-coral);
    color: white;
    border-bottom-color: var(--accent-gold);
}

/* Mega Menu - PROPERLY POSITIONED FULL WIDTH */
/* Mega Menu - PROPERLY POSITIONED FULL WIDTH */
.nav-container {
    position: relative;
}

/* Navigation Wrapper - Full Width */
.nav-wrapper {
    position: relative;
    background: var(--neutral-white);
    border-bottom: 1px solid var(--neutral-gray);
}

/* Navigation - Centered Content */
.main-nav {
    background: transparent;
    border-bottom: none;
    transition: var(--transition-smooth);
    position: relative;
}

/* Mega Menu - ALIGNED WITH NAV CONTENT */
/* Mega Menu - ALIGNED WITH NAV CONTENT LEFT EDGE */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 5%;
    width: 90vw;
    max-width: 1200px;
    background: white;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth and fast animation */
    border-radius: var(--border-radius);
    z-index: 998;
    margin-top: -1px;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Add padding to the top of mega menu to create seamless hover area */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 1000;
}


/* Extend nav item hover area slightly downward */
.mega-menu-trigger {
    position: relative;
}

.mega-menu-trigger::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
    z-index: 999;
}

/* Make nav wrapper extend to cover any gaps */
.nav-wrapper {
    padding-bottom: 5px;
    margin-bottom: -5px;
}

/* Ensure smooth transition between elements */
.mega-menu-trigger:hover,
.mega-menu-trigger:hover + .mega-menu,
.mega-menu:hover {
    pointer-events: auto;
}


.mega-menu-container {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 50px 20px; /* Increased from 30px to 50px for more height */
}

.mega-menu-content {
    display: flex;
    gap: 40px;
}

.mega-category h4 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.mega-category ul {
    list-style: none;
}

.mega-category ul li {
    margin-bottom: 8px;
}

.mega-category ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.mega-category ul li a:hover {
    color: var(--primary-coral);
    padding-left: 5px;
}

.mega-menu-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
}


.mega-menu.show .mega-menu-content {
    animation: contentSlideIn 0.3s ease-out;
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SIMPLE BRAND GRID - FULL WIDTH, NO PADDING */

.brands-hexagon-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.hexagon-brand {
    width: 100%;
    height: auto;
}

.hexagon-link {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 15px 5px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.hexagon-link:hover {
    background: rgba(255, 107, 107, 0.1);
}

.brand-name {
    color: var(--primary-navy) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block !important;
}

.hexagon-link:hover .brand-name {
    color: var(--primary-coral) !important;
}

/* Remove mega menu padding for brands */
.mega-menu-container:has(.brands-hexagon-grid) {
    padding: 20px !important;
    max-width: 100% !important;
}

.mega-menu-container:has(.brands-hexagon-grid) .mega-menu-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove the mega menu visual section for brands */
.brands-hexagon-grid ~ .mega-menu-visual {
    display: none;
}

/* Adjust mega menu container for brands */
.mega-menu-container:has(.brands-hexagon-grid) {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .brands-hexagon-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .hexagon-brand {
        width: 50px;
        height: 50px;
    }
    
    .hexagon {
        width: 45px;
        height: 26px;
        margin: 10px auto;
    }
    
    .hexagon:before,
    .hexagon:after {
        border-left-width: 24px;
        border-right-width: 24px;
        left: -2px;
    }
    
    .hexagon:before {
        border-bottom-width: 13px;
    }
    
    .hexagon:after {
        border-top-width: 13px;
    }
    
    .hexagon-inner {
        width: 40px;
        height: 22px;
    }
    
    .brand-name {
        font-size: 7px;
    }
}

/* Remove animations for cleaner look */
.brands-hexagon-grid .hexagon-brand {
    animation: none;
    opacity: 1;
}






/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: var(--gradient-premium);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    display: flex;
    border-radius: var(--border-radius);
   
}

.email-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--neutral-dark);
}

.email-input::placeholder {
    color: var(--text-light);
}

.subscribe-btn {
    background: var(--gradient-coral);
    color: white;
    border: none;
    padding: 18px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.subscribe-btn:hover {
    transform: scale(1.05);
}

.form-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

/* Contact Bar */
.contact-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0;
}

.contact-bar-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-bar h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.contact-item i {
    color: var(--primary-coral);
    font-size: 24px;
    min-width: 24px;
}



.contact-value {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-top: 2px;
}

/* Footer */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: end;
}

.link-section h4 {
    color: var(--primary-coral);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-section ul {
    list-style: none;
}

.link-section ul li {
    margin-bottom: 12px;
}

.link-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 14px;
}

.link-section ul li a:hover {
    color: var(--primary-coral);
    padding-left: 5px;
}

.footer-bottom {
    background: #070c14;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-content a {
    color: var(--primary-coral);
    text-decoration: none;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.payment-methods i:hover {
    color: var(--primary-coral);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer-bottom .container{
    max-width: 80vw;
    justify-content: space-around;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-container, .nav-container, .contact-bar-container {
        max-width: 95vw;
    }
    
    .mega-menu-container {
        max-width: 95vw;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .testimonials-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-rating-card {
        position: static;
        grid-row: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }
    
    .search-section {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: var(--shadow-medium);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        justify-content: flex-start;
        padding: 15px 20px;
        border-bottom: 1px solid var(--neutral-gray);
    }
    
  
    
    .mega-menu-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 20px;
    }
    
    .hero-slide::before {
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.4) 100%);
    }
    
    .hero-content {
        margin-left: 0;
        max-width: 95%;
        text-align: center;
        margin: 0 auto;
    }
    
    .props-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-stats {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-items {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: calc(70vh - 100px);
    }
    
    .hero-slide::before {
        width: 100%;
        background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.4) 100%);
    }
    
    .hero-content {
        text-align: center;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .props-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .brand-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .expert-contact {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .testimonials-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .professional-cta h2 {
        font-size: 2rem;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .contact-bar h3 {
        font-size: 1.5rem;
    }
    
    .prop-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .visual-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .company-rating-card {
        padding: 30px 20px;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--primary-coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus States for Accessibility */
.search-input:focus,
.email-input:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
}

.nav-link:focus,
.action-btn:focus,
.expand-btn:focus,
.nav-btn:focus,
.primary-btn:focus,
.secondary-btn:focus,
.subscribe-btn:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .marquee-bar,
    .header,
    .hero-banner,
    .newsletter,
    .contact-bar,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --neutral-gray: #000000;
        --text-light: #000000;
        --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
} {
    background: var(--primary-navy);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
    background: #1b2b47;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 18px;
}

.social-link.facebook {
    background: #fdffff;
}

.social-link.instagram {
    background: #fdffff;
}

.social-link.linkedin {
    background: #fdffff;
}

.social-link.youtube {
    background: #fdffff;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.footer-main .container {
    max-width: 80vw;
    justify-content: space-around;
}


/* TARGETED POPUP CSS - SCOPED TO AVOID CONFLICTS */

/* Popup Overlay - Scoped */
#quotePopup.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

#quotePopup.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

#quotePopup.popup-overlay.active .popup-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Wide Popup Container - ALLOW SCROLLING */
#quotePopup .popup-container {
    background: white;
    border-radius: 24px;
    width: 95%;
    max-width: 1400px;
    height: 92vh;
    max-height: 900px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Only hide overflow on container */
}

/* Compact Header */
#quotePopup .popup-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 25px 50px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

#quotePopup .popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#quotePopup .popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#quotePopup .popup-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

#quotePopup .popup-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

/* Compact Form Tabs */
#quotePopup .form-tabs {
    display: flex;
    background: #f8fafc;
    flex-shrink: 0;
}

#quotePopup .tab-button {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #718096;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
}

#quotePopup .tab-button.active {
    color: #ff6b6b;
    background: white;
}

#quotePopup .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b6b;
}

/* MAIN FORM CONTENT - SCROLLABLE */
#quotePopup .popup-content {
    flex: 1;
    padding: 40px 60px 50px;
    overflow-y: auto; /* ALLOW VERTICAL SCROLLING */
    display: flex;
    flex-direction: column;
}

#quotePopup .form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#quotePopup .form-section {
    display: none;
    flex: 1;
}

#quotePopup .form-section.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WIDE GRID LAYOUT - 4 COLUMNS WITH LARGE GAPS */
#quotePopup .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 30px; /* ROW GAP 40px, COLUMN GAP 30px */
    flex: 1;
    align-content: start;
}

/* RESPONSIVE GRID */
@media (max-width: 1200px) {
    #quotePopup .form-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px 25px;
    }
}

@media (max-width: 900px) {
    #quotePopup .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
}

@media (max-width: 600px) {
    #quotePopup .form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* FORM GROUPS - INLINE LABELS */
#quotePopup .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

#quotePopup .form-group.span-2 {
    grid-column: span 2;
}

#quotePopup .form-group.span-3 {
    grid-column: span 3;
}

#quotePopup .form-group.span-4 {
    grid-column: span 4;
}

/* INLINE LABELS - POSITIONED INSIDE INPUT */
#quotePopup .form-label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-weight: 500;
    color: #718096;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    z-index: 2;
}

/* FOCUSED OR FILLED STATE */
#quotePopup .form-input:focus + .form-label,
#quotePopup .form-input:not(:placeholder-shown) + .form-label,
#quotePopup .form-select:focus + .form-label,
#quotePopup .form-select:not([value=""]) + .form-label,
#quotePopup .form-textarea:focus + .form-label,
#quotePopup .form-textarea:not(:placeholder-shown) + .form-label {
    top: 0;
    left: 12px;
    font-size: 12px;
    color: #ff6b6b;
    font-weight: 600;
}

#quotePopup .form-input,
#quotePopup .form-select,
#quotePopup .form-textarea {
    width: 85%; /* REDUCED FROM 100% TO CREATE NATURAL GAPS */
    padding: 16px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: white;
    position: relative;
    z-index: 1;
}

#quotePopup .form-input::placeholder,
#quotePopup .form-textarea::placeholder {
    color: transparent; /* Hide placeholder to show label */
}

#quotePopup .form-input:focus,
#quotePopup .form-select:focus,
#quotePopup .form-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

#quotePopup .form-textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 120px;
    padding-top: 20px; /* Extra space for label */
}

/* TEXTAREA LABEL POSITIONING */
#quotePopup .form-group:has(.form-textarea) .form-label {
    top: 30px;
}

#quotePopup .form-textarea:focus + .form-label,
#quotePopup .form-textarea:not(:placeholder-shown) + .form-label {
    top: 0;
}

/* CHECKBOX GRID - COMPACT HORIZONTAL LAYOUT */
#quotePopup .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}

#quotePopup .checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#quotePopup .checkbox-item:hover {
    background: #edf2f7;
    border-color: #ff6b6b;
}

#quotePopup .checkbox-item input[type="checkbox"]:checked + label {
    color: #ff6b6b;
    font-weight: 600;
}

#quotePopup .checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff6b6b;
}

#quotePopup .checkbox-item label {
    cursor: pointer;
    font-size: 13px;
    color: #2d3748;
    font-weight: 500;
}

/* SECTION LABELS FOR CHECKBOXES */
#quotePopup .section-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* COMPACT PRIORITY TAGS */
#quotePopup .priority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}

#quotePopup .priority-tag {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

#quotePopup .priority-tag.selected {
    border-color: #ff6b6b;
    background: #ff6b6b;
    color: white;
}

#quotePopup .priority-tag:hover {
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

/* COMPACT SUBMIT SECTION */
#quotePopup .submit-section {
    flex-shrink: 0;
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

#quotePopup .submit-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #e85a4f 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

#quotePopup .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

#quotePopup .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* SUCCESS MESSAGE */
#quotePopup .success-message {
    display: none;
    text-align: center;
    padding: 60px;
    color: #38a169;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#quotePopup .success-message.show {
    display: flex;
}

#quotePopup .success-icon {
    width: 100px;
    height: 100px;
    background: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 48px;
    color: white;
}

#quotePopup .success-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2d3748;
}

#quotePopup .success-message p {
    font-size: 1.1rem;
    color: #718096;
}

/* LOADING SPINNER */
#quotePopup .loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    #quotePopup .popup-container {
        width: 98%;
        height: 95vh;
        border-radius: 16px;
    }

    #quotePopup .popup-header {
        padding: 20px 25px;
    }

    #quotePopup .popup-title {
        font-size: 1.8rem;
    }

    #quotePopup .popup-content {
        padding: 25px 20px 30px;
    }

    #quotePopup .checkbox-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    #quotePopup .priority-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    #quotePopup .checkbox-grid,
    #quotePopup .priority-grid {
        grid-template-columns: 1fr;
    }

    #quotePopup .form-grid {
        gap: 15px;
    }
}

/* CSS Variables */
:root {
    --popup-primary-navy: #1a365d;
    --popup-primary-coral: #ff6b6b;
    --popup-secondary-coral: #e85a4f;
    --popup-neutral-white: #ffffff;
    --popup-neutral-light: #f7fafc;
    --popup-neutral-gray: #e2e8f0;
    --popup-neutral-dark: #2d3748;
    --popup-text-light: #718096;
    --popup-success-green: #38a169;
}