/* ===== OTS OFFICETECH SYSTEMS - Enhanced Styles ===== */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #4a5568;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CSS VARIABLES --- */
:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --primary-light: #e3f2fd;
    --secondary: #1a202c;
    --accent: #00a3ff;
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #00a3ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --text-dark: #1a1a1a;
    --text-muted: #4a5568;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.mb-5 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.5px;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 70ch;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    gap: 36px;
    height: 100%;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: var(--bg-light);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    fill: var(--text-dark);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(30, 30, 30, 0.6) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CARDS --- */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Pills */
.range-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.range-item {
    background: white;
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.range-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Product Cards */
.product-detail-card {
    display: flex;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 48px;
    transition: all 0.4s ease;
}

.product-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.product-detail-card img {
    width: 40%;
    min-width: 400px;
    object-fit: cover;
}

.product-content {
    padding: 48px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.category-card-img {
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-img img {
    transform: scale(1.1);
}

.category-card-content {
    padding: 24px;
    text-align: center;
    background: white;
}

.category-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* PDF Section */
.pdf-section {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    padding: 80px 0;
}

.pdf-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    background: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pdf-page-display {
    font-weight: 700;
    color: var(--primary);
    min-width: 140px;
    text-align: center;
}

.pdf-viewer-container {
    width: 100%;
    min-height: 85vh;
    background: #525659;
    border-radius: var(--radius-lg);
    overflow: auto;
    box-shadow: var(--shadow-xl);
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
}

.pdf-viewer-container canvas {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
}

/* Gallery / Projects */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}

.gallery-item {
    height: 320px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    color: white;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.gallery-overlay strong {
    font-size: 1.3rem;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-overlay span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Project Detail Section */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.project-thumb {
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.project-thumb:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Contact Form */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
    background: white;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cert-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--primary);
}

.cert-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.cert-card p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cert-link:hover {
    gap: 12px;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: #a0aec0;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #a0aec0;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: white;
    padding-left: 8px;
}

.copyright {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.developer-credit a {
    color: #00a3ff;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: white;
    text-decoration: underline;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .product-detail-card img {
        min-width: 280px;
        width: 280px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        height: 80px;
    }

    .logo img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
        z-index: 999;
        gap: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        max-height: 500px;
        /* Arbitrary large height to allow content to fit */
        padding: 24px;
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        color: var(--text-dark);
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.1s;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
        background-attachment: scroll;
        align-items: flex-start;
    }

    .hero-content {
        text-align: left;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-btns {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: none;
    }

    /* Grid & Layout Fixes */
    .grid-2,
    .grid-3,
    .contact-split,
    .category-grid,
    .certifications-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-card {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .product-detail-card img {
        width: 100%;
        height: 280px;
        min-width: auto;
    }

    .product-content {
        padding: 32px 24px;
    }

    .product-list li {
        margin-bottom: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .pdf-viewer-container {
        min-height: 50vh;
        padding: 16px;
        margin-bottom: 24px;
    }

    .pdf-controls {
        flex-wrap: wrap;
        padding: 16px;
        gap: 16px;
        width: 100%;
        justify-content: space-between;
    }

    .pdf-controls button {
        flex: 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-item {
        height: 300px;
    }

    .contact-card {
        padding: 32px 24px;
        border-radius: var(--radius-lg);
    }

    .container {
        padding: 0 20px;
    }

    .range-list {
        gap: 10px;
        margin-bottom: 32px;
    }

    .range-item {
        padding: 10px 20px;
        font-size: 0.95rem;
        flex: 1 1 auto;
        text-align: center;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        /* Full width buttons on mobile usually look better */
    }

    .lightbox {
        padding: 16px;
        z-index: 2100;
        /* Ensure it's above everything */
    }

    .lightbox img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: var(--radius-sm);
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* Footer Enhancements */
    footer {
        padding: 60px 0 30px;
        text-align: left;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .footer-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 70px;
        padding: 0 16px;
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        width: 100%;
        max-width: none;
    }

    /* Typography Scaling */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-slideshow {
        padding-top: 70px;
        /* Match navbar height */
    }

    .feature-card {
        padding: 24px 20px;
    }

    .category-card-img {
        height: 200px;
    }

    .gallery-item {
        height: 260px;
    }

    .slideshow-indicators {
        bottom: 24px;
        gap: 16px;
    }

    .indicator {
        width: 40px;
        /* Wider indicators for easier tapping */
        height: 4px;
        border-radius: 4px;
    }

    .indicator.active {
        width: 60px;
        transform: none;
        /* Reset distinct style */
    }
}