* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F2F4F8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
}

.logo-img {
    height: 32px;
    width: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF2E55;
    transition: width 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #FF2E55;
}

nav ul li a.active::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FF2E55;
}
.main-content {
    margin-top: 80px;
}

.section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1300px;
    min-height: 600px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 60px;
    border-radius: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 14px;
    font-weight: 600;
    color: #FF2E55;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 42px;
    color: #2c2c2c;
    font-weight: 700;
}

.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.hero-text {
    flex: 1;
}

.hello-tag {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.hello-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background-color: #FF2E55;
}

.hero-text h1 {
    font-size: 52px;
    color: #2c2c2c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.highlight {
    color: #FF2E55;
}

.hero-subtitle {
    font-size: 16px;
    color: #FF2E55;
    font-weight: 600;
    margin-bottom: 20px;
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff5f7;
    color: #FF2E55;
    border: 1px solid #FF2E55;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    position: relative;
}

.availability-pill::after {
    content: "Hire me, and I’ll make your inbox a little happier";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 8px);
    background: #1c1c1c;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.availability-pill::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%) scale(0.95);
    width: 10px;
    height: 10px;
    background: #1c1c1c;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.availability-pill:hover::after,
.availability-pill:hover::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.hero-text > p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FF2E55;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(255, 46, 85, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 46, 85, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #FF2E55;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    border: 2px solid #FF2E55;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #FF2E55;
    color: #fff;
    transform: translateY(-2px);
}

.social-icons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #888;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
}
.twitter-icon svg {
    fill: #888;
    width: 17px;
    height: 17px;
    transition: fill 0.3s, transform 0.3s;
    margin-top: 4px;
}

.social-icons a:hover {
    color: #FF2E55;
    transform: translateY(-3px);
}
.social-icons a:hover svg {
    fill: #FF2E55;
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.brush-bg {
    position: absolute;
    top: 60%;
    left: 47%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url('bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.4;
}

.profile-img {
    position: relative;
    height: 90%;
    width: auto;
    object-fit: contain;
    z-index: 2;
    filter: grayscale(20%);
}

.base-bg{
    position: absolute;
    bottom: 5%;
    left: 46%;
    transform: translateX(-50%);
    width: 350px;
    border: 2px solid #9f9e9e;
    border-radius: 20%;
    z-index: 3;
}

.scroll-down {
    position: absolute;
    right: -40px;
    bottom: 40px;
    transform: rotate(90deg);
    transform-origin: center;
}

.scroll-down a {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.scroll-down a:hover {
    color: #FF2E55;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 26px;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.university {
    color: #FF2E55;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 30px;
}

.about-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

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

.stat-item h4 {
    font-size: 36px;
    color: #FF2E55;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.interests {
    margin-top: 40px;
}

.interests h4 {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.interest-tags span {
    background-color: #f8f9fa;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.interest-tags span:hover {
    background-color: #FF2E55;
    color: #fff;
    border-color: #FF2E55;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #fff;
    font-size: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.project-link:hover {
    background-color: #FF2E55;
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.project-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.project-tags span {
    background-color: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}
.bad-idea-insurance-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.view-more {
    text-align: center;
    margin-top: 40px;
}

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

.cert-card {
    background-color: #f8f9fa;
    padding: 35px;
    border-radius: 10px;
    border-left: 4px solid #FF2E55;
    transition: all 0.3s;
}

.cert-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.cert-icon {
    color: #FF2E55;
    font-size: 36px;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.cert-issuer {
    color: #FF2E55;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.cert-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}

.cert-link {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.cert-link:hover {
    color: #FF2E55;
}

.skills-container {
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 50px;
}

.skill-category h3 {
    font-size: 22px;
    color: #2c2c2c;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3 i {
    color: #FF2E55;
}

.skill-items {
    display: grid;
    gap: 25px;
}

.skill-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2c2c2c;
}

.skill-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #FF2E55 0%, #FF6B85 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tech-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-item i {
    font-size: 36px;
    color: #FF2E55;
    margin-bottom: 10px;
}

.tech-item span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.resume-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.resume-column h3 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.resume-column h3 i {
    color: #FF2E55;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #FF2E55;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e0e0e0;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid #FF2E55;
}

.timeline-date {
    display: inline-block;
    background-color: #FF2E55;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.timeline-subtitle {
    color: #FF2E55;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.resume-download {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}



.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #FF2E55;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 16px;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #FF2E55;
}

.social-links-large {
    display: flex;
    gap: 15px;
}

.social-links-large a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links-large a:hover {
    background-color: #FF2E55;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF2E55;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
}

.footer {
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    font-size: 14px;
    color: #999;
}
/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* --- Tablet & Smaller Laptops (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .section {
        padding: 40px 20px;
        min-height: auto; /* Allow height to fit content */
    }

    .main-container {
        padding: 40px;
        height: auto;
        min-height: auto;
    }

    .hero {
        flex-direction: column-reverse; /* Stack image on top of text usually, or text on top. Here Text first is better usually, but let's stick to standard vertical stacking */
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hello-tag {
        padding-left: 0;
    }
    .hello-tag::before {
        display: none;
    }

    .hero-image-container {
        height: 400px;
        width: 100%;
    }

    .brush-bg {
        width: 400px;
        height: 400px;
        top: 63%;
        left: 48%;
    }
    .profile-img {
        height: 450px;
    }
    
    .base-bg {
        left: 48%;
        bottom: 0%;
        width: 280px;
    }

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

    .contact-content {
        grid-template-columns: 1fr; /* Stack contact info and form */
        gap: 40px;
    }
}

/* --- Mobile Devices (Max Width: 768px) --- */
@media (max-width: 768px) {
    /* Header & Navigation */
    .header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        position: relative; /* Unstick header on mobile if content is too tall, or keep fixed */
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .main-content {
        margin-top: 140px; /* Push content down because header is taller now */
    }

    /* Hero Section */
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }

    .hero-image-container {
        height: 350px;
    }

    .brush-bg {
        width: 300px;
        height: 300px;
        top: 64%;
        left: 47%;
    }

    .profile-img {
        height: 350px;
    }
    
    .base-bg {
        width: 220px;
        left: 46%;
        bottom: 0%;
    }

    .scroll-down {
        display: none; /* Hide scroll indicator on mobile */
    }

    /* General Layout Adjustments */
    .main-container {
        padding: 25px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    /* Stats Section */
    .about-stats {
        grid-template-columns: 1fr; /* Stack stats vertically */
        gap: 20px;
    }

    /* Resume Timeline */
    .resume-content {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-dot {
        left: -37px;
    }

    /* Skills */
    .tech-icons {
        grid-template-columns: repeat(2, 1fr); /* 2 icons per row */
    }

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

/* --- Small Mobile (Max Width: 480px) --- */
@media (max-width: 480px) {
    .header {
        position: relative; /* Let it scroll */
    }
    
    .main-content {
        margin-top: 20px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .btn-primary, .btn-secondary {
        width: 100%; /* Full width buttons for easy tapping */
        justify-content: center;
    }

    .main-container {
        padding: 20px 15px; /* Minimal padding for more content space */
    }
}