/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Line Clamp Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hero Section - Fixed Video Background */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section-second {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 32, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(16, 24, 32, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-logo {
    height: 50px;
    width: 200px;
    object-fit: contain;
    min-width: 200px;
}

/* What We Do Section - New Grid Layout */
.what-we-do-images-new {
    width: 100%;
}

.what-we-do-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.what-we-do-image-full {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.what-we-do-image:hover,
.what-we-do-image-full:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Gradient Titles */
.gradient-title {
    color: #101820;
}

.gradient-title .first-word {
    color: #333F49;
}

/* Static Background Sections - Fixed */
.static-bg-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 32, 0.8);
    z-index: 2;
}

.static-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
    padding: 0 2rem;
    margin: 2rem 0;
}

/* Testimonials - Bigger Cards with Navigation */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: linear-gradient(135deg, #101820 0%, #333F49 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 0 1rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    color: white;
}

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

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #e5e7eb;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

/* Testimonial Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 24, 32, 0.8);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: rgba(16, 24, 32, 1);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: -25px;
}

.testimonial-nav.next {
    right: -25px;
}

.testimonial-nav i {
    font-size: 1.2rem;
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333F49;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    cursor: pointer;
}

.social-icon svg {
    width: 30px;
    height: 30px;
}

/* Large Social Icons for Footer */
.social-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333F49;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-icon-large:hover {
    transform: translateY(-5px);
    background: #101820;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon-large i {
    font-size: 1.5rem;
}

/* class Cards - Restored Original Style */
.class-card {
    background: linear-gradient(135deg, #101820 0%, #333F49 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    color: white;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.class-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.class-content {
    padding: 1.5rem;
}

.class-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.class-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.class-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.class-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Button Styles - Updated with Hero Gradient */
.btn-primary {
    background: linear-gradient(135deg, #101820 0%, #333F49 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(16, 24, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 24, 32, 0.4);
    color: white;
    background: linear-gradient(135deg, #333F49 0%, #101820 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #101820 0%, #333F49 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid white;
    cursor: pointer;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #333F49 0%, #101820 100%);
    transform: translateY(-3px);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, #101820 0%, #333F49 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid white;
    cursor: pointer;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #333F49 0%, #101820 100%);
    transform: translateY(-3px);
    color: white;
}

/* Section Spacing */
.section-spacing {
    padding: 8rem 0;
}

/* Newsletter section with extra bottom spacing */
.bg-primary.section-spacing {
    padding: 8rem 0 10rem 0;
}

/* Extra spacing for specific sections */
.section-spacing + .section-spacing {
    margin-top: 2rem;
}

/* Scroll Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scroll-scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .what-we-do-images-new {
        margin-bottom: 2rem;
    }
    
        .what-we-do-image {
        height: 200px;
    }

    .what-we-do-image-full {
        height: 250px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .static-bg-section {
        height: 500px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav.prev {
        left: -20px;
    }
    
    .testimonial-nav.next {
        right: -20px;
    }
    
    .section-spacing {
        padding: 4rem 0;
    }
    
    /* Responsive Social Icons */
    .social-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .social-icon-large i {
        font-size: 1.2rem;
    }
    
    /* About Page Responsive Styles */
    .hero-section-second {
        height: 70vh;
    }
    
    .hero-section-second .container {
        padding-top: 2rem;
    }
    
    .hero-section-second h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-section-second p {
        font-size: 1.1rem;
    }
    
    /* Who We Are Section Mobile */
    .p-\[2rem\].lg\:p-\[8rem\] {
        padding: 4rem 1rem;
    }
    
    /* Mobile grid adjustments for 3-column layout */
    .grid.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Mobile text adjustments */
    .text-4xl.md\:text-6xl {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .text-2xl.md\:text-3xl {
        font-size: 1.75rem;
    }
    
    /* Mobile image adjustments */
    .h-\[400px\].md\:h-\[500px\] {
        height: 250px;
    }
    
    /* Mobile spacing adjustments */
    .space-y-6 > * + * {
        margin-top: 1.5rem;
    }
    
    .gap-16 {
        gap: 2rem;
    }
    
    /* Mobile title styling */
    .text-4xl.md\:text-6xl .block {
        display: block;
    }
    
    /* Mobile subtitle adjustments */
    .text-xl.text-gray-300.max-w-md {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Contact Page Responsive Styles */
    .hero-section .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact form mobile adjustments */
    .bg-white.bg-opacity-10.backdrop-blur-sm.rounded-2xl.p-8 {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Contact info mobile adjustments */
    .text-4xl.md\:text-6xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    /* Map mobile adjustments */
    .h-\[500px\] {
        height: 300px;
    }
    
    /* Visit section mobile adjustments */
    .section-spacing {
        padding: 4rem 0;
    }
    
    /* Contact form inputs mobile */
    .bg-white.bg-opacity-90 {
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    /* Contact info spacing mobile */
    .space-y-6.mb-12 {
        margin-bottom: 2rem;
    }
    
    /* Contact form grid mobile */
    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Newsletter Form */
.newsletter-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #101820;
    box-shadow: 0 0 0 3px rgba(16, 24, 32, 0.1);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(16, 24, 32, 0.98);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.navbar.menu-open .mobile-menu-button {
    display: none !important;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block !important;
    }
    
    .navbar {
        position: relative;
    }
    
    .navbar .container {
        position: relative;
    }
}

/* Gradient Brand Experience Section */
.gradient-brand-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #333F49 0%, #2a3238 25%, #1a1f2a 50%, #0a0f14 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Background Elements */
.animated-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Animated Squares */
.bg-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: squareFloat 15s linear infinite;
    animation-delay: var(--delay);
    top: var(--position);
    left: var(--position);
    transform: rotate(45deg);
}

.bg-square:nth-child(odd) {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

/* Fog Elements */
.fog-element {
    position: absolute;
    width: 120px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: fogFloat 20s linear infinite;
    animation-delay: var(--delay);
    top: var(--position);
    left: var(--position);
    filter: blur(2px);
}

/* Baking Elements */
.baking-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    animation: bakingFloat 18s linear infinite;
    animation-delay: var(--delay);
    top: var(--position);
    left: var(--position);
}

/* Centered Logo */
.gradient-logo-container {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.gradient-brand-logo {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.15));
    animation: gradientLogoFloat 8s ease-in-out infinite;
}

.gradient-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: gradientGlowPulse 6s ease-in-out infinite;
}

/* Enhanced Animations */
@keyframes squareFloat {
    0% { 
        transform: translateY(0px) rotate(45deg) scale(0.8); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.6; 
        transform: translateY(-30px) rotate(90deg) scale(1); 
    }
    90% { 
        opacity: 0.6; 
        transform: translateY(-90vh) rotate(405deg) scale(1); 
    }
    100% { 
        transform: translateY(-100vh) rotate(450deg) scale(0.8); 
        opacity: 0; 
    }
}

@keyframes fogFloat {
    0% { 
        transform: translateY(0px) scale(0.5); 
        opacity: 0; 
    }
    15% { 
        opacity: 0.4; 
        transform: translateY(-40px) scale(1); 
    }
    85% { 
        opacity: 0.4; 
        transform: translateY(-80vh) scale(1); 
    }
    100% { 
        transform: translateY(-100vh) scale(0.5); 
        opacity: 0; 
    }
}

@keyframes bakingFloat {
    0% { 
        transform: translateY(0px) rotate(0deg) scale(0.8); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.5; 
        transform: translateY(-25px) rotate(45deg) scale(1); 
    }
    90% { 
        opacity: 0.5; 
        transform: translateY(-85vh) rotate(315deg) scale(1); 
    }
    100% { 
        transform: translateY(-100vh) rotate(360deg) scale(0.8); 
        opacity: 0; 
    }
}

@keyframes gradientLogoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

@keyframes gradientGlowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
}

/* People Gallery Styles */
.people-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    aspect-ratio: 1;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a perfect square */
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #f8f9fa;
}

.people-gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.people-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.people-gallery-item:hover .people-gallery-image {
    transform: scale(1.1);
}

.people-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(16, 24, 32, 0.9) 0%, 
        rgba(51, 63, 73, 0.8) 50%,
        rgba(16, 24, 32, 0.9) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.people-gallery-item:hover .people-gallery-overlay {
    opacity: 1;
}

.people-gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 1rem;
}

