/* Colors */
:root {
    --primary: #FF1E39;
    --background-light: #F8F8F8;
    --background-dark: #0A0A0A;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-600: #4b5563;
    --red-700: #b91c1c;
    --sky-500: #0ea5e9;
}


/* Dark Mode */
.darksec {
    background-color: var(--background-dark);
    color: var(--white);
}

body:not(.dark) {
    background-color: var(--background-light);
    color: var(--slate-900);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-content {
    max-width: 42rem;
    position: relative;
    z-index: 10;
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    color: var(--slate-600);
}

.dark .hero-text {
    color: var(--slate-400);
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background-color: var(--red-700);
    transform: scale(1.05);
}

.btn-secondary {
    border: 1px solid var(--slate-300);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dark .btn-secondary {
    border-color: var(--slate-700);
}

.btn-secondary:hover {
    background-color: var(--red-700)
}

.dark .btn-secondary:hover {
    background-color: var(--slate-700);
}

/* Collage */
.collage-container {
    position: relative;
    height: 600px;
    display: none;
}

@media (min-width: 1024px) {
    .collage-container {
        display: block;
    }
}

.collage-img {
    position: absolute;
    object-fit: cover;
    transition: transform 0.3s ease-out;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.collage-img:hover {
    transform: scale(1.05);
    z-index: 50;
}

/* Mobile Images */
.mobile-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .mobile-images {
        display: none;
    }
}

.mobile-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 4px;
}

/* Specific Collage Image Positions - Extracted from inline styles */
.collage-main {
    width: 16rem;
    height: 20rem;
    top: 6rem;
    left: 50%;
    /* Centered in the column */
    transform: translateX(-50%);
    z-index: 30;
    border: 2px solid rgba(255, 30, 57, 0.4);
    /* Enhanced border visibility */
}

.collage-engineer {
    width: 15rem;
    height: 11rem;
    top: -2rem;
    right: 3rem;
    z-index: 20;
    filter: grayscale(100%);
    opacity: 0.8;
}

.collage-drummer {
    width: 14rem;
    height: 16rem;
    top: 10rem;
    left: 0;
    z-index: 10;
    opacity: 0.8;
}

.collage-singer {
    width: 13rem;
    height: 10rem;
    bottom: 3rem;
    left: 4rem;
    z-index: 20;
}

.collage-cameraman {
    width: 15rem;
    height: 12rem;
    bottom: 0;
    right: 1rem;
    z-index: 20;
}

.collage-mixer {
    width: 10rem;
    height: 10rem;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 10;
    opacity: 0.6;
}

.collage-img:hover {
    transform: scale(1.05);
    z-index: 25;
    /* Increased but kept lower than main image's hover state if needed, or ensuring main stays top */
    filter: grayscale(0%);
    opacity: 1;
}

/* Ensure main image stays on top or competes properly */
.collage-main:hover {
    transform: translateX(-50%) scale(1.05);
    z-index: 40;
    /* Highest z-index on hover */
}

.collage-mixer:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Dots Navigation */
.dots-nav {

    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 50;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dot-indicator.active {
    background: white;
    height: 24px;
    border-radius: 4px;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--background-dark);
    padding: 2rem;
}

@media (min-width: 768px) {
    .gallery-section {
        padding: 4rem;
    }
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--sky-500);
    z-index: 50;
}

/* Tiles */
.tile {
    position: absolute;
    transition: transform 0.3s ease;
}

.tile:hover {
    transform: scale(1.02);
}

.tile-img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.tile-label {
    display: flex;
    margin-top: -1rem;
    position: relative;
    z-index: 10;
}

.label-pill {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.375rem 1.5rem;
    border-radius: 9999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--white);
    box-shadow: 0 10px 40px -10px rgba(255, 140, 0, 0.6);
}

/* Gallery Dots */
.gallery-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 40;
}

.gallery-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.4;
}

.gallery-dot.active {
    height: 1.5rem;
    opacity: 1;
}


.dark-btn {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: var(--white);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background-color 0.15s ease;
}

.dark-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dark-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Testimonials Section */
.testimonials-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--background-dark);
}

.testimonials-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 50;
}

.testimonial-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
}

.testimonial-dot.active {
    background: var(--white);
}

