/* ============================================
   Web Mahal Web Services — Design System
   Color palette derived from logo: Sky Blue / Cyan / White
   ============================================ */

:root {
    --bg-dark: #0B1120;
    --bg-section: #0F172A;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    --card-border: rgba(56, 189, 248, 0.12);
    --card-border-hover: rgba(56, 189, 248, 0.25);

    --primary: #38BDF8;
    --primary-dark: #0EA5E9;
    --primary-glow: rgba(56, 189, 248, 0.15);
    --secondary: #06B6D4;
    --accent: #2DD4BF;
    --accent-warm: #818CF8;

    --text-primary: #F0F9FF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --gradient-primary: linear-gradient(135deg, #38BDF8, #06B6D4);
    --gradient-accent: linear-gradient(135deg, #38BDF8, #2DD4BF);
    --gradient-hero: linear-gradient(135deg, #0EA5E9, #06B6D4, #2DD4BF);
    --gradient-warm: linear-gradient(135deg, #818CF8, #38BDF8);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Base & Reset
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*::selection {
    background: rgba(56, 189, 248, 0.3);
    color: var(--text-primary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

* {
    overflow-wrap: break-word;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 1rem;
}

/* ============================================
   Glassmorphism Utility
   ============================================ */

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem auto;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.7;
}

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a span {
    position: relative;
    z-index: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.nav-login-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff !important;
    background: var(--gradient-primary);
    padding: 0.6rem 1.3rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    color: #fff !important;
}

.nav-login-link::after {
    display: none;
}

.nav-login-link i {
    font-size: 0.85rem;
}

/* Domains & Hosting dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-dropdown-trigger:hover {
    color: var(--primary);
}

.nav-dropdown-caret {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu::before {
    /* invisible hover bridge — keeps :hover alive while the cursor crosses
       the visual gap between the trigger and the dropdown panel */
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    height: 1rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 220px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu .nav-link-utility {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-dropdown-menu .nav-link-utility:hover {
    color: var(--primary);
    background: rgba(56, 189, 248, 0.08);
}

.nav-dropdown-menu .nav-link-utility::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--primary);
}

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

.nav-dropdown-menu .nav-link-icon {
    display: inline-flex;
    width: 18px;
    margin-right: 0.7rem;
    font-size: 0.85rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.nav-backdrop {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(56, 189, 248, 0.4);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.hero-highlights {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-badge i {
    color: var(--accent);
    font-size: 0.8rem;
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-container {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.15);
    animation: pulseRing 4s ease-in-out infinite;
}

.hero-logo-ring:nth-child(2) {
    inset: -20px;
    border-color: rgba(6, 182, 212, 0.1);
    animation-delay: 1s;
}

.hero-logo-ring:nth-child(3) {
    inset: -40px;
    border-color: rgba(45, 212, 191, 0.05);
    animation-delay: 2s;
}

@keyframes pulseRing {

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

    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.hero-logo-img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatLogo {

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

    50% {
        transform: translateY(-15px);
    }
}

/* Floating tech icons around the logo */
.hero-float-icons {
    position: absolute;
    inset: -60px;
}

.float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    animation: floatIcon 5s ease-in-out infinite;
}

.float-icon:nth-child(1) {
    top: 5%;
    left: -5%;
    animation-delay: 0s;
}

.float-icon:nth-child(2) {
    top: 15%;
    right: -8%;
    animation-delay: 0.8s;
}

.float-icon:nth-child(3) {
    bottom: 20%;
    left: -10%;
    animation-delay: 1.6s;
}

.float-icon:nth-child(4) {
    bottom: 5%;
    right: -3%;
    animation-delay: 2.4s;
}

.float-icon:nth-child(5) {
    top: 45%;
    left: -15%;
    animation-delay: 0.4s;
}

.float-icon:nth-child(6) {
    top: 40%;
    right: -12%;
    animation-delay: 1.2s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* ============================================
   Trusted Expertise / Stats
   ============================================ */

.trusted-expertise {
    padding: 5rem 0;
}

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

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--primary);
    transition: all 0.3s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background: rgba(56, 189, 248, 0.15);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

.color-1 {
    color: var(--primary);
}

.color-2 {
    color: var(--secondary);
}

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

.color-4 {
    color: var(--accent-warm);
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(-3deg);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

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

/* Service icon colors */
.color-webdev {
    background: rgba(255, 45, 32, 0.12);
    color: #FF2D20;
}

.color-wordpress {
    background: rgba(33, 117, 155, 0.12);
    color: #21759B;
}

.color-crm {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
}

.color-mobile {
    background: rgba(2, 119, 189, 0.12);
    color: #0277BD;
}

.color-aws {
    background: rgba(255, 153, 0, 0.12);
    color: #FF9900;
}

.color-speed {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.color-api {
    background: rgba(6, 182, 212, 0.12);
    color: var(--secondary);
}

.color-maintenance {
    background: rgba(45, 212, 191, 0.12);
    color: var(--accent);
}

.color-marketing {
    background: rgba(236, 72, 153, 0.12);
    color: #EC4899;
}

.color-uiux {
    background: rgba(129, 140, 248, 0.12);
    color: var(--accent-warm);
}

.color-domain {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
}

.color-hosting {
    background: rgba(139, 92, 246, 0.12);
    color: #8B5CF6;
}

.color-email {
    background: rgba(244, 63, 94, 0.12);
    color: #F43F5E;
}

/* ============================================
   About Section
   ============================================ */

#about {
    padding: 6rem 0;
}

.about-container {
    padding: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    line-height: 1.8;
}

.feature-item {
    padding: 0.5rem 0;
}

.about-highlights {
    padding: 2rem;
}

.about-highlights h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.2rem;
}

/* ============================================
   Technologies / Skills Section
   ============================================ */

#technologies {
    padding: 6rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.skill-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.skill-card:hover .skill-icon-wrapper {
    transform: rotate(-5deg) scale(1.1);
}

.skill-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    padding: 0.35rem 0.8rem;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
}

.skill-badge:hover {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
    border-color: rgba(56, 189, 248, 0.25);
}

/* Skill icon colors */
.color-backend {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
}

.color-frontend {
    background: rgba(6, 182, 212, 0.12);
    color: var(--secondary);
}

.color-database {
    background: rgba(45, 212, 191, 0.12);
    color: var(--accent);
}

.color-cloud {
    background: rgba(255, 153, 0, 0.12);
    color: #FF9900;
}

.color-devops {
    background: rgba(129, 140, 248, 0.12);
    color: var(--accent-warm);
}

.color-cms {
    background: rgba(33, 117, 155, 0.12);
    color: #21759B;
}

.color-tools {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

/* ============================================
   Portfolio / Projects Section
   ============================================ */

#portfolio {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    cursor: default;
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-info {
    padding: 1.8rem;
}

.project-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.project-tag {
    padding: 0.3rem 0.7rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-project-view,
.btn-project-case {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-project-view {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn-project-view:hover {
    background: rgba(56, 189, 248, 0.2);
}

.btn-project-case {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.btn-project-case:hover {
    color: var(--primary);
    border-color: rgba(56, 189, 248, 0.2);
}

/* ============================================
   Journey / Timeline Section
   ============================================ */

#journey {
    padding: 6rem 0;
}

.modern-timeline {
    position: relative;
    padding-left: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.75rem;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -2.55rem;
    top: 2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    z-index: 1;
}

.timeline-content {
    padding: 2rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-role {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-achievements {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.timeline-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

#why-choose-us {
    padding: 6rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.why-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 1rem auto 1.5rem;
    transition: all 0.4s;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.color-experience {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
}

.color-agile {
    background: rgba(6, 182, 212, 0.12);
    color: var(--secondary);
}

.color-support {
    background: rgba(45, 212, 191, 0.12);
    color: var(--accent);
}

.color-delivery {
    background: rgba(129, 140, 248, 0.12);
    color: var(--accent-warm);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    padding: 6rem 0;
}

.testimonials-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 0.5rem;
}

.testimonial-card {
    padding: 2.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.client-info {
    flex: 1;
}

.client-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.rating {
    display: flex;
    gap: 0.2rem;
    color: #FBBF24;
    font-size: 0.85rem;
}

.testimonial-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 6rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    transition: color 0.3s;
}

.faq-trigger:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
}

.faq-answer-inner p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   Contact Section
   ============================================ */

.section-glow {
    position: relative;
}

.section-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

#contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    width: fit-content;
}

.status-indicator-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
}

.contact-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon-wrapper.secondary {
    background: rgba(6, 182, 212, 0.12);
    color: var(--secondary);
}

.contact-icon-wrapper.accent {
    background: rgba(45, 212, 191, 0.12);
    color: var(--accent);
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

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

.response-time-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.response-time-card i {
    color: var(--accent);
}

.response-time-card strong {
    color: var(--primary);
}

.contact-social-card {
    padding: 1.5rem;
}

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

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.1);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--primary);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-right-form-wrapper {
    padding: 2.5rem;
}

.form-fields-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.3s ease;
}

/* Floating Label */
.floating-group {
    position: relative;
}

.floating-group input,
.floating-group textarea,
.floating-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.floating-group input:focus,
.floating-group textarea:focus,
.floating-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.floating-group label {
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

.floating-group input:focus~label,
.floating-group input:not(:placeholder-shown)~label,
.floating-group textarea:focus~label,
.floating-group textarea:not(:placeholder-shown)~label {
    top: -0.6rem;
    left: 0.9rem;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--bg-dark);
    padding: 0 0.3rem;
    font-weight: 600;
}

.floating-group select~label {
    top: -0.6rem;
    left: 0.9rem;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--bg-dark);
    padding: 0 0.3rem;
    font-weight: 600;
}

.floating-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.floating-group textarea {
    resize: vertical;
    min-height: 120px;
}

.floating-group input.invalid,
.floating-group textarea.invalid,
.floating-group select.invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-error {
    display: none;
    color: #EF4444;
    font-size: 0.78rem;
    margin-top: 0.4rem;
    font-weight: 500;
    padding-left: 0.2rem;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 1rem;
    font-size: 1rem;
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.form-submit-error {
    display: none;
    color: #EF4444;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    margin-top: -0.5rem;
}

/* Success Animation */
.form-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success-container.visible {
    opacity: 1;
    transform: scale(1);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent);
    fill: none;
    animation: checkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--accent);
    animation: checkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes checkStroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.form-success-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.form-success-container p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(56, 189, 248, 0.06);
    padding-top: 5rem;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-col-brand {
    padding-right: 1rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.footer-social-link:hover {
    color: var(--primary);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Newsletter */
.footer-newsletter-form {
    margin-top: 0.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-submit-btn {
    padding: 0.8rem 1.2rem;
    border-radius: 0;
    box-shadow: none;
}

.newsletter-submit-btn:hover {
    transform: none;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.06);
    margin-top: 3rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.15);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */

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

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Process / How We Work Section
   ============================================ */

#process {
    padding: 6rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent), var(--accent-warm));
    opacity: 0.2;
}

.process-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }

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

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

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

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

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }

    /* Mobile Nav — modern off-canvas drawer */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 360px);
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(11, 17, 32, 0.99));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(56, 189, 248, 0.12);
        box-shadow: -16px 0 50px rgba(0, 0, 0, 0.45);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 5.5rem 1.3rem 2rem;
        overflow-y: auto;
        z-index: 1000;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 1.02rem;
        font-weight: 600;
        padding: 0.9rem 0.9rem;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease, color 0.25s ease;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(56, 189, 248, 0.08);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-link-icon {
        display: inline-flex;
        width: 20px;
        margin-right: 0.85rem;
        font-size: 0.9rem;
        color: var(--primary);
        flex-shrink: 0;
    }

    .nav-link-utility {
        color: var(--text-secondary);
    }

    .nav-link-utility .nav-link-icon {
        color: var(--secondary);
    }

    /* Domains & Hosting group becomes a static, always-expanded block in the drawer */
    .nav-dropdown {
        width: 100%;
        border-top: 1px solid rgba(148, 163, 184, 0.15);
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }

    .nav-dropdown-trigger {
        width: 100%;
        padding: 0.5rem 0.9rem;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        cursor: default;
        pointer-events: none;
    }

    .nav-dropdown-caret {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.2rem;
    }

    .nav-dropdown-menu .nav-link-utility {
        font-size: 1.02rem;
        font-weight: 600;
        padding: 0.9rem 0.9rem;
        white-space: normal;
    }

    .nav-dropdown-menu .nav-link-icon {
        width: 20px;
        margin-right: 0.85rem;
        font-size: 0.9rem;
    }

    .nav-login-link {
        margin-top: 0.8rem;
        width: 100%;
        justify-content: center;
        padding: 1rem !important;
        font-size: 1.02rem;
    }

    .nav-links a.nav-login-link:hover,
    .nav-links a.nav-login-link.active {
        background: var(--gradient-primary);
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 16, 0.6);
        backdrop-filter: blur(3px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

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

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Hero */
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto 2rem;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .hero-logo-container {
        width: 260px;
        height: 260px;
    }

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

    .hero-float-icons {
        display: none;
    }

    /* Sections */
    .section-title {
        font-size: 1.8rem;
    }

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

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

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-container {
        padding: 2rem 1.5rem;
    }

    .contact-right-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

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

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

    .hero-highlights {
        font-size: 0.9rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-logo-container {
        width: 200px;
        height: 200px;
    }

    .hero-logo-img {
        width: 120px;
    }

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

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