:root {
    --primary-color: #1a1a1a;
    --accent-color: #2b6cb0;
    --bg-gradient-1: #fdfbfb;
    --bg-gradient-2: #ebedee;
    --bg-gradient-3: #e6e9f0;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --text-color: #333333;
    --text-light: #555555;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--bg-gradient-3));
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Abstract Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #a2d2ff;
    top: -100px;
    left: -100px;
    animation: float 10s infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #ffc8dd;
    bottom: -50px;
    right: -50px;
    animation: float 12s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

.web-container {
    width: 100%;
    overflow: hidden;
    /* Keep orbs contained */
    position: relative;
}

/* Glassmorphism Header */
.glass-header {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    /* More solid/highlighted */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--accent-color);
    /* Highlight border */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    /* Ensure equal spacing regardless of content width */
    align-items: center;
    width: 100%;
    max-width: 1400px;
    /* Prevent it from getting too wide on huge screens */
    margin: 0 auto;
}

/* Subpage Styles */
.subpage-section {
    padding: 140px 5% 6rem;
    /* Good clearance for header */
    min-height: 80vh;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    flex-direction: column;
    /* Ensure vertical stacking */
    align-items: center;
    /* Center horizontally */
}

/* About Content */
.about-content {
    margin-top: 2rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.about-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

.about-content .tagline {
    margin-top: 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

/* Ensure page card fits in viewport */
.page-card {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.7);
    overflow: visible;
    /* Allow content to flow if needed */
    /* Contain children */
}

.logo {
    font-size: 2.5rem;
    /* Big */
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    /* Gradient Text */
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links.left {
    justify-content: flex-start;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hamburger Toggle - hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.3rem 0.5rem;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 160px;
    z-index: 100;
    margin-top: 0.25rem;
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(43, 108, 176, 0.08);
    color: var(--accent-color);
}

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

/* Mobile Nav Toggle */
@media (max-width: 768px) {
    nav {
        grid-template-columns: 1fr auto;
        gap: 0;
        text-align: center;
    }

    .logo {
        order: 1;
        font-size: 1.6rem;
        text-align: left;
    }

    .nav-toggle {
        display: block;
        order: 2;
        justify-self: end;
    }

    /* Switch hamburger to X when open */
    nav.nav-open .nav-toggle {
        font-size: 0;
    }

    nav.nav-open .nav-toggle::after {
        content: '\2715';
        font-size: 1.6rem;
    }

    .nav-links {
        display: none;
        order: 3;
        flex-direction: column;
        width: 100%;
        grid-column: 1 / -1;
        gap: 0;
        padding: 0.5rem 0;
    }

    .nav-links.left,
    .nav-links.right {
        justify-content: center !important;
    }

    nav.nav-open .nav-links {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.95rem;
    }

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

    /* Mobile dropdown: inline instead of floating */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.03);
        margin-top: 0;
        padding: 0;
        min-width: 0;
    }

    .dropdown-menu li a {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }
}

/* Interactive Background Logo */
.interactive-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    /* Adjust size as needed, maybe smaller if it's too big */
    height: auto;
    opacity: 0.08;
    /* Slightly more visible based on user feedback */
    z-index: -2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    /* Smooth movement */
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.mobile-pdf-link {
    display: block;
    /* Always visible */
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.3);
}

.cta-button:hover {
    background: #1a4971;
    /* Darker shade of accent */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 108, 176, 0.4);
}

/* Footer */
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.7;
}

.glass-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Catalog Viewer Box */
.catalog-viewer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
}

.catalog-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.catalog-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.catalog-actions .cta-button.primary {
    font-size: 1.2rem;
    padding: 15px 40px;
}

@media (max-width: 768px) {
    .catalog-viewer-box {
        padding: 2rem 1.5rem;
    }
}


/* Collection Sub-page Banner */
.collection-banner {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.collection-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Collections Grid */
.collections-section {
    margin-bottom: 4rem;
    padding: 0 5%;
    /* Add side padding */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.collections-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.collection-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: block;
    /* Full container */
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    position: relative;
    width: 100%;
}

.card-image {
    width: 100%;
    /* Remove fixed height, let image define it or use aspect-ratio */
    height: auto;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Changed from cover to ensure text isn't cut on small screens */
    background: #f5f5f5;
    transition: transform 0.6s ease;
}

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

.card-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card-content span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

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

/* Product Gallery (Masonry Layout) */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    padding: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    background: rgba(255, 255, 255, 0.5);
    /* Whiter background */
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.95;
}

/* Responsive Masonry */
@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

.image-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.gallery-item:hover .image-tag {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-header {
        padding: 1rem;
    }

    .hero-card h1 {
        font-size: 2.5rem;
    }

    .pdf-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .pdf-container {
        display: none;
    }
}

/* Contact Page Styles */
.contact-details-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.detail-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    /* Slightly frosty */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-item h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    word-break: break-word;
    /* For long emails/urls */
}

/* Adjust title subtitle spacing */
.contact-page-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-page-card h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Lead Capture Banner */
.lead-banner-section.top-banner {
    padding: 0;
    max-width: 100%;
    margin-bottom: 3rem;
    text-align: center;
}

.banner-image-box {
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* Remove extra space below image */
}

.lead-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.banner-image-box:hover .lead-banner-img {
    transform: scale(1.02);
}

.lead-banner-content-outer {
    padding: 3rem 5%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lead-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-banner p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.lead-banner .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}


/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    /* Force top alignment for all browsers */
    overflow-y: scroll;
    /* Force scrollbar to prevent layout shifts */
    padding: 2rem 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}


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

.modal-content {
    width: 90%;
    max-width: 500px;
    position: relative;
    padding: 3rem 2rem;
    background: #fdfcf9;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Custom scrollbar for modal content (optional but nice) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

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


.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Form Styling */
.lead-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.lead-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.lead-form textarea {
    height: 200px;
    resize: vertical;
}


.lead-form input:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.1);
}


.full-width {
    width: 100%;
}

.error-msg {
    display: block;
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    height: 1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: scaleCheck 0.5s ease-out;
}

@keyframes scaleCheck {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.hidden {
    display: none;
}

@media (max-width: 480px) {


    .lead-banner h3 {
        font-size: 1.6rem;
    }

    .modal-content {
        padding: 2.5rem 1.2rem 1.5rem;
        width: 95%;
        margin-top: 1rem;
        /* Extra space from top on mobile */
    }


}