/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Mobile: horizontally scrollable video category buttons (like genres) */
@media (max-width: 768px) {
    .portfolio .video-categories {
        display: flex;
        gap: 0.8rem;
        padding: 0 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;        /* Firefox */
        -ms-overflow-style: none;     /* IE/Edge */
        scroll-behavior: smooth;
    }
    .portfolio .video-categories::-webkit-scrollbar { /* WebKit */
        display: none;
    }
    .portfolio .video-categories .category-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .portfolio .video-categories {
        gap: 0.6rem;
        padding: 0 0.75rem;
    }
}

/* Ultra-small screens: contact tightening */
@media (max-width: 480px) {
    .contact { padding: 32px 0 48px 0 !important; }
    .contact-form { padding: 1rem; }
    .contact .section-header h1 { font-size: 1.75rem; }
    .contact .section-header p { font-size: 0.95rem; }
}

/* Genres Page Styles */
.genres-hero {
    height: 60vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('../assets/images/steinway.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    margin-top: 90px;
}

@supports not (background-attachment: fixed) {
    .genres-hero {
        background-attachment: scroll;
    }
}

.genres-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.genres-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.genres-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: -1px;
}

.genres-hero-content .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.genres-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.genres-grid {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.genre-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.genre-card:nth-child(even) {
    direction: rtl;
}

.genre-card:nth-child(even) .genre-content {
    direction: ltr;
}

.genre-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.genre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.genre-overlay h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.genre-content {
    padding: 3rem;
}

.genre-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.genre-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.genre-features {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

.genre-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
}

.genre-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 16px;
}

.genre-btn {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.genre-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
}

.genres-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .cta-button {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.cta-content .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 1);
}

