/* ================ ACCESSIBILITY - SKIP LINK ================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--white);
    padding: 1rem 2rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* ================ SITE HEADER & NAVIGATION ================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.main-nav {
    padding: 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--white);
    font-family: 'Hiruzen', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: var(--accent-primary);
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-primary) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.2rem !important;
    border: 2px solid var(--accent-primary);
    box-shadow: 3px 3px 0 var(--white);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: transparent !important;
    color: var(--accent-primary) !important;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--accent-primary);
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--white);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ================ FOOTER STYLES ================ */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--text-medium);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.copyright a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-tagline {
    color: var(--accent-primary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* Navigation responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.6rem 1rem;
    }
    
    .nav-logo {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.99) 0%, rgba(20, 20, 20, 0.99) 100%);
        flex-direction: column;
        padding: 80px 0 2rem;
        border-left: 2px solid var(--accent-primary);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
        text-align: left;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu a::after {
        bottom: 10px;
        left: 2rem;
        width: 0;
    }
    
    .nav-menu a:hover::after {
        width: calc(100% - 4rem);
    }
    
    .nav-cta {
        margin: 1.5rem 2rem !important;
        width: calc(100% - 4rem) !important;
        text-align: center !important;
        padding: 1rem 1.5rem !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        z-index: 1001;
        position: relative;
    }
    
    .hamburger {
        width: 24px;
        height: 2px;
        background: var(--white);
        transition: all 0.3s ease;
    }
    
    .hamburger::before,
    .hamburger::after {
        width: 24px;
        height: 2px;
    }
    
    .hamburger::before {
        top: -7px;
    }
    
    .hamburger::after {
        bottom: -7px;
    }
    
    /* Hamburger animation to X */
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
        background: var(--accent-primary);
    }
    
    .mobile-menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
        background: var(--accent-primary);
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Overlay behind menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .footer-nav {
        gap: 1rem;
    }
}

/* Adjust hero section for fixed header */
.hero-section {
    padding-top: 70px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 10px;
    }
  
  .hero-container {
    max-height: 100vh;
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
    letter-spacing: 2px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem 0.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

/* Adjust spacing after removal of hero-stats block */
.hero-content .hero-buttons { margin-top: 1.25rem; }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1.2rem 2rem;
  }
  
  .testimonial-preview {
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    max-width: 100%;
  }
  
  .testimonial-preview .quote-icon {
    font-size: 2rem;
  }
  
  .testimonial-preview p {
    font-size: 1rem;
  }
}

