/* ============================================
   SM tech GmbH - Swiss Solar Pro
   Ultra-Premium Design System
   ============================================ */

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

:root {
    --black: #0a0a0a;
    --gold: #c9a84c;
    --gold-light: #d4b968;
    --gold-dark: #b8963e;
    --white: #ffffff;
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glow-rgb: 201, 168, 76;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.7;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Section --- */
.section {
    padding: 140px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-dark:hover {
    background-color: var(--gray-800);
    border-color: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-large {
    padding: 20px 56px;
    font-size: 0.9rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 28px 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color var(--transition-medium);
}

.navbar.scrolled .nav-logo {
    color: var(--black);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-medium);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width var(--transition-medium);
}

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

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-500);
}

.navbar.scrolled .nav-link:hover {
    color: var(--black);
}

.nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 28px;
    transition: all var(--transition-medium);
}

.nav-cta:hover {
    background-color: var(--gold);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background-color: var(--white);
    transition: all var(--transition-medium);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--black);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.55) 50%,
        rgba(10, 10, 10, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.15;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   About / Values
   ============================================ */
.section-about {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 100px;
}

.value-card {
    text-align: left;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.about-expertise {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
    padding-top: 80px;
    border-top: 1px solid var(--gray-200);
}

.expertise-text h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.expertise-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.expertise-highlights {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 8px;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.expertise-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.expertise-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--black);
    font-weight: 500;
}

.expertise-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   Solutions / Packages
   ============================================ */
.section-solutions {
    background-color: var(--gray-50);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.package-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--transition-slow);
}

.package-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-4px);
}

.package-featured {
    border-color: var(--gold);
}

.package-featured:hover {
    border-color: var(--gold);
}

.package-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 24px;
}

.package-header {
    padding: 48px 40px 40px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.package-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.package-header h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
}

.package-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.package-body {
    padding: 40px;
}

.package-features {
    margin-bottom: 36px;
}

.package-features li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    padding-left: 20px;
    position: relative;
}

.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background-color: var(--gold);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-body .btn {
    width: 100%;
}

/* ============================================
   Technology
   ============================================ */
.section-technology {
    background-color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-card {
    padding: 48px 40px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-slow);
}

.tech-card:hover {
    border-color: var(--gold);
}

.tech-brand {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
}

.tech-card h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.tech-card > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.tech-specs {
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
}

.tech-specs li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
}

.tech-specs li span:first-child {
    color: var(--gray-400);
}

.tech-specs li span:last-child {
    color: var(--black);
    font-weight: 500;
}

/* ============================================
   Process / Timeline
   ============================================ */
.section-process {
    background-color: var(--gray-50);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--gold);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 48px;
    margin-bottom: 64px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 49px;
    height: 49px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-50);
    position: relative;
    z-index: 1;
}

.step-marker span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    padding-top: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ============================================
   Gallery / Referenzen
   ============================================ */
.section-gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.gallery-card {
    transition: all var(--transition-slow);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--gray-100);
    margin-bottom: 28px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-overlay span {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 28px;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.gallery-meta {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.gallery-info > p:last-child {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   Statistics
   ============================================ */
.section-stats {
    padding: 100px 0;
    background-color: var(--black);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-left: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 12px;
}

/* ============================================
   Testimonials
   ============================================ */
.section-testimonials {
    background-color: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    padding: 48px 40px;
    position: relative;
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    border-color: var(--gold);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 24px;
    font-family: var(--font-body);
}

.faq-question span:first-child {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 500;
    transition: color var(--transition-medium);
}

.faq-question:hover span:first-child {
    color: var(--gold);
}

.faq-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--gold);
    transition: transform var(--transition-medium);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
    padding-bottom: 28px;
}

/* ============================================
   CTA
   ============================================ */
.section-cta {
    background-color: var(--black);
    padding: 140px 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li,
.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--gray-700);
    letter-spacing: 0.02em;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .section {
        padding: 100px 0;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .values-grid,
    .tech-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-expertise {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .expertise-highlights {
        flex-direction: row;
        gap: 40px;
    }

    .expertise-item {
        border-bottom: none;
        padding-bottom: 0;
        border-right: 1px solid var(--gray-200);
        padding-right: 40px;
    }

    .expertise-item:last-child {
        border-right: none;
        padding-right: 0;
    }

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

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

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

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-tagline br {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--gray-600);
        font-size: 0.9rem;
    }

    .nav-menu .nav-link:hover {
        color: var(--black);
    }

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

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

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

    .nav-toggle.active span {
        background-color: var(--black);
    }

    .values-grid,
    .tech-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .expertise-highlights {
        flex-direction: column;
    }

    .expertise-item {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 24px;
    }

    .expertise-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .process-step {
        gap: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 48px;
    }

    .section-cta {
        padding: 100px 0;
    }

    .cta-content h2 {
        font-size: 1.85rem;
    }

    .btn-large {
        padding: 16px 40px;
    }

    .tech-card,
    .testimonial-card {
        padding: 36px 28px;
    }

    .package-header {
        padding: 36px 28px 28px;
    }

    .package-body {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

    .price-amount {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* === ENHANCED ANIMATIONS === */

/* Floating animation for cards and images */
@keyframes enhanced-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Subtle pulse glow effect */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(var(--glow-rgb), 0.2); }
  50% { box-shadow: 0 0 20px rgba(var(--glow-rgb), 0.4), 0 0 40px rgba(var(--glow-rgb), 0.1); }
}

/* Gradient shift animation for backgrounds */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Slide in from left */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scale up bounce */
@keyframes scaleUpBounce {
  0% { opacity: 0; transform: scale(0.8); }
  60% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Rotate in */
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* Typewriter cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Shimmer effect for buttons */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Sun rays rotation */
@keyframes sunRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reveal animation classes */
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* Stagger children animation */
.stagger-children > * { opacity: 0; transform: translateY(30px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* Floating cards effect */
.float-card { animation: enhanced-float 6s ease-in-out infinite; }
.float-card:nth-child(2) { animation-delay: -2s; }
.float-card:nth-child(3) { animation-delay: -4s; }

/* Enhanced button hover with shimmer */
.btn-shimmer {
  background-size: 200% auto;
  background-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  animation: shimmer 3s linear infinite;
}

/* Hover lift effect */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

/* Counter number animation style */
.counter-animated { display: inline-block; transition: all 0.3s; }

/* Parallax-ready sections */
.parallax-bg { transition: background-position 0.1s linear; }

/* Smooth image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.img-zoom:hover img { transform: scale(1.08); }

/* Text gradient animation */
.text-gradient-animated {
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Underline animation on hover */
.hover-underline { position: relative; }
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-underline:hover::after { width: 100%; }

/* Magnetic button effect placeholder */
.btn-magnetic { transition: transform 0.2s ease; }

/* Border animation on cards */
.border-animate {
  position: relative;
  overflow: hidden;
}
.border-animate::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, transparent 30%, currentColor 50%, transparent 70%);
  background-size: 200% 200%;
  animation: gradientShift 3s linear infinite;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
 pointer-events: none;}
.border-animate:hover::before { opacity: 0.3; }

/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}

/* === Mobile Hero Text === */
@media (max-width: 768px) {
  .hero h1, .hero-content h1, .hero__content h1 { font-size: 2rem; }
}