/* 
   Building Experience: Creative Developer Daniel Kamdem
   Project: Gebäudeservice Maliqi
   Design System: Ultra-Premium Modern Aesthetic (v2.0)
*/

:root {
    /* Rich Color Palette - Vibrant & Harmonious */
    --primary: #00d2ad;
    --primary-glow: rgba(0, 210, 173, 0.4);
    --primary-ultra-glow: rgba(0, 210, 173, 0.15);
    --secondary: #0ea5e9;
    --secondary-glow: rgba(14, 165, 233, 0.4);
    --accent: #ff7675;

    /* Neutrals - Deep and Sophisticated */
    --text-main: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --white: #ffffff;

    /* Glassmorphism Luxe - High Definition */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
    --glass-inner-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);

    /* Transitions & Motion - Smooth & Fluid */
    --transition-premium: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-impact: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --hover-lift: translateY(-12px) scale(1.03);
}

/* Reset & Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

/* --- Lenis Smooth Scroll --- */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* --- Advanced Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #020617;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    height: 80px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

/* --- Custom Cursor --- */
body {
    cursor: none;
}

a,
button,
.read-more,
.service-card,
.btn,
.magnetic-wrap {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-glow);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-outline.hover {
    width: 70px;
    height: 70px;
    background: rgba(0, 210, 173, 0.05);
    border-color: var(--primary);
}

@media (max-width: 768px) {

    body,
    a,
    button,
    .read-more,
    .service-card,
    .btn,
    .magnetic-wrap {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Magnetic Wrapper */
.magnetic-wrap {
    display: inline-block;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

/* --- Premium Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes revealUp {
    0% {
        opacity: 0;
        transform: translateY(80px) rotateX(-10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--primary-ultra-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--primary-glow);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    33% {
        transform: translateY(-15px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* --- Advanced Reveal System --- */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: var(--transition-impact);
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.85);
    rotate: 3deg;
}

.reveal.active.reveal-left,
.reveal.active.reveal-right {
    transform: translateX(0);
}

.reveal.active.reveal-scale {
    transform: scale(1);
    rotate: 0deg;
}

/* Stagger Effects */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* --- Layout Spacing --- */
section {
    padding: 180px 10%;
    position: relative;
}

.blob-bg {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.5;
    animation: floatHero 20s infinite ease-in-out;
}

/* --- Components --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(0, 210, 173, 0.08);
    color: var(--primary);
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 210, 173, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 255, 0.02);
}

.badge i {
    font-size: 0.7rem;
}

.badge.center {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.icon-blob {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 15px 35px var(--primary-glow);
    transition: var(--transition-premium);
}

.stat-card:hover .icon-blob {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 20px 45px var(--primary-glow);
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    transition: var(--transition-impact);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

nav.scrolled {
    padding: 10px 8%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    transition: var(--transition-impact);
    /* Attempting to remove white background while preserving the logo colors */
    mix-blend-mode: multiply;
}

nav.scrolled .logo-img {
    height: 65px;
}

.brand-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.brand-name {
    font-family: 'Lexend', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    transition: var(--transition-premium);
}

.brand-slogan {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-premium);
}

/* Nav Phone i */
.nav-phone i {
    font-size: 0.9rem;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-premium);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

/* removed scrolling color change rules as they are no longer needed */

.nav-phone i {
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: var(--transition-premium);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.nav-btn.small {
    padding: 12px 30px;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Push content lower */
    text-align: center;
    color: white;
    background:
        linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.1) 30%, rgba(15, 23, 42, 0.1) 70%, rgba(15, 23, 42, 0.8) 100%),
        url('images/about-team.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #020617;
    background-attachment: scroll;
    overflow: hidden;
    padding: 320px 5% 100px;
    /* More padding top/bottom */
}

.hero::after {
    display: none;
    /* Removed heavy fade to show the entire image clearly */
}

/* removed h1 styles for hero as text is gone */

.hero-content {
    max-width: 1100px;
    z-index: 5;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3.2rem, 10vw, 6.8rem);
    margin-bottom: 25px;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.05em;
    perspective: 1000px;
}

.hero h1 span {
    color: white;
    position: relative;
    display: inline-block;
}

/* removed heading glow for all-white look */
.hero h1 span::after {
    display: none;
}

.hero-text-block {
    order: 1;
}

.hero-tagline {
    order: 2;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 30px auto 50px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-group {
    order: 3;
}

/* --- Buttons --- */
.btn {
    padding: 22px 55px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-impact);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 1s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 55px var(--primary-glow);
}

.btn-primary:hover::before {
    transform: scale(1);
}

.btn-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* --- Stats Section --- */
.stats {
    padding: 0 8% 180px;
    z-index: 10;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    /* Centered more, moved down from the original overlap */
    margin-bottom: 80px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(35px);
    padding: 70px 45px;
    border-radius: 48px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: var(--transition-impact);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transition: 0.8s;
}

.stat-card:hover {
    transform: var(--hover-lift);
    border-color: var(--primary);
}

.stat-card:hover::after {
    left: 100%;
}