/* Medium breakpoint adjustments for hero clarity */
@media (max-width: 980px) {
    .hero-container { flex-direction: column; gap: 2.5rem; }
    .hero-title { font-size: 3.4rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .hero-description { font-size: 1rem; }
    .hero-img.main { max-width: 340px; }
    .hero-image-container { order: -1; }
    .testimonial-preview { max-width: 520px; margin-left: auto; margin-right: auto; }
}
/* Hide floating hero image on small screens */
@media (max-width: 600px) {
  .hero-img.floating {
    display: none !important;
  }
}
/* Art Principles Card Dynamic Placement */
.art-principles-container {
    display: flex;
    justify-content: var(--principles-align, center);
    margin: var(--principles-margin, 2rem auto);
    width: var(--principles-width, 350px);
}

.art-principles-container[data-align] {
    justify-content: center;
    align-items: center;
}
.art-principles-container[data-margin] {
    margin: attr(data-margin);
}
.art-principles-container[data-width] {
    width: attr(data-width);
    max-width: 100%;
}
/* Enhanced Martial Arts Website - Light Theme with Improved Animations */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Custom Martial Arts Fonts */
@font-face {
    font-family: 'Hiruzen';
    src: url('../fonts/hiruzen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Higher Jump';
    src: url('../fonts/higher-jump.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Reklame Script';
    src: url('../fonts/reklame-script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ================ RESET & VARIABLES ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    /* BRUTALIST MARTIAL ARTS PALETTE */
    --black: #0a0a0a;
    --black-pure: #000000;
    --charcoal: #1a1a1a;
    --dark-gray: #2d2d2d;
    --mid-gray: #4a4a4a;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --cream: #fafafa;
    --warm-cream: #f0f0f0;
    --border-light: #333333;
    --border-brutal: #e60000;
    
    /* Text colors */
    --text-dark: #ffffff;
    --text-medium: #b0b0b0;
    --text-light: #888888;
    --text-on-light: #0a0a0a;
    
    /* Accent - Blood Red & Electric */
    --accent-primary: #e60000;
    --accent-secondary: #ff1a1a;
    --accent-soft: #ff4d4d;
    --accent-light: rgba(230, 0, 0, 0.15);
    --accent-glow: rgba(230, 0, 0, 0.4);
    
    /* Secondary accent - Gold/Yellow */
    --gold: #ffd700;
    --gold-dark: #b8860b;
    
    /* Brutalist shadows - harsh and defined */
    --shadow-soft: 0 4px 0 var(--black), 0 8px 20px rgba(0,0,0,0.4);
    --shadow-medium: 0 6px 0 var(--black), 0 12px 30px rgba(0,0,0,0.5);
    --shadow-strong: 0 8px 0 var(--black), 0 16px 40px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px var(--accent-glow), 0 0 60px rgba(230,0,0,0.2);
    
    /* Brutalist - minimal or no radius */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 4px;
    
    --transition-fast: all 0.15s ease-out;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Brutalist gradients - stark and bold */
    --grad-accent: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --grad-dark: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
    --grad-warm: linear-gradient(180deg, var(--charcoal) 0%, var(--dark-gray) 100%);
    --grad-hero: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 50%, var(--dark-gray) 100%);
}

/* ================ BASE STYLES ================ */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--black);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hiruzen', 'Higher Jump', serif;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

p {
    color: var(--text-medium);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    overflow: hidden;
}

/* ================ ANIMATIONS ================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes heroGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(230,0,0,0.4));
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(230,0,0,0.7));
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    70% {
        transform: scale(0.9) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ================ NAVBAR ================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 0;
}

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

.nav-brand h1 {
    font-size: 1.3rem;
    letter-spacing: 3px;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition-fast);
    font-family: 'Higher Jump', sans-serif;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--grad-accent);
    transform: translateX(-50%);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

/* ================ HERO HEADER WITH TITLE ================ */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.hero-brand {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.website-title {
    font-family: 'Hiruzen', serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out both;
}

/* ================ ENHANCED HERO SECTION ================ */
.hero-section {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230,0,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,215,0,0.04) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="heroGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(230,0,0,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23heroGrid)"/></svg>');
    pointer-events: none;
}

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Slightly soften background decorative elements for text clarity */
.hero-circle { opacity: 0.4; }
.floating-element { opacity: 0.08; }

.hero-circle {
    position: absolute;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(230,0,0,0.15), rgba(255,215,0,0.05));
    border: 1px solid rgba(230,0,0,0.2);
    animation: heroFloat 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 60%;
    animation-delay: 4s;
}

.floating-element {
    position: absolute;
    font-family: 'Hiruzen', serif;
    font-size: 5rem;
    color: rgba(230,0,0,0.12);
    font-weight: 900;
    animation: floatText 10s ease-in-out infinite;
    pointer-events: none;
    text-shadow: 0 0 40px rgba(230,0,0,0.3);
}

.elem-1 {
    top: 15%;
    left: 10%;
    animation-delay: 1s;
}

.elem-2 {
    bottom: 25%;
    right: 15%;
    animation-delay: 3s;
}

.elem-3 {
    top: 70%;
    left: 70%;
    animation-delay: 5s;
}

@keyframes floatText {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.08;
    }
    50% {
        transform: translateY(-30px) rotate(3deg);
        opacity: 0.15;
    }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    flex: 1;
    max-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 620px;
    animation: fadeInLeft 1s ease-out 0.2s both;
    position: relative;
    z-index: 5; /* ensure above decorative elements and glow */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--charcoal);
    border: 2px solid var(--accent-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 0 var(--accent-primary);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.sanskrit-text {
    font-family: 'Hiruzen', serif;
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 1.2rem;
    letter-spacing: 8px;
    opacity: 1;
    text-shadow: 0 0 20px rgba(230,0,0,0.5);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Hiruzen', serif;
    font-size: clamp(4.2rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    line-height: 0.9;
    animation: fadeInUp 1s ease-out 0.7s both;
    text-shadow: 0 0 40px rgba(230,0,0,0.3);
}

.title-line {
    display: block;
    margin-bottom: 0.2rem;
}

.title-line:nth-child(1) {
    color: var(--white);
    transform: translateX(-20px);
    animation: slideInTitle 1s ease-out 1s both;
}

.title-line:nth-child(2) {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(230,0,0,0.6));
    animation: heroGlow 3s ease-in-out infinite alternate, slideInTitle 1s ease-out 1.1s both;
}

.title-line:nth-child(3) {
    color: var(--white);
    transform: translateX(20px);
    animation: slideInTitle 1s ease-out 1.4s both;
}

@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateX(var(--slide-distance, 0));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle-container {
    display: flex;
    align-items: center;
    gap: 1rem; /* reduced gap */
    margin-bottom: 1.8rem; /* reduced */
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.subtitle-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.hero-subtitle {
    font-family: 'Reklame Script', cursive;
    font-size: 1.3rem; /* slightly smaller again */
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 2px;
    font-style: italic;
    white-space: nowrap;
    margin: 0;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 1.4rem;
    line-height: 1.8;
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.hero-description strong {
    color: var(--accent-primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(230,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 2s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Hiruzen', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem; /* reduced */
    animation: fadeInUp 0.8s ease-out 2.2s both;
}

.hero-social-proof {
    animation: fadeInUp 0.8s ease-out 2.4s both;
}

.testimonial-preview {
    background: rgba(255,255,255,0.9); /* slightly more opaque for readability */
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,107,53,0.1);
    max-width: 400px;
}

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.testimonial-preview p {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Standalone quote section */
.quote-section { padding: 1.5rem 0 2.5rem; background: var(--charcoal); }
.quote-alone { margin: 0 auto; }
@media (max-width: 700px) { .quote-section { padding: 1rem 0 2rem; } }

/* Martial Quote Block */
.martial-quote-block {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 2.75rem 2.8rem 2.6rem;
    background: var(--dark-gray);
    border: 3px solid var(--accent-primary);
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--accent-primary), 0 0 40px rgba(230,0,0,0.2);
    overflow: hidden;
    transform: translateY(40px) scale(.96);
    opacity: 0;
    animation: quoteEnter 1s cubic-bezier(.16,.72,.24,1) .2s forwards;
}

.martial-quote-block::before, .martial-quote-block::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
}
.martial-quote-block::before {
    background: linear-gradient(120deg, rgba(230,0,0,0.1), transparent);
    mix-blend-mode: overlay;
    opacity: .2;
}
.martial-quote-block::after {
    background:
        radial-gradient(circle at 85% 80%, rgba(230,0,0,0.1), transparent 60%),
        radial-gradient(circle at 10% 20%, rgba(255,215,0,0.05), transparent 65%);
    opacity: .3;
}

.martial-quote-block .quote-accent {
    position: absolute;
    top: 12px;
    left: 22px;
    font-size: 4.5rem;
    font-family: 'Hiruzen', serif;
    line-height: 1;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 15px rgba(230,0,0,0.5));
    animation: accentPulse 5s ease-in-out infinite;
}

.martial-quote-block .quote-kanji {
    position: absolute;
    bottom: -6px;
    right: 14px;
    font-size: 6.5rem;
    font-family: 'Hiruzen', serif;
    color: rgba(230,0,0,0.1);
    letter-spacing: 6px;
    transform: rotate(-6deg);
    pointer-events: none;
    animation: kanjiFloat 9s ease-in-out infinite;
}

.martial-quote-block .quote-text {
    position: relative;
    margin: 0;
    padding-left: 3.8rem;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    letter-spacing: .5px;
    text-wrap: balance;
}

.martial-quote-block .quote-text p { margin: 0 0 .9rem; }

.martial-quote-block .quote-author {
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-shadow: 0 0 10px rgba(230,0,0,0.3);
}
.martial-quote-block .quote-author::before {
    content: '';
    width: 32px;
    height: 3px;
    background: var(--accent-primary);
    display: inline-block;
    border-radius: 0;
}

/* Quote interactions */
.martial-quote-block:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--accent-primary), 0 0 60px rgba(230,0,0,0.3); }
.martial-quote-block:focus-within { outline: 3px solid var(--gold); outline-offset: 4px; }
.martial-quote-block:hover .quote-accent { color: var(--accent-secondary); }

