/* ===== CSS Variables ===== */
:root {
    /* House Style Colors */
    --color-primary: #B22222; /* FireBrick - Headings */
    --color-primary-light: #CD5C5C;
    --color-primary-dark: #8B1A1A;
    --color-text-dark: #2F4F4F; /* Dark Slate Grey - Main Text */
    --color-text-medium: #4A6A6A;
    --color-border: #B0E0E6; /* Powder Blue - Borders */
    --color-bg-cream: #FFF8DC; /* CornSilk - Background */
    --color-bg-light: #FFFEF8;
    --color-highlight: #DAA520; /* GoldenRod - Rollovers/Highlights */
    --color-highlight-light: #F0C040;
    --color-accent: #B0E0E6;
    --color-teal: #5F9EA0;
    --color-teal-light: #7FB8BA;
    --color-shadow: rgba(47, 79, 79, 0.15);
    
    --font-display: Verdana, sans-serif;
    --font-body: Georgia, serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    --border-radius: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --color-primary: #E85D5D;
    --color-primary-light: #FF7B7B;
    --color-primary-dark: #C44444;
    --color-text-dark: #E8E8E8;
    --color-text-medium: #B8B8B8;
    --color-border: #4A6A7A;
    --color-bg-cream: #1A1F2E;
    --color-bg-light: #0F1419;
    --color-highlight: #F0C040;
    --color-highlight-light: #FFD666;
    --color-accent: #4A6A7A;
    --color-teal: #7FB8BA;
    --color-teal-light: #9FD8DA;
    --color-shadow: rgba(0, 0, 0, 0.3);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg-cream);
    border-bottom: 4px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--color-shadow);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    border: none;
    padding: 0;
    display: inline-block;
    position: relative;
    background: transparent;
}

