:root {
    /* Chill Color Palette - same as before */
    --primary: #0c1824;           
    --secondary: #1c2536;         
    --accent: #c9aa71;            
    --accent-soft: #b19057;       
    --accent-light: #e2c88a;      
    --accent-purple: #756bb1;     
    --bg: #080f18;                
    --text: #f0e6d2;              
    --text-muted: #b3a994;        
    --card: #141e2c;              
    --card-hover: #1b2738;        
    --shadow: 0 8px 30px rgba(0,0,0,0.25);
    --border-radius: 16px;        
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-title: 'Montserrat', sans-serif; /* Clean, modern, very readable */
    --font-body: 'Open Sans', sans-serif; /* Extremely readable, works well at small sizes */
    --font-chill: 'Montserrat', sans-serif; /* For consistency */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* PERFORMANCE OPTIMIZATIONS - Replace existing styles */

/* Optimized background - reduce complexity */
.jazz-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(201, 170, 113, 0.015) 1px, transparent 1px),
        linear-gradient(180deg, rgba(201, 170, 113, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, #1c2536 0%, #080f18 100%);
    background-size: 40px 40px, 40px 40px, auto;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    will-change: auto; /* Remove will-change to reduce GPU memory */
}

/* Simplified floating notes - fewer elements, simpler animations */
.floating-notes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.note {
    position: absolute;
    color: rgba(201, 170, 113, 0.06); /* Reduced opacity */
    font-size: 1.5rem; /* Smaller size */
    animation: float-optimized 20s infinite linear; /* Slower, linear animation */
    opacity: 0;
    transform: translateZ(0); /* Force GPU acceleration but lighter */
}

/* Optimized float animation - simpler keyframes */
@keyframes float-optimized {
    0% {
        transform: translateY(100vh) translateZ(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) translateZ(0);
        opacity: 0;
    }
}

/* Reduce the number of floating elements */
.note:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 25s;
}

.note.delay-1 {
    top: 70%;
    left: 85%;
    animation-delay: 8s;
    animation-duration: 30s;
}

.note.delay-2 {
    top: 40%;
    left: 60%;
    animation-delay: 15s;
    animation-duration: 28s;
}

/* Optimize all transform animations to use transform3d for better performance */
.hero-image:hover {
    transform: translate3d(0, -5px, 0) scale(1.02);
}

.project-card:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
}

.project-card:hover .project-image img {
    transform: scale3d(1.05, 1.05, 1);
}

.cta:hover,
.cta:focus {
    transform: translate3d(0, -3px, 0) scale(1.03);
}

.about-skills:hover {
    transform: translate3d(0, -5px, 0);
}

.fun-fact:hover {
    transform: translate3d(0, -5px, 0);
}

.availability-note:hover {
    transform: translate3d(0, -5px, 0);
}

.schedule-day:hover {
    transform: translate3d(0, -3px, 0);
}

.video-card:hover {
    transform: translate3d(0, -5px, 0);
}

.more-examples-btn:hover {
    transform: translate3d(0, -3px, 0) scale(1.05);
}

.step-button:hover {
    transform: translate3d(0, -3px, 0);
}

.step-button.prev:hover {
    transform: translate3d(0, -3px, 0);
}

.social-btn:hover,
.social-btn:focus {
    transform: translate3d(0, -3px, 0) scale(1.05);
}

.footer-btn:hover {
    transform: translate3d(0, -3px, 0);
}

.tos-card:hover {
    transform: translate3d(0, -5px, 0);
}

/* Optimize background patterns - remove heavy texture overlays */
.hero::before,
.about::before,
.projects::before,
.availability::before,
.contact::before,
.tos-section::before {
    display: none; /* Remove texture overlays that cause lag */
}

/* Simplify complex animations */
.gentle-pulse {
    animation: gentle-pulse-optimized 4s infinite ease-in-out;
}

@keyframes gentle-pulse-optimized {
    0%, 100% { 
        opacity: 0.8; 
    }
    50% { 
        opacity: 1; 
    }
}

/* Reduce glow effects complexity */
.glow-effect {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle at 50% 50%, rgba(201, 170, 113, 0.2) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(8px); /* Reduced blur */
    z-index: -1;
    animation: pulse-gentle-optimized 4s infinite ease-in-out;
}

