:root {
    --primary: #800080;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-light);
    height: 200vh; /* For scroll testing */
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

/* Scrolled State */
.navbar.scrolled {
    padding: 0.8rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(128, 0, 128, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Logo */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--black);
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--primary);
}

/* Menu Items */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button */
.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(128, 0, 128, 0.2);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 0, 128, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--black);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.5s;
        z-index: -1;
    }

    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
}

/* Hero Section Styles */
.hero {
    /* min-height: 100vh; */
    padding-top: 120px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(128, 0, 128, 0.03) 0%, transparent 40%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Badge Styling */
.badge-animated {
    display: inline-block;
    background: rgba(128, 0, 128, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(128, 0, 128, 0.2);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.text-gradient {
    color: var(--primary);
    background: linear-gradient(45deg, #800080, #bf00bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(128, 0, 128, 0.3); }
.btn-secondary:hover { background: #f8f8f8; border-color: var(--primary); }

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--black); }
.stat-label { font-size: 0.9rem; color: #777; }
.stat-divider { width: 1px; background: #ddd; height: 40px; }

/* Visual Side (Cards & Blob) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensures the visual area has enough space for floating cards */
    min-height: 450px; 
}

.profile-img {
    width: 380px; /* Adjust based on your image resolution */
    height: auto;
    z-index: 1;
    border-radius: 30px; /* Modern rounded corners */
    /* Adds a soft glow that matches your purple theme */
    filter: drop-shadow(0 20px 30px rgba(128, 0, 128, 0.15));
    animation: fadeInUp 1s ease-out;
}

.blob-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(45deg, rgba(128, 0, 128, 0.15), rgba(191, 0, 191, 0.05));
    filter: blur(50px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    z-index: 0; /* Behind the image */
}

.hero-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    width: 260px;
    transition: all 0.3s ease;
}

.floating-card {
    position: absolute;
    /* Positioned to overlap the edge of the profile image */
    bottom: 20px; 
    right: -10px;
    z-index: 2; /* In front of the image */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-visual {
        margin-top: 3rem;
    }
    .profile-img {
        width: 300px;
    }
    .floating-card {
        right: 10%; /* Center it more on mobile */
        width: 220px;
    }
}

/* About Section Styles */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.title {
    font-size: 2.5rem;
    color: var(--black);
    margin-top: 0.5rem;
}

.title span {
    color: var(--primary);
}

/* Bento Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.about-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(128, 0, 128, 0.1);
    border-color: rgba(128, 0, 128, 0.2);
}

/* Specific Card Spans */
.objective-card { grid-column: span 2; }
.education-card { grid-column: span 2; }
.info-card { grid-column: span 1; background: #fafafa; }
.contact-quick { grid-column: span 1; background: var(--black); color: var(--white); }

/* Typography inside cards */
.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.about-card p {
    color: #666;
    line-height: 1.7;
}

.contact-quick p { color: #ccc; }

/* Icon Styling */
.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Education List Styling */
.edu-item {
    padding: 1rem 0;
}

.edu-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(128, 0, 128, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
}

.edu-item h4 { margin-top: 0.8rem; font-size: 1.1rem; }
.edu-divider { height: 1px; background: #eee; width: 100%; }

/* Info List */
.info-list { list-style: none; margin-top: 1.5rem; }
.info-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.info-list i { color: var(--primary); width: 20px; }
.info-list a { text-decoration: none; color: var(--black); transition: 0.3s; }
.info-list a:hover { color: var(--primary); }

/* Quick Contact */
.contact-link {
    display: block;
    margin-top: 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link i { margin-right: 10px; color: var(--primary); }

/* Responsive Bento */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .objective-card, .education-card { grid-column: span 2; }
}

@media (max-width: 600px) {
    .about-grid { grid-template-columns: 1fr; }
    .objective-card, .education-card, .info-card, .contact-quick { grid-column: span 1; }
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.exp-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

/* Vertical Line */
.exp-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), #eee);
}

.exp-card {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

/* Intersection Observer will trigger this class via JS */
.exp-card.reveal {
    opacity: 1;
    transform: translateX(0);
}

.exp-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.exp-card:hover .exp-dot {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.exp-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.exp-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.exp-card:hover .exp-content {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: rgba(128, 0, 128, 0.1);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.exp-header h3 {
    font-size: 1.3rem;
    color: var(--black);
}

.company-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.project-brief {
    background: #f8f0f8;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.exp-details {
    list-style: none;
}

.exp-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.exp-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Active/Latest Role Highlight */
.active-role .exp-content {
    border-left: 5px solid var(--primary);
}

@media (max-width: 768px) {
    .exp-wrapper { padding-left: 30px; }
    .exp-wrapper::before { left: 5px; }
    .exp-dot { left: -33px; }
}

/* Skills Section Styles */
.skills {
    padding: 100px 0;
    background-color: var(--white);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(128, 0, 128, 0.2);
    box-shadow: 0 15px 40px rgba(128, 0, 128, 0.08);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.skill-category h3 i {
    color: var(--primary);
}

/* Progress Bars */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-line {
    height: 8px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-line span {
    height: 100%;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Trigger animation on reveal */
.reveal .progress-line span {
    transform: scaleX(1);
}

/* Tech Grid (Chips) */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-card {
    background: #fafafa;
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tech-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tech-card span {
    font-size: 0.85rem;
    font-weight: 700;
}

.tech-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Soft Skills Tags */
.full-width { grid-column: span 2; }

.soft-skills-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.soft-tag {
    background: rgba(128, 0, 128, 0.05);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(128, 0, 128, 0.1);
    transition: 0.3s;
}

.soft-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 850px) {
    .skills-wrapper { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}


/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    margin-top: 3.5rem;
}

/* Info Cards */
.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: rgba(128, 0, 128, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.3rem;
}

.info-text span {
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
}

.info-text p {
    font-size: 1.05rem;
    color: var(--black);
    font-weight: 600;
}

/* Social Boxes */
.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-box {
    width: 50px;
    height: 50px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.social-box:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Form Styling */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 15px rgba(128, 0, 128, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer Styling */
.footer {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span { color: var(--primary); }

.footer-text {
    color: #777;
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: #bbb;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-form-container { padding: 2rem; }
}

html {
    scroll-behavior: smooth;
}


/* =====================================
   GLOBAL RESPONSIVE IMPROVEMENTS
=====================================*/

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow-x: hidden;
}

/* =====================================
   TABLET RESPONSIVE (992px)
=====================================*/
@media (max-width: 992px) {

    /* Navbar */
    .nav-container {
        padding: 0 1.5rem;
    }

    /* Hero Layout */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
    }

    .profile-img {
        width: 280px;
    }

    .blob-bg {
        width: 350px;
        height: 350px;
    }

    /* About */
    .title {
        font-size: 2.1rem;
    }

    /* Experience */
    .exp-wrapper {
        padding-left: 35px;
    }

    /* Skills */
    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* =====================================
   MOBILE RESPONSIVE (768px)
=====================================*/
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    /* Navbar Mobile Menu */
    .nav-menu {
        padding: 2rem;
    }

    .nav-item {
        margin: 1.2rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .badge-animated {
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    /* Floating Card Fix */
    .floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        animation: none;
    }

    /* About Section */
    .about {
        padding: 70px 0;
    }

    .about-card {
        padding: 2rem;
    }

    /* Experience Timeline */
    .exp-wrapper::before {
        left: 8px;
    }

    .exp-dot {
        left: -30px;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Skills */
    .skill-category {
        padding: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-form-container {
        padding: 2rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .social-links-large {
        justify-content: center;
    }
}


/* =====================================
   SMALL MOBILE (480px)
=====================================*/
@media (max-width: 480px) {

    .hero-title {
        font-size: 2rem;
    }

    .title {
        font-size: 1.7rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .profile-img {
        width: 230px;
    }

    .blob-bg {
        width: 260px;
        height: 260px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .soft-skills-flex {
        justify-content: center;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }
}


/* =====================================
   LARGE SCREENS (1400px+)
=====================================*/
@media (min-width: 1400px) {

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-container {
        max-width: 1350px;
    }

    .container {
        max-width: 1350px;
    }
}

/* ===== Floating Card Mobile Fix ===== */
@media (max-width: 768px) {
    .hero{
        padding-top: 60px;
    }
    .hero-visual {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }

    .floating-card {
        position: static;
        width: 90%;
        max-width: 320px;
        margin: 0 auto;
        animation: none;
        transform: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .profile-img {
        width: 260px;
    }

    .blob-bg {
        display: none; /* blob looks messy on small screens */
    }
}

