/* ============================================================
   COMPLETE CSS - GreenWay Solar Energy
   Responsive + iOS + Bouncy Slider + GSAP Ready
   ============================================================ */

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
   :root {
    --primary: #0a6e3e;
    --primary-light: #0d8a4e;
    --primary-dark: #07522e;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #0ea5e9;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
    background: var(--gray-50);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    transform: scaleY(1);
    transform-origin: top;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.page-transition.loaded {
    transform: scaleY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 0 20px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* ----- LOGO ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.logo-text .brand-sub {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* ----- NAV MENU ----- */
.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ffffff;
}

/* ----- QUOTE BUTTON ----- */
.nav-right .quote-btn {
    background: var(--secondary);
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(245,158,11,0.35);
}

.nav-right .quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.45);
    background: #d97706;
}

.nav-right .quote-btn:active {
    transform: scale(0.95);
}

/* ----- HAMBURGER ----- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================================
   HERO SECTION - BOUNCY SLIDER
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--dark);
    width: 100%;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1) rotate(0.5deg);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(15,23,42,0.55));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 880px;
    z-index: 2;
    padding: 0 20px;
}

.hero-content .badge {
    display: inline-block;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.25);
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--secondary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(245,158,11,0.2);
    border-radius: 4px;
}

.hero-content p {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin: 0 auto 32px;
    font-weight: 400;
    line-height: 1.7;
}

/* ----- HERO BUTTONS ----- */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: var(--dark);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(245,158,11,0.5);
    background: #d97706;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* ----- HERO DOTS ----- */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.hero-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
    border-color: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2.4s infinite;
}

.hero-scroll i {
    font-size: 18px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--gray-50);
    padding: 100px 20px;
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image .floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 130px;
}

.about-image .floating-badge .number {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.about-image .floating-badge .label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.about-text h2 span {
    color: var(--primary);
}

.about-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
    width: 28px;
}

