/* ==========================================================================
   SHOAIB KHAN PORTFOLIO - AESTHETIC DREAMY GLASS & IRIDESCENT 3D STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Bright Dreamy Glass & Pastel Lux */
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(255, 255, 255, 0.9);
    --border-subtle: rgba(226, 232, 240, 0.7);
    
    /* Brand Accent Colors */
    --primary-pink: #ec4899;
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-rose: #f43f5e;
    --accent-gold: #f59e0b;
    --accent-emerald: #10b981;
    
    /* Gradients */
    --gradient-pink-purple: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-iridescent: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #38bdf8 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-ig: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --gradient-fb: linear-gradient(135deg, #1877f2 0%, #0056b3 100%);

    /* Typography */
    --font-heading: 'Outfit', 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Shadows */
    --shadow-glass: 0 16px 40px -10px rgba(112, 144, 176, 0.15), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
    --shadow-hover: 0 24px 48px -12px rgba(236, 72, 153, 0.22), 0 0 2px 1px rgba(255, 255, 255, 1) inset;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.55;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Three.js Background Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Ambient Glowing Background Orbs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
    animation: floatGlow 14s infinite ease-in-out alternate;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    top: 40%;
    right: -150px;
    animation-delay: -5s;
}

.glow-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -50px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   3. Glassmorphism Design System Components
   -------------------------------------------------------------------------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.glass-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 7px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.975rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-pink-purple);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.42);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-glass:hover {
    background: #ffffff;
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 30px;
}

.btn-block {
    width: 100%;
}

/* Highlights & Text Spans */
.highlight-pink {
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.highlight-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

/* --------------------------------------------------------------------------
   4. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.navbar-container {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-sparkle {
    color: var(--primary-pink);
    font-size: 1.15rem;
    animation: spinSparkle 4s linear infinite;
}

@keyframes spinSparkle {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 5px 12px;
    border-radius: 20px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-pink);
    background: rgba(236, 72, 153, 0.08);
}

.btn-nav-cta {
    background: var(--gradient-pink-purple);
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 30px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Hero Section & 3D Typography
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 95vh;
    padding: 130px 24px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* 3D Metallic Rose Gold Title Effect */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 6.2vw, 5.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #1e293b 0%, #ec4899 40%, #8b5cf6 70%, #0f172a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 580px;
    font-weight: 500;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-subtle);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tag-pill i {
    color: var(--primary-pink);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

/* Hero Avatar & 3D Glass Container */
.hero-avatar-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-3d-frame {
    position: relative;
    width: 360px;
    height: 450px;
    border-radius: 32px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-glass);
}

.avatar-ring-glow {
    position: absolute;
    inset: -10px;
    border-radius: 40px;
    background: var(--gradient-iridescent);
    opacity: 0.35;
    filter: blur(18px);
    z-index: -1;
    animation: rotateGlow 10s infinite linear;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

/* Transparent Overlay Shield Blocking Right-Click & Mobile Long-Press */
.photo-protection-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    bottom: 14px;
    border-radius: 24px;
    z-index: 5;
    background: transparent;
    pointer-events: auto;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 8px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    animation: floatBadge 4s infinite ease-in-out alternate;
}

.badge-sales {
    top: 20px;
    left: -35px;
}

.badge-reach {
    bottom: 70px;
    right: -35px;
    animation-delay: -2s;
}

