/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Premium Light Theme Palette */
    --primary: #FFD700;
    /* Gold */
    --primary-dark: #B69500;
    /* Darker Gold */
    --text-main: #1A202C;
    /* Rich Black */
    --text-light: #4A5568;
    /* Slate Grey */
    --bg-body: #FAFAFA;
    /* Very Soft Grey */
    --bg-white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #fffbf0 0%, #fff 100%);

    /* Shadows & Radius */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius-card: 24px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Grid Utilities */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.section-head {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-head p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.7rem 1.5rem;
    background: var(--text-main);
    color: #fff !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary);
    color: #000 !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 8rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: floatBlob 10s infinite alternate;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.hero-sub-small {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Button Standards */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #1a202c;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid #E2E8F0;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: #fff;
}

.hero-contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-contact-row a:hover {
    color: var(--primary-dark);
}

.social-row {
    display: flex;
    gap: 1.2rem;
}

.social-row a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--text-main);
}

/* Unified Social Hover */
.social-row a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #1A202C !important;
    transform: translateY(-3px);
}

/* Hero Image & Blobs */
.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFD700' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-46.3C87.4,-33.5,90.1,-17.9,89.9,-2.4C89.7,13.1,86.6,28.5,78.6,41.2C70.6,53.9,57.7,63.9,43.9,71.5C30.1,79.1,15.4,84.3,0.3,83.8C-14.8,83.3,-29.3,77.1,-42.6,69.5C-55.9,61.9,-68,52.9,-76.2,40.7C-84.4,28.5,-88.7,13.1,-87.3,-1.5C-85.9,-16.1,-78.8,-29.9,-69.3,-41.7C-59.8,-53.5,-47.9,-63.3,-35.1,-71.1C-22.3,-78.9,-8.6,-84.7,2.8,-89.6L14.2,-94.5' transform='translate(100 100)' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    animation: rotateBlob 20s linear infinite;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary);
    animation: float 4s ease-in-out infinite;
}

.badge-exp {
    top: 10%;
    left: -5%;
}

.badge-proj {
    bottom: 15%;
    right: -5%;
    animation-delay: 1.5s;
}

.floating-badge strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotateBlob {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 30px);
    }
}


/* =========================================
   4. ABOUT SECTION
   ========================================= */
.about-section {
    padding: 6rem 0;
    overflow: hidden;
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.about-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    width: 380px;
    height: 380px;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-tags {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.tag {
    position: absolute;
    background: var(--text-main);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.tag-1 {
    top: 5%;
    left: 15%;
    background: var(--primary);
    color: #000;
    transform: rotate(-3deg);
}

.tag-2 {
    top: 25%;
    right: -5%;
    transform: rotate(5deg);
}

.tag-3 {
    top: 55%;
    left: -10%;
    transform: rotate(-10deg);
}

.tag-4 {
    bottom: 15%;
    right: 5%;
    transform: rotate(8deg);
}

.tag-5 {
    bottom: 5%;
    left: 20%;
    background: var(--primary);
    color: #000;
    transform: rotate(-5deg);
}

.about-content {
    padding-left: 2rem;
}

.small-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-weight: 800;
}

.text-highlight {
    color: var(--primary);
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.about-stats-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    border-top: 1px solid #EDF2F7;
    padding-top: 2rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100px;
    line-height: 1.4;
}

.about-cta-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-cv {
    background: var(--text-main);
    color: #fff;
    padding: 0.5rem 0.6rem 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 60px;
}

.btn-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding-right: 0.8rem;
}

.arrow-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-cv:hover .arrow-icon {
    background: #fff;
    color: var(--text-main);
}

.signature-block {
    display: flex;
    align-items: center;
}

.cursive-sig {
    font-family: 'Great Vibes', 'Brush Script MT', cursive;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 400;
    transform: rotate(-5deg);
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        min-height: 400px;
        margin-bottom: 2rem;
    }

    .about-content {
        padding-left: 0;
    }

    .about-stats-row {
        justify-content: center;
        gap: 2rem;
    }

    .about-blob {
        width: 350px;
        height: 350px;
    }

    .about-img-wrapper {
        width: 320px;
        height: 320px;
    }
}


/* =========================================
   5. SKILLS SECTION (Unified)
   ========================================= */
.bg-dark {
    background-color: #0F172A;
    color: #fff;
    padding: 6rem 0;
}

.bg-dark .section-head h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.bg-dark .section-head p {
    color: #A0AEC0;
}

.heading-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 4px;
}

.skills-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.skill-card-center {
    background: #1E293B;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.skill-card-center:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skill-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);

    /* UNIFIED: All circles are Dark with Gold Border and Text */
    background: #0F172A !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.skill-card-center:hover .skill-icon-circle {
    background: var(--primary) !important;
    color: #000 !important;
    transform: scale(1.1);
}