/* Mobile responsive for genres page */
@media (max-width: 768px) {
    .genres-hero {
        height: 50vh;
        margin-top: 70px;
        background-attachment: scroll;
    }

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

    .genres-hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .genre-card {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 2rem;
    }

    .genre-card:nth-child(even) {
        direction: ltr;
    }

    .genre-image {
        height: 250px;
    }

    .genre-content {
        padding: 2rem;
    }

    .genre-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .genre-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .genre-features {
        margin-bottom: 2rem;
    }

    .genre-features li {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .intro-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .genres-intro {
        padding: 60px 0;
    }

    .genres-grid {
        padding: 60px 0;
    }

    .genres-cta {
        padding: 60px 0;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.gallery-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.02) 0%, transparent 50%, rgba(74, 144, 226, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.about-gallery .gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.about-gallery .gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-gallery .gallery-item img {
    transition: transform 0.3s ease;
}

.about-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Audio Production Section */
.audio-production {
    padding: 120px 0;
    background: url('../assets/images/MIXER BG.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

@supports not (background-attachment: fixed) {
    .audio-production {
        background-attachment: scroll;
    }
}

.audio-production::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.audio-production .section-header h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.audio-production .section-header h2::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.audio-production .section-header p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.audio-production .container {
    position: relative;
    z-index: 2;
}


.audio-production .services-grid {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.audio-production .services-grid:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

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

/* Responsive image support for picture elements */
.service-card picture.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.service-card picture.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.service-card picture.service-card-image .service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.09) 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.09) 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.service-card-content {
    color: white;
    text-align: left;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.service-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Video Production Section */
.video-production {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.video-production::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 40%, rgba(74, 144, 226, 0.03) 0%, transparent 60%),
                      radial-gradient(circle at 70% 60%, rgba(74, 144, 226, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Ensure Video Production CTA is visible on light background */
.video-production .section-ctas .cta-button.secondary,
.video-production .cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-shadow: none;
    box-shadow: none;
}

.video-production .section-ctas .cta-button.secondary:hover,
.video-production .cta-button.secondary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-placeholder span {
    font-size: 1.2rem;
    font-weight: 500;
}

.video-showcase {
    border-radius: 15px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.video-showcase video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

#video-production-card {
    cursor: pointer;
}

#video-production-card:hover {
    transform: scale(1.08);
}

/* Live Streaming Section */
.live-streaming {
    padding: 120px 0;
    background: url('../assets/images/live_streaming/Livestream_HERO.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

@supports not (background-attachment: fixed) {
    .live-streaming {
        background-attachment: scroll;
    }
}

.live-streaming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.live-streaming .section-header h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.live-streaming .section-header h2::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.live-streaming .section-header p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.live-streaming .container {
    position: relative;
    z-index: 2;
}

.live-streaming .feature-item {
    color: rgba(255, 255, 255, 0.9);
}

.live-streaming .feature-item i {
    color: #4A90E2;
}

.streaming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.streaming-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.streaming-image {
    border-radius: 15px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.streaming-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

/* Event Production Section */
.event-production {
    padding: 100px 0;
    background: #f8f9fa;
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.events-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.event-image {
    aspect-ratio: 4/3;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Portfolio Section - Background defined in styles.css to avoid duplication */
.portfolio .section-header h2,
.portfolio .section-header p {
    color: #fff;
}

.portfolio .tab-btn {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.portfolio .tab-btn.active,
.portfolio .tab-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Keep portfolio tab buttons (Audio/Video/Live) comfortably sized */
.portfolio .tab-btn {
    height: 3.5rem;
    padding: 0 1.75rem;
    display: inline-flex;
    align-items: center;
    border-radius: 25px;
    font-size: 1.05rem;
}

/* Prevent mobile rules from shrinking tab buttons */
@media (max-width: 768px) {
    .portfolio .tab-btn {
        height: 3.4rem;
        padding: 0 1.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .portfolio .tab-btn {
        height: 3.25rem;
        padding: 0 1.25rem;
        font-size: 1rem;
    }
}

.portfolio .genre-btn,
.portfolio .genre-link,
.portfolio .category-btn {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Portfolio genre button sizing */
.portfolio .genre-btn {
    height: 3rem;
    padding: 0 1.5rem; /* keep pill width without affecting height */
    display: inline-flex;
    align-items: center;
}

/* Match video category buttons to genre button style */
.portfolio .category-btn {
    height: 3rem;
    padding: 0 1.5rem;
    display: inline-flex;
    align-items: center;
    border-radius: 30px; /* pill shape */
}

.portfolio .genre-btn.active,
.portfolio .genre-btn:hover,
.portfolio .category-btn.active,
.portfolio .category-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Remove vertical shift for active genre buttons (keep on hover) */
.portfolio .genre-btn.active {
    transform: none;
}

/* Remove vertical shift for active category buttons */
.portfolio .category-btn.active {
    transform: none;
}

.portfolio .genre-link i {
    color: inherit;
}

/* Video Items */
.video-item {
    text-align: center;
}

.video-thumbnail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.video-thumbnail i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.video-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.video-item p {
    color: #666;
}

.video-project {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.video-project .video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-project .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-project:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
}

.video-project:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.video-meta span {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* Contact heading prominence */
.contact .section-header {
    text-align: center;
    margin-bottom: 24px;
}
.contact .section-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.contact .section-header .section-line {
    width: 90px;
    height: 4px;
    background: var(--primary-color);
    margin: 8px auto 14px;
    border-radius: 2px;
}
.contact .section-header p {
    max-width: 760px;
    margin: 0 auto 16px;
    font-size: 1.1rem;
    color: rgba(0,0,0,0.75);
}
.contact .contact-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .contact .section-header h1 { font-size: 2.1rem; }
}
.contact-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.location {
    margin-bottom: 2rem;
}

.location h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #6580a0;
    text-decoration: none;
    cursor: default;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.location p {
    color: #666;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #555;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.address-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.address-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.address-link::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.social-circle:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.social-circle.facebook {
    background: #1877f2;
}

.social-circle.facebook:hover {
    background: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-circle.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    overflow: hidden;
    position: relative;
    -webkit-mask: radial-gradient(circle, white 100%, transparent 100%);
    mask: radial-gradient(circle, white 100%, transparent 100%);
    isolation: isolate;
}

.social-circle.instagram::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(0.5px);
}

.social-circle.instagram:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-circle.youtube {
    background: #ff0000;
}

.social-circle.youtube:hover {
    background: #cc0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-circle.tiktok {
    background: #000000;
}

.social-circle.tiktok:hover {
    background: #ff0050;
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

.social-circle.linkedin {
    background: #0077b5;
}

.social-circle.linkedin:hover {
    background: #005885;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-circle.linktree {
    background: #39e09b;
}

.social-circle.linktree:hover {
    background: #2bc47d;
    box-shadow: 0 8px 25px rgba(57, 224, 155, 0.4);
}

.social-circle i {
    font-size: 1.2rem;
}

.svg-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Image and Placeholder Elements */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
    border: 2px dashed var(--primary-color);
    transition: all 0.3s ease;
}

.placeholder-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Sections */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content,
    .video-content,
    .streaming-content,
    .events-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Hide streaming image on mobile */
    .live-streaming .streaming-visual,
    .live-streaming .streaming-image {
        display: none !important;
    }
    
    /* Hide about section gallery on mobile */
    .about-gallery {
        display: none;
    }
    .about-text p{
    text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* About section mobile optimization */
    .about {
        padding: 40px 0 60px 0 !important;
    }

    /* Optimize audio production for mobile */
    .audio-production {
        padding: 40px 0 60px 0 !important;
    }
    
    .audio-production .services-grid {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        height: 250px;
    }
    
    .service-card-content {
        padding: 1.5rem;
    }
    
    .service-card-content h3 {
        font-size: 1.3rem;
        margin: 0.5rem 0 1rem 0;
    }
    
    .service-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .view-studio-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Optimize video production for mobile */
    .video-production {
        padding: 40px 0 60px 0 !important;
    }
    
    .video-content {
        gap: 2.5rem;
    }
    
    .video-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .video-service-buttons {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .video-showcase {
        height: 280px;
        order: -1;
    }
    
    .video-showcase video {
        border-radius: 12px;
    }
    
    /* Optimize event production for mobile */
    .event-production {
        padding: 40px 0 60px 0 !important;
    }
    
    .events-content {
        gap: 2.5rem;
    }
    
    .events-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .event-types {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .events-grid {
        gap: 0.8rem;
        order: -1;
    }
    
    .event-image {
        aspect-ratio: 3/2;
    }
    
    .event-image img {
        border-radius: 10px;
    }
    
    .view-details-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Further optimize audio production for very small screens */
    .audio-production {
        padding: 40px 0;
    }
    
    .audio-production .services-grid {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .service-card {
        height: 200px;
    }
    
    .service-card-content {
        padding: 1rem;
    }
    
    .service-card-content h3 {
        font-size: 1.2rem;
        margin: 0.3rem 0 0.8rem 0;
    }
    
    .service-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .view-studio-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Further optimize video production for very small screens */
    .video-production {
        padding: 40px 0;
    }
    
    .video-content {
        gap: 2rem;
    }
    
    .video-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .video-service-buttons {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .video-showcase {
        height: 220px;
    }
    
    /* Further optimize event production for very small screens */
    .event-production {
        padding: 40px 0;
    }
    
    .events-content {
        gap: 2rem;
    }
    
    .events-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .event-types {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .events-grid {
        gap: 0.6rem;
        grid-template-columns: 1fr;
    }
    
    .event-image {
        aspect-ratio: 16/9;
    }
    
    .event-image:nth-child(n+3) {
        display: none;
    }
    
    .view-details-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Portfolio section mobile optimization */
    .portfolio {
        padding: 40px 0 60px 0 !important;
    }
    
    /* Contact section mobile optimization */
    .contact {
        padding: 40px 0 60px 0 !important;
    }
    .contact .section-header h1 {
        font-size: 2rem;
    }
    .contact .section-header p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 32rem;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    .contact-background { opacity: 0.7; }
    .contact-content { 
        display: flex; 
        flex-direction: column; /* Stack details, then form, then addresses */
        gap: 1.5rem; 
    }
    .contact-info h3 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    /* Mobile ordering: details above form; addresses below form */
    .contact-info { display: contents; }
    .contact-info h3 { order: 0; }
    .contact-details { order: 1; }
    .contact-form { order: 2; }
    .location { order: 3; }
    .location { margin-bottom: 1.25rem; }
    .location h4 { font-size: 1rem; margin-bottom: 0.25rem; text-align: center; }
    .location p { text-align: center; }
    .address-link { line-height: 1.6; }
    .contact-details { gap: 0.75rem; }
    .contact-item {
        padding: 0.75rem 1rem;
        background: #fff;
        border: 1px solid #eceff4;
        border-radius: 12px;
    }
    .contact-item i { font-size: 1.1rem; }
    /* Form refinements */
    .contact-form { 
        padding: 1.25rem; 
        border-radius: 16px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
    .form-group { margin-bottom: 1rem; }
    .form-group input,
    .form-group select,
    .form-group textarea,
    .date-input {
        font-size: 16px; /* prevent iOS zoom */
        padding: 0.9rem 1rem;
        border-radius: 12px;
    }
    .form-label { font-size: 0.85rem; margin-bottom: 0.4rem; }
    .submit-btn { 
        width: 100%;
        padding: 0.95rem 1.25rem; 
        font-size: 1rem; 
        border-radius: 12px;
    }
    
    .portfolio .section-header h2 {
        font-size: 2rem;
    }
    
    .portfolio .section-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .genre-selector {
        gap: 0.6rem;
        margin-bottom: 2rem;
    }
    
    .genre-btn,
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .genre-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-thumbnail i {
        font-size: 2.2rem;
    }
    
    .video-item h4 {
        font-size: 1rem;
    }
    
    .video-item p {
        font-size: 0.9rem;
    }
    
    .video-project .video-thumbnail {
        height: 160px;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .play-overlay i {
        font-size: 1.1rem;
    }
}

/* Ultra-small screens (480px and below) */
@media (max-width: 480px) {
    /* Further optimize about section for ultra-small screens */
    .about {
        padding: 40px 0;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .about-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Further optimize audio production for ultra-small screens */
    .audio-production {
        padding: 40px 0;
    }
    
    .audio-production .audio-cards {
        gap: 0.8rem;
    }
    
    .audio-card {
        padding: 1.25rem;
    }
    
    .audio-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .audio-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Further optimize video production for ultra-small screens */
    .video-production {
        padding: 40px 0;
    }
    
    .video-content {
        gap: 2rem;
    }
    
    .video-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .video-service-buttons {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .video-showcase {
        height: 220px;
    }
    
    /* Further optimize event production for very small screens */
    .event-production {
        padding: 40px 0;
    }
    
    .events-content {
        gap: 2rem;
    }
    
    .events-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .event-types {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .events-grid {
        gap: 0.6rem;
        grid-template-columns: 1fr;
    }
    
    .event-image {
        aspect-ratio: 16/9;
    }
    
    .event-image:nth-child(n+3) {
        display: none;
    }
    
    .view-details-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Further optimize portfolio for ultra-small screens */
    .portfolio {
        padding: 40px 0;
    }
    
    .portfolio .section-header h2 {
        font-size: 1.8rem;
    }
    
    .genre-selector {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    
    .genre-btn,
    .category-btn,
    .genre-link {
        padding: 0.1rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .video-thumbnail {
        height: 140px;
    }
    
    .video-thumbnail i {
        font-size: 2rem;
    }
    
    .video-project .video-thumbnail {
        height: 140px;
    }
    
    .play-overlay {
        width: 45px;
        height: 45px;
    }
    
    .play-overlay i {
        font-size: 1rem;
    }
    
    .video-item h4 {
        font-size: 0.95rem;
    }
    
.video-item p {
    font-size: 0.85rem;
}
}

/* Mobile tweaks for portfolio tabs: keep one line and slightly smaller */
@media (max-width: 768px) {
    .portfolio .portfolio-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 1.25rem;            /* base horizontal padding */
        padding-left: 5rem;            /* ensure first tab fully visible */
        scroll-padding-left: 5rem;     /* scroll snap start offset */
    }
    .portfolio .portfolio-tabs::-webkit-scrollbar { display: none; }
    .portfolio .tab-btn { 
        height: 3rem; 
        padding: 0 1.1rem; 
        font-size: 0.95rem; 
        flex-shrink: 0; 
        white-space: nowrap; 
    }
}

@media (max-width: 480px) {
    .portfolio .tab-btn { 
        height: 2.8rem; 
        padding: 0 0.9rem; 
        font-size: 0.9rem; 
    }
    .portfolio .portfolio-tabs {
        padding: 0 1rem;
        padding-left: 5rem;           /* keep consistent left inset on very small screens */
        scroll-padding-left: 5rem;
    }
}

/* Audio Production service cards - mobile refinements (scoped, mobile-only) */
@media (max-width: 768px) {
    .audio-production .service-card {
        height: 300px; /* give imagery more presence on mobile */
    }

    /* Center content and ensure readability over images */
    .audio-production .service-card-overlay,
    .audio-production .service-card picture.service-card-image .service-card-overlay {
        align-items: center;
        padding: 1.25rem;
        background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.25) 60%,
            rgba(0, 0, 0, 0.15) 100%);
    }

    .audio-production .service-card-content {
        text-align: center;
        transform: none; /* avoid upward shift on hover for touch devices */
    }

    .audio-production .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .audio-production .service-subtitle {
        letter-spacing: 2px;
        margin-bottom: 0.6rem;
    }

    /* Bigger tap target */
    .audio-production .view-studio-btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .audio-production .service-card {
        height: 240px; /* less cramped than 200px, still compact */
    }

    .audio-production .service-card-overlay,
    .audio-production .service-card picture.service-card-image .service-card-overlay {
        align-items: center;
        padding: 1rem;
        background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.3) 55%,
            rgba(0, 0, 0, 0.15) 100%);
    }

    .audio-production .service-card-content {
        text-align: center;
    }

    .audio-production .service-card h3 {
        font-size: 1.35rem;
    }

    .audio-production .view-studio-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* Contact section - mobile refinements (scoped, mobile-only) */
@media (max-width: 768px) {
    /* Unify heading sizing for both h1 and h2 usages */
    .contact .section-header h1,
    .contact .section-header h2 {
        font-size: 2.1rem !important;
    }

    /* Improve readability and spacing */
    .contact .section-header p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 32rem;
        margin: 0 auto 16px;
        padding: 0 0.5rem;
    }

    /* Slightly stronger background glass on mobile */
    .contact .contact-background {
        opacity: 0.6;
    }

    /* Tighter but comfortable gaps in mobile stack */
    .contact .contact-content {
        gap: 1.5rem;
    }

    /* Softer card form on mobile */
    .contact .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .contact .contact-details {
        gap: 0.75rem;
    }

    /* Make details tiles tappable and consistent */
    .contact .contact-item {
        padding: 0.75rem 1rem;
        background: #fff;
        border: 1px solid #eceff4;
        border-radius: 12px;
    }

    .contact .contact-cta {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    /* Match very small screens: include h2 to cover component usage */
    .contact .section-header h1,
    .contact .section-header h2 {
        font-size: 2rem !important;
    }

    .contact .submit-btn {
        width: 100%;
    }

    .contact .section-header p {
        font-size: 1rem;
        line-height: 1.6;
    }
}
