/* ======== 1. Global Styles & Variables ======== */

:root {
    --primary-color: #2bb673;
    --primary-color-dark: #229a60;
    --accent-color: #4f46e5;
    --accent-soft: rgba(43, 182, 115, 0.08);
    --dark-color: #111827;
    --light-color: #f3f4f6;
    --white-color: #ffffff;
    --muted-color: #6b7280;
    --border-subtle: #e5e7eb;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 40%, #eef2ff 100%);
    color: var(--dark-color);
    min-height: 100vh;
    position: relative;
}

/* Prevent scroll when mobile nav open */
body.nav-open {
    overflow: hidden;
}

/* === Container === */
.container {
    max-width: 1280px;       /* was 1140px */
    margin: 0 auto;
    padding: 0 24px;         /* a bit wider padding */
}

/* Page content card */
.page-content {
    background: var(--white-color);
    margin: -60px auto 40px auto;  /* slightly more breathing room */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 10;
}

/* Section layout */
section {
    padding: 70px 40px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

section:last-child {
    border-bottom: none;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
}

h2 {
    color: var(--dark-color);
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px auto;
    color: var(--muted-color);
    font-size: 0.98rem;
}

/* ======== 2. Navbar ======== */

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 32px;       /* adjust as needed */
    width: auto;
    display: block;
}


.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--muted-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 2px;
    transition: color 0.2s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.25s ease;
}

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

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

.nav-menu a.nav-cta {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.08), rgba(37, 99, 235, 0.08));
    color: var(--dark-color);
    position: relative;
}

.nav-menu a.nav-cta::after {
    display: none;
}

.nav-menu a.nav-cta:hover {
    border-color: rgba(34, 197, 94, 0.6);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

/* ======== 3. Hero Section ======== */

.hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.15), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.25), transparent 60%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.9)),
      url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    mix-blend-mode: normal;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(209, 213, 219, 0.85);
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 0.98rem;
    max-width: 480px;
    color: #e5e7eb;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

/* CTA buttons */
.cta-button {
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    padding: 11px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.4);
    filter: brightness(1.03);
}

.cta-button.full-width {
    width: 100%;
}

.ghost-button {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.45);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
    border-color: rgba(209, 213, 219, 0.95);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

/* Hero visual glass card */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.glass-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.35));
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.7);
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    position: relative;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: conic-gradient(from 180deg, rgba(96, 165, 250, 0), rgba(96, 165, 250, 0.2), rgba(52, 211, 153, 0.2), rgba(96, 165, 250, 0));
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: rotateGlow 14s linear infinite;
}

.glass-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f97373;
}

.dot-yellow { background: #fbbf24; }
.dot-green { background: #22c55e; }

.glass-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #e5e7eb;
    opacity: 0.85;
}

.glass-body {
    position: relative;
    z-index: 1;
    padding: 16px 16px 18px 16px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.78rem;
    color: #9ca3af;
}

.stat-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #f3f4f6;
}

.stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 10px 0;
}

.stack-pills span {
    font-size: 0.75rem;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.glass-note {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(209, 213, 219, 0.8);
}

.mouse {
    width: 20px;
    height: 32px;
    border-radius: 999px;
    border: 1.5px solid rgba(209, 213, 219, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 3px;
    height: 6px;
    border-radius: 999px;
    background: rgba(209, 213, 219, 0.9);
    animation: wheelMove 1.4s infinite;
}

/* ======== 4. Services ======== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    border-radius: var(--radius-md);
    padding: 24px 22px 22px 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.06), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

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

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-icon i {
    font-size: 1.3rem;
    color: var(--primary-color-dark);
}

.service-card h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 12px;
}

.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tags li {
    font-size: 0.74rem;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}


.service-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #e5e7eb;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    padding: 7%;
}

.service-card:hover .service-thumb img {
    transform: scale(1.04);
}


/* ======== Projects / Media Grid ======== */

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

.media-card {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
    border-color: rgba(79, 70, 229, 0.35);
}

.media-thumb {
    position: relative;
    padding-top: 60%; /* 5:3 ratio */
    background-size: cover;
    background-position: center;
}

.media-body {
    padding: 18px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.media-body h3 {
    font-size: 1.02rem;
}

.media-type {
    font-size: 0.82rem;
    color: var(--muted-color);
}

.media-summary {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.media-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.media-tags li {
    font-size: 0.74rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
}

/* Toggle button + details */

.media-toggle {
    margin-top: 10px;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #ffffff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.media-toggle::after {
    content: "▼";
    font-size: 0.65rem;
    transform-origin: center;
    transition: transform 0.2s ease;
}

.media-card.expanded .media-toggle {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.06);
}

.media-card.expanded .media-toggle::after {
    transform: rotate(-180deg);
}

.media-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
    font-size: 0.85rem;
    color: var(--muted-color);
}

.media-details ul {
    list-style: disc;
    margin-left: 18px;
    padding-bottom: 10px;
}

.media-card.expanded .media-details {
    max-height: 260px;  /* enough to show list */
    margin-top: 8px;
}



/* ======== 5. Process Timeline ======== */

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 10px;
}

.process-line {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 76%;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(59, 130, 246, 0.65), rgba(52, 211, 153, 0.65), rgba(148, 163, 184, 0.3));
    z-index: 0;
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    text-align: center;
    padding: 40px 16px 12px 16px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    margin: 0 auto 10px auto;
    background: radial-gradient(circle at 30% 30%, #f9fafb, #dbeafe);
    border: 1px solid rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: #1d4ed8;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.18);
}

.step h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.step p {
    font-size: 0.86rem;
    color: var(--muted-color);
}

/* ======== 6. About Section ======== */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: flex-start;
}

