/* ===================================
   MOMEN TECHNOLOGIES LLC
   Dark Modern Design - Mobile First
   =================================== */

/* ===================================
   CSS Variables - Dark Theme
   =================================== */
:root {
    --primary-dark: #0A1929;           /* Deep Navy */
    --primary-teal: #1E3A4C;           /* Dark Teal */
    --accent-teal: #2DD4BF;            /* Bright Teal/Cyan */
    --accent-emerald: #34D399;         /* Emerald */
    --accent-gold: #FCD34D;            /* Gold */
    --text-light: #F9FAFB;             /* Almost White */
    --text-gray: #9CA3AF;              /* Light Gray */
    --text-dim: #6B7280;               /* Dim Gray */
    --background-dark: #0F1419;        /* Very Dark */
    --background-card: #1A2332;        /* Card Background */
    --border-color: #2D3748;
    --shadow-glow: 0 0 20px rgba(45, 212, 191, 0.15);
    --shadow-glow-lg: 0 0 40px rgba(45, 212, 191, 0.25);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===================================
   Container
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-emerald));
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: var(--shadow-glow);
    animation: expandWidth 0.8s ease-out 0.2s both;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.1);
}

.btn-secondary:hover {
    background: rgba(45, 212, 191, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   Navigation - Modern Premium Design
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg,
        rgba(10, 25, 41, 0.95) 0%,
        rgba(10, 25, 41, 0.9) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: linear-gradient(180deg,
        rgba(10, 25, 41, 0.98) 0%,
        rgba(10, 25, 41, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(45, 212, 191, 0.1),
                0 4px 24px rgba(45, 212, 191, 0.08);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.navbar.scrolled .logo img {
    width: 42px;
    height: 42px;
}

.navbar.scrolled .logo-text {
    font-size: 1.1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(45, 212, 191, 0.6));
    transition: all 0.4s ease;
    position: relative;
}

.logo:hover img {
    filter: drop-shadow(0 0 24px rgba(45, 212, 191, 0.9));
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--text-light), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hamburger Menu */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    background: rgba(45, 212, 191, 0.05);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-toggle:hover {
    background: rgba(45, 212, 191, 0.12);
    border-color: rgba(45, 212, 191, 0.4);
    transform: scale(1.05);
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.4);
}

.nav-toggle.active {
    background: rgba(45, 212, 191, 0.15);
    border-color: var(--accent-teal);
}

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

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

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

/* Mobile Menu - Full Screen Overlay */
.nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg,
        rgba(10, 25, 41, 0.98) 0%,
        rgba(15, 20, 25, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.nav-menu-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    gap: 0;
    list-style: none;
}

.nav-menu li {
    width: 100%;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-menu-wrapper.active li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu-wrapper.active li:nth-child(2) { transition-delay: 0.15s; }
.nav-menu-wrapper.active li:nth-child(3) { transition-delay: 0.2s; }
.nav-menu-wrapper.active li:nth-child(4) { transition-delay: 0.25s; }
.nav-menu-wrapper.active li:nth-child(5) { transition-delay: 0.3s; }
.nav-menu-wrapper.active li:nth-child(6) { transition-delay: 0.35s; }

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.75rem;
    padding: 1.25rem 2rem;
    position: relative;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(45, 212, 191, 0.02);
    border: 1px solid rgba(45, 212, 191, 0.1);
    margin-bottom: 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.3);
    color: var(--accent-teal);
    transform: translateX(8px);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

/* CTA Button in Nav */
.nav-cta {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    font-weight: 600;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.3);
    margin-top: 1rem;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-teal));
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.5);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-cta i {
    transition: transform 0.3s ease;
}

.nav-cta:hover i {
    transform: translateX(5px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1.25rem 6rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(45, 212, 191, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #0A1929 0%, #1E3A4C 50%, #0F1419 100%);
    z-index: -1;
    animation: bgPulse 15s ease-in-out infinite;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(45, 212, 191, 0.02) 2px,
            rgba(45, 212, 191, 0.02) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(45, 212, 191, 0.02) 2px,
            rgba(45, 212, 191, 0.02) 4px);
    opacity: 0.5;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle,
            rgba(45, 212, 191, 0.1) 1px,
            transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

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

.hero-content {
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-logo {
    margin-bottom: 3.5rem;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoPulse 3s ease-in-out infinite;
}

.hero-logo img {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(45, 212, 191, 0.6));
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
    transition: filter 0.4s ease;
}

.hero-logo img:hover {
    filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.8));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    background: linear-gradient(135deg,
        var(--text-light) 0%,
        var(--accent-teal) 50%,
        var(--accent-emerald) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out 0.2s both, textShine 3s ease-in-out infinite;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    color: var(--text-gray);
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 1rem 1.5rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(45, 212, 191, 0.05),
        rgba(52, 211, 153, 0.05));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-subtitle:hover::before {
    opacity: 1;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    z-index: 10;
    margin-bottom: 8rem;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    position: relative;
    overflow: visible;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.hero-buttons .btn:hover::after {
    opacity: 0.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-teal);
    opacity: 0.85;
    animation: bounceSmooth 2.5s ease-in-out infinite;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 25, 41, 0.6);
    border-radius: 50px;
    border: 1px solid rgba(45, 212, 191, 0.3);
    backdrop-filter: blur(15px);
    z-index: 5;
}

