/* ═══════════════════════════════════════════════════════════════════════════
   Premium Light Theme Design System v4.0
   A Modern, Clean & Attractive Light Mode Portfolio
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;

    /* Vibrant Accent Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --accent-warm: #f97316;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fce7f3 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 30px rgba(99, 102, 241, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Effects */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

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

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Base Styles
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

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

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

/* Subtle Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.05), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.04), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.03), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.06) 0%, transparent 30%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translate(-2%, 2%) rotate(2deg);
    }
}

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

.profile-pic {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    background: var(--gradient-primary);
    border-radius: 40px;
    padding: 4px;
    position: relative;
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

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

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

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    background: var(--bg-primary);
}

.profile-initials {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero .title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero .tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 45px;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

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

.btn-primary-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 14px 28px;
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 40px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--border-medium);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Styles
   ═══════════════════════════════════════════════════════════════════════════ */

section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════════════════════════════════════ */

.about {
    background: var(--bg-secondary);
    text-align: center;
}

.about-content.centered-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-description h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

/* Stats */
.about-stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 50px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    min-width: 200px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Skills & Services
   ═══════════════════════════════════════════════════════════════════════════ */

.skills {
    background: var(--bg-primary);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services {
    background: var(--bg-secondary);
}

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

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

.skill-card,
.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.skill-card {
    min-height: 180px;
}

.service-card {
    min-height: 380px;
}

.skill-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

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

.skill-icon,
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: var(--primary);
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   Portfolio Section
   ═══════════════════════════════════════════════════════════════════════════ */

.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}

.portfolio-image {
    width: 100%;
    height: 260px;
    background: var(--gradient-primary);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image span {
    font-size: 5rem;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.portfolio-image::after {
    content: 'View Project';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-primary);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.portfolio-card:hover .portfolio-image::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-info {
    padding: 30px;
}

.portfolio-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.portfolio-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.portfolio-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-link i {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Freelance Section
   ═══════════════════════════════════════════════════════════════════════════ */

.freelance {
    background: var(--bg-secondary);
}

.freelance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.freelance-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.freelance-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}

.freelance-card i,
.freelance-card svg.brand-logo-svg,
.freelance-card img.brand-logo-img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-secondary);
    padding: 10px;
    border: 2px solid var(--border-light);
}

.freelance-card:hover img.brand-logo-img {
    transform: scale(1.1);
    border-color: var(--primary);
}

/* Specific Brand Hover Colors */
.freelance-card[href*="upwork"]:hover img.brand-logo-img {
    border-color: #14a800;
}

.freelance-card[href*="fiverr"]:hover img.brand-logo-img {
    border-color: #1dbf73;
}

.freelance-card[href*="linkedin"]:hover img.brand-logo-img {
    border-color: #0077b5;
}

.freelance-card[href*="behance"]:hover img.brand-logo-img {
    border-color: #1769ff;
}

.freelance-card h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.freelance-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-quote {
    color: var(--primary-light);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.rating {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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


/* ═══════════════════════════════════════════════════════════════════════════
   Contact Section
   ═══════════════════════════════════════════════════════════════════════════ */

.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail p {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-social {
    justify-content: flex-start;
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

/* Form Message Feedback */
#formMessage {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition-smooth);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

#formMessage.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

#formMessage.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Contact Form Button States */
.contact-form .btn-primary {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 18px 36px;
    font-size: 1.05rem;
}

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

.contact-form .btn-primary.loading {
    color: transparent;
}

.contact-form .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
}

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

/* Form Input Error State */
.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.03);
}

.form-group .error-text {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 8px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    padding: 80px 0 40px;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p a {
    display: inline-flex;
}

.footer-section p a i {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Modal
   ═══════════════════════════════════════════════════════════════════════════ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-primary);
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 50px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 25px 0 12px;
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.modal-content ul {
    list-style: none;
    margin: 15px 0;
}

.modal-content ul li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.modal-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.project-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    color: var(--text-primary);
    /* Ensure it follows text color */
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: currentColor;
    /* Adapts to text color inversion */
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hiring / Platforms Section
   ═══════════════════════════════════════════════════════════════════════════ */

.hiring-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background circle */
.hiring-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hiring-section .container {
    position: relative;
    z-index: 2;
}

.section-top-text {
    display: none;
}

.hiring-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hiring-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    min-width: 180px;
    justify-content: center;
}

.hiring-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hiring-card img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.hiring-card i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.hiring-card span {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.hiring-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.hiring-card:hover i {
    color: var(--text-primary);
}

/* Specific Brand Colors on Hover */
.hiring-card.upwork:hover {
    border-color: #14a800;
}

.hiring-card.fiverr:hover {
    border-color: #1dbf73;
}

.hiring-card.linkedin:hover {
    border-color: #0077b5;
}

.hiring-card.behance:hover {
    border-color: #1769ff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive Design
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-main-text,
    .about-values {
        max-width: 800px;
        margin: 0 auto;
    }

    .about-stats-grid {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .freelance-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .freelance-card {
        width: 100%;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .navbar .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 40px;
        gap: 30px;
        z-index: 1050;
        overflow-y: auto;
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-primary);
    }

    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

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

    /* Grid Resets for Mobile */
    .skills-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        /* Full width on mobile */
        gap: 25px;
    }

    /* Stats mobile stack */
    .about-stats-grid {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .stat-item {
        width: 100%;
        min-width: unset;
        padding: 25px;
    }

    .stat-item h4 {
        font-size: 2.5rem;
    }

    /* Typography adjustments */
    section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Contact Form mobile */
    .contact-content {
        padding: 30px 20px;
        gap: 40px;
    }

    .contact-info h3 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Small Mobiles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        /* Stack footer columns */
        text-align: center;
        gap: 30px;
    }

    .footer-section a {
        justify-content: center;
    }

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

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    /* Hiring Mobile */
    .hiring-grid {
        flex-direction: column;
        gap: 15px;
    }

    .hiring-card {
        width: 100%;
        justify-content: center;
    }
}