.about-main p {
    font-size: 0.95rem;
    color: var(--muted-color);
    margin-bottom: 12px;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 16px;
}

.about-stats > div {
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 120px;
}

.about-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.about-label {
    font-size: 0.78rem;
    color: var(--muted-color);
}

/* Mission/Vision cards */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-vision .card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 18px 18px 16px 18px;
    border: 1px solid #e5e7eb;
}

.mission-vision .card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.mission-vision .card p {
    font-size: 0.88rem;
    color: var(--muted-color);
}

/* ======== 7. Testimonials ======== */

/* Slider layout */
.testimonial-layout {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

/* Wrap for all cards */
.testimonial-cards {
    position: relative;
}

/* Only show active card */
.testimonial-card {
    display: none;
}

.testimonial-card.active {
    display: block;
}

/* Avatar + client info row */
.client-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(129, 140, 248, 0.9);
}

/* Slider arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.testimonial-nav.prev {
    left: -60px;
}

.testimonial-nav.next {
    right: -60px;
}

@media (max-width: 640px) {
    .testimonial-nav.prev {
        left: -10px;
    }
    .testimonial-nav.next {
        right: -10px;
    }
}

.testimonial-nav:hover {
    background: rgba(37, 99, 235, 0.95);
    border-color: rgba(129, 140, 248, 1);
    transform: translateY(-50%) scale(1.05);
}

/* Dots / indicators */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.testimonial-dot.active {
    width: 18px;
    background: #22c55e;
}

@media (max-width: 640px) {
    .testimonial-nav.prev {
        left: -6px;
    }
    .testimonial-nav.next {
        right: -6px;
    }
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* each quadrant, tweak if needed */
.avatar-1 { object-position: 25% 25%; }  /* top-left */
.avatar-2 { object-position: 75% 25%; }  /* top-right */
.avatar-3 { object-position: 25% 75%; }  /* bottom-left */
.avatar-4 { object-position: 75% 75%; }  /* bottom-right */



/* ======== 8. Contact section ======== */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: flex-start;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--muted-color);
    margin-bottom: 18px;
}

.contact-list {
    list-style: none;
    margin-bottom: 16px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 8px;
}

.contact-list i {
    width: 22px;
    text-align: center;
    color: var(--primary-color);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.contact-form-wrapper {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px 20px 18px 20px;
    border: 1px solid #e5e7eb;
}

#contact-form {
    max-width: 100%;
    margin: 0;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 16px;
    flex: 1;
    min-width: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.86rem;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.form-footnote {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--muted-color);
}

/* ======== 9. Back-to-top button ======== */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.6);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 60;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ======== 10. Footer ======== */

footer {
    text-align: center;
    padding: 26px;
    background: transparent;
    color: #6b7280;
    font-size: 0.8rem;
}

/* ======== 11. Animation & Responsiveness ======== */

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes wheelMove {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 0; }
}

@keyframes rotateGlow {
    to { transform: rotate(360deg); }
}

/* ======== 12. Responsive ======== */

@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 60px 0 90px 0;
    }
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-visual {
        justify-content: flex-start;
    }
    .process-line {
        display: none;
    }
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 56px 22px;
    }
    .page-content {
        margin: -40px 10px 25px 10px;
    }
    .nav-menu {
        position: fixed;
        inset: 66px 0 auto 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(14px);
        display: flex;
        flex-direction: column;
        padding: 10px 18px 16px 18px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .nav-menu li {
        margin: 4px 0;
    }
    .nav-menu a {
        color: #e5e7eb;
        padding: 8px 4px;
    }
    .nav-menu a.nav-cta {
        background: linear-gradient(120deg, rgba(16, 185, 129, 0.95), rgba(37, 99, 235, 0.95));
        border: none;
        color: #ffffff;
        justify-content: center;
    }
    body.nav-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-toggle {
        display: inline-flex;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-sub {
        max-width: none;
    }
    .hero-meta {
        margin-bottom: 8px;
    }
    .form-row {
        flex-direction: column;
    }

    .media-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .back-to-top {
        right: 14px;
        bottom: 16px;
    }
}