.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--accent-teal);
}

.scroll-indicator i {
    font-size: 1.2rem;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.6));
    animation: arrowBounce 1.5s ease-in-out infinite;
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: var(--background-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray);
    animation: fadeInUp 0.6s ease-out both;
}

.about-text p:nth-child(2) { animation-delay: 0.1s; }
.about-text p:nth-child(3) { animation-delay: 0.2s; }

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.mv-card {
    background: linear-gradient(135deg, var(--background-card), var(--primary-teal));
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-dark);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

.mv-card:nth-child(1) { animation-delay: 0.3s; }
.mv-card:nth-child(2) { animation-delay: 0.4s; }

.mv-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow-lg), var(--shadow-dark);
    border-color: var(--accent-teal);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.mv-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.mv-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.values {
    margin: 3rem 0;
}

.values h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s ease-out forwards;
}

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }
.value-item:nth-child(4) { animation-delay: 0.4s; }
.value-item:nth-child(5) { animation-delay: 0.5s; }

.value-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-glow);
}

.value-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-item span {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.brand-story {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--background-card);
    border-left: 4px solid var(--accent-teal);
    border-radius: 12px;
    box-shadow: var(--shadow-dark);
    animation: slideInLeft 0.8s ease-out;
}

.brand-story h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.brand-story p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--background-dark);
    position: relative;
}

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

.service-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-dark);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-emerald));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-glow-lg), var(--shadow-dark);
    border-color: var(--accent-teal);
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-icon i {
    font-size: 2.25rem;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    background: var(--background-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-dark);
    transition: var(--transition-slow);
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 0.6s ease-out forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-glow-lg), var(--shadow-dark);
    border-color: var(--accent-teal);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

.portfolio-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.5), rgba(45, 212, 191, 0.3));
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-placeholder::after {
    opacity: 0.7;
}

/* Gradient fallbacks for each project (used until real images are added) */
.portfolio-placeholder.asksheikh {
    background-image:
        linear-gradient(135deg, rgba(26, 58, 82, 0.8), rgba(45, 212, 191, 0.8)),
        url('https://images.unsplash.com/photo-1564769610851-78c5c02e4abd?w=800&auto=format&fit=crop&q=80');
    background-color: #1a3a52; /* Fallback color */
}

.portfolio-placeholder.salahlock {
    background-image:
        linear-gradient(135deg, rgba(52, 211, 153, 0.6), rgba(10, 25, 41, 0.8)),
        url('https://images.unsplash.com/photo-1518176258769-f227c798150e?w=800&auto=format&fit=crop&q=80');
    background-color: #34D399; /* Fallback color */
}

.portfolio-placeholder.nestegg {
    background-image:
        linear-gradient(135deg, rgba(252, 211, 77, 0.6), rgba(52, 211, 153, 0.7)),
        url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=800&auto=format&fit=crop&q=80');
    background-color: #FCD34D; /* Fallback color */
}

.portfolio-placeholder.ummah {
    background-image:
        linear-gradient(135deg, rgba(10, 25, 41, 0.7), rgba(45, 212, 191, 0.7)),
        url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=800&auto=format&fit=crop&q=80');
    background-color: #0A1929; /* Fallback color */
}

.portfolio-placeholder.coverstory {
    background-image:
        linear-gradient(135deg, rgba(45, 212, 191, 0.6), rgba(30, 58, 76, 0.8)),
        url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=800&auto=format&fit=crop&q=80');
    background-color: #2DD4BF; /* Fallback color */
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.tag:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 1rem;
}

.portfolio-link:hover {
    color: var(--accent-emerald);
    transform: translateX(5px);
}

.portfolio-status {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
    font-family: 'Montserrat', sans-serif;
}

/* ===================================
   Work With Us Section
   =================================== */