@keyframes pulse-gentle-optimized {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Optimize note icon animation */
.note-icon {
    animation: float-gentle-optimized 6s infinite ease-in-out;
}

@keyframes float-gentle-optimized {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Disable expensive animations on mobile */
@media (max-width: 768px) {
    .note {
        display: none; /* Hide floating notes on mobile */
    }
    
    .glow-effect {
        display: none; /* Remove glow effects on mobile */
    }
    
    /* Disable hover animations on mobile */
    .hero-image:hover,
    .project-card:hover,
    .project-card:hover .project-image img,
    .cta:hover,
    .about-skills:hover,
    .fun-fact:hover,
    .availability-note:hover,
    .schedule-day:hover,
    .video-card:hover,
    .more-examples-btn:hover,
    .step-button:hover,
    .social-btn:hover,
    .footer-btn:hover,
    .tos-card:hover {
        transform: none;
    }
}

/* Optimize modal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Remove will-change from elements that don't need it */
* {
    will-change: auto;
}

/* Force hardware acceleration only where needed */
.modal-content,
.hero-image,
.project-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize transitions - use shorter durations */
:root {
    --transition: 0.2s ease; /* Reduced from 0.3s */
}

/* Reduce box-shadow complexity */
.hero,
.about,
.projects,
.availability,
.contact {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Simplified shadow */
}

.project-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.9; /* Increased line height for more breathing room */
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 300; /* Lighter font weight for a chill vibe */
}

header {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 170, 113, 0.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 1.8rem;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: var(--font-chill);
}

.logo {
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(201, 170, 113, 0.4);
    animation: gentle-pulse 3s infinite alternate;
}

@keyframes gentle-pulse {
    0% { opacity: 0.8; text-shadow: 0 0 10px rgba(201, 170, 113, 0.3); }
    100% { opacity: 1; text-shadow: 0 0 20px rgba(201, 170, 113, 0.6); }
}

.section-intro, .fun-fact, .footer-quirk {
    font-style: normal; /* Change from italic to normal */
    font-weight: 500; /* Medium weight for better visibility */
}

.nav-links {
    display: flex;
    gap: 1.8em;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5em 1em;
    border-radius: 30px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem; /* Slightly larger for better readability */
    font-family: var(--font-body); /* Changed to body font for better readability in navigation */
}

.nav-links li a i {
    font-size: 0.9rem;
    color: var(--accent);
}

.nav-links li a:hover,
.nav-links li a:focus {
    background: rgba(201, 170, 113, 0.15);
    color: var(--accent-light);
    transform: translateY(-2px) scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform var(--transition);
}

.nav-toggle:hover {
    transform: scale(1.1) rotate(5deg);
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.8rem 2rem 1.8rem;
}

/* SECTION STYLING */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    margin-bottom: 7rem;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    gap: 1.2rem;
}

.note-icon {
    background: var(--accent);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(201, 170, 113, 0.3);
    animation: float-gentle 5s infinite alternate ease-in-out;
}

@keyframes float-gentle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.section-title {
    font-family: var(--font-chill);
    font-size: 2.5rem; /* Made slightly larger */
    color: var(--accent);
    margin: 0;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
}

.section-intro {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-family: var(--font-title);
}

/* HERO SECTION */
.hero {
    background: var(--secondary);
    background-image: linear-gradient(45deg, rgba(26, 33, 44, 0.8) 0%, rgba(15, 22, 32, 0.9) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin: 0.5em 0 5.5em 0;
    padding: 4em 3em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 1;
}

.hero-image {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform var(--transition);
}

.hero-image:hover {
    transform: translate3d(0, -5px, 0) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid var(--accent);
}

.glow-effect {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle at 50% 50%, rgba(201, 170, 113, 0.2) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(8px); /* Reduced blur */
    z-index: -1;
    animation: pulse-gentle-optimized 4s infinite ease-in-out;
}

@keyframes pulse-gentle-optimized {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.wave-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: wave 2s ease-in-out 2;
    display: inline-block;
    transform-origin: 75% 75%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.hero-content {
    flex: 1 1 380px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.3em;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-chill);
    font-size: 3rem; /* Larger size to compensate for the new font */
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--text);
}

