/* ==========================================================================
   Design System & Theme Tokens (Dark & Light Mode)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Light Theme (Crisp Pure White) */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #f8fafc;
    --bg-input: #f8fafc;
    --border-light: #e2e8f0;
    --border-glow: rgba(16, 185, 129, 0.3);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --primary: #10b981;        /* Emerald Accent */
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);
    
    --secondary: #6366f1;      /* Indigo */
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(16, 185, 129, 0.15);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides (Pure Rich Black) */
[data-theme="dark"] {
    --bg-body: #000000;
    --bg-surface: #08090c;
    --bg-card: #10141f;
    --bg-alt: #050507;
    --bg-input: #141a29;
    --border-light: #1e2536;
    --border-glow: rgba(16, 185, 129, 0.4);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #000000;

    --primary: #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.35);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 25px 50px rgba(16, 185, 129, 0.2);
}

/* Preloader Screen */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-body);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-spinner {
    width: 46px;
    height: 46px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loader-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.loader-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for mobile bottom bar */
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Navigation Bar (Desktop & Mobile Header)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(11, 15, 23, 0.85);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

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

@media (max-width: 868px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
}

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

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

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

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

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-only {
    display: none;
}

@media (max-width: 868px) {
    .mobile-only {
        display: flex;
    }
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1050;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.drawer-link i {
    width: 24px;
    color: var(--primary);
}

.drawer-link:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

/* App-like Bottom Nav (Mobile) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
}

[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(17, 24, 39, 0.95);
}

@media (max-width: 868px) {
    .mobile-bottom-nav {
        display: flex;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 1.2rem;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
    color: var(--primary);
}

/* ==========================================================================
   Hero Section & Profile Picture
   ========================================================================== */

.hero {
    padding-top: 130px;
    padding-bottom: 80px;
    position: relative;
    background: var(--bg-body);
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 860px;
    margin: 0 auto;
}

.greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-glow);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-height: 40px;
    margin-bottom: 1.25rem;
}

.typing-text {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 4px;
}

.hero-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .hero-tags {
        justify-content: center;
    }
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .hero-actions {
        justify-content: center;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--primary);
    color: #ffffff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .hero-stats {
        justify-content: center;
    }
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

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

.social-links.centered {
    justify-content: center;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Fixed Hero Image Container (No Circle - Clean Squircle Portrait Card) */
.hero-image-container {
    position: relative;
    max-width: 340px;
    margin: 0 auto;
}

.hero-image-backdrop {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 28px;
    opacity: 0.25;
    filter: blur(28px);
    z-index: 0;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 22px;
    transition: transform 0.6s ease;
}

[data-theme="dark"] .hero-image-wrapper {
    background: #111827;
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .hero-image {
    filter: brightness(0.96) contrast(1.04);
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.floating-card.top-right {
    top: 5%;
    right: -25px;
}

.floating-card.bottom-left {
    bottom: 8%;
    left: -25px;
    animation-delay: 2.5s;
}

@media (max-width: 576px) {
    .floating-card.top-right {
        right: 0px;
        top: 2%;
    }
    .floating-card.bottom-left {
        left: 0px;
        bottom: 2%;
    }
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.python-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.db-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.card-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

/* ==========================================================================
   Generic Section Layouts
   ========================================================================== */

section {
    padding: 5.5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Skills Grid
   ========================================================================== */

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.skill-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ==========================================================================
   Timeline / Experience
   ========================================================================== */

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-left: 2px solid var(--border-light);
    padding-left: 25px;
}

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

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid var(--bg-body);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-dot.secondary {
    background: var(--secondary);
    box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-glow);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.role-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company-name {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

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

.timeline-points li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.role-tech-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border-light);
}

/* ==========================================================================
   Certifications
   ========================================================================== */

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

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.java-cert { color: var(--accent-blue); }
.aws-cert { color: #ff9900; }
.ibm-cert { color: #0f62fe; }
.python-cert { color: var(--primary); }

.cert-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.cert-issuer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-primary { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge-warning { background: rgba(255, 153, 0, 0.15); color: #ff9900; }
.badge-info { background: rgba(15, 98, 254, 0.15); color: #0f62fe; }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.cert-desc {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Projects Grid
   ========================================================================== */

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}

.project-img-wrapper {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.erp-bg {
    background: linear-gradient(135deg, #059669, #10b981, #064e3b);
}

.hospital-bg {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #0f172a);
}

.employee-bg {
    background: linear-gradient(135deg, #4f46e5, #6366f1, #312e81);
}

.project-icon {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-info {
    padding: 1.75rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

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

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

/* ==========================================================================
   Exact Contact Section & Modal (Styled like arjunms.in screenshot)
   ========================================================================== */

.contact-wrapper {
    max-width: 580px;
    margin: 0 auto;
    background: #111827; /* Dark card background */
    border: 1.5 solid #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15), 0 20px 40px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    color: #f8fafc;
}

.contact-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.contact-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-card-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-top: 2px;
}

.contact-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.contact-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.required-star {
    color: #10b981;
}

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

.input-with-icon i {
    position: absolute;
    left: 1.2rem;
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.input-with-icon.textarea-icon i {
    top: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    background: #1a2436;
    border: 1px solid #2a364f;
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background: #1e2a40;
}

.form-input:focus + i, .form-input:focus ~ i {
    color: #10b981;
}

/* Security / Delivery confirmation info bar */
.delivery-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.delivery-info-box i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.delivery-info-text {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

.delivery-info-text strong {
    color: #ffffff;
}

.form-status-box {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.form-status-box.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.form-status-box.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.form-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.85rem;
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-send-modal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid #10b981;
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    transition: var(--transition);
}

.btn-send-modal:hover {
    background: #10b981;
    color: #0a0e17;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

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

footer {
    padding: 3.5rem 0 2rem 0;
    text-align: center;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}