/* Animations */
@keyframes quoteEnter {
    0% { opacity:0; transform: translateY(40px) scale(.96); }
    55% { opacity:1; transform: translateY(-6px) scale(1.01); }
    100% { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes accentPulse {
    0%,100% { transform: scale(1); opacity:.9; }
    50% { transform: scale(1.06); opacity:1; }
}
@keyframes kanjiFloat {
    0%,100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
}

@media (max-width: 720px) {
    .martial-quote-block { padding: 2.2rem 1.8rem 2.1rem; }
    .martial-quote-block .quote-text { font-size: 1.05rem; padding-left: 2.8rem; }
    .martial-quote-block .quote-accent { font-size: 3.6rem; left: 14px; }
    .martial-quote-block .quote-kanji { font-size: 4.4rem; right: 4px; bottom: -10px; }
}

.hero-visual {
    flex: 1;
    max-width: 600px;
    animation: fadeInRight 1s ease-out 0.4s both;
}

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

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(230,0,0,0.25) 0%, transparent 70%);
    border-radius: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

.hero-image-stack {
    position: relative;
    z-index: 2;
}

.hero-img {
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--accent-primary), 0 0 40px rgba(230,0,0,0.2);
    transition: var(--transition-smooth);
}

.hero-img.main {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 4px solid var(--accent-primary);
    position: relative;
    z-index: 2;
}

.hero-img.floating {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    z-index: 3;
    animation: heroFloat 6s ease-in-out infinite;
    border-radius: 0;
}

.art-form-badge {
    position: absolute;
    bottom: -20px;
    left: 0;
    background: var(--charcoal);
    padding: 1rem 1.2rem;
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--accent-primary);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 4;
    animation: bounceIn 1s ease-out 2s both;
    transform: translateX(-15%);
}