.tagline {
    color: var(--accent-light);
    font-size: 1.5rem;
    margin: 0;
    font-family: var(--font-title);
    font-style: normal; /* Remove italic to improve readability */
    font-weight: 500; /* Medium weight for better visibility */
    letter-spacing: 0.5px; /* Slightly increased letter spacing */
}

.highlight {
    color: var(--accent);
    font-family: inherit;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    opacity: 0.3;
}

.cta {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1em 2em;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1em;
    box-shadow: 0 4px 15px rgba(201, 170, 113, 0.25);
    transition: all var(--transition);
    text-decoration: none;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-chill);
}

.cta:hover,
.cta:focus {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.35);
}

/* ABOUT SECTION */
.about {
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3em;
    border: 1px solid rgba(201, 170, 113, 0.1);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 0;
}

.about .note-icon {
    background: var(--accent-purple);
}

.about .note-icon i {
    color: var(--primary);
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 2 1 400px;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5em;
    font-size: 1.07rem;
}

.about-skills {
    flex: 1 1 280px;
    min-width: 250px;
    background: rgba(15, 22, 32, 0.7);
    padding: 2.2em;
    border-radius: 14px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform var(--transition);
}

.about-skills:hover {
    transform: translate3d(0, -5px, 0);
}

.about-skills h3 {
    color: var(--accent);
    font-family: var(--font-title);
    margin-top: 0;
    margin-bottom: 1.8em;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.about-list li i {
    color: var(--accent);
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.skill-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.skill-detail strong {
    color: var(--accent-light);
    font-weight: 600;
}

.skill-detail span {
    color: var(--text);
    line-height: 1.5;
}

.project-header h3, 
.about-skills h3,
.cta,
label,
.project-platform,
.social-btn,
button[type="submit"] {
    font-family: var(--font-body); /* Changed to body font for better readability */
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-list li i {
    color: var(--accent);
    margin-top: 5px;
}

.fun-fact {
    margin-top: 2em;
    color: var(--text);
    font-style: italic;
    font-size: 1.1rem;
    padding: 1.5em;
    background: rgba(15, 22, 32, 0.5);
    border-radius: 16px;
    border-left: 3px solid var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform var(--transition);
}

.fun-fact:hover {
    transform: translate3d(0, -5px, 0);
}

.fun-fact i {
    color: var(--accent-purple);
    font-size: 1.4rem;
}

/* PORTFOLIO SECTION */
.projects {
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
}

.projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 0;
}

.projects .note-icon {
    background: var(--accent);
}

.projects .note-icon i {
    color: var(--primary);
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--card);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(201, 170, 113, 0.05);
}

.project-card:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.project-header {
    background: var(--primary);
    padding: 1.8em;
    border-bottom: 2px solid var(--accent);
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-icon {
    color: var(--accent);
    font-size: 1.6rem;
    margin-right: 5px;
}

.project-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    flex-grow: 1;
    font-family: var(--font-chill);
}

.project-platform {
    background: rgba(201, 170, 113, 0.15);
    color: var(--accent);
    padding: 0.4em 0.9em;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-chill);
}

.project-content {
    padding: 1.8em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content p {
    margin: 0 0 1.5em 0;
    flex-grow: 1;
    font-size: 1.05rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--accent);
}

/* Enhanced project image styles - UPDATED */
.project-image {
    width: 100%;
    aspect-ratio: 16/9; /* Consistent aspect ratio for all images */
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.15);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers container while maintaining proportions */
    object-position: center; /* Center the image within the container */
    display: block;
    transition: all 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale3d(1.05, 1.05, 1);
}

/* Make text area more compact when image is present */
.project-image + p {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* Fixed project title link styling */
.project-header h3 {
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.project-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
    display: inline-block; /* Ensures consistent spacing */
}

.project-title-link:hover {
    color: var(--accent-light);
}

.project-title-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.project-title-link:hover::after {
    width: 100%;
}

/* External link icon that appears on hover */
.project-header h3 {
    position: relative;
}

.project-title-link:hover::before {
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7em;
    position: absolute;
    top: 0;
    right: -15px;
    color: var(--accent);
}

/* AVAILABILITY SECTION */
.availability {
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
}

.availability::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 0;
}