.work-with-us {
    background: var(--background-dark);
}

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

.work-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-dark);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRight 0.6s ease-out forwards;
}

.work-card:nth-child(1) { animation-delay: 0.1s; }
.work-card:nth-child(2) { animation-delay: 0.2s; }
.work-card:nth-child(3) { animation-delay: 0.3s; }

.work-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-glow-lg), var(--shadow-dark);
    border-color: var(--accent-teal);
}

.work-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.work-icon i {
    font-size: 2.25rem;
    color: var(--primary-dark);
}

.work-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.work-card > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.work-list {
    list-style: none;
}

.work-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.work-list i {
    color: var(--accent-teal);
    font-size: 1rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    border-radius: 16px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out;
    box-shadow: var(--shadow-glow-lg);
}

.cta-section h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--background-dark);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.15);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-details a {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-details a:hover {
    color: var(--accent-emerald);
}

.contact-details p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--background-card);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-dark);
    animation: fadeInUp 0.8s ease-out;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-dark);
    border: 2px solid rgba(45, 212, 191, 0.2);
    border-radius: 12px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

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

.contact-form button {
    width: 100%;
}

.contact-form .required {
    color: var(--accent-teal);
}

.form-message {
    display: none;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.form-message.active {
    display: block;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(45, 212, 191, 0.2);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.5));
}

.footer-logo h3 {
    font-size: 1.25rem;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    color: var(--accent-teal);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    transition: var(--transition);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.footer-contact a {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 212, 191, 0.2);
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.6s ease-out;
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.15);
    box-shadow: var(--shadow-glow-lg);
}

/* ===================================
   Keyframe Animations
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoPulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.8));
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes bgFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(360deg);
    }
}

@keyframes navShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes bgDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

@keyframes logoRotateGlow {
    0% {
        filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.8))
                drop-shadow(0 0 20px rgba(52, 211, 153, 0.6));
    }
    25% {
        filter: drop-shadow(0 0 50px rgba(52, 211, 153, 0.9))
                drop-shadow(0 0 25px rgba(45, 212, 191, 0.7));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.8))
                drop-shadow(0 0 20px rgba(52, 211, 153, 0.6));
    }
    75% {
        filter: drop-shadow(0 0 50px rgba(252, 211, 77, 0.7))
                drop-shadow(0 0 25px rgba(45, 212, 191, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.8))
                drop-shadow(0 0 20px rgba(52, 211, 153, 0.6));
    }
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounceSmooth {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ===================================
   Responsive - Tablet
   =================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 5rem 0;
    }

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

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

    .hero-subtitle {
        font-size: 1.35rem;
        padding: 1.25rem 2rem;
        margin-bottom: 4rem;
    }

    .hero-logo {
        margin-bottom: 4rem;
    }

    .hero-logo img {
        width: 180px;
        height: 180px;
    }

    .hero-logo::before {
        width: 250px;
        height: 250px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10rem;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Responsive - Desktop
   =================================== */
@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }

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

    .logo-text {
        display: inline;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu-wrapper {
        position: static;
        opacity: 1;
        visibility: visible;
        background: transparent;
        backdrop-filter: none;
        height: auto;
        width: auto;
    }

    .nav-menu {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 0.5rem;
        height: auto;
    }

    .nav-menu li {
        opacity: 1;
        transform: translateY(0);
        width: auto;
        max-width: none;
        margin-bottom: 0;
    }

    .nav-link {
        font-family: 'Poppins', sans-serif;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.75rem 1.25rem;
        border-radius: 10px;
        background: transparent;
        border: 1px solid transparent;
        transition: all 0.3s ease;
        margin-bottom: 0;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(45, 212, 191, 0.08);
        border-color: rgba(45, 212, 191, 0.2);
        color: var(--accent-teal);
        transform: translateY(-2px);
    }

    .nav-cta {
        background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
        color: var(--primary-dark);
        font-weight: 600;
        border: 2px solid transparent;
        box-shadow: 0 4px 16px rgba(45, 212, 191, 0.3);
        margin-top: 0;
        margin-left: 0.5rem;
    }

    .nav-cta:hover {
        background: linear-gradient(135deg, var(--accent-emerald), var(--accent-teal));
        box-shadow: 0 6px 20px rgba(45, 212, 191, 0.5);
        transform: translateY(-3px) scale(1.05);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .hero {
        padding: 140px 2rem 8rem;
    }

    .hero-logo {
        margin-bottom: 4.5rem;
    }

    .hero-logo img {
        width: 220px;
        height: 220px;
    }

    .hero-logo::before {
        width: 320px;
        height: 320px;
    }

    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        padding: 1.5rem 2.5rem;
        margin-bottom: 4.5rem;
    }

    .hero-buttons {
        margin-bottom: 12rem;
    }

    .scroll-indicator {
        bottom: 3.5rem;
        padding: 0.85rem 1.75rem;
    }

    .scroll-indicator span {
        font-size: 0.7rem;
    }

    .scroll-indicator i {
        font-size: 1.3rem;
    }

    .nav-container {
        padding: 1.75rem 3rem;
    }

    .mission-vision {
        flex-direction: row;
    }

    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrapper {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form-wrapper {
        flex: 1.5;
        padding: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===================================
   Focus Indicators & Keyboard Navigation
   =================================== */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
}

.skip-link:focus {
    top: 0;
}

/* Global focus styles */
*:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Specific focus improvements */
.btn:focus {
    outline: 3px solid var(--accent-emerald);
    outline-offset: 4px;
}

.nav-link:focus {
    background: rgba(45, 212, 191, 0.15);
    outline: 2px solid var(--accent-teal);
    outline-offset: -2px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}

.social-links a:focus,
.footer-social a:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 4px;
    transform: scale(1.1);
}

.portfolio-link:focus,
.contact-details a:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
    text-decoration: underline;
}