.art-icon {
    font-size: 1.5rem;
}

.art-text {
    display: flex;
    flex-direction: column;
}

.art-title {
    font-family: 'Higher Jump', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: 2px;
}

.art-subtitle {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
}

.art-principles {
    position: absolute;
    top: 20px;
    left: -60px;
    background: var(--charcoal);
    border: 2px solid var(--accent-primary);
    padding: 1.2rem;
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--accent-primary);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 4;
    animation: slideInLeft 1s ease-out 2.5s both;
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 140px;
}

.principle-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    min-width: 60px;
    letter-spacing: 1px;
}

.principle-bar {
    flex: 1;
    height: 6px;
    background: rgba(230,0,0,0.2);
    border-radius: 0;
    overflow: hidden;
}

.principle-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 0;
    animation: fillBar 2s ease-out 3s both;
    transform-origin: left;
}

@keyframes fillBar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

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

.hero-visual:hover .hero-img.main {
    transform: scale(1.03) rotate(1deg);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 8px; /* moved closer to bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    animation: fadeInUp 0.8s ease-out 3s both;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ================ ENHANCED BUTTONS ================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 18px 40px;
    font-size: 0.9rem;
    font-family: 'Higher Jump', sans-serif;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.cta-button.primary {
    background: var(--accent-primary);
    color: var(--white);
    box-shadow: 6px 6px 0 var(--black), 0 0 30px rgba(230,0,0,0.3);
    transform: translateY(0);
    border: 3px solid var(--accent-primary);
}

.cta-button.primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black), 0 0 50px rgba(230,0,0,0.5);
    background: var(--accent-secondary);
}

.cta-button.primary:hover .btn-icon {
    transform: translateX(5px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
    box-shadow: 6px 6px 0 var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--black);
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--accent-primary);
}

.cta-button.secondary:hover .btn-icon {
    transform: scale(1.2);
}

/* ================ SECTION TITLES ================ */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    margin: 0 0 2rem;
    letter-spacing: 6px;
    animation: fadeInUp 0.8s ease-out both;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(230,0,0,0.4));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 0;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ================== FORMS SECTION ================== */
.forms-section {
    padding: 120px 0;
    background: var(--charcoal);
}

.form-article {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: var(--dark-gray);
    padding: 2.5rem 2rem;
    border: 3px solid var(--mid-gray);
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--black);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.6s ease-out both;
}

.form-article:nth-child(even) {
    animation-delay: 0.1s;
}

.form-article:nth-child(odd) {
    animation-delay: 0.2s;
}

.form-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230,0,0,0.05), transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.form-article:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-article:hover::before {
    opacity: 1;
}

.form-article h3 {
    margin: 0 0 1.2rem;
    font-size: 1.7rem;
    letter-spacing: 3px;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
}

.form-article p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0 0 1rem;
    position: relative;
    z-index: 2;
}

.form-article strong {
    color: var(--white);
    font-weight: 600;
}

/* ================== EVENTS ================== */
.events-section {
    padding: 120px 0;
    background: var(--black);
}

.events-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-top: 3rem;
}

.event-card {
    background: var(--dark-gray);
    border: 3px solid var(--mid-gray);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 0 var(--black);
    transition: var(--transition-smooth);
    position: relative;
    animation: scaleIn 0.6s ease-out both;
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }

.event-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--accent-primary), 0 0 30px rgba(230,0,0,0.2);
    border-color: var(--accent-primary);
}

.event-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-primary);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.85) saturate(1.2) contrast(1.1);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
    filter: brightness(1) saturate(1.3) contrast(1.1);
}

.event-content {
    padding: 2rem 1.8rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.event-content h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--accent-primary);
    line-height: 1.3;
}

.event-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.event-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.event-points li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.event-points li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
    color: var(--accent-primary);
}

/* ================== FULLSCREEN GALLERY ================== */
.gallery-full {
    padding: 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.gallery-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230,0,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,215,0,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-header {
    text-align: center;
    padding: 120px 2rem 80px;
    position: relative;
    z-index: 2;
}

.gallery-header .section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.8s ease-out both;
    filter: drop-shadow(0 0 30px rgba(230,0,0,0.5));
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(7, 200px);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 120px;
    position: relative;
    z-index: 2;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease-out both;
    box-shadow: 4px 4px 0 var(--black);
    border: 2px solid var(--mid-gray);
}

/* Featured Image - Large Spotlight */
.g-item.featured {
    grid-column: span 3;
    grid-row: span 3;
    animation-delay: 0.1s;
    box-shadow: 6px 6px 0 var(--accent-primary);
    border-color: var(--accent-primary);
}

.g-item:nth-child(2) { /* Tall kick */
    grid-column: span 3;
    grid-row: span 3;
    animation-delay: 0.3s;
}

