/* ===================================
   VISSR Media - Design System
   Modern, Premium, Professional
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --color-primary: #2db6ba;
    --color-secondary: #3677bc;
    --gradient-primary: linear-gradient(135deg, #2db6ba 0%, #3677bc 100%);
    --gradient-glow: linear-gradient(135deg, rgba(45, 182, 186, 0.4) 0%, rgba(54, 119, 188, 0.4) 100%);

    /* Background Colors */
    --bg-dark: #0a0e14;
    --bg-darker: #060a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(45, 182, 186, 0.3);

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

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

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

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

/* --- Typography --- */
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;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

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

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.nav.scrolled {
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
    transition: transform var(--transition-fast);
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-cta {
    padding: 0.625rem 1.25rem !important;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important;
}

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

.nav-cta:hover {
    box-shadow: 0 0 30px rgba(45, 182, 186, 0.4);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

/* ===================================
   HERO SECTION - Bento Grid
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
    overflow: hidden;
}

.hero-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 182, 186, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-glow.active {
    opacity: 1;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    gap: var(--space-md);
    grid-template-areas:
        "main main terminal"
        "main main terminal"
        "stats status tech";
    min-height: calc(100vh - 200px);
}


.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.bento-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(45, 182, 186, 0.1);
}

/* Main Content Card */
.bento-main {
    grid-area: main;
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-inner {
    position: relative;
    z-index: 1;
}

.hero-greeting {
    display: inline-block;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeSlideUp 0.6s ease forwards;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease 0.1s forwards;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease 0.3s forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Terminal Card */
.bento-terminal {
    grid-area: terminal;
    padding: 0;
    overflow: hidden;
}

.terminal {
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .dot.red {
    background: #ff5f56;
}

.terminal-dots .dot.yellow {
    background: #ffbd2e;
}

.terminal-dots .dot.green {
    background: #27ca40;
}

.terminal-title {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    flex: 1;
    padding: var(--space-md);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.terminal-line {
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-line .command {
    color: var(--color-primary);
}

.terminal-line .string {
    color: #a5d6ff;
}

.terminal-line .keyword {
    color: #ff7b72;
}

.terminal-line .function {
    color: #d2a8ff;
}

.terminal-line .comment {
    color: var(--text-muted);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--color-primary);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Stats Card */
.bento-stats {
    grid-area: stats;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

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

.bento-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.bento-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Status Card */
.bento-status {
    grid-area: status;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #27ca40;
    border-radius: 50%;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(39, 202, 64, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

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

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Tech Stack Card */
.bento-tech {
    grid-area: tech;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.tech-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-icons {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
}

.tech-icon {
    width: 36px;
    height: 36px;
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.tech-icon img,
.tech-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}

.tech-icon .icon-white {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.tech-icon svg.icon-white,
.tech-icon svg.icon-white path {
    fill: white !important;
    filter: none;
}

.tech-icon .icon-color {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.tech-icon:hover .icon-white {
    opacity: 0;
}

.tech-icon:hover .icon-color {
    opacity: 1;
}

.tech-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

.tech-icon::after {
    content: attr(data-tech);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: var(--bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.tech-icon:hover::after {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(45, 182, 186, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(45, 182, 186, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
}

.btn-full {
    width: 100%;
}

/* Responsive Bento Grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "main"
            "terminal"
            "stats"
            "status"
            "tech";
    }

    .bento-main {
        padding: var(--space-xl);
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .terminal {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(70px + var(--space-lg));
    }

    .bento-main {
        padding: var(--space-lg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .bento-stats {
        flex-wrap: wrap;
    }
}


/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-3xl) 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(45, 182, 186, 0.1);
}

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

.service-card.featured {
    background: linear-gradient(180deg, rgba(45, 182, 186, 0.08) 0%, var(--bg-card) 100%);
    border-color: var(--border-glow);
}

.service-card.featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-primary);
}

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

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.service-features li {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-darker);
    position: relative;
}

.about::before,
.about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.about::before {
    top: 0;
}

.about::after {
    bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: var(--space-xl);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-about {
    width: 100%;
    max-width: 400px;
    background: #0d1117;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.terminal-about-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: var(--space-md);
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ff5f56;
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    flex-grow: 1;
    text-align: center;
    margin-right: 40px;
    /* Offset for dots balance */
}

.terminal-about-body {
    padding: var(--space-lg);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.code-line {
    white-space: pre;
}

.indent {
    padding-left: 1.5rem;
}

.json-brace {
    color: #f8f8f2;
}

.json-key {
    color: #8be9fd;
}

.json-string {
    color: #f1fa8c;
}

.json-bracket {
    color: #ff79c6;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--space-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 182, 186, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: var(--space-sm);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-sm);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-note {
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(45, 182, 186, 0.1) 0%, rgba(54, 119, 188, 0.05) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
}

.contact-note p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 320px;
}

.footer-logo {
    height: 32px;
    width: auto;
    /* Reset margins as we have a proper layout now */
    margin: 0;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-heading {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-location {
    opacity: 0.8;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto var(--space-md);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ===================================
   ANIMATIONS
   =================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-fade-up:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-up:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-fade-up:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* Scroll animations */
.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: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

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

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

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-subtle);
    }

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

    .nav-menu a {
        font-size: 1.25rem;
    }

    .nav-cta {
        margin-top: var(--space-sm);
    }

    .hero {
        padding-top: calc(var(--space-3xl) + 60px);
    }

    .hero-scroll {
        display: none;
    }

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

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    .stat {
        align-items: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
}

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .about-card {
        padding: var(--space-lg);
    }

    .about-logo img {
        width: 150px;
    }
}

/* ===================================
   PHOSPHOR ICONS
   =================================== */
.icon-wave,
.icon-heart {
    font-size: 1.25em;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

.icon-wave {
    color: #2db6ba;
    /* Yellow-500 */
    margin-left: 4px;
}

.icon-heart {
    color: #ef4444;
    /* Red-500 */
    margin: 0 4px;
}