:root {
    --primary-color: #373C35;
    --secondary-color: #4A5948;
    --accent-color: #7A8471;
    --light-green: #9CAF88;
    --cream: #F5F3F0;
    --white: #FFFFFF;
    --text-light: #E8E6E3;
    --text-dark: #2C2F2A;
    --gold: #D4AF37;
    --glass: rgba(255, 255, 255, 0.1);
    --glow: rgba(156, 175, 136, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #7e967b;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A5948;
}


body {
    font-family: 'Saira Condensed', sans-serif;
    background: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}

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

/* Optimized Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.05s ease;
    will-change: transform;
    backdrop-filter: blur(5px);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: var(--glow);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: transform;
    backdrop-filter: blur(10px);
}

/* Modern Minimalist Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(55, 60, 53, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(156, 175, 136, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: transform, background;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Modern Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(156, 175, 136, 0.2);
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    will-change: transform;
}

.language-toggle:hover {
    background: rgba(156, 175, 136, 0.1);
    border-color: var(--light-green);
    box-shadow: 0 4px 15px rgba(156, 175, 136, 0.2);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.language-text {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--light-green);
}

.logo {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

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

/* Modern header logo link */
nav a {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
    transition: all 0.3s ease;
}

nav a:hover {
    transform: translateY(-1px);
}

.logox {
    height: auto;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: auto;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.1), rgba(122, 132, 113, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--light-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(156, 175, 136, 0.2);
}

.mobile-menu {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    color: var(--light-green);
    transform: scale(1.1);
}

.mobile-menu svg {
    transition: all 0.3s ease;
    color: inherit;
}

/* Parallax Hero with Video Background */
.hero {
    height: 100vh;
    background: 
        linear-gradient(135deg,
            rgba(55, 60, 53, 0.7) 0%,
            rgba(74, 89, 72, 0.6) 50%,
            rgba(122, 132, 113, 0.5) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: #000;
}

/* Video loading state */
.hero-video:not([src]) {
    opacity: 0;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Hero animasyonları */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent);
  background-size: 10px 10px;
  animation: moveBackground 30s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}

/* Ensure video covers entire hero area */
@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 100%;
    }
}

/* Video Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(55, 60, 53, 0.3) 0%,
            rgba(74, 89, 72, 0.2) 50%,
            rgba(122, 132, 113, 0.1) 100%);
    z-index: 2;
    animation: parallax 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes parallax {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-20px) rotate(0.5deg) scale(1.01);
    }

    66% {
        transform: translateY(-10px) rotate(-0.5deg) scale(0.99);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: 'Oswald', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-green);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    color: var(--text-dark);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(156, 175, 136, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.cta-button::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.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(156, 175, 136, 0.5);
}

.cta-button-secondary {
    background: var(--glass);
    color: var(--text-light);
    border: 2px solid var(--light-green);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button-secondary:hover {
    background: var(--light-green);
    color: var(--text-dark);
    border-color: var(--light-green);
}

/* Advanced About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="hexagons" x="0" y="0" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,2 45,15 45,35 25,48 5,35 5,15" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
}

.section-title {
    font-family: 'Oswald', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--cream);
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-green), var(--accent-color));
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(156, 175, 136, 0.3);
}

.feature i {
    color: var(--light-green);
    font-size: 2rem;
    min-width: 40px;
}

.feature span {
    font-weight: 500;
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    background: url('/images/03.webp');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(55, 60, 53, 0.7), rgba(122, 132, 113, 0.5));
    border-radius: 20px;
}

.glass-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--light-green), var(--accent-color));
    opacity: 0.1;
    border-radius: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-green);
    display: block;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Enhanced Services Section with Background Images */
.services {
    padding: 120px 0;
    background:
        linear-gradient(180deg,
            rgba(55, 60, 53, 0.9) 0%,
            rgba(74, 89, 72, 0.8) 100%),
        url('/images/02.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(156, 175, 136, 0.1) 0%, transparent 70%);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.services-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 175, 136, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border-color: var(--light-green);
}

.service-icon {
    font-size: 4rem;
    color: var(--light-green);
    margin-bottom: 2rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
    text-shadow: 0 0 25px var(--glow);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
}

/* Portfolio Showcase Section */
.portfolio {
    padding: 120px 0;
    background: var(--secondary-color);
    position: relative;
}

.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.portfolio-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* First 4 items - grid-4 (4 columns) */
.portfolio-item:nth-child(1),
.portfolio-item:nth-child(2),
.portfolio-item:nth-child(3),
.portfolio-item:nth-child(4) {
    grid-column: span 1;
}

/* Items 5 and 6 - grid-2 (2 columns each) */
.portfolio-item:nth-child(5),
.portfolio-item:nth-child(6) {
    grid-column: span 2;
    height: 500px;
}

/* Last 4 items (7-10) - grid-4 (4 columns) */
.portfolio-item:nth-child(7),
.portfolio-item:nth-child(8),
.portfolio-item:nth-child(9),
.portfolio-item:nth-child(10) {
    grid-column: span 1;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    will-change: transform;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(55, 60, 53, 0.8), rgba(122, 132, 113, 0.6));
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.9;
    background: linear-gradient(45deg, rgba(55, 60, 53, 0.9), rgba(122, 132, 113, 0.8));
}

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