.stat-card h3 {
    font-size: 3.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-main), #64748b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    color: var(--text-body);
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- About Section --- */
.about {
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.about-image {
    position: relative;
    border-radius: 50px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-ultra-glow), var(--secondary-glow));
}

.about-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 40px 40px 90px rgba(0, 0, 0, 0.12);
    transition: var(--transition-impact);
}

.about-image:hover img {
    transform: scale(0.98);
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 30px;
    color: var(--text-main);
}

.about-content h2 span {
    color: var(--primary);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-weight: 700;
    color: var(--text-main);
    padding: 15px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition-premium);
}

.feature-item:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

/* --- Services Section --- */
.services {
    background: #f1f5f9;
}

.services h2 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-card {
    background: white;
    border-radius: 45px;
    overflow: hidden;
    transition: var(--transition-impact);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 45px 85px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, white, transparent);
    z-index: 1;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 50px;
    text-align: left;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.service-info p {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.service-card.expanded .service-details {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 25px;
}

.service-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-premium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.4s ease;
}

.service-card.expanded .read-more i {
    transform: rotate(45deg);
    color: var(--accent);
}

.service-card {
    cursor: pointer;
}


/* --- Contact Section --- */
.contact {
    padding: 240px 8%;
}

.contact-container {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    border-radius: 65px;
    padding: 100px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 120px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
}

.contact-info h2 {
    font-size: 4rem;
    margin-bottom: 30px;
}

.contact-detail {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    transition: var(--transition-premium);
    text-decoration: none;
    cursor: default;
    /* Looks like normal info, but links are active */
}

.contact-item:hover {
    transform: translateX(10px);
    color: var(--primary);
}

.contact-item i {
    width: 55px;
    height: 55px;
    background: var(--primary-ultra-glow);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 22px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: var(--transition-premium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 10px 30px var(--primary-ultra-glow);
    transform: translateY(-3px);
}

/* --- Values Section --- */
.values {
    background: var(--white);
    padding-bottom: 120px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 50px;
    border-radius: 40px;
    background: var(--bg-light);
    transition: var(--transition-impact);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--glass-shadow);
    border-color: var(--primary);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

/* --- Process Section --- */
.process {
    background: #0f172a;
    color: white;
}

.process h2 span {
    color: var(--primary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 0 30px var(--primary-glow);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- FAQ Section --- */
.faq {
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 80px auto 0;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 30px;
    cursor: pointer;
    transition: var(--transition-premium);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 20px;
    color: var(--text-body);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* --- Trust / Logos --- */
.trust-bar {
    padding: 60px 8%;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.4s;
}

.trust-logos:hover {
    opacity: 1;
    filter: grayscale(0);
}

.trust-logos i {
    font-size: 2.5rem;
}

/* --- Testimonials --- */
.testimonials {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-premium);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-glow);
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 25px;
    gap: 5px;
    display: flex;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    margin-top: auto;
}

.client-name {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.quote-icon {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 3rem;
    color: var(--primary-ultra-glow);
    pointer-events: none;
}

/* --- Footer --- */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 120px 8% 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 120px;
    margin-bottom: 100px;
}

.footer-brand img {
    height: 100px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 35px;
}

.footer-col li {
    margin-bottom: 18px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-premium);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

footer .footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Responsiveness --- */
@media (max-width: 1200px) {

    .about,
    .contact-container,
    .footer-main {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .contact-container {
        padding: 60px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet / iPad Optimization (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        padding: 120px 8%;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-text-block h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .testimonial-card {
        padding: 40px 30px;
    }

    .contact-container {
        padding: 60px 40px;
        gap: 60px;
    }

    .about-image img {
        height: 400px;
        object-position: center;
    }
}

/* Unhide and style hero text block for desktop */
.hero-text-block {
    display: block;
    margin-bottom: 50px;
}

.hero-text-block h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-text-block h1 span {
    color: white;
}

.hero-text-block p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }

    nav {
        padding: 0 5%;
        height: 90px;
        display: flex;
        align-items: center;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-links {
        display: none;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-slogan {
        font-size: 0.6rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero {
        padding-top: 320px;
        padding-bottom: 80px;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .hero-text-block h1 {
        font-size: 2.2rem;
        margin: 15px 0;
    }

    .hero-text-block p,
    .hero-tagline {
        font-size: 1.1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 1);
        font-weight: 600;
        margin-top: 30px;
        margin-bottom: 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        order: 3;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 0;
        order: 2;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        font-size: 0.95rem;
    }

    .btn-glass {
        margin-left: 0;
    }

    .contact {
        padding: 80px 5% 120px;
    }

    .contact-container {
        padding: 40px 25px;
        gap: 50px;
        border-radius: 40px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-item {
        font-size: 1rem;
        gap: 12px;
    }

    .contact-item i {
        width: 45px;
        height: 45px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 20px;
        border-radius: 18px;
    }

    .stats-grid {
        margin-top: 40px;
    }

    .stat-card {
        padding: 50px 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonial-card {
        padding: 35px 25px;
        border-radius: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .quote-icon {
        font-size: 2rem;
        bottom: 25px;
        right: 25px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}