.availability .note-icon {
    background: var(--accent-purple);
}

.availability .note-icon i {
    color: var(--primary);
}

.schedule-table {
    margin: 2em 0;
    overflow-x: auto;
    position: relative;
    z-index: 1;
}

.schedule-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.1rem;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.schedule-table th, .schedule-table td {
    text-align: center;
    padding: 1.4em 1em;
}

.schedule-table th {
    color: var(--accent);
    background: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    font-family: var(--font-chill);
}

.schedule-table .weekend {
    color: var(--text-muted);
    background: rgba(15, 22, 32, 0.5);
    font-style: italic;
}

.available {
    color: #4cd964;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(76, 217, 100, 0.4));
}

.unavailable {
    color: var(--accent-purple);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(117, 107, 177, 0.4));
}

/* Mobile schedule layout */
.mobile-schedule {
    display: none;
}

.schedule-day {
    background: var(--card);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(201, 170, 113, 0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform var(--transition);
}

.schedule-day:hover {
    transform: translate3d(0, -3px, 0);
}

.schedule-day.weekend {
    background: rgba(15, 22, 32, 0.5);
    border-color: rgba(201, 170, 113, 0.1);
}

.day-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
    font-family: var(--font-chill);
}

.schedule-day.weekend .day-name {
    color: var(--text-muted);
}

.day-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.status-icon {
    font-size: 1.3rem;
}

.status-text {
    font-weight: 500;
}

.schedule-day:not(.weekend) .status-text {
    color: #4cd964;
}

.schedule-day.weekend .status-text {
    color: var(--accent-purple);
    font-style: italic;
}

.availability-note {
    color: var(--text);
    margin-top: 1.5em;
    font-size: 1.1em;
    padding: 1.5em;
    background: rgba(15, 22, 32, 0.5);
    border-radius: 16px;
    border-left: 3px solid var(--accent-purple);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform var(--transition);
}

.availability-note:hover {
    transform: translate3d(0, -5px, 0);
}

.balance-icon {
    color: var(--accent-purple);
    margin-right: 10px;
}

.balance-tip {
    color: var(--accent-light);
    font-weight: 500;
    margin-left: 5px;
    font-style: italic;
}

/* RESPONSIVE DESIGN - Updated for mobile schedule */
@media (max-width: 768px) {
    .schedule-table {
        display: none;
    }
    
    .mobile-schedule {
        display: block;
        margin: 2em 0;
        position: relative;
        z-index: 1;
    }
    
    .availability {
        padding: 2em 1.5em;
    }
}

@media (max-width: 600px) {
    .schedule-day {
        padding: 1rem;
    }
    
    .day-name {
        font-size: 1rem;
    }
    
    .day-status {
        font-size: 0.9rem;
    }
    
    .status-icon {
        font-size: 1.2rem;
    }
}

/* CONTACT SECTION */
.contact {
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 0;
}

.contact .note-icon {
    background: var(--accent);
}

.contact .note-icon i {
    color: var(--primary);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
    background: var(--card);
    padding: 2.2em;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-bottom: 2.5em;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(201, 170, 113, 0.05);
}

.form-row {
    display: flex;
    gap: 1.8em;
}

.form-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
}

label {
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-chill);
}

input,
textarea {
    border: 1.5px solid rgba(201, 170, 113, 0.1);
    border-radius: 12px;
    padding: 1em 1.4em;
    font-size: 1rem;
    background: var(--primary);
    color: var(--text);
    outline: none;
    transition: all var(--transition);
    font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
    color: rgba(179, 169, 148, 0.5);
}

input:focus,
textarea:focus {
    border: 1.5px solid var(--accent);
    background: rgba(15, 22, 32, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

button[type="submit"] {
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 1em 2em;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.6em;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 170, 113, 0.25);
    align-self: center;
    font-family: var(--font-chill);
}

button[type="submit"]:hover,
button[type="submit"]:focus {
    background: var(--accent-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.35);
}

button[type="submit"] i {
    font-size: 0.9em;
}

.socials {
    display: flex;
    gap: 1.5em;
    margin-top: 2em;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.social-btn {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition);
    background: var(--card);
    border-radius: 50px;
    padding: 0.7em 1.4em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(201, 170, 113, 0.1);
    font-family: var(--font-chill);
}

.social-btn:hover,
.social-btn:focus {
    color: var(--primary);
    background: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.25);
}

