@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Outfit:wght@100..900&display=swap');

:root {
    --bg-main: #0c0c0e;
    --bg-card: #151518;
    --bg-nav: rgba(12, 12, 14, 0.75);
    --primary: #fcd34d;
    --primary-hover: #fbbf24;
    --accent-coral: #ff6b6b;
    --accent-purple: #8b5cf6;
    --accent-mint: #10b981;
    --accent-blue: #06b6d4;
    --text-white: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Fredoka', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-yellow: rgba(252, 211, 77, 0.15);
    --glow-coral: rgba(255, 107, 107, 0.2);
}

/* Modern Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-main);
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Scrollbar styling for Chrome/Safari */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(12, 12, 14, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
}

.logo-icon {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotateHue 8s infinite linear;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-coral));
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--accent-coral));
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--glow-coral);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    filter: brightness(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

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

/* Background blob decorations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.25;
    animation: floatBlob 20s infinite ease-in-out;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: var(--primary);
    top: -10%;
    right: -5%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-coral);
    top: 50%;
    right: 25%;
    animation-delay: -10s;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tagline::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, var(--primary), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-banner-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    margin-top: 1rem;
    position: relative;
    max-width: 500px;
    width: 100%;
}

.hero-banner-container img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.hero-banner-container:hover img {
    transform: scale(1.03);
}

.hero-avatar-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-backdrop {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 48% 52% 50% 50% / 40% 60% 40% 60%;
    background: linear-gradient(135deg, var(--glow-yellow), var(--glow-coral));
    z-index: -1;
    animation: morphBlob 12s infinite ease-in-out;
}

.hero-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--bg-card);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    animation: floatAvatar 6s infinite ease-in-out;
    background-color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 2.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Section */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-coral);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-photo-frame {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.about-photo-frame:hover {
    transform: rotate(0deg) translateY(-8px);
}

.about-photo {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.photo-caption {
    margin-top: 1.25rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-bio {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.highlights-title {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: -0.75rem;
    position: relative;
    padding-left: 1rem;
}

.highlights-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-mint));
    border-radius: 2px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent-purple);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(5px);
    background: rgba(25, 25, 30, 0.8);
}

.highlight-card:nth-child(2) {
    border-left-color: var(--accent-mint);
}

.highlight-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.highlight-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Levels Section */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.level-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-coral);
}

.level-card:nth-child(2)::before {
    background: var(--accent-purple);
}

.level-card:nth-child(3)::before {
    background: var(--accent-blue);
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.level-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    color: var(--accent-coral);
}

.level-card:nth-child(2) .level-icon {
    color: var(--accent-purple);
}

.level-card:nth-child(3) .level-icon {
    color: var(--accent-blue);
}

.level-title {
    font-size: 1.5rem;
}

.level-desc {
    color: var(--text-muted);
}

.level-projects {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.level-projects li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.level-projects li::before {
    content: '✦';
    color: var(--primary);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3.5rem;
    padding: 3rem 1.5rem;
    position: relative;
}

.gallery-item {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 4px;
    padding: 14px 14px 28px 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    transition: var(--transition);
}

.gallery-item-info {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-purple);
    letter-spacing: 0.5px;
}

.gallery-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 2px;
}

.gallery-item-desc {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.4;
}

/* Organic overlapping translations & tilts */
.gallery-item:nth-child(4n+1) {
    transform: rotate(-3deg) translateY(-8px);
}

.gallery-item:nth-child(4n+2) {
    transform: rotate(2deg) translateY(12px) translateX(-4px);
}

.gallery-item:nth-child(4n+3) {
    transform: rotate(-1.5deg) translateY(-5px) translateX(6px);
}

.gallery-item:nth-child(4n+4) {
    transform: rotate(3deg) translateY(8px);
}

/* Hover effects */
.gallery-item:hover {
    transform: scale(1.08) rotate(0deg) translateY(-15px) !important;
    z-index: 20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover img {
    filter: brightness(1.05);
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

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

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-container video, .video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.video-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-tag {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-title {
    font-size: 1.5rem;
}

.video-desc {
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(252, 211, 77, 0.05);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-details a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--glow-yellow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent-coral));
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px var(--glow-coral);
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    filter: brightness(1.1);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 8, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2100;
}

.lightbox-close:hover {
    background: var(--accent-coral);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: relative;
    width: 100%;
    background: var(--bg-card);
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border);
}

.lightbox-caption h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.lightbox-caption p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Animations */
@keyframes rotateHue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes morphBlob {
    0% { border-radius: 48% 52% 50% 50% / 40% 60% 40% 60%; }
    33% { border-radius: 55% 45% 58% 42% / 45% 48% 52% 55%; }
    66% { border-radius: 42% 58% 44% 56% / 55% 42% 58% 45%; }
    100% { border-radius: 48% 52% 50% 50% / 40% 60% 40% 60%; }
}

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

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border);
    background: #09090b;
    padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-avatar-wrapper {
        order: -1;
    }
    .hero-tagline {
        justify-content: center;
    }
    .hero-tagline::before {
        display: none;
    }
    .hero-desc {
        margin: 0 auto;
    }
    .hero-banner-container {
        margin: 2rem auto 0 auto;
    }
    .hero-stats {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-photo-frame {
        max-width: 450px;
        margin: 0 auto;
    }
    .levels-grid {
        grid-template-columns: 1fr;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .blob {
        display: none !important;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-avatar {
        width: 220px;
        height: 220px;
    }
    .avatar-backdrop {
        width: 250px;
        height: 250px;
    }
    .hero {
        padding: 8.5rem 1rem 3rem 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .nav-container {
        padding: 0.75rem 1rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 2rem;
        padding: 2rem 0.5rem;
    }
    /* Disable tilts on mobile to prevent horizontal overflow */
    .gallery-item:nth-child(n) {
        transform: none !important;
    }
    .gallery-item:hover {
        transform: scale(1.04) translateY(-5px) !important;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .section {
        padding: 5rem 1rem;
    }
    .contact-form {
        padding: 2rem 1.25rem;
    }
}
