/* ==========================================================================
   Google Sans Fonts
   ========================================================================== */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Google Sans Bold'), local('Product Sans Bold'), url('https://fonts.cdnfonts.com/s/14955/ProductSans-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 800;
    src: local('Google Sans Black'), local('Product Sans Black'), url('https://fonts.cdnfonts.com/s/14955/ProductSans-Black.woff') format('woff');
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 900;
    src: local('Google Sans Black'), local('Product Sans Black'), url('https://fonts.cdnfonts.com/s/14955/ProductSans-Black.woff') format('woff');
}

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Base Colors - Deep Obsidian & Sleek Neutrals */
    --bg-dark: #08090c;
    --bg-surface: #0f1117;
    --bg-panel: rgba(255, 255, 255, 0.025);
    --bg-panel-hover: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Refined Accents & Gradients (Warm Golden Amber Theme) */
    --accent-primary: #ffffff;
    --accent-gold: #fca034;
    --accent-gold-light: #ffd666;
    --accent-subtle: rgba(245, 158, 11, 0.12);
    --accent-hover: #ffb74d;
    --accent-blue: #fca034;

    /* Legacy / Compatibility Aliases */
    --accent-cyan: #ffd666;
    --accent-purple: #fca034;

    --gradient-primary: linear-gradient(180deg, #ffd666 0%, #fca034 60%, #f59e0b 100%);
    --gradient-accent: linear-gradient(135deg, #ffd666 0%, #fca034 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Glassmorphic & Elevation Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-border-hover: 1px solid rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
    --blur: backdrop-filter: blur(16px);

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Abstract Ambient Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    background: var(--bg-panel-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
    letter-spacing: -0.01em;
}

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 9999px;
    background: 
        linear-gradient(135deg, #ffde89 0%, #ffa742 50%, #fbb964 100%) padding-box,
        conic-gradient(
            from var(--border-angle),
            rgba(255, 255, 255, 0.12) 0deg,
            rgba(255, 255, 255, 0.12) 260deg,
            #08090c 300deg,
            #ffffff 335deg,
            #ffc60a 352deg,
            rgba(255, 255, 255, 0.12) 360deg
        ) border-box;
    color: #08090c;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    animation: btnLineSpin 2.6s linear infinite;
    transition: all var(--transition-smooth);
}

.btn-primary:hover {
    background: 
        linear-gradient(135deg, #ffe38a 0%, #fdb84c 50%, #fbbf24 100%) padding-box,
        conic-gradient(
            from var(--border-angle),
            rgba(255, 255, 255, 0.25) 0deg,
            rgba(255, 255, 255, 0.25) 250deg,
            #08090c 290deg,
            #ffffff 330deg,
            #ffc60a 350deg,
            rgba(255, 255, 255, 0.25) 360deg
        ) border-box;
    transform: translateY(-2px);
    color: #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

@keyframes btnLineSpin {
    to {
        --border-angle: 360deg;
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffc60a;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-text:hover {
    color: var(--accent-blue);
    gap: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: padding var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo span {
    color: var(--accent-gold);
    font-weight: 700;
    margin-left: 3px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: #ffc60a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: #ffc60a;
    transition: width var(--transition-fast);
}

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

.nav-links a.active {
    color: #ffc60a;
    font-weight: 600;
}

.nav-btn {
    padding: 9px 22px;
    font-size: 0.88rem;
}

.mobile-cta-item {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background:
        radial-gradient(circle at 50% 36%, rgba(245, 158, 11, 0.09) 0%, rgba(245, 158, 11, 0.025) 35%, transparent 65%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.035) 0%, transparent 60%),
        linear-gradient(180deg, rgba(15, 17, 23, 0.75) 0%, rgba(8, 9, 12, 1) 100%);
    overflow: hidden;
}

/* Background Video */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: brightness(0.88) contrast(1.08);
    transform: scale(1.03);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.hero-bg-video.is-loaded {
    opacity: 0.38;
    transform: scale(1);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 45%, rgba(8, 9, 12, 0.4) 0%, rgba(8, 9, 12, 0.72) 70%, rgba(8, 9, 12, 0.95) 100%),
        linear-gradient(180deg, rgba(8, 9, 12, 0.65) 0%, rgba(8, 9, 12, 0.25) 30%, rgba(8, 9, 12, 0.65) 75%, #08090c 100%);
    pointer-events: none;
}

/* Atmospheric Spotlight Beam */
.hero::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 960px;
    height: 520px;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.14) 0%, rgba(251, 191, 36, 0.04) 45%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

/* Subtle Bottom Transition */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
}

.badge:hover {
    color: #ffc60a;
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Subtle Shimmer Light Beam Effect across badge */
.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.12),
            transparent);
    transform: skewX(-20deg);
    animation: badgeShimmer 5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes badgeShimmer {

    0%,
    25% {
        left: -100%;
    }

    65%,
    100% {
        left: 170%;
    }
}

/* Pulsing Status Dot */
.status-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
}

.status-dot::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8), 0 0 4px #f59e0b;
}

