/* =========================================================================
   BRINX - Premium IT Software Development
   ========================================================================= */

:root {
    /* Color Palette - Deep Teal Dark Mode */
    --bg-color: #003a42;
    /* Deep Teal background */
    --bg-color-light: #004d56;
    --text-color: #f8fafc;
    --text-muted: #cbd5e1;

    /* Brand Colors - Image Reference */
    --primary: #009ca6;
    /* Bright Teal from image */
    --secondary: #fabc2d;
    /* Solid Gold/Yellow from image */
    --accent: #fabc2d;
    /* Replaced magenta with Gold */
    --gold: #fabc2d;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    --gradient-accent: linear-gradient(135deg, var(--gold) 0%, #ffae00 100%);
    --gradient-bg: linear-gradient(180deg, var(--bg-color) 0%, #00252b 100%);

    /* UI Elements - Flat Solid Glass */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3);

    /* Layout */
    --section-padding: 8rem;
    --container-width: 1280px;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* Color Palette - Clean Flat UI */
    --bg-color: #ffffff;
    /* Pure White */
    --bg-color-light: #f4f6f8;
    --text-color: #2d2d2d;
    /* Dark grey text */
    --text-muted: #64748b;

    /* Brand Colors - Image Reference */
    --primary: #009ca6;
    --secondary: #fabc2d;
    --accent: #fabc2d;
    --gold: #fabc2d;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    --gradient-accent: linear-gradient(135deg, var(--gold) 0%, #ffae00 100%);
    --gradient-bg: linear-gradient(180deg, #f4f6f8 0%, #ffffff 100%);

    /* UI Elements - Clean shadow cards like the image */
    --glass-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-highlight: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow from image */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: var(--gradient-bg);
}

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

ul {
    list-style: none;
}

/* =========================================================================
   Utilities
   ========================================================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.text-accent {
    color: var(--accent);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 130, 144, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-normal);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(244, 192, 59, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-highlight);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent);
    color: var(--text-color);
    box-shadow: 0 0 15px rgba(250, 188, 45, 0.3);
    /* Gold */
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-highlight);
    color: var(--text-color);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 156, 166, 0.3);
    /* Teal */
}

/* =========================================================================
   Background Effects (Mesh Gradients)
   ========================================================================= */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: blob 15s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 156, 166, 0.3) 0%, transparent 70%);
    /* #009ca6 */
    animation-delay: 0s;
}

.bg-glow-2 {
    bottom: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 188, 45, 0.25) 0%, transparent 70%);
    /* #fabc2d */
    animation-delay: -5s;
}

.bg-glow-3 {
    top: 40%;
    right: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(250, 188, 45, 0.2) 0%, transparent 70%);
    /* #fabc2d */
    animation-delay: -10s;
}

[data-theme="light"] .bg-glow {
    opacity: 0.1;
    /* Reduce glow intensity on light mode significantly */
    mix-blend-mode: multiply;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 80px 80px;
    /* Larger grid for architectural feel */
    z-index: -1;
    opacity: 0.2;
    /* Subtler opacity */
    pointer-events: none;
    /* Removed the heavy circular mask to let the grid span more of the page */
}

/* =========================================================================
   Vector Ornaments
   ========================================================================= */
.vector-line {
    position: absolute;
    background: var(--gradient-brand);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50px;
}

.vector-line-h {
    height: 2px;
    width: 300px;
}

.vector-line-v {
    width: 2px;
    height: 300px;
}

/* Specific Placements */
.vl-1 {
    top: 15%;
    left: -50px;
    width: 400px;
    transform: rotate(15deg);
}

.vl-2 {
    bottom: 20%;
    right: -100px;
    width: 500px;
    transform: rotate(-25deg);
}

.vl-3 {
    top: 40%;
    left: 10%;
    height: 200px;
}

.vl-4 {
    top: 60%;
    right: 15%;
    height: 150px;
    opacity: 0.3;
}

/* Typography */
.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* =========================================================================
   Navigation
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-fast);
}

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

/* Nav Controls for Theme & Lang */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1.5rem;
}

.theme-toggle,
.lang-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover,
.lang-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lang-toggle {
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-color-light);
    backdrop-filter: blur(20px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-normal);
    z-index: 999;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    width: 80%;
    justify-content: center;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 500;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero .hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
    padding: 0 2rem;
    margin-left: max(0px, calc((100vw - var(--container-width)) / 2));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.visual-card {
    width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition-normal);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
}

.card-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.card-header .dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.card-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
}

.card-header .dots span:nth-child(1) {
    background: #ef4444;
}

.card-header .dots span:nth-child(2) {
    background: #eab308;
}

.card-header .dots span:nth-child(3) {
    background: #22c55e;
}

.card-header .title {
    font-family: monospace;
    font-size: 0.85rem;
    color: #94a3b8;
}

.card-body {
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-body .keyword {
    color: #c678dd;
}

.card-body .variable {
    color: #e06c75;
}

.card-body .class {
    color: #e5c07b;
}

.card-body .method {
    color: #61afef;
}

.card-body .property {
    color: #d19a66;
}

.card-body .string {
    color: #98c379;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) perspective(1000px) rotateY(-15deg);
    }

    50% {
        transform: translateY(-20px) perspective(1000px) rotateY(-15deg);
    }

    100% {
        transform: translateY(0px) perspective(1000px) rotateY(-15deg);
    }
}

/* =========================================================================
   Services Section
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    z-index: -1;
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card:hover::before {
    opacity: 0.5;
}

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

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.service-card:hover .service-icon {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =========================================================================
   About Section
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* =========================================================================
   Tech Stack Section (Marquee)
   ========================================================================= */
.tech-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.tech-marquee {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
    gap: 3rem;
}

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

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

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-color-light);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tech-item:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* =========================================================================
   CTA / Contact Section
   ========================================================================= */
.cta-container {
    padding: 5rem 2rem;
    max-width: 800px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    /* On mobile, standard stack */
}

.glass-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.glass-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================================
   Portfolio / Case Studies Section
   ========================================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-card {
    height: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(4, 20, 28, 0.9) 0%, transparent 100%);
    z-index: 1;
}

/* Simulated images for demo */
.portfolio-card:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80&w=600') center/cover;
}

.portfolio-card:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&q=80&w=600') center/cover;
}

.portfolio-card:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&q=80&w=600') center/cover;
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.portfolio-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 130, 144, 0.3);
    border-color: var(--primary);
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-card:hover p {
    opacity: 1;
}

/* =========================================================================
   Testimonials Section
   ========================================================================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testi-card {
    padding: 3rem;
    text-align: left;
    position: relative;
    border-top: 3px solid var(--primary);
}

.testi-icon {
    font-size: 2.5rem;
    color: rgba(0, 130, 144, 0.2);
    position: absolute;
    top: 2rem;
    right: 3rem;
}

.testi-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testi-author h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.testi-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 5rem;
    background: var(--bg-color-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================================
   Animations (Reveal on Scroll)
   ========================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

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

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

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero .hero-content {
        margin: 0;
        padding: 0 1rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        margin-top: 4rem;
    }

    .visual-card {
        width: 100%;
        max-width: 320px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

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

    .about-features {
        display: inline-block;
        text-align: left;
    }

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

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

    .input-group {
        flex-direction: column;
    }

    .input-group .btn {
        width: 100%;
    }
}