/* ==========================================================================
   Design System & Premium Variables
   ========================================================================== */
:root {
    /* Color Palette: Light Mode Architectural Minimalist */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-tertiary: #eaeaea;

    --text-primary: #111111;
    --text-secondary: #444444;
    --text-tertiary: #777777;

    --accent-primary: #000000;
    --accent-secondary: #222222;
    --accent-gradient: #000000;

    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);

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

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Border Radius - Angular */
    --br-sm: 0px;
    --br-md: 0px;
    --br-lg: 0px;
    --br-full: 0px;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: none;
}

/* Page Components */
.page-top-padding {
    padding-top: 100px;
    min-height: 70vh;
}

@media (max-width: 768px) {
    .page-top-padding {
        padding-top: 80px;
    }
    
    .page-top-padding .py-xl:first-child {
        padding-top: 2rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography Utilities */
.text-gradient {
    color: var(--accent-primary);
    display: inline-block;
}

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--br-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.navbar.scrolled::after {
    opacity: 1;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-primary);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width var(--transition-fast);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-medium);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    backdrop-filter: none;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-sm);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    position: absolute;
    border-radius: 0%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.04);
    top: 10%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(0, 0, 0, 0.02);
    bottom: 20%;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.main-hero-card {
    width: 80%;
    aspect-ratio: 4/5;
    background: url('https://images.squarespace-cdn.com/content/v1/6731c7b9eb2580364f9c8ae6/191a28ae-99fa-46ff-a9bc-26fc324d1c5c/WhatsApp+Image+2024-10-30+at+21.26.51.jpeg') center/cover no-repeat;
    border: 1px solid var(--glass-border);
    border-radius: var(--br-lg);
    z-index: 2;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card-image-placeholder {
    font-family: var(--font-heading);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    align-items: start;
}

.footer-col h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    margin-top: -12px;
}

.footer-col:first-child .footer-logo {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-col:first-child .footer-logo img {
    height: 110px;
    width: auto;
    display: block;
}

.footer-col:first-child h3 {
    margin-top: 0;
}

.footer-col:first-child p {
    margin-bottom: 0.2rem;
}



.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Viewport Animations initialized via JS */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.is-visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .d-none-mobile {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .footer-col:first-child {
        display: none;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
   Sections & Utilities
   ========================================================================== */
.section {
    position: relative;
    z-index: 2;
}

.py-xl {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.text-center {
    text-align: center;
}

.bg-secondary {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* Base Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--br-md);
    padding: var(--space-md);
    backdrop-filter: blur(15px);
    transition: all var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-soft);
}

.card-image-wrap {
    width: calc(100% + calc(var(--space-md) * 2));
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    background: transparent;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        order: -1;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: var(--accent-secondary);
    font-family: var(--font-heading);
}

.service-meta {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
    margin-top: var(--space-lg);
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gradient), transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-sm);
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    box-shadow: var(--shadow-glow);
}

.process-step h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .process-timeline::before {
        display: none;
    }
}

/* Marquee Section */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: var(--space-md) 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    align-items: stretch;
    animation: marquee 500s linear infinite;
    padding-right: 2rem;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    white-space: normal;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.author {
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.marquee-item {
    font-size: 1.8rem;
    color: var(--text-primary);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.marquee-item:hover {
    opacity: 1;
}

/* Style Utilities for Logos */
.fw-bold {
    font-weight: 700;
}

.fw-bolder {
    font-weight: 800;
    font-family: sans-serif;
}

.f-serif {
    font-family: serif;
    font-size: 2.2rem;
}

.fw-black {
    font-weight: 900;
}

.letter-tight {
    letter-spacing: -2px;
}

.f-mono {
    font-family: monospace;
    font-weight: 800;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--accent-primary); }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

@media (max-width: 768px) {
    .lightbox-prev { left: -20px; width: 40px; height: 40px; }
    .lightbox-next { right: -20px; width: 40px; height: 40px; }
    .lightbox-close { top: -40px; right: 0; }
}