/* ==========================================================================
   Akalin.Indoor - Premium Dark Mode Style
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --primary-green: #00cc66; /* Bright modernized green */
    --primary-green-glow: rgba(0, 204, 102, 0.4);
    --secondary-green: #006633;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a5;
    --white: #ffffff;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    cursor: none; 
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button, input, select, textarea {
    font-family: inherit;
    cursor: none;
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-green);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-green-glow);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state for links */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green-glow);
    border-color: transparent;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-dark);
    border: 1px solid var(--primary-green);
    box-shadow: 0 0 20px var(--primary-green-glow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-green);
    box-shadow: 0 0 30px var(--primary-green-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    background-color: var(--primary-green);
    color: var(--bg-dark);
    font-size: 0.9rem;
}

/* Ambient Background Glow */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-green-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
    animation: morphGlow 15s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes morphGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 100px) scale(1.2); }
    100% { transform: translate(-50px, 150px) scale(0.9); }
}

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
}

.glass-nav.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

.brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
}

.brand span {
    color: var(--primary-green);
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.nav-links a:hover:not(.btn-primary-sm) {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Mobile Navigation Menu Overlay
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 0 2rem;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1rem;
}

.mobile-nav-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0.5rem;
}

.mobile-nav-links a {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    color: var(--primary-green);
}