.people-gallery-item:hover .people-gallery-content {
    transform: translateY(0);
}

.people-gallery-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* Responsive Design for Gradient Section */
@media (max-width: 768px) {
    .gradient-brand-logo {
        height: 100px;
    }
    
    .gradient-logo-glow {
        width: 200px;
        height: 200px;
    }
    
    .baking-element {
        font-size: 1.2rem;
    }
    
    .bg-square {
        width: 40px;
        height: 40px;
    }
    
    .bg-square:nth-child(odd) {
        width: 30px;
        height: 30px;
    }
    
    .fog-element {
        width: 80px;
        height: 60px;
    }
    
    /* People Gallery Mobile Responsive */
    .people-gallery-item {
        aspect-ratio: 1;
        padding-bottom: 100%;
    }
    
    .people-gallery-text {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 0.3px;
    }
    
    /* Adjust grid for mobile */
    .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Newsletter Modal Styles */
.newsletter-modal-form {
    animation: fadeInUp 0.5s ease-out;
}

.newsletter-modal-form input:focus {
    outline: none;
    border-color: #101820;
    box-shadow: 0 0 0 3px rgba(16, 24, 32, 0.1);
}

.newsletter-modal-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#newsletterModal {
    animation: fadeIn 0.3s ease-out;
}

#modalContent {
    animation: scaleIn 0.3s ease-out;
}

/* Modal backdrop blur effect */
#modalBackdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Responsive modal adjustments */
@media (max-width: 640px) {
    #modalContent {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .newsletter-modal-form input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
} 