.testimonial-dot.inactive {
    background: var(--gray-600);
}

.testimonial-dot.large {
    height: 3rem;
}

/* Side Images */
.side-image-left {
    position: absolute;
    left: 0;
    top: 20%;
    width: 12vw;
    max-width: 150px;
    opacity: 0.6;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {
    .side-image-left {
        display: block;
    }
}

.side-image-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    border-top: 1px solid var(--gray-800);
    border-right: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.decoration-image-1 {
    position: absolute;
    top: 0;
    left: 20%;
    width: 16rem;
    height: 8rem;
    opacity: 0.2;
    overflow: hidden;
}

.decoration-image-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    height: 10rem;
    opacity: 0.2;
    overflow: hidden;
}

.decoration-image-1 img,
.decoration-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Testimonial Cards */
.testimonials-grid {
    max-width: 72rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.testimonial-card {
    position: relative;
    background: #111;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 24rem;
}

/* Replace the entire .testimonial-card::before section with this: */
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    /* Increased from -1px for more glow */
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(90deg,
            #ff1e39 0%,
            /* Your brand red */
            #ff0066 20%,
            /* Hot pink */
            #cc00ff 40%,
            /* Purple */
            #0066ff 60%,
            /* Blue */
            #00ccff 80%,
            /* Cyan */
            #ff1e39 100%
            /* Back to red */
        );
    background-size: 300% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: glowingBorder 4s linear infinite;
    filter: blur(1px);
    /* Adds soft glow */
    box-shadow:
        0 0 15px rgba(255, 30, 57, 0.5),
        0 0 30px rgba(255, 0, 102, 0.3),
        0 0 45px rgba(204, 0, 255, 0.2);
}

/* Add these animations to your CSS: */
@keyframes glowingBorder {
    0% {
        background-position: 0% 0%;
        box-shadow:
            0 0 20px rgba(255, 30, 57, 0.8),
            0 0 40px rgba(255, 0, 102, 0.6),
            0 0 60px rgba(204, 0, 255, 0.4);
    }

    25% {
        background-position: 100% 0%;
        box-shadow:
            0 0 20px rgba(255, 0, 102, 0.8),
            0 0 40px rgba(204, 0, 255, 0.6),
            0 0 60px rgba(0, 102, 255, 0.4);
    }

    50% {
        background-position: 200% 0%;
        box-shadow:
            0 0 20px rgba(204, 0, 255, 0.8),
            0 0 40px rgba(0, 102, 255, 0.6),
            0 0 60px rgba(0, 204, 255, 0.4);
    }

    75% {
        background-position: 100% 0%;
        box-shadow:
            0 0 20px rgba(0, 102, 255, 0.8),
            0 0 40px rgba(0, 204, 255, 0.6),
            0 0 60px rgba(255, 0, 102, 0.4);
    }

    100% {
        background-position: 0% 0%;
        box-shadow:
            0 0 20px rgba(255, 30, 57, 0.8),
            0 0 40px rgba(255, 0, 102, 0.6),
            0 0 60px rgba(204, 0, 255, 0.4);
    }
}

/* For even more intense glow, add this to .testimonial-card: */
.testimonial-card {
    position: relative;
    background: #111;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 24rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card:hover::before {
    filter: blur(2px);
    animation-duration: 2s;
    /* Speed up on hover */
}

.testimonial-text {
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--slate-300);
}

