/* Base & Reset */
:root {
    --bg-dark: #09090e;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    
    /* Branding Gradients (Cyan, Pink, Yellow, Green) */
    --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --grad-rainbow: linear-gradient(45deg, #ff3366, #ff9933, #33cc99, #3399ff, #9933cc);
    --grad-card-hover: linear-gradient(135deg, rgba(0,242,254,0.9) 0%, rgba(79,172,254,0.9) 100%);
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Classes */
.stencil-font {
    font-family: 'Allerta Stencil', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cursive-font {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 700;
}

.gradient-text {
    background: var(--grad-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Editorial Redesign Utilities */
.text-outline {
    font-size: clamp(4rem, 15vw, 12rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.text-outline-vertical {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.section-editorial {
    position: relative;
    padding: 8rem 5%;
    overflow: hidden;
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: rgba(9, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #4facfe;
}

.nav-links a.active {
    border: 2px solid #4facfe;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}

.btn-outline {
    border: 2px solid #4facfe;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}
.btn-outline:hover {
    background: #4facfe;
    color: #fff !important;
}

.lang-toggle-btn {
    background: transparent;
    border: 2px solid var(--primary-color, #4facfe);
    color: var(--primary-color, #4facfe);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    background: var(--primary-color, #4facfe);
    color: #fff;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 14, 0.98);
        padding: 2rem 0;
        text-align: center;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    z-index: 2;
    padding-top: 100px; /* Offset for navbar */
}

.subtitle {
    color: var(--primary-color, #00f2fe);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.subtitle::before, .subtitle::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 2px;
    background: var(--primary-color, #00f2fe);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
    border-left: 3px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

/* Hero Graphics */
.hero-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.main-logo-card {
    padding: 3rem;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #ff3366;
    top: -50px;
    right: 100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #33cc99;
    bottom: -50px;
    left: 50px;
}

/* Sections */
.services-section {
    padding: 8rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Graphic Design Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gradient-card {
    height: 300px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Abstract backgrounds for cards mimicking the provided images */
.gradient-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--grad-rainbow);
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: -10px;
}

.card-content h4 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--grad-card-hover);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.hover-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gradient-card:hover {
    transform: translateY(-10px);
}

.gradient-card:hover .hover-overlay {
    opacity: 1;
}

/* Tech Support Section */
.tech-bg {
    background: linear-gradient(to bottom, #09090e, #11111a);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    padding: 3rem 2rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--grad-primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-card ul {
    list-style: none;
}

.tech-card ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
}

.tech-card ul li i {
    color: #33cc99;
    margin-top: 5px;
}

/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.contact-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.whatsapp { background: #25D366; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.email { background: #333; }

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-graphics {
        margin-top: 4rem;
    }
    
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        display: flex;
        flex-direction: column;
        background: rgba(9, 9, 14, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .cursive-font { font-size: 1.8rem; }
    .card-content h3 { font-size: 1.5rem; }
    
    .cards-grid, .tech-grid, .asymmetric-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        justify-content: flex-start;
        margin-left: -5vw;
        margin-right: -5vw;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    
    .cards-grid::-webkit-scrollbar, .tech-grid::-webkit-scrollbar, .asymmetric-grid::-webkit-scrollbar {
        display: none;
    }

    .cards-grid > *, .tech-grid > *, .asymmetric-grid > * {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* Modal and Gallery Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    position: relative;
    border-radius: 12px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #fff;
}

#modal-title {
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,242,254,0.5);
}

.view-more {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
}

/* --- FULLSCREEN VIEWER --- */
.fullscreen-viewer {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal-card {
    width: 95%;
    max-width: 1500px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 95vh;
}

.close-viewer {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    z-index: 10;
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close-viewer:hover {
    color: #4facfe;
}

.fullscreen-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    height: auto;
    max-height: 80vh;
    gap: 40px;
    margin: 0 auto;
}

.fullscreen-left-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.image-and-dots-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullscreen-main-img-container {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.fullscreen-main-img-container img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    object-fit: contain;
}

.fullscreen-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#fullscreen-title {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-align: left;
    display: none;
}

.fullscreen-caption-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.fullscreen-caption-container::-webkit-scrollbar {
    width: 6px;
}

.fullscreen-caption-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.fullscreen-caption-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

.thumbnail-strip {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
    padding: 10px;
    justify-content: flex-start;
    scrollbar-width: thin;
}
.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}
.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.thumbnail-strip img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    opacity: 0.6;
}

.thumbnail-strip img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail-strip img.active {
    opacity: 1;
    border-color: #00f2fe;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    margin-top: 5px;
    justify-content: center;
}

.carousel-dots span {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots span:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-dots span.active {
    background-color: var(--primary-color, #00f2fe);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* --- ADMIN PANEL STYLES --- */
.admin-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.3s;
}

.admin-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.3);
}

.admin-list-item-content {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.admin-list-item-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.admin-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.badge-visible { background: rgba(40, 167, 69, 0.2); color: #28a745; border: 1px solid #28a745; }
.badge-hidden { background: rgba(220, 53, 69, 0.2); color: #dc3545; border: 1px solid #dc3545; }

.btn-action {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    color: #fff;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-warning { background: rgba(255, 193, 7, 0.9); color: #000; }
.btn-warning:hover { background: #ffc107; box-shadow: 0 0 10px rgba(255, 193, 7, 0.5); }

.btn-success { background: rgba(40, 167, 69, 0.9); color: #fff; }
.btn-success:hover { background: #28a745; box-shadow: 0 0 10px rgba(40, 167, 69, 0.5); }

.btn-info { background: rgba(23, 162, 184, 0.9); color: #fff; }
.btn-info:hover { background: #17a2b8; box-shadow: 0 0 10px rgba(23, 162, 184, 0.5); }

.btn-danger { background: rgba(220, 53, 69, 0.9); color: #fff; }
.btn-danger:hover { background: #dc3545; box-shadow: 0 0 10px rgba(220, 53, 69, 0.5); }

/* Focus styles for inputs in admin */
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* --- SUBCATEGORY CARDS IN MODAL --- */
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.subcategory-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
    border-color: var(--primary-color);
}

.subcategory-cover {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subcategory-title {
    padding: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .fullscreen-modal-card {
        padding: 40px 15px 20px 15px; 
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
        overflow-y: auto;
        justify-content: flex-start;
    }
    
    .fullscreen-content-wrapper {
        flex-direction: column;
        justify-content: flex-start; /* FIX: Prevent vertical centering pushing content off top */
        height: auto;
        max-height: none;
        overflow-y: visible;
        gap: 20px;
    }
    
    .fullscreen-left-col {
        align-items: center; 
        flex: none;
        width: 100%;
    }
    
    .fullscreen-right-col {
        align-items: center; 
        flex: none;
        width: 100%;
    }
    
    #fullscreen-title {
        text-align: center; 
    }
    
    .image-and-dots-wrapper {
        width: 100%;
    }

    .fullscreen-main-img-container {
        height: auto;
        max-height: 40vh; /* Allow image to size naturally up to 40vh */
        width: 100%;
    }
    
    .fullscreen-caption-container {
        max-height: none; 
        padding: 20px 15px;
        width: 100%;
    }
    
    .thumbnail-strip {
        justify-content: center;
        width: 100%;
    }
}

.btn-back-modal {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: none; /* hidden by default */
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: 0.3s;
    margin-bottom: 20px;
}

.btn-back-modal:hover {
    background: var(--primary-color);
    color: black;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -60px; /* hidden initially */
    right: 115px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.4s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.show {
    bottom: 45px;
}

.back-to-top:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
    background: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #33cc99;
}

.contact-form button {
    align-self: center;
    width: 250px;
    max-width: 100%;
    background: #33cc99;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #28a77d;
}

/* Utilities for Admin Panel */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-responsive {
    max-height: 500px;
    overflow-y: auto;
    display: block;
    width: 100%;
}
.table-responsive table {
    width: 100%;
}
/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999; opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-main);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
body:hover .cursor-outline {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--grad-primary);
    z-index: 10000;
    transition: width 0.1s;
}

/* Lang Toggle Button */
.lang-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s ease;
}
.lang-toggle-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}


/* Floating Buttons */
.whatsapp-float, .back-to-top {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float {
    right: 30px;
    background-color: #25d366;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}
.back-to-top {
    right: 110px;
    background-color: var(--primary-color, #4facfe);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: scale(1.1) translateY(0);
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Lang Toggle */
.lang-toggle-btn {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lang-toggle-btn:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}