.scroll-indicator:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 4px;
    opacity: 1;
}

.back-to-top:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 4px;
}

/* Remove outline for mouse users, keep for keyboard */
.btn:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Button disabled state */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    color: var(--primary-dark);
}

@keyframes spin {
    to { transform: translate(50%, -50%) rotate(360deg); }
}

/* Form field error state */
input.error,
textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: none;
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message.active {
    display: block;
}

input:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

input:valid:not(:placeholder-shown) {
    border-color: #10B981;
}

/* Hover state for scroll indicator */
.scroll-indicator:hover {
    opacity: 1;
    cursor: pointer;
    background: rgba(10, 25, 41, 0.8);
    border-color: rgba(45, 212, 191, 0.5);
    transform: translateX(-50%) translateY(-3px);
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--text-light);
    }

    *:focus {
        outline-width: 4px;
        outline-color: #fff;
    }
}

/* ===================================
   Floating Butterflies Animation
   =================================== */
.butterfly-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.butterfly {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.6));
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease;
    will-change: transform;
}

.butterfly svg {
    width: 100%;
    height: 100%;
    animation: butterflyWings 0.4s ease-in-out infinite alternate;
}

/* Different sizes for variety */
.butterfly.small {
    width: 25px;
    height: 25px;
}

.butterfly.medium {
    width: 35px;
    height: 35px;
}

.butterfly.large {
    width: 50px;
    height: 50px;
}

/* Wing flapping animation - more pronounced */
@keyframes butterflyWings {
    0% {
        transform: scaleX(1) rotateY(0deg);
    }
    50% {
        transform: scaleX(0.7) rotateY(10deg);
    }
    100% {
        transform: scaleX(1) rotateY(0deg);
    }
}

/* Hover effect - butterflies flutter away when you get close */
.butterfly:hover {
    opacity: 0.9;
    filter: drop-shadow(0 0 16px rgba(45, 212, 191, 1));
}

/* Alert state - awareness zone (400px) */
.butterfly.alert {
    opacity: 0.85;
    filter: drop-shadow(0 0 12px rgba(45, 212, 191, 0.7));
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Nervous state - caution zone (250px) */
.butterfly.nervous {
    opacity: 0.9;
    filter: drop-shadow(0 0 16px rgba(45, 212, 191, 0.85))
            drop-shadow(0 0 8px rgba(52, 211, 153, 0.6));
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Panicking state - panic/ultra-close zone (120px/60px) */
.butterfly.panicking {
    opacity: 1;
    filter: drop-shadow(0 0 24px rgba(45, 212, 191, 1))
            drop-shadow(0 0 12px rgba(52, 211, 153, 0.9))
            drop-shadow(0 0 6px rgba(252, 211, 77, 0.5));
    transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Legacy fleeing class (backwards compatibility) */
.butterfly.fleeing {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(45, 212, 191, 1)) drop-shadow(0 0 10px rgba(52, 211, 153, 0.8));
}

/* Entering state - smooth fade in */
.butterfly.entering {
    pointer-events: none;
}

/* Exiting state - smooth fade out */
.butterfly.exiting {
    pointer-events: none;
    transition: opacity 3s ease-out, transform 3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .butterfly {
        animation: none;
        opacity: 0 !important;
    }

    .butterfly svg {
        animation: none;
    }
}