.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f59e0b;
    animation: statusPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    70%,
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.hero h1 {
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title-prefix {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.22;
    margin-bottom: 6px;
}

.hero-title-highlight,
.hero h1 .gradient-text {
    display: block;
    font-family: 'Google Sans', 'Product Sans', sans-serif;
    font-weight: 1000;
    font-size: clamp(2.8rem, 5.4vw, 4.4rem);
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Ambient Background Lighting */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.3;
    animation: float 14s infinite alternate ease-in-out;
}

.orb-1 {
    top: 18%;
    left: 28%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 50%, transparent 70%);
}

.orb-2 {
    bottom: 22%;
    right: 22%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 7px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
}

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

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

/* ==========================================================================
   About Section
   ========================================================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.founder-image-wrapper {
    position: relative;
    width: 276px;
    height: 276px;
    max-width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 3.5px;
    background: linear-gradient(135deg, #ffde89 0%, #ffa742 50%, #fbb964 100%);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.28);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient backlight glow behind the gradient ring */
.founder-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffde89 0%, #ffa742 50%, #fbb964 100%);
    filter: blur(28px);
    opacity: 0.45;
    z-index: -1;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.founder-image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(245, 158, 11, 0.5);
}

.founder-image-wrapper:hover::before {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1.08);
}

.founder-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffc60a;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Work / Portfolio Section
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.portfolio-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-item .btn-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.portfolio-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

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