.about-feature span {
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    background: var(--white);
    padding: 100px 20px;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    padding: 36px 30px 30px;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(10,110,62,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrap {
    background: var(--primary);
    transform: scale(1.05);
}

.service-card .icon-wrap i {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrap i {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.service-card .learn-more:hover {
    gap: 14px;
    color: var(--primary-light);
}

.service-card .learn-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-card .learn-more:hover i {
    transform: translateX(4px);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 80px 20px;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 24px 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stat-item .number {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-item .number span {
    color: var(--secondary);
}

.stat-item .label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(10,110,62,0.08), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cta-content h2 span {
    color: var(--secondary);
}

.cta-content p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-content .btn-primary {
    background: var(--secondary);
    color: var(--dark);
    padding: 16px 44px;
    font-size: 16px;
    box-shadow: 0 4px 25px rgba(245,158,11,0.35);
}

.cta-content .btn-primary:hover {
    background: #d97706;
    box-shadow: 0 8px 40px rgba(245,158,11,0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    color: #ffffff;
    padding-top: 60px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1.2fr;
    gap: 40px;
    padding: 0 20px 48px;
}

.footer-brand h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-brand h2 span {
    color: var(--secondary);
}

.footer-brand p {
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-col p {
    display: block;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col p i {
    color: var(--secondary);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social a:hover {
    transform: translateY(-4px);
}

.footer-social a.whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

.footer-social a.instagram:hover {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(238,42,123,0.3);
}

.footer-social a.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(24,119,242,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245,158,11,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image .floating-badge {
        bottom: 20px;
        right: 20px;
        padding: 16px 22px;
        min-width: 110px;
    }

    .about-image .floating-badge .number {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ============================================================
   RESPONSIVE - MOBILE (PHONE + iOS)
   ============================================================ */
@media (max-width: 768px) {
    /* ----- NAVBAR MOBILE ----- */
    .navbar {
        padding: 0 10px;
        min-height: 60px;
    }

    .nav-container {
        min-height: 60px;
        padding: 0;
    }

    .logo img {
        height: 32px;
    }

    .logo-text .brand {
        font-size: 15px;
    }

    .logo-text .brand-sub {
        font-size: 12px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
        margin: 2.5px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: -webkit-fill-available;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        background: rgba(15,23,42,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(-120%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.06s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.18s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.24s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.30s; }

    .nav-menu li a {
        font-size: 20px;
        color: #ffffff;
    }

    .nav-right {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
        height: 100vh;
        height: -webkit-fill-available;
        touch-action: none;
        position: fixed;
        width: 100%;
    }

    /* ----- HERO MOBILE - FIXED ----- */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        height: 100vh;
        height: -webkit-fill-available;
    }

    .hero-slider {
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    .hero-content {
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 15px;
        width: 95%;
    }

    .hero-content .badge {
        font-size: 9px;
        padding: 4px 14px;
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .hero-dots {
        bottom: 20px;
        gap: 10px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-scroll {
        bottom: 55px;
        font-size: 10px;
    }

    .hero-scroll i {
        font-size: 16px;
    }

    /* ----- SECTION MOBILE ----- */
    .section {
        padding: 50px 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* ----- ABOUT MOBILE ----- */
    .about-section {
        padding: 60px 16px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        min-height: 200px;
    }

    .about-image .floating-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        min-width: 80px;
    }

    .about-image .floating-badge .number {
        font-size: 18px;
    }

    .about-image .floating-badge .label {
        font-size: 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .about-feature {
        padding: 12px 16px;
    }

    .about-feature i {
        font-size: 16px;
        width: 24px;
    }

    .about-feature span {
        font-size: 13px;
    }

    /* ----- SERVICES MOBILE ----- */
    .services-section {
        padding: 60px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 16px;
    }

    .service-card {
        padding: 24px 18px 20px;
    }

    .service-card .icon-wrap {
        width: 56px;
        height: 56px;
    }

    .service-card .icon-wrap i {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    /* ----- STATS MOBILE ----- */
    .stats-section {
        padding: 50px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 14px 10px;
    }

    .stat-item .number {
        font-size: 1.4rem;
    }

    .stat-item .label {
        font-size: 11px;
    }

    /* ----- CTA MOBILE ----- */
    .cta-section {
        padding: 50px 16px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .cta-content .btn-primary {
        padding: 14px 32px;
        font-size: 14px;
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    /* ----- FOOTER MOBILE ----- */
    .footer {
        padding-top: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 0 16px 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col a:hover {
        transform: translateX(0);
    }

    .footer-col p i {
        display: none;
    }

    .footer-brand h2 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 13px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Back to top mobile */
    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (iPhone SE, etc)
   ============================================================ */
@media (max-width: 480px) {
    .navbar {
        min-height: 55px;
        padding: 0 8px;
    }

    .nav-container {
        min-height: 55px;
    }

    .logo img {
        height: 28px;
    }

    .logo-text .brand {
        font-size: 13px;
    }

    .logo-text .brand-sub {
        font-size: 10px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .nav-menu li a {
        font-size: 17px;
    }

    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .hero-content .badge {
        font-size: 8px;
        padding: 3px 10px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dots {
        gap: 8px;
        bottom: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 13px;
        max-width: 180px;
    }

    .section {
        padding: 40px 12px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .about-section {
        padding: 40px 12px;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.85rem;
    }

    .service-card {
        padding: 18px 14px 16px;
    }

    .service-card .icon-wrap {
        width: 48px;
        height: 48px;
    }

    .service-card .icon-wrap i {
        font-size: 20px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 12px;
    }

    .stats-grid {
        gap: 6px;
    }

    .stat-item {
        padding: 10px 6px;
    }

    .stat-item .number {
        font-size: 1.2rem;
    }

    .stat-item .label {
        font-size: 9px;
    }

    .cta-content h2 {
        font-size: 1.3rem;
    }

    .cta-content p {
        font-size: 0.8rem;
    }

    .cta-content .btn-primary {
        padding: 12px 24px;
        font-size: 13px;
        max-width: 220px;
    }

    .footer-top {
        gap: 16px;
        padding: 0 12px 20px;
    }

    .footer-brand h2 {
        font-size: 17px;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 12px;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 15px;
        bottom: 15px;
        right: 15px;
    }
}

/* ============================================================
   iOS SAFARI & MOBILE FIXES
   ============================================================ */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }

    .hero-slider {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }

    .hero-slide {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }

    .nav-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }

    input, textarea, button {
        font-size: 16px;
    }

    .service-card,
    .about-feature,
    .stat-item {
        -webkit-tap-highlight-color: transparent;
    }

    body.menu-open {
        position: fixed;
        width: 100%;
        height: -webkit-fill-available;
    }
}

/* ----- Fix for background images on mobile ----- */
@media (max-width: 768px) {
    .hero-slide {
        background-attachment: scroll !important;
    }
}

/* ----- Reduce motion preference ----- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-scroll {
        animation: none !important;
    }

    .hero-slide {
        transition: none !important;
        transform: none !important;
    }
}

/* ----- Scrollbar styling ----- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ----- Selection color ----- */
::selection {
    background: var(--secondary);
    color: var(--dark);
}

::-moz-selection {
    background: var(--secondary);
    color: var(--dark);
}