.portfolio-content {
    color: var(--text-light);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--light-green);
}

.portfolio-content p {
    opacity: 0.9;
    font-weight: 300;
    transition: opacity 0.4s ease;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(156, 175, 136, 0.2);
    color: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(156, 175, 136, 0.3);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(-10px);
}

.portfolio-item:hover .portfolio-content h3 {
    transform: scale(1.05);
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.portfolio-cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--light-green);
    font-weight: 500;
}

.portfolio-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    color: var(--text-dark);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(156, 175, 136, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-cta .cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(156, 175, 136, 0.5);
}

.contact {
    padding: 120px 0;
    background:
        linear-gradient(180deg,
            rgba(74, 89, 72, 0.9) 0%,
            rgba(55, 60, 53, 0.9) 100%),
        url('/images/06.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

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

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

.contact-intro h3 {
    font-size: 2rem;
    color: var(--light-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-intro p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.contact-item:hover {
    transform: translateX(15px) scale(1.02);
    border-color: var(--light-green);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a,
.contact-details span {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

.social-section {
    margin-top: 2rem;
}

.social-section h4 {
    font-size: 1.2rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: xx-large;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--glass);
    border: 2px solid var(--light-green);
    color: var(--light-green);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    will-change: transform;
}

.social-links a:hover {
    background: var(--light-green);
    color: var(--text-dark);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 15px 30px rgba(156, 175, 136, 0.4);
}

/* Advanced Contact Form */
.contact-form {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--light-green), var(--accent-color));
    opacity: 0.05;
    border-radius: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-header p {
    opacity: 0.8;
    font-weight: 300;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--light-green);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(55, 60, 53, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
    will-change: border-color, background;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-green);
    background: rgba(55, 60, 53, 0.9);
    box-shadow: 0 0 25px rgba(156, 175, 136, 0.3);
    transform: scale(1.01);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    color: var(--text-dark);
    padding: 1.3rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.submit-btn::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.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(156, 175, 136, 0.5);
}

/* Premium Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lines" x="0" y="0" width="100" height="20" patternUnits="userSpaceOnUse"><line x1="0" y1="10" x2="100" y2="10" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23lines)"/></svg>');
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-content p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
}

.footer-content a {
    color: var(--light-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    color: var(--cream);
    text-shadow: 0 0 10px var(--glow);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Enhanced Mobile Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 7vw, 5rem);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        background-attachment: scroll;
    }

    .services {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header-controls {
        gap: 1rem;
    }

    .language-toggle {
        font-size: 0.8rem;
        gap: 0.3rem;
        padding: 0.3rem 0.8rem;
    }

    .flag-icon {
        width: 18px;
        height: 12px;
    }

    .language-text {
        font-size: 0.75rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(55, 60, 53, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(156, 175, 136, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        align-items: center;
        justify-content: center;
        gap: 3rem;
        height: 60vh;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 1px;
        width: auto;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu svg {
        width: 22px;
        height: 22px;
    }

    .hero {
        height: 100vh;
        padding: 6rem 0 3rem;
        background-attachment: scroll;
        background-size: cover;
        background-position: center bottom;
    }

    .hero-video {
        object-fit: cover;
        object-position: center;
        /* Reduce video quality on mobile for better performance */
        transform: scale(1.1);
    }
    
    /* Hide video on very small screens to improve performance */
    @media (max-width: 480px) {
        .hero-video {
            display: none;
        }
        
        .hero {
            background-image: 
                linear-gradient(135deg,
                    rgba(55, 60, 53, 0.8) 0%,
                    rgba(74, 89, 72, 0.7) 50%,
                    rgba(122, 132, 113, 0.6) 100%),
                url('/images/01.webp');
        }
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-badge {
        align-self: center;
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .hero-logo {
        margin-bottom: 1.5rem;
    }

    .hero-logo img {
        max-width: 80%;
        height: auto;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
        max-width: 100%;
        opacity: 0.9;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-width: 100%;
    }

    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }

    .about {
        padding: 80px 0;
    }

    .services {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .portfolio {
        padding: 80px 0;
    }

    .about-image {
        height: 250px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-item {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Tablet - 2x2 layout for first 4 */
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4) {
        grid-column: span 1;
    }

    /* Items 5 and 6 - full width on tablet */
    .portfolio-item:nth-child(5),
    .portfolio-item:nth-child(6) {
        grid-column: span 2;
        height: 350px;
    }

    /* Last 4 items - 2x2 layout */
    .portfolio-item:nth-child(7),
    .portfolio-item:nth-child(8),
    .portfolio-item:nth-child(9),
    .portfolio-item:nth-child(10) {
        grid-column: span 1;
    }

    .portfolio-item {
        height: 300px;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    .portfolio-content h3 {
        font-size: 1.3rem;
    }

    .portfolio-content p {
        font-size: 0.95rem;
    }

    .portfolio-tags {
        gap: 0.3rem;
    }

    .portfolio-tags span {
        padding: 0.2rem 0.6rem;
        font-size: 0.75rem;
    }

    .portfolio-cta {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .portfolio-cta p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }

    .logo {
        height: 30px;
    }

    .hero {
        height: 100vh;
        padding: 5rem 0 2rem;
        background-position: center;
    }

    .hero-content {
        height: 100%;
        justify-content: center;
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    .hero-logo {
        margin-bottom: 1rem;
    }

    .hero-logo img {
        max-width: 70%;
        height: auto;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 0.8rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 5vw, 1.2rem);
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        border-radius: 40px;
    }

    .section-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-features li {
        font-size: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-intro h3 {
        font-size: 1.5rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-details h4 {
        font-size: 0.9rem;
    }

    .contact-details a,
    .contact-details span {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .social-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Mobile - all items single column */
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4),
    .portfolio-item:nth-child(5),
    .portfolio-item:nth-child(6),
    .portfolio-item:nth-child(7),
    .portfolio-item:nth-child(8),
    .portfolio-item:nth-child(9),
    .portfolio-item:nth-child(10) {
        grid-column: span 1;
        height: 280px;
    }

    .portfolio-content {
        padding: 1rem;
    }

    .portfolio-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .portfolio-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .portfolio-tags span {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    .portfolio-cta {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .portfolio-cta p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .portfolio-cta .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Ultra Small Devices */
/* Ultra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        height: 100vh;
        padding: 4rem 0 1.5rem;
    }

    .hero-content {
        padding: 0 0.2rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-logo img {
        max-width: 65%;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 6vw, 1rem);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.2rem;
    }

    .cta-button {
        padding: 0.9rem 1.2rem;
        font-size: 0.8rem;
    }

    .about,
    .services,
    .contact,
    .portfolio {
        padding: 60px 0;
    }

    .service-card,
    .contact-form {
        padding: 1rem;
    }

    .social-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Performance Optimized Scroll animations and utilities */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--light-green), var(--accent-color));
    transform-origin: left;
    z-index: 9999;
    will-change: transform;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

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

/* Enhanced Preloader with Logo */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.loader-spinner {
    width: 280px;
    height: 280px;
    border: 20px solid rgba(156, 175, 136, 0.2);
    border-top: 20px solid var(--light-green);
    border-radius: 50%;
    animation: spin 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    position: relative;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

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

/* Welcome Modal */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(55, 60, 53, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.welcome-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass);
    border: 2px solid rgba(156, 175, 136, 0.3);
    border-radius: 25px;
    padding: 4rem 3rem;
    text-align: center;
    backdrop-filter: blur(25px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 500px;
    width: 90%;
}

.welcome-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header h2 {
    font-family: 'Oswald', serif;
    font-size: 3rem;
    color: var(--light-green);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.modal-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.modal-btn {
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    color: var(--text-dark);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(156, 175, 136, 0.4);
    animation: slideInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
    font-family: 'Saira Condensed', sans-serif;
}

.modal-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(156, 175, 136, 0.6);
}

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

@media (max-width: 768px) {
    .loader-spinner {
        width: 150px;
        height: 150px;
    }
    
    .loader-logo {
        width: 75px;
    }
    
    .modal-content {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .modal-header h2 {
        font-size: 2.5rem;
    }
    
    .modal-header p {
        font-size: 1rem;
    }
    
    .modal-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .loader-spinner {
        width: 120px;
        height: 120px;
    }
    
    .loader-logo {
        width: 60px;
    }
    
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 2rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Music Control Button */
.music-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-green), var(--accent-color));
    color: var(--text-dark);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(156, 175, 136, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    will-change: transform;
}

/* Invisible trigger area for mouse interaction */
.music-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: all;
    opacity: 0;
}

.music-control:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 35px rgba(156, 175, 136, 0.6);
}

.music-control.muted {
    background: linear-gradient(135deg, rgba(122, 132, 113, 0.8), rgba(74, 89, 72, 0.8));
    color: var(--text-light);
}

.music-control.muted:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

@media (max-width: 768px) {
    .music-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .music-control {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }
}