.social-btn i {
    font-size: 1.2em;
}

/* FOOTER */
footer {
    text-align: center;
    font-size: 1rem;
    background: var(--primary);
    color: var(--text-muted);
    padding: 3em 0 2.5em 0;
    margin-top: 5em;
    border-top: 1px solid rgba(201, 170, 113, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-logo {
    font-family: var(--font-chill);
    font-size: 1.8rem; /* Made slightly larger */
    color: var(--accent);
    margin-bottom: 0.5em;
}

.heart {
    color: var(--accent);
    animation: gentle-pulse 1.5s infinite alternate;
}

.footer-quirk {
    color: var(--accent-light);
    font-style: italic;
    font-size: 1.15rem;
    margin-top: 0.8em;
    font-family: var(--font-title);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    main {
        padding: 2.5em 1.2em 1em;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .hero {
        flex-direction: column;
        gap: 2em;
        padding: 2.8em 1.8em;
        align-items: center;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .cta {
        align-self: center;
    }
    
    .about, 
    .projects, 
    .availability, 
    .contact {
        padding: 2em 1.5em;
    }
    
    .about-flex {
        flex-direction: column;
        gap: 2em;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.2em;
    }
}

@media (max-width: 600px) {
    .brand {
        font-size: 1.4rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1em 0;
        box-shadow: var(--shadow);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        border-top: 1px solid rgba(201, 170, 113, 0.1);
        z-index: 100;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links li a {
        justify-content: center;
        padding: 0.9em 1.5em;
        border-radius: 0;
        font-size: 1.05rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-image {
        width: 180px;
        height: 180px;
    }
}

/* Multi-step form styles */
.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.step-indicators::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: rgba(201, 170, 113, 0.2);
    z-index: -1;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--card);
    border: 3px solid rgba(201, 170, 113, 0.4);
    margin-bottom: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-indicator.active .step-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(201, 170, 113, 0.5);
}

.step-indicator.complete .step-dot {
    background-color: var(--accent);
    border-color: var(--accent);
}

.step-indicator.complete .step-dot::after {
    content: '✓';
    color: var(--primary);
    font-size: 0.8rem;
}

.step-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-indicator.active .step-name {
    color: var(--accent);
    opacity: 1;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.form-step-header i {
    color: var(--accent);
    font-size: 1.8rem;
}

.form-step-header h3 {
    color: var(--text);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    font-family: var(--font-title);
}

.form-step-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.term-block {
    background: rgba(15, 22, 32, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
    transition: transform var(--transition);
}

.term-block:hover {
    transform: translateY(-5px);
}

.term-block h4 {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.term-block h4 i {
    font-size: 0.9rem;
}

.term-block p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 5px;
}

.form-checkbox label {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
}

.terms-note {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 1rem;
    color: var(--text-muted);
}

.terms-note a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.terms-note a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.step-button {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(201, 170, 113, 0.25);
}

.step-button:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.35);
}

.step-button.prev {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(201, 170, 113, 0.3);
    box-shadow: none;
}

.step-button.prev:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: rgba(201, 170, 113, 0.1);
    transform: translateY(-3px);
}

.summary-box {
    background: rgba(15, 22, 32, 0.7);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.summary-item {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(201, 170, 113, 0.1);
    display: flex;
    flex-wrap: wrap;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    color: var(--accent);
    font-weight: 600;
    min-width: 100px;
    margin-right: 1rem;
}

.summary-value {
    color: var(--text);
    flex: 1;
}

.celebration i {
    color: var(--accent);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.error {
    border-color: #ff6b6b !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .step-name {
        display: none;
    }
    
    .step-indicators::before {
        left: 15px;
        right: 15px;
    }
    
    .step-dot {
        width: 25px;
        height: 25px;
    }
    
    .term-block {
        padding: 1.2rem;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-button {
        width: 100%;
        justify-content: center;
    }
    
    .step-button.prev {
        order: 2;
    }
    
    .step-button.next, .step-button.submit {
        order: 1;
    }
    
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

/* Styles for contact form (if used alongside the multi-step form) */
.quick-contact {
    margin-top: 3rem;
    text-align: center;
}

.quick-contact h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quick-contact p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Fix for dropdown styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--primary) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9aa71' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 35px !important;
    cursor: pointer;
    color: var(--text);
    border: 1.5px solid rgba(201, 170, 113, 0.1);
    border-radius: 12px;
    padding: 1em 1.4em;
    font-size: 1rem;
    background-color: var(--primary);
    outline: none;
    transition: all var(--transition);
    font-family: var(--font-body);
}

select:focus {
    border: 1.5px solid var(--accent);
    background-color: rgba(15, 22, 32, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

select option {
    background-color: var(--primary);
    color: var(--text);
    padding: 10px;
}

/* For Firefox */
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--text);
}

/* For IE/Edge */
select::-ms-expand {
    display: none;
}

/* Add these styles to your existing CSS */

.footer-links {
    margin: 1.2rem 0;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(201, 170, 113, 0.25);
}

.footer-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 170, 113, 0.35);
}

/* Ensure responsiveness in footer */
@media (max-width: 600px) {
    .footer-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}


/* TOS Styles */

.tos-section {
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
    margin-top: 2rem;
}

.tos-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-dark-vertical.png');
    opacity: 0.07;
    z-index: 0;
}

.tos-section .note-icon {
    background: var(--accent-purple);
}

.tos-section .note-icon i {
    color: var(--primary);
}

.tos-content {
    position: relative;
    z-index: 1;
}

.tos-date {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.tos-label {
    color: var(--accent);
    font-weight: 500;
}

.tos-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.tos-card {
    background: var(--card);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(201, 170, 113, 0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform var(--transition);
}

.tos-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.tos-card-header {
    background: var(--primary);
    padding: 1.4em;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tos-card-header i {
    color: var(--accent);
    font-size: 1.3rem;
}

.tos-card-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-title);
}

.tos-card-content {
    padding: 1.8em;
}

.tos-card-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.tos-card-content ul li {
    margin-bottom: 0.8rem;
}

.tos-card-content ul li:last-child {
    margin-bottom: 0;
}

.tos-contact {
    background: var(--card);
    border-radius: var(--border-radius);
    padding: 2em;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(201, 170, 113, 0.05);
}

.tos-contact h4 {
    color: var(--accent);
    font-family: var(--font-title);
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.tos-socials {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tos-footer {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .tos-section {
        padding: 2em 1.5em;
    }
    
    .tos-card-header {
        padding: 1.2em;
    }
    
    .tos-card-content {
        padding: 1.5em;
    }
}

/* More Examples Button */
.more-examples {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 170, 113, 0.15);
    position: relative;
    z-index: 1;
}

.more-examples-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(201, 170, 113, 0.25);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.more-examples-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.35);
}

.more-examples-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: block;
}

.modal-content {
    background: var(--secondary);
    margin: 2% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 170, 113, 0.2);
    position: relative;
}

.modal-header {
    background: var(--primary);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h2 {
    margin: 0;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(201, 170, 113, 0.1);
    color: var(--accent);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-style: italic;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(201, 170, 113, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition);
}

.video-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    margin: 0 0 0.8rem 0;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-info h4 i {
    font-size: 1rem;
    color: var(--accent-purple);
}

.video-info p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .more-examples-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-info {
        padding: 1rem;
    }
}

/* Ensure modal appears above everything */
.modal {
    z-index: 10000;
}

/* Add smooth scrolling to modal content */
.modal-content {
    scroll-behavior: smooth;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--primary);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* Demo disclaimer styling */
.demo-disclaimer {
    background: rgba(201, 170, 113, 0.1);
    border: 1px solid rgba(201, 170, 113, 0.3);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.demo-disclaimer i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.demo-disclaimer strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .demo-disclaimer {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .demo-disclaimer i {
        font-size: 1rem;
    }
}