@media (min-width: 768px) {
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Explore Button */
.explore-btn-container {
    position: relative;
    z-index: 10;
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(255, 30, 57, 0.3), 0 10px 10px -5px rgba(255, 30, 57, 0.2);
    transition: transform 0.15s ease;
}

.explore-btn:hover {
    transform: scale(1.05);
}

.explore-btn span {
    transition: transform 0.15s ease;
}

.explore-btn:hover span {
    transform: translateX(0.25rem);
}

/* Bottom Gallery */
.bottom-gallery {
    margin-top: 8rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 72rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    opacity: 0.4;
}

@media (min-width: 640px) {
    .bottom-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bottom-gallery-item {
    aspect-ratio: 16/9;
    background-color: var(--gray-900);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--gray-800);
}

.bottom-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blur Effect */
.blur-effect {
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 30, 57, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

/* Tile Positions */
.tile-1 {
    width: 280px;
    left: 10%;
    top: 30%;
}

.tile-2 {
    width: 340px;
    left: 35%;
    top: 10%;
}

.tile-3 {
    width: 300px;
    right: 10%;
    top: 18%;
}

.tile-4 {
    width: 260px;
    left: 18%;
    bottom: 12%;
}

.tile-5 {
    width: 240px;
    left: 48%;
    bottom: 8%;
    transform: translateX(-50%);
}

.tile-6 {
    width: 280px;
    right: 12%;
    bottom: 15%;
}

@media (min-width: 768px) {
    .tile-1 {
        width: 320px;
    }

    .tile-2 {
        width: 400px;
    }

    .tile-3 {
        width: 380px;
    }

    .tile-4 {
        width: 300px;
    }

    .tile-6 {
        width: 350px;
    }
}

/* Image Heights */
.h-48 {
    height: 12rem;
}

.h-52 {
    height: 13rem;
}

.h-56 {
    height: 14rem;
}

.h-44 {
    height: 11rem;
}

.h-400 {
    height: 400px;
}

/* Justify Content */
.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

/* Margins */
.mr-4 {
    margin-right: 1rem;
}

.mr-6 {
    margin-right: 1.5rem;
}

.mr-10 {
    margin-right: 2.5rem;
}

/* Text Colors */
.text-primary {
    color: var(--primary);
}

.dark .text-slate-100 {
    color: var(--slate-100);
}

/* Border Colors */
.border-primary-20 {
    border: 2px solid rgba(255, 30, 57, 0.2);
}

/* Effects */
.grayscale {
    filter: grayscale(100%);
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-60 {
    opacity: 0.6;
}

/* Transitions */
.grayscale-transition {
    transition: filter 0.5s ease;
}

.grayscale-transition:hover {
    filter: grayscale(0%);
}

/* =========================================
           SEC 4: SERVICE CARDS (Added based on User Request) 
           ========================================= */

.service-cards-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #050510;
    /* Slightly bluish dark background */
}

/* New Service Card Design - Sonar Music Style */
/* New Service Card Design - Sonar Music Style */
.service-cards-grid {
    max-width: 90rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    margin: 0 auto;
}

.service-card {
    flex: 1 1 250px;
    max-width: 300px;
    width: 100%;
    height: 350px;
    /* Fixed height for consistent look */
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    /* Reset previous styles */
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 0;
    display: block;
    /* Removing flex centering to allow absolute positioning */
}

/* Background Image Layer */
.service-card-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
    border: none;
    z-index: 1;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.8);
}

/* Header Text (Centered by default) */
.service-card-title {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    padding: 1rem;
    background: transparent;
    /* Transparent background in center */
    /* Semi-transparent header background on hover */
    backdrop-filter: blur(0px);
    /* No blur initially */
    z-index: 3;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.5rem;
    /* Slightly larger in center */
    font-weight: 800;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Remove decorative line from previous design */
.service-card-title::after {
    display: none;
}

/* Hover Content Overlay (Hidden by default) */
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem;
    text-align: center;
}



/* Hover Interaction */
.service-card:hover .service-card-img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card:hover .service-card-title {
    top: 0;
    transform: translateY(0);
    padding: 1rem;
    font-size: 1.1rem;
    /* Shrink to original size at top */
    background: transparent;
    backdrop-filter: blur(4px);
    border-bottom: none;
}

/* Text inside overlay */
.service-card-text {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 100%;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    /* Restore display */
}

.service-card:hover .service-card-text {
    transform: translateY(0);
    display: block;
}




.service-card-btn {
    background: linear-gradient(90deg, #9333ea 0%, #3b82f6 100%);
    /* Purple to Blue */
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
}

.service-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

/* Service Section Header Styles */
.service-section-header {
    text-align: center;
    max-width: 900px;
    margin-bottom: 4rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .service-section-title {
        font-size: 3.5rem;
    }
}

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

.service-section-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* slate-300 */
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.9;
}

/* Service Tabs */
.service-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-tab-btn {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.service-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.service-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 30, 57, 0.4);
}

.service-tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.service-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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