/* Grid Layout Specific Positioning */
.g-item:nth-child(3) { /* Form practice */ 
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.2s;
}



.g-item:nth-child(4) { /* Combat drill */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.4s;
}

.g-item:nth-child(5) { /* Team sync - wide */
    grid-column: span 4;
    grid-row: span 2;
    animation-delay: 0.5s;
}

.g-item:nth-child(6) { /* Balance */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.6s;
}

.g-item:nth-child(7) { /* Spirit */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.7s;
}

.g-item:nth-child(8) { /* Senior guidance - tall */
    grid-column: span 4;
    grid-row: span 3;
    animation-delay: 0.8s;
}

.g-item:nth-child(9) { /* Advanced flow - wide */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.9s;
}

.g-item:nth-child(10) { /* Youth - was 11th */
    grid-column: span 4;
    grid-row: span 4;
    animation-delay: 1s;
}

.g-item:nth-child(11) { /* Legacy - was 12th */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 1.1s;
}

.g-item:nth-child(12) { /* Competition - wide - was 13th */
    grid-column: span 3;
    grid-row: span 2;
    animation-delay: 1.2s;
}

.g-item:nth-child(13) { /* Instruction - tall - was 14th */
    grid-column: span 3;
    grid-row: span 3;
    animation-delay: 1.3s;
}

.g-item:nth-child(14) { /* Grace - was 15th */
    grid-column: span 3;
    grid-row: span 3;
    animation-delay: 1.4s;
}

.g-item:nth-child(15) { /* Victory - wide - was 16th */
    grid-column: span 4;
    grid-row: span 3;
    animation-delay: 1.5s;
}

.g-item:nth-child(16) { /* Traditional - was 17th */
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 1.6s;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.85) 0%,
        rgba(230,0,0,0.4) 50%,
        rgba(0,0,0,0.6) 100%
    );
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay-content {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.overlay-content h4 {
    font-family: 'Hiruzen', serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(230,0,0,0.5);
}

.overlay-content p {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.g-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--accent-primary), 0 0 30px rgba(230,0,0,0.3);
    z-index: 10;
    border-color: var(--accent-primary);
}

.g-item:hover .image-overlay {
    opacity: 1;
}

.g-item:hover .overlay-content {
    transform: translateY(0);
}

.g-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1) saturate(1.3);
}

.g-item.featured:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 var(--accent-primary), 0 0 50px rgba(230,0,0,0.4);
}

.g-item.featured .overlay-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.g-item.featured .overlay-content p {
    font-size: 1.1rem;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-full-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(auto, 180px);
    }
    
    .g-item.featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .g-item:nth-child(2) {
        grid-column: span 2;
        grid-row: span 3;
    }
    
    .g-item:nth-child(5),
    .g-item:nth-child(9),
    .g-item:nth-child(13),
    .g-item:nth-child(16) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .g-item:nth-child(8),
    .g-item:nth-child(14) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .gallery-header {
        padding: 80px 1rem 60px;
    }
    
    .gallery-header .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 160px);
        gap: 10px;
        padding: 0 1rem 80px;
    }
    
    .g-item.featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .g-item:nth-child(2),
    .g-item:nth-child(5),
    .g-item:nth-child(8),
    .g-item:nth-child(9),
    .g-item:nth-child(13),
    .g-item:nth-child(14),
    .g-item:nth-child(16) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .overlay-content h4 {
        font-size: 1rem;
    }
    
    .overlay-content p {
        font-size: 0.8rem;
    }
    
    .g-item.featured .overlay-content h4 {
        font-size: 1.3rem;
    }
    
    .g-item.featured .overlay-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-full-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto, 200px);
    }
    
    .g-item.featured,
    .g-item:nth-child(2),
    .g-item:nth-child(5),
    .g-item:nth-child(8),
    .g-item:nth-child(9),
    .g-item:nth-child(13),
    .g-item:nth-child(14),
    .g-item:nth-child(16) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ================ GALLERY FOOTER ================ */
.gallery-footer {
    text-align: center;
    padding: 60px 2rem 80px;
    position: relative;
    z-index: 2;
}

.view-more-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--accent-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 0;
    font-family: 'Higher Jump', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 var(--black);
    border: 3px solid var(--accent-primary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.view-more-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}

.view-more-button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black), 0 0 40px rgba(230,0,0,0.4);
}

.view-more-button:hover::before {
    left: 100%;
}

.view-more-button .btn-text {
    position: relative;
    z-index: 2;
}

.view-more-button .btn-icon {
    font-size: 1.3rem;
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.view-more-button:hover .btn-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .gallery-footer {
        padding: 40px 1rem 60px;
    }
    
    .view-more-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ================ LIGHTBOX GALLERY ================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoomIn 0.4s ease-out;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 0 60px rgba(230,0,0,0.3), 8px 8px 0 var(--accent-primary);
    border: 4px solid var(--accent-primary);
    transition: var(--transition-smooth);
}