.badge-audience {
    bottom: -15px;
    left: 15px;
    animation-delay: -3s;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    background: var(--gradient-pink-purple);
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.badge-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. General Section Styles & ORIGINAL Card Grid
   -------------------------------------------------------------------------- */
.section-padding {
    padding: 90px 24px;
}

.bg-soft-ambient {
    background: rgba(255, 255, 255, 0.4);
}

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

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

.section-header {
    max-width: 720px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.card-grid {
    display: grid;
    gap: 24px;
}

.three-cols {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.two-cols {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
}

/* Original Social Card Styling */
.social-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.725rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pink-tag { background: rgba(236, 72, 153, 0.12); color: var(--primary-pink); }
.purple-tag { background: rgba(139, 92, 246, 0.12); color: var(--primary-purple); }
.gold-tag { background: rgba(245, 158, 11, 0.12); color: var(--accent-gold); }
.fb-tag { background: rgba(24, 119, 242, 0.12); color: #1877f2; }

.metric-pill {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.775rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.highlight-pill {
    background: var(--gradient-pink-purple);
    color: #ffffff;
}

/* Social Handle Button */
.social-handle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    width: 100%;
}

.ig-theme {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(236, 72, 153, 0.3);
    color: var(--text-primary);
}

.ig-theme i.fa-instagram {
    background: var(--gradient-ig);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.45rem;
}

.ig-theme:hover {
    background: var(--gradient-ig);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.28);
}

.ig-theme:hover i.fa-instagram {
    -webkit-text-fill-color: #ffffff;
}

.fb-theme {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(24, 119, 242, 0.3);
    color: var(--text-primary);
}

.fb-theme i.fa-facebook {
    color: #1877f2;
    font-size: 1.45rem;
}

.fb-theme:hover {
    background: var(--gradient-fb);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.28);
}

.fb-theme:hover i.fa-facebook {
    color: #ffffff;
}

.external-icon {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Portrait Stats Row */
.stats-counter-row {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.75);
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

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

.sub-stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.sub-stat-lbl {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-description {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.verified-tag i {
    color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   7. Developer Showcase & Filterable Projects (Imageless Clean Cards)
   -------------------------------------------------------------------------- */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-glass);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tech-pill i {
    color: var(--primary-pink);
    margin-right: 6px;
}

.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-glass);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-pink-purple);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

/* Clean Imageless Developer Cards */
.project-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    gap: 16px;
    border-radius: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-smooth);
}

.project-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.project-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-code-tag {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    border-radius: 12px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech-tags span {
    background: rgba(236, 72, 153, 0.08);
    color: var(--primary-pink);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.775rem;
    font-weight: 700;
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

/* --------------------------------------------------------------------------
   8. Contact Section & Dynamic Form
   -------------------------------------------------------------------------- */
.contact-box-wrapper {
    padding: 46px;
    border-radius: 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-top: 10px;
    line-height: 1.2;
}

.contact-sub {
    font-size: 1.025rem;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 28px;
}

.contact-social-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.contact-social-item:hover {
    background: #ffffff;
    border-color: var(--primary-pink);
    transform: translateX(5px);
}

.social-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
}

.social-icon-box.ig { background: var(--gradient-ig); }
.social-icon-box.fb { background: var(--gradient-fb); }

.item-label {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.item-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* Glass Form Styles */
.glass-form {
    background: rgba(255, 255, 255, 0.88);
    padding: 34px;
    border-radius: 26px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(241, 245, 249, 0.7);
}

.select-with-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.account-select-icon {
    position: absolute;
    left: 14px;
    font-size: 1.1rem;
    color: var(--primary-pink);
    pointer-events: none;
    z-index: 2;
}

.select-with-icon-wrapper select {
    padding-left: 42px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
    background: #ffffff;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--primary-rose) !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15) !important;
}

.field-error-msg {
    font-size: 0.775rem;
    color: var(--primary-rose);
    font-weight: 700;
    display: none;
    margin-top: 2px;
}

.form-group.invalid .field-error-msg {
    display: block;
}

.message-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-counter {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: auto;
}

.char-counter.valid {
    color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   9. Footer Section (Clean Borderless & Transparent Background)
   -------------------------------------------------------------------------- */
.footer-section {
    margin: 35px auto 20px;
    padding: 35px 24px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 1200px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.footer-social-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
}

.footer-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.footer-icon-btn:hover {
    background: var(--gradient-pink-purple);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Modals & Toast Notifications
   -------------------------------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    max-width: 660px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 1.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close-btn:hover {
    color: var(--primary-pink);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 26px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-smooth);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.error-toast {
    border-left: 4px solid var(--primary-rose);
}

.toast-notification.error-toast .toast-icon {
    color: var(--primary-rose);
}

.toast-icon {
    color: var(--accent-emerald);
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-avatar-wrapper {
        margin-top: 10px;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        margin: 0 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .avatar-3d-frame {
        width: 290px;
        height: 370px;
    }

    .badge-sales { left: -10px; }
    .badge-reach { right: -10px; }

    .three-cols, .two-cols {
        grid-template-columns: 1fr;
    }

    .social-card {
        min-height: auto;
    }

    .contact-box-wrapper {
        padding: 24px;
    }

    .glass-form {
        padding: 24px;
    }
}