.skill-card-center h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.skill-card-center p {
    font-size: 0.95rem;
    color: #CBD5E0;
    line-height: 1.6;
}

/* Override old color classes for Skills */
.skill-icon-circle.clr-blue,
.skill-icon-circle.clr-red,
.skill-icon-circle.clr-purple,
.skill-icon-circle.clr-pink,
.skill-icon-circle.clr-teal,
.skill-icon-circle.clr-orange,
.skill-icon-circle.clr-yellow,
.skill-icon-circle.clr-green {
    background: #0F172A !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}


/* =========================================
   6. SERVICES SECTION (Unified)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Force 5 Columns for Desktop */
@media (min-width: 1100px) {
    #services .services-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 215, 0, 0.3);
    /* Slight Gold border on hover */
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.svc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #FAFAFA;
}

.svc-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);

    /* UNIFIED: Subtle Gold BG, Rich Text Icon */
    background: rgba(255, 215, 0, 0.1) !important;
    color: var(--text-main) !important;
}

.service-card:hover .svc-icon {
    background: var(--primary) !important;
    color: #1A202C !important;
    transform: scale(1.1);
}

/* Override all Service Color Classes to match Unified Theme */
.svc-icon.clr-blue,
.svc-icon.clr-red,
.svc-icon.clr-green,
.svc-icon.clr-orange,
.svc-icon.clr-purple,
.svc-icon.clr-pink,
.svc-icon.clr-teal,
.svc-icon.clr-yellow {
    background: rgba(255, 215, 0, 0.1) !important;
    color: var(--text-main) !important;
}

/* Button Hire Unified */
.btn-hire {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;

    /* UNIFIED: Outline Style with Text Main */
    background: transparent;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
}

.btn-hire:hover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}


/* =========================================
   7. PORFOLIO / TIMELINE
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #E2E8F0;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover::after {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.3);
}

.timeline-date {
    width: 45%;
    text-align: right;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-content {
    width: 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content ul {
    list-style-position: inside;
    font-size: 0.95rem;
    color: var(--text-light);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}


/* =========================================
   8. TOOLS SECTION
   ========================================= */
.tools-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.tool-tag {
    padding: 0.8rem 1.8rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.tool-tag:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background: var(--primary);
    /* Gold on Hover */
    color: #1A202C !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}


/* =========================================
   9. CONTACT & FOOTER
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-details {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details i {
    color: var(--primary-dark);
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.btn-submit {
    width: 100%;
    background: var(--text-main);
    color: #fff;
    padding: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary);
    color: #000;
}

.footer {
    background: #111;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =========================================
   10. MOBILE RESPONSIVE
   =========================================/* Mobile Responsive */
@media (max-width: 900px) {

    .container,
    .container-wide {
        padding: 0 1.5rem;
    }

    /* Navbar & Mobile Menu */
    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 2rem;
    }

    .navbar .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .hamburger {
        display: block;
        color: var(--text-main);
    }

    /* Hero */
    .hero {
        padding-top: 7rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        order: 2;
        /* Image on top? No, usually text first on portfolio is better. Keep order default. check verification. */
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-contact-row {
        align-items: center;
    }

    .social-row {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
        max-width: 100%;
    }

    .hero-img {
        max-width: 80%;
        /* Reduce size on mobile */
    }

    /* Fix Floating Badges on Mobile */
    .floating-badge {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
        transform: none !important;
        animation: none;
        display: inline-block;
        width: auto;
    }

    .badge-exp,
    .badge-proj {
        display: none;
        /* Hide floating badges on mobile to clean up clutter? Or stack them? */
        /* Let's Hide them for cleaner look, or make them static below image */
    }

    /* Actually, let's keep them simply static below */
    .hero-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Stats Row - Make it wrap */
    .about-stats-row {
        flex-direction: column;
        /* Stack vertically for space */
        gap: 2rem;
        align-items: center;
    }

    .stat-box {
        align-items: center;
        text-align: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        padding-left: 0;
    }

    /* Center the about heading on mobile since text is centered */
    .section-head.text-left {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .heading-underline {
        margin: 0 auto !important;
    }

    .small-tag {
        justify-content: center;
    }

    .about-cta-row {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
        margin-bottom: 3rem;
        gap: 0.5rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    /* Timeline dot fix */
    .timeline-item::after {
        left: 20px;
        /* Aligned with line */
        transform: translate(-50%, -50%);
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        padding: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-item:nth-child(even) .timeline-date {
        padding: 0;
        text-align: left;
    }

    .timeline-content {
        width: 100%;
        padding-left: 1.5rem;
        /* Add spacing inside content */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}