.logo-box.small {
    padding: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .logo-img {
    filter: brightness(1.1) contrast(1.05);
}

.logo-box.small .logo-img {
    height: 55px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

[data-theme="dark"] .logo:hover .logo-img {
    filter: brightness(1.15) contrast(1.1);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    position: relative;
}

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

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

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-btn {
    border: 2px solid var(--color-border);
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 600;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: var(--color-highlight);
    color: var(--color-text-dark);
    border-color: var(--color-highlight);
}

[data-theme="dark"] .contact-btn {
    background: var(--color-bg-cream);
}

[data-theme="dark"] .contact-btn:hover {
    background: var(--color-highlight);
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.dark-mode-toggle {
    background: none;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    margin-left: var(--spacing-sm);
}

.dark-mode-toggle:hover {
    background: var(--color-highlight);
    border-color: var(--color-highlight);
    transform: rotate(20deg);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    border-bottom: 3px solid var(--color-border);
    padding: var(--spacing-xxl) var(--spacing-md);
    padding-top: calc(var(--spacing-xxl) + 80px);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: var(--color-teal);
    border: 3px solid var(--color-border);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

[data-theme="dark"] .hero-decoration {
    opacity: 0.3;
    background: var(--color-teal-light);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg-light);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--color-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-bg-light);
}

[data-theme="dark"] .btn-secondary {
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-bg-light);
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-xxl) 0;
    border-bottom: 3px solid var(--color-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

/* ===== Team Section ===== */
.team {
    background: var(--color-bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: fadeIn 0.8s ease backwards;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--color-shadow);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 3px solid var(--color-border);
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .member-image img {
    opacity: 0.9;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: var(--spacing-md);
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.member-info p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services {
    background: var(--color-bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    border: 3px solid var(--color-border);
    border-radius: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

[data-theme="dark"] .service-card {
    filter: brightness(0.9);
}

[data-theme="dark"] .service-card:hover {
    filter: brightness(1);
}

/* Grid positioning to match mockup layout */
.service-top-left {
    grid-column: 1;
    grid-row: 1;
}

.service-center {
    grid-column: 2;
    grid-row: 1 / 3;
}

.service-top-right {
    grid-column: 3;
    grid-row: 1;
}

.service-bottom-left {
    grid-column: 1;
    grid-row: 2;
}

.service-bottom-right {
    grid-column: 3;
    grid-row: 2;
}

/* Glassmorphism Effect */
.service-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
}

[data-theme="dark"] .service-glass {
    background: rgba(0, 0, 0, 0.65);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

[data-theme="dark"] .service-card::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover .service-glass {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--color-shadow);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    z-index: 1;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
}

[data-theme="dark"] .service-card h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
}

/* ===== Work Section ===== */
.work {
    background: var(--color-bg-light);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.work-item {
    position: relative;
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--color-shadow);
    border-color: var(--color-highlight);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .work-item img {
    opacity: 0.9;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(178, 34, 34, 0.95), transparent);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

[data-theme="dark"] .work-overlay {
    background: linear-gradient(to top, rgba(232, 93, 93, 0.95), transparent);
}

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

.work-item:hover img {
    transform: scale(1.1);
}

.work-overlay h3 {
    color: var(--color-bg-light);
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== Training Section ===== */
.training {
    background: var(--color-bg-cream);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
}

.training-card {
    background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 100%);
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .training-card {
    background: linear-gradient(135deg, #E8E8E8 0%, #F0F0F0 100%);
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-highlight) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.training-card:hover::before {
    opacity: 0.15;
}

.training-card:hover {
    background: linear-gradient(135deg, #EAEAEA 0%, #F5F5F5 100%);
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 20px 50px var(--color-shadow), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    border-color: var(--color-highlight);
    z-index: 10;
}

[data-theme="dark"] .training-card img {
    filter: grayscale(0%) contrast(1.4) brightness(0.95);
}

[data-theme="dark"] .training-card:hover img {
    filter: grayscale(0%) contrast(1.5) brightness(0.95);
    transform: scale(1.12);
}

.training-card img {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(0%) contrast(1.4) brightness(0.95);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.training-card:hover img {
    filter: grayscale(0%) contrast(1.5) brightness(0.95);
    transform: scale(1.12);
}

/* Add a subtle glow effect on hover */
.training-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

[data-theme="dark"] .training-card::after {
    background: radial-gradient(circle, rgba(240, 192, 64, 0.25) 0%, transparent 70%);
}

.training-card:hover::after {
    width: 300px;
    height: 300px;
}

/* ===== Join Section ===== */
.join {
    background: var(--color-bg-light);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.join-message {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.join-message h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.join-message p {
    font-size: 1.05rem;
    color: var(--color-text-medium);
    line-height: 1.8;
}

/* ===== Forms ===== */
.join-form,
.contact-form {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 37, 0, 0.1);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.2);
}

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

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--color-text-medium);
    opacity: 0.7;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--color-bg-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.contact-info {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-md);
}

.contact-details p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

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

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

.contact-details a:hover {
    text-decoration: underline;
}

[data-theme="dark"] .contact-details a {
    color: var(--color-primary-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-text-dark);
    color: var(--color-bg-light);
    padding: var(--spacing-lg) 0;
}

[data-theme="dark"] .footer {
    background: #000000;
    border-top: 3px solid var(--color-border);
    color: #FFFFFF;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

[data-theme="dark"] .footer-logo .logo-img {
    filter: brightness(1.2) contrast(1.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--color-bg-light);
    font-size: 0.95rem;
    opacity: 0.8;
}

[data-theme="dark"] .footer-links a {
    color: #FFFFFF;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--color-highlight-light);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .footer-bottom p {
    color: #FFFFFF;
    opacity: 0.7;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .service-top-left {
        grid-column: 1;
        grid-row: 1;
    }
    
    .service-center {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    
    .service-top-right {
        grid-column: 1;
        grid-row: 2;
    }
    
    .service-bottom-left {
        grid-column: 2;
        grid-row: 3;
    }
    
    .service-bottom-right {
        grid-column: 1;
        grid-row: 3;
    }
    
    .join-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 4rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .dark-mode-toggle {
        margin-left: 0;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--color-bg-cream);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        transition: left 0.4s ease;
        border-right: 3px solid var(--color-border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .contact-btn {
        margin-top: var(--spacing-sm);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding-top: calc(var(--spacing-xl) + 80px);
        min-height: 90vh;
    }
    
    .hero-decoration {
        width: 250px;
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .service-card,
    .service-top-left,
    .service-center,
    .service-top-right,
    .service-bottom-left,
    .service-bottom-right {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .training-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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