.mobile-cta {
    display: inline-block;
    padding: 0.75rem 2rem !important;
    background-color: var(--primary-green) !important;
    color: var(--bg-dark) !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px var(--primary-green-glow);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    background-image: url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(5,5,6,0.95) 0%, rgba(5,5,6,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, var(--primary-green-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 204, 102, 0.3);
    box-shadow: var(--glass-shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 204, 102, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.service-card:hover .card-icon {
    background: var(--primary-green);
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #d0d0d0;
}

.service-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

/* ==========================================================================
   Quality Section
   ========================================================================== */
.quality-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.quality-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.quality-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.quality-list {
    list-style: none;
    display: grid;
    gap: 2rem;
}

.quality-list strong {
    display: block;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

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

.quality-image-wrapper {
    position: relative;
    border-radius: 24px;
    height: 600px;
    background-image: url('../assets/services_abstract.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-panel {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 80%;
    box-shadow: var(--glass-shadow);
}

.glass-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.glass-panel p {
    margin-bottom: 1.5rem;
}

.glass-panel ul {
    list-style: none;
}

.glass-panel li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.glass-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-green);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-person h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.2rem;
}

.contact-person .role {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.contact-person p {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: var(--text-muted);
    word-break: break-word;
}

.contact-person strong {
    color: var(--white);
    display: inline-block;
    width: 70px;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(0, 204, 102, 0.05);
}

.form-group select option {
    background-color: var(--bg-darker);
    color: var(--white);
}

.contact-form button {
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    background-color: var(--bg-darker);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

/* ==========================================================================
   References (Marquee) Section
   ========================================================================== */
.references-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 204, 102, 0.02) 50%, var(--bg-dark) 100%);
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* Fades on the edges for a clean loop effect */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.marquee-content span:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--primary-green-glow);
}

.marquee-content .dot {
    color: var(--primary-green);
    font-size: 1.5rem;
}

/* Animations */
.scroll-left {
    animation: marquee-left 60s linear infinite;
}

.scroll-right {
    animation: marquee-right 55s linear infinite;
}

.scroll-left-fast {
    animation: marquee-left 50s linear infinite;
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ==========================================================================
   Stats & Counters Section
   ========================================================================== */
.stats-section {
    padding: 4rem 2rem;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-box div {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number, .stat-plus {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-green);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Accordions (Services & FAQ)
   ========================================================================== */
.custom-accordion {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.custom-accordion summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 0;
    color: var(--white);
    transition: var(--transition-fast);
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 2rem;
}

.custom-accordion summary::-webkit-details-marker {
    display: none;
}

.custom-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.custom-accordion[open] summary::after {
    content: '−';
}

.custom-accordion summary:hover {
    color: var(--primary-green);
}

.accordion-content {
    padding-bottom: 1rem;
    color: var(--text-muted);
    animation: fadeInDown 0.3s ease-out;
}

.accordion-content ul {
    list-style: none;
}

.accordion-content li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.accordion-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.accordion-text {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    font-style: italic;
    border-left: 2px solid var(--primary-green);
    padding-left: 1rem;
}

.faq-section {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.large-accordion summary {
    font-size: 1.3rem;
    padding: 1.5rem 0;
}
.large-accordion .accordion-content p {
    font-size: 1.1rem;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Locations & Maps Section
   ========================================================================== */
.locations-section {
    padding: 8rem 2rem;
    background-color: var(--bg-dark);
}

.locations-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.locations-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.locations-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.locations-text strong {
    color: var(--white);
}

.locations-text .btn-primary {
    margin-top: 2rem;
}

.locations-map {
    padding: 1rem; /* The glass panel padding around the map */
}

/* WhatsApp button is fully inline-styled in index.html.
   Mobile sizing overrides only: */

/* ==========================================================================
   Gallery / Slideshow
   ========================================================================== */
.gallery-section {
    padding: 6rem 2rem;
    background-color: var(--bg-dark);
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    aspect-ratio: 16/9;
}

.slideshow-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slide-dot.active, .slide-dot:hover {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   TABLET — max-width: 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .contact-container {
        padding: 3rem 2rem;
    }

    .quality-image-wrapper {
        height: 400px;
    }

    .locations-map {
        width: 100%;
        padding: 0;
    }

    .locations-map iframe {
        height: 300px;
    }

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

/* ==========================================================================
   MOBILE — max-width: 768px  (comprehensive overhaul)
   ========================================================================== */
@media (max-width: 768px) {
    /* === Global mobile containment === */
    html, body {
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Disable custom cursor on touch devices */
    body, a, button, input, select, textarea,
    .custom-accordion summary, .contact-form button {
        cursor: auto !important;
    }
    .cursor-dot, .cursor-outline {
        display: none !important;
    }

    /* === Navigation === */
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-container {
        padding: 0 1.25rem;
    }

    /* === Hero === */
    .hero-section {
        background-attachment: scroll; /* Fix iOS parallax crash */
        padding: 0 1.25rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.15;
        letter-spacing: -1px;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    .scroll-indicator {
        display: none;
    }

    /* === Ambient glow: shrink so it can't cause overflow === */
    .ambient-glow {
        width: 250px;
        height: 250px;
        opacity: 0.25;
    }

    /* === Headings === */
    .section-header {
        margin-bottom: 3rem;
    }
    .section-header h2,
    .quality-content h2,
    .contact-info h2,
    .locations-text h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* === Stats === */
    .stats-section {
        padding: 3rem 1.25rem;
    }
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .stat-number, .stat-plus {
        font-size: 2.8rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }

    /* === Services === */
    .services-section {
        padding: 4rem 1.25rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .service-card:hover {
        transform: none; /* disable hover lift on touch */
    }
    .service-card h3 {
        font-size: 1.35rem;
    }
    .service-card p {
        font-size: 0.9rem;
    }
    .card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    .card-icon svg {
        width: 20px;
        height: 20px;
    }
    .custom-accordion summary {
        font-size: 1rem;
        padding: 0.8rem 0;
        padding-right: 1.5rem;
    }
    .accordion-content li {
        font-size: 0.88rem;
    }

    /* === Gallery === */
    .gallery-section {
        padding: 3rem 1.25rem;
    }
    .gallery-container {
        border-radius: 12px;
        aspect-ratio: 4/3; /* taller on mobile */
    }
    .slideshow-controls {
        bottom: 10px;
        padding: 5px 10px;
        gap: 7px;
    }
    .slide-dot {
        width: 9px;
        height: 9px;
    }

    /* === References / Marquee === */
    .references-section {
        padding: 3.5rem 0;
    }
    .marquee-content span {
        font-size: 0.9rem;
    }
    .marquee-content .dot {
        font-size: 1rem;
    }
    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 40px;
    }

    /* === Quality === */
    .quality-section {
        padding: 4rem 0;
    }
    .quality-container {
        padding: 0 1.25rem;
    }
    .quality-content > p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .quality-list strong {
        font-size: 1.05rem;
    }
    .quality-list p {
        font-size: 0.88rem;
    }
    .quality-image-wrapper {
        height: 300px;
        border-radius: 16px;
    }
    .glass-panel {
        width: 92%;
        padding: 1.25rem;
        border-radius: 14px;
    }
    .glass-panel h3 {
        font-size: 1.2rem;
    }
    .glass-panel p,
    .glass-panel li {
        font-size: 0.88rem;
    }

    /* === Locations === */
    .locations-section {
        padding: 4rem 1.25rem;
    }
    .locations-text p {
        font-size: 0.95rem;
    }
    .locations-map iframe {
        height: 220px;
        border-radius: 12px !important;
    }
    .locations-text .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
    }

    /* === FAQ === */
    .faq-section {
        padding: 4rem 1.25rem;
    }
    .large-accordion summary {
        font-size: 1.05rem;
        padding: 1rem 0;
        padding-right: 1.5rem;
    }
    .large-accordion .accordion-content p {
        font-size: 0.92rem;
    }

    /* === Contact === */
    .contact-section {
        padding: 4rem 1.25rem;
    }
    .contact-container {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        gap: 2.5rem;
    }
    .contact-info h2 {
        font-size: 1.7rem;
    }
    .contact-info > p {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }
    .contact-details {
        gap: 1.5rem;
    }
    .contact-person h4 {
        font-size: 1.05rem;
    }
    .contact-person .role {
        font-size: 0.85rem;
    }
    .contact-person p {
        font-size: 0.88rem;
    }
    .contact-person strong {
        width: auto;
        margin-right: 0.25rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS auto-zoom */
        padding: 0.85rem 1rem;
        border-radius: 10px;
    }
    .contact-form button {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    /* === Footer === */
    .footer {
        padding: 2rem 1.25rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    .footer-links {
        flex-direction: row;
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-links a {
        font-size: 0.85rem;
    }

    /* === WhatsApp — smaller on mobile === */
    #whatsappBtn {
        width: 40px !important;
        height: 40px !important;
        bottom: 14px !important;
        right: 14px !important;
        padding: 8px !important;
        border-radius: 12px !important;
    }

    /* === Animations === */
    .reveal-on-scroll {
        transform: translateY(20px);
    }
}

/* ==========================================================================
   SMALL PHONES — max-width: 400px
   ========================================================================== */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .stat-number, .stat-plus {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
    .brand {
        font-size: 1.4rem;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .section-header h2,
    .quality-content h2,
    .contact-info h2,
    .locations-text h2 {
        font-size: 1.45rem;
    }
    .mobile-nav-links a {
        font-size: 1.25rem;
    }
    .contact-container {
        padding: 1.5rem 1rem;
    }
    #whatsappBtn {
        width: 36px !important;
        height: 36px !important;
        bottom: 10px !important;
        right: 10px !important;
        padding: 7px !important;
        border-radius: 10px !important;
    }
}