.lightbox-info {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--white);
}

.lightbox-counter {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.lightbox-title {
    font-size: 1.3rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border: 3px solid var(--white);
    border-radius: 0;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10001;
    box-shadow: 4px 4px 0 var(--white);
}

.lightbox-close:hover {
    background: var(--white);
    color: var(--accent-primary);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--accent-primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: 3px solid var(--white);
    border-radius: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10001;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(230,0,0,0.5);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Gallery item cursor */
.g-item[data-lightbox] {
    cursor: pointer;
}

.g-item[data-lightbox]:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--accent-primary), 0 0 30px rgba(230,0,0,0.3);
    z-index: 10;
}

.g-item[data-lightbox].featured:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 var(--accent-primary), 0 0 50px rgba(230,0,0,0.4);
}

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

@keyframes zoomIcon {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-container {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-img {
        max-height: 70vh;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
}

/* ================ CONTACT CARD SECTION ================ */
.contact-card-section {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.contact-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--dark-gray);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--accent-primary);
    border: 3px solid var(--accent-primary);
    position: relative;
    animation: scaleIn 0.8s ease-out both;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--accent-primary), 0 0 50px rgba(230,0,0,0.3);
}

.contact-card-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.contact-image-side {
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-right: 3px solid var(--accent-primary);
}

.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--accent-primary);
    border: 3px solid var(--accent-primary);
    transition: var(--transition-smooth);
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
}

.contact-card:hover .contact-hero-img {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--accent-primary);
}

.image-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(230,0,0,0.2) 0%, transparent 70%);
    border-radius: 0;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
}