/* ==========================================================================
   Process Section
   ========================================================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.timeline-content {
    padding: 30px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px 30px;
    position: relative;
}

.quote-icon {
    font-family: serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
}

.contact-info {
    padding: 70px 40px;
    width: 100%;
    text-align: center;
    background: transparent;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.detail-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.detail-item:hover {
    color: #ffc60a;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: #ffc60a;
}

.contact-form-container {
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

/* Custom Select */
.custom-select {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: var(--bg-surface);
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transform: translateY(-8px);
    margin-top: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.custom-option:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.custom-option.selected {
    color: #fff152;
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.arrow {
    position: relative;
    height: 10px;
    width: 14px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    transition: all 0.3s;
    background-color: var(--text-secondary);
    border-radius: 2px;
}

.arrow::before {
    left: 2px;
    transform: rotate(-45deg);
}

.arrow::after {
    right: 2px;
    transform: rotate(45deg);
}

.custom-select.open .arrow::before {
    transform: rotate(45deg);
}

.custom-select.open .arrow::after {
    transform: rotate(-45deg);
}

.form-submit {
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 70px 0 24px;
    background: rgba(0, 0, 0, 0.4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-links ul a,
.footer-legal ul a {
    color: var(--text-secondary);
}

.footer-links ul a:hover,
.footer-legal ul a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-title-prefix {
        font-size: 1.85rem;
    }

    .hero-title-highlight,
    .hero h1 .gradient-text {
        font-size: 2.5rem;
    }

    .navbar.menu-open {
        background: #08090c !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #08090c;
        padding: 0 20px;
        gap: 10px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        max-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 1050;
    }

    .nav-links::-webkit-scrollbar {
        width: 4px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
    }

    .nav-links.active {
        max-height: calc(100dvh - 72px);
        padding: 16px 20px 24px 20px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        padding: 0;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.09s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.13s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.17s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.21s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.25s;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 18px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        position: relative;
        transition: all 0.2s ease;
    }

    .nav-links a::after {
        content: '→';
        position: static;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        font-size: 1.05rem;
        color: var(--text-muted);
        opacity: 0.4;
        transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a.active {
        color: #ffc60a;
        background: rgba(255, 198, 10, 0.08);
        border-color: rgba(255, 198, 10, 0.28);
        transform: translateX(4px);
    }

    .nav-links a:hover::after,
    .nav-links a:active::after,
    .nav-links a.active::after {
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        opacity: 1 !important;
        color: #ffc60a !important;
        transform: translateX(3px);
    }

    .mobile-cta-item {
        display: block !important;
        margin-top: 6px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mobile-cta-item .mobile-nav-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
        color: #0d0f12 !important;
        border: 2px solid transparent !important;
        background: 
            linear-gradient(135deg, #ffc60a, #ffde89) padding-box,
            conic-gradient(
                from var(--border-angle),
                rgba(255, 255, 255, 0.12) 0deg,
                rgba(255, 255, 255, 0.12) 260deg,
                #08090c 300deg,
                #ffffff 335deg,
                #ffc60a 352deg,
                rgba(255, 255, 255, 0.12) 360deg
            ) border-box !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
        animation: btnLineSpin 2.6s linear infinite;
        transform: none !important;
    }

    .mobile-cta-item .mobile-nav-btn::after {
        display: none !important;
    }

    .mobile-cta-item .mobile-nav-btn:hover,
    .mobile-cta-item .mobile-nav-btn:active {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
        color: #0d0f12 !important;
    }

    .hero-bg-elements {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-content {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .contact-info,
    .contact-form-container {
        padding: 40px 20px;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-title-prefix {
        font-size: 1.5rem;
    }

    .hero-title-highlight,
    .hero h1 .gradient-text {
        font-size: 2.1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .founder-image-wrapper {
        width: 206px;
        height: 206px;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   Projects / Portfolio Page Styles
   ========================================================================== */
.page-hero {
    padding: 160px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: #fccf53;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.2);
}

.breadcrumb span.current {
    color: var(--text-primary);
    font-weight: 500;
}

.page-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Filter Bar */
.filter-wrapper {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 6px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: var(--glass-shadow);
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-btn:hover {
    color: #ffc60a;
    background: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
    background: #ffc60a;
    color: #08090c;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* Project Card Specifics */
.project-card-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-smooth);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-live {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

.badge-featured {
    background: rgba(255, 255, 255, 0.06);
    color: #ffc60a;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

.project-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: all var(--transition-fast);
}

.project-card-link:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

/* Projects Call-to-Action Banner */
.projects-cta-section {
    padding: 40px 0 100px;
}

.projects-cta-box {
    padding: 70px 40px;
    text-align: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(20, 22, 30, 0.8), rgba(12, 13, 18, 0.95));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.projects-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.projects-cta-box h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.projects-cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 36px;
}

.projects-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}


/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65), 0 0 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(0.98);
}

.whatsapp-float .whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.05);
}

/* Subtle glowing pulse ring */
.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    z-index: 1;
    animation: whatsappGlowPulse 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
    pointer-events: none;
}

@keyframes whatsappGlowPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    60% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Floating Tooltip */
.whatsapp-float-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(14, 15, 23, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #f8f9fa;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-primary);
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.15);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(14, 15, 23, 0.92);
    border-top: 1px solid rgba(37, 211, 102, 0.35);
    border-right: 1px solid rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float-tooltip {
        display: none;
    }
}