.contact-content-side {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--charcoal);
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    border: 2px solid var(--accent-primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    box-shadow: 3px 3px 0 var(--accent-primary);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-header h3 {
    font-family: 'Hiruzen', serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.highlight-text {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-top: 0.3rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact-card-content {
    padding: 0;
}

.contact-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--charcoal);
    border-radius: 0;
    border-left: 4px solid var(--accent-primary);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: var(--mid-gray);
    transform: translateX(5px);
    border-left-color: var(--gold);
}

.feature-icon {
    font-size: 1.2rem;
    min-width: 20px;
}

.feature-item span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.contact-description {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.contact-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.contact-cta {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 20px 40px;
    font-size: 1rem;
    font-family: 'Higher Jump', sans-serif;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--black);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    text-shadow: none;
    border: 3px solid var(--accent-primary);
    line-height: 1.6;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black), 0 0 40px rgba(230,0,0,0.4);
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.btn-arrow {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.contact-button:hover .btn-arrow {
    transform: translateX(6px);
}

.contact-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-card-bg {
    display: none; /* Removing background elements for cleaner look */
}

/* Hide old elements */
.contact-card-visual,
.contact-image-container,
.contact-image-overlay,
.overlay-content,
.contact-card-header {
    display: none;
}

/* Contact Card Responsive */
@media (max-width: 768px) {
    .contact-card-section {
        padding: 60px 0;
    }
    
    .contact-card-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-image-side {
        height: 300px;
        order: 1;
    }
    
    .contact-content-side {
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .contact-header h3 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        text-align: center;
    }
    
    .contact-subtitle {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .contact-badge {
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    
    .contact-features {
        gap: 0.8rem;
    }
    
    .contact-button {
        margin: 0 auto;
    }
    
    .contact-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-card {
        margin: 0 1rem;
    }
    
    .contact-image-side {
        height: 250px;
    }
    
    .contact-content-side {
        padding: 1.5rem 1rem;
    }
    
    .contact-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-hero-img {
        width: 95%;
        height: 95%;
    }
}

/* ================ FOOTER ================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 30px 0 30px;
    text-align: center;
    border-top: 3px solid var(--accent-primary);
}

.footer-bar p {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-medium);
}

/* ================== RESPONSIVE ================== */
/* ================ ENHANCED RESPONSIVE DESIGN ================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .floating-element {
        font-size: 3rem;
    }
    
    .hero-circle.circle-1 {
        width: 250px;
        height: 250px;
    }
}

/* ================ TABLET HERO OPTIMIZATION (481px - 768px) ================ */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-section {
        padding: 80px 0 60px;
        height: auto;
        max-height: none;
        min-height: 100vh;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 3px;
    }
    
    .sanskrit-text {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-subtitle-container {
        flex-direction: row;
        gap: 1rem;
    }
    
    .subtitle-line {
        flex: 1;
        max-width: 80px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: row;
    }
    
    .cta-button {
        min-width: 150px;
        padding: 14px 24px;
    }
    
    .hero-img.main {
        max-width: 280px;
    }
    
    .hero-img.floating {
        display: none;
    }
    
    .art-principles {
        display: none;
    }
    
    .art-form-badge {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .floating-element {
        display: none;
    }
    
    .hero-circle {
        display: none;
    }
    
    .nav-menu {
        gap: 1.4rem;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
  
  .website-title {
    font-size: 2.2rem;
  }
}

/* ================ DESKTOP LARGE SCREEN ENHANCEMENTS ================ */
@media (min-width: 1200px) {
  .website-title {
    font-size: 3rem;
    letter-spacing: 5px;
  }
  
  .hero-container {
    gap: 4rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .stat-item {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-preview {
    padding: 2rem 2.5rem;
  }
}

/* ================== ACCESSIBILITY ================== */
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.gallery-item:focus-visible { outline:3px solid var(--accent-soft); outline-offset:4px; }

/* ================== ANDROID DEVICE OPTIMIZATIONS ================== */

/* Fix for Android viewport and scaling issues */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ================ MOBILE HERO OPTIMIZATION ================ */
@media screen and (max-width: 480px) {
    /* Reset any conflicting styles */
    * {
        box-sizing: border-box;
    }
    
    /* Container improvements */
    .container {
        padding: 0 1.25rem;
        max-width: 100%;
    }
    
    /* Hero section - Mobile First Design */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        max-height: none;
        padding: 60px 0 30px;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .hero-section::before {
        opacity: 0.5;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        flex: 1;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        order: 2;
        padding: 0 0.5rem;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
        order: 1;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
    }
    
    /* Sanskrit text - smaller and centered */
    .sanskrit-text {
        font-size: 0.85rem !important;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
        opacity: 0.9;
    }
    
    /* Hero title - optimized for mobile */
    .hero-title {
        font-size: 2.6rem !important;
        line-height: 1.05;
        margin-bottom: 1rem;
        letter-spacing: 2px !important;
    }
    
    .title-line {
        margin-bottom: 0.1rem;
    }
    
    .title-line:nth-child(2) {
        transform: scale(1.08);
    }
    
    /* Subtitle container - horizontal on mobile */
    .hero-subtitle-container {
        flex-direction: row;
        gap: 0.6rem;
        margin: 0 0 1.2rem;
        padding: 0;
    }
    
    .subtitle-line {
        flex: 1;
        min-width: 15px;
        max-width: 50px;
        height: 2px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        white-space: nowrap;
        text-align: center;
        letter-spacing: 1px;
    }
    
    /* Description - more compact */
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .hero-description strong {
        font-weight: 700;
    }
    
    /* Image container - centered and sized */
    .hero-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .hero-image-stack {
        position: relative;
        display: flex;
        justify-content: center;
    }
    
    /* Main hero image - properly sized */
    .hero-img.main {
        width: 200px !important;
        max-width: 200px !important;
        height: auto;
        border-radius: 0;
        border-width: 3px;
        box-shadow: 6px 6px 0 var(--accent-primary);
    }
    
    /* Image glow - subtle on mobile */
    .image-glow {
        width: 150%;
        height: 150%;
        opacity: 0.3;
    }
    
    /* Art form badge - positioned nicely */
    .art-form-badge {
        position: absolute;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.6rem 1rem;
        box-shadow: 3px 3px 0 var(--accent-primary);
        border-width: 2px;
        white-space: nowrap;
    }
    
    .art-icon {
        font-size: 1.2rem;
    }
    
    .art-title {
        font-size: 0.75rem;
    }
    
    .art-subtitle {
        font-size: 0.65rem;
    }
    
    /* Buttons - side by side on mobile */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .cta-button {
        flex: 1;
        max-width: 150px;
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
        text-align: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        box-shadow: 3px 3px 0 var(--accent-primary);
    }
    
    .cta-button .btn-icon {
        display: none;
    }
    
    .cta-button.secondary {
        box-shadow: 3px 3px 0 var(--white);
    }
    
    /* Gallery mobile optimization */
    .gallery-header {
        padding: 60px 1rem 40px;
    }
    
    .gallery-header .section-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Gallery grid - single column for full image visibility */
    .gallery-full-grid {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        padding: 0 1rem 40px;
        max-width: 100%;
    }
    
    /* Reset all gallery item spans for mobile */
    .g-item,
    .g-item.featured,
    .g-item.tall,
    .g-item.wide {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        grid-column: unset !important;
        grid-row: unset !important;
    }
    
    /* All gallery images - show full image without cropping */
    .g-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        border: 3px solid var(--accent-primary);
        box-shadow: 4px 4px 0 var(--accent-primary);
    }
    
    /* Hide overlay on mobile - shows full image */
    .g-item .overlay-content {
        display: none;
    }
    
    /* Quote section mobile */
    .quote-section {
        padding: 2rem 0;
    }
    
    .martial-quote-block {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .martial-quote-block .quote-text {
        font-size: 1.1rem;
        padding-left: 3rem;
        line-height: 1.5;
    }
    
    .martial-quote-block .quote-accent {
        font-size: 3.5rem;
        top: 8px;
        left: 16px;
    }
    
    .martial-quote-block .quote-kanji {
        font-size: 4rem;
        right: 8px;
        bottom: -8px;
    }
    
    /* Forms section mobile */
    .forms-section {
        padding: 60px 0;
    }
    
    .form-article {
        margin: 0 1rem 2rem;
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .form-article h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .form-article p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Contact section mobile */
    .contact-card-section {
        padding: 30px 0;
    }
    
    .contact-card {
        margin: 0 1rem;
        padding: 0;
        max-width: 100%;
        box-shadow: 4px 4px 0 var(--accent-primary);
        border-width: 2px;
    }
    
    .contact-card-split {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: auto;
    }
    
    .contact-image-side {
        order: 1;
        height: auto;
        border-right: none;
        border-bottom: 2px solid var(--accent-primary);
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .contact-image-wrapper {
        width: 100%;
        height: auto;
    }
    
    .contact-hero-img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: contain;
        box-shadow: 3px 3px 0 var(--accent-primary);
        border-width: 2px;
    }
    
    .image-glow-effect {
        display: none;
    }
    
    .contact-content-side {
        order: 2;
        padding: 1.5rem 1rem;
    }
    
    .contact-header {
        margin-bottom: 1rem;
    }
    
    .contact-header h3 {
        font-size: 1.3rem;
        text-align: center;
        letter-spacing: 1px;
        line-height: 1.3;
    }
    
    .contact-badge {
        display: flex;
        justify-content: center;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-badge .badge-icon {
        font-size: 1rem;
    }
    
    .contact-badge .badge-text {
        font-size: 0.7rem;
    }
    
    .contact-subtitle {
        text-align: center;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .contact-card-content {
        padding: 0;
    }
    
    .contact-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        font-size: 0.75rem;
        padding: 0.5rem;
        text-align: center;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    .contact-description {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .contact-description p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .contact-cta {
        text-align: center;
    }
    
    .contact-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        width: auto;
        display: inline-flex;
    }
    
    .contact-card-bg {
        display: none;
    }
    
    /* Footer mobile - clean and minimal */
    .footer {
        padding: 15px 0;
        border-top-width: 2px;
    }
    
    .footer-bar {
        padding: 0 1rem;
    }
    
    .footer-bar p {
        font-size: 0.7rem;
        line-height: 1.3;
        letter-spacing: 1px;
        margin: 0;
    }
    
    /* Gallery footer mobile */
    .gallery-footer {
        padding: 30px 1rem 40px;
        margin-top: 0;
    }
    
    .view-more-button {
        width: auto;
        max-width: 250px;
        padding: 1rem 2rem;
        font-size: 0.85rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Scroll indicator - HIDE on mobile to prevent overlap */
    .hero-scroll-indicator {
        display: none;
    }
    
    /* Hide decorative elements on mobile */
    .floating-element,
    .hero-circle {
        display: none !important;
    }
    
    /* Hide floating image on mobile */
    .hero-img.floating {
        display: none;
    }
    
    /* Art principles - hide on mobile */
    .art-principles {
        display: none;
    }
}

/* Very small Android devices (320px-360px) */
@media screen and (max-width: 360px) {
    .hero-section {
        padding: 50px 0 25px;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        letter-spacing: 1px !important;
    }
    
    .sanskrit-text {
        font-size: 0.75rem !important;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .hero-img.main {
        width: 180px !important;
        max-width: 180px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .cta-button {
        max-width: 200px;
        width: 100%;
    }
    
    .gallery-full-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
    
    .g-item,
    .g-item.featured {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .martial-quote-block {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .contact-card,
    .form-article {
        margin: 0 0.5rem 1.5rem;
        padding: 1.5rem 1rem;
    }
}

/* Android landscape mode */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        max-height: none;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
        order: 1;
    }
    
    .hero-visual {
        flex: 0 0 40%;
        order: 2;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .cta-button {
        width: auto;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-img.main {
        max-width: 200px !important;
    }
}

/* Android Chrome specific fixes */
@supports (-webkit-appearance: none) {
    @media screen and (max-width: 480px) {
        /* Fix viewport height issues */
        .hero-section {
            min-height: 100vh;
            min-height: -webkit-fill-available;
        }
        
        /* Improve touch handling */
        .cta-button,
        .view-more-button,
        .g-item,
        .contact-button {
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        
        /* Smooth scrolling */
        body {
            -webkit-overflow-scrolling: touch;
        }
        
        /* GPU acceleration for better performance */
        .g-item,
        .hero-img,
        .martial-quote-block {
            -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }
    }
}

/* Remove previous stylesheet leftover (optional resets) */
/* End of refactor */
