/* ========================= */
/* GLOBAL */
/* ========================= */

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

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #ffffff;
    color: #111;
}





/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* Tablet & Mobile */
@media (max-width: 900px) {
    .about-title-section {
        padding-top: 100px;
    }
}


/* Hero Section Container */
.about-title-section {
    padding-top: 100px;
    text-align: center;
    background-color: #fff;
    overflow: visible;
}

/* Bada "About" Heading */
.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    margin-top: 40px;
    padding-left: 8%;
    padding-right: 8%;
    color: #000;
    letter-spacing: -1px;
    position: relative;
    z-index: 5;
}

/* Strip Styling */
.skill-strip-container {
    width: 100%;
    position: relative;
    padding: 10px 0 30px 0;
    overflow: hidden;
}

.skill-strip {
    background: linear-gradient(90deg, #a78bfa, #8b73e6);
    /* Matched to home page gradient */
    padding: 18px 0;
    transform: rotate(-2deg);
    /* Matched to home page rotation */
    width: 125%;
    /* Increased for full width coverage */
    margin-left: -12.5%;
    /* Centered alignment for full width */
    display: flex;
    position: relative;
    z-index: 1;
}

.strip-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    width: max-content;
    animation: scrollStrip 18s linear infinite;
}

.strip-track span {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

/* Infinite Scroll Animation matched to Home */
@keyframes scrollStrip {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.7rem;
        margin-bottom: 16px;
    }

    .strip-content span {
        font-size: 1.2rem;
        padding: 0 25px;
    }
}

/* ========================= */
/* ABOUT HERO */
/* ========================= */

.about-hero {
    position: relative;
    min-height: 100vh;
    padding: 80px 8%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
    background: #ffffff;
    overflow: visible;
}

/* BACKGROUND TEXT */
.about-bg-text {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 14px;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

/* Specific positioning for hero section */
.about-hero .about-bg-text {
    left: auto;
    right: 0;
    transform: none;
}

/* CONTENT ABOVE BG */

.about-left,
.about-right {
    position: relative;
    z-index: 2;
}

/* ========================= */
/* LEFT IMAGE */
/* ========================= */

/* LEFT VISUAL */
.about-visual {
    width: 460px;
    height: 460px;
    position: relative;
    margin: auto;
}

/* CIRCLE */
.about-circle {
    position: absolute;
    inset: 10px;
    background: #e9ddff;
    border-radius: 50%;
}

/* IMAGE */
.about-visual img {
    position: absolute;
    width: 95%;
    height: 95%;
    object-fit: contain;
    z-index: 2;
    left: 60%;
    top: 34%;
    transform: translate(-50%, -50%);
}

/* ===== PILLS STYLE ===== */
.about-pill {
    position: absolute;
    background: #eee6ff;
    color: #a78bfa;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    z-index: 6;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(167, 139, 250, 0.18);
    transition: 0.3s ease;
}

.about-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(167, 139, 250, 0.28);
}

/* ===== PILLS POSITION — 100% MATCH TO HOME ===== */
.pill-1 {
    left: 20px;
    bottom: 40px;
    animation: float-left 4s ease-in-out infinite;
}

.pill-2 {
    right: 0;
    top: 60px;
    animation: float-right 4s ease-in-out infinite;
}

.pill-3 {
    left: 30%;
    bottom: 140px;
    transform: translateX(-50%);
    animation: float-center 4.5s ease-in-out infinite;
}

.pill-4 {
    left: 30px;
    top: 180px;
    animation: float-left 5s ease-in-out infinite;
}

.pill-5 {
    left: 0;
    top: 70px;
    animation: float-left 4.5s ease-in-out infinite;
}

.pill-6 {
    right: 100px;
    bottom: 50px;
    animation: float-right 5s ease-in-out infinite;
}

.pill-7 {
    right: 0;
    bottom: 170px;
    animation: float-right 4.5s ease-in-out infinite;
}

/* FLOAT ANIMATIONS */
@keyframes float-left {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-right {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-center {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========================= */
/* RIGHT TEXT */
/* ========================= */

.about-right h1 {
    font-size: 28px;
    /* Reduced font size for better balance */
    font-weight: 800;
    line-height: 1.3;
}

.about-right h1 span {
    color: #a78bfa;
    font-style: italic;
}

.section-label {
    position: relative;
    z-index: 5;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.about-desc {
    margin: 18px 0;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
}

.btn {
    min-width: 155px;
    height: 56px;
    padding: 0 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.primary {
    background: #a78bfa;
    color: #fff;
    box-shadow: 0 12px 25px rgba(167, 139, 250, 0.35);
}

.outline {
    background: #fff;
    color: #a78bfa;
    border: 1px solid #eee8ff;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .about-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-desc {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-visual {
        width: 320px;
        height: 320px;
        max-width: 100%;
    }

    .about-pill {
        font-size: 10px;
        padding: 7px 14px;
    }

    .about-bg-text {
        font-size: 40px;
        letter-spacing: 8px;
    }

    .about-right h1 {
        font-size: 32px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-bg-text {
        font-size: 30px;
    }
}

/* ========================= */
/* PILL FLOAT ANIMATIONS     */
/* ========================= */

/* Each pill floats continuously with different timing & direction */

.pill-1 {
    animation: floatUpDown 4s ease-in-out infinite;
}

.pill-2 {
    animation: floatUpDown 5s ease-in-out infinite 0.6s;
}

.pill-3 {
    animation: floatSide 4.5s ease-in-out infinite 0.3s;
}

.pill-4 {
    animation: floatSide 5.5s ease-in-out infinite 1s;
}

.pill-5 {
    animation: floatUpDown 4s ease-in-out infinite 1.4s;
}

.pill-6 {
    animation: floatSide 3.8s ease-in-out infinite 0.8s;
}

@keyframes floatUpDown {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatSide {

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

    50% {
        transform: translateX(0px) translateY(-8px);
    }
}

/* pill-5 uses translateX centering so override carefully */
.pill-5 {
    animation: floatCenter 4s ease-in-out infinite 1.4s;
}

@keyframes floatCenter {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Fade-in animation for scroll observer */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}


/* ========================= */
/* SKILLS SECTION */
/* ========================= */

/* ===== SKILLS SECTION ===== */

.skills {
    position: relative;
    padding: 100px 8%;
    background: #fbfaff;
    /* Light & clean background */
    overflow: hidden;
}

/* BACKGROUND TEXT - "SKILLS" */
.skills-bg-text {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 14px;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* SECTION HEADER */
.section-label {
    position: relative;
    z-index: 5;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    /* Standardized tight gap */
    margin-top: -25px;
    /* Pull up to overlap BG text */
}

.skills h2 {
    position: relative;
    z-index: 5;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #111;
}

.skills h2 span {
    color: #a78bfa;
    /* Purple highlight */
}

/* GRID SETUP - 2 COLUMNS AS PER DESIGN */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* CARD STYLING */
.skill-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    /* Soft border */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* HOVER EFFECTS */
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: #e9ddff;
}

.skill-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.skill-card:hover h3 {
    color: #a78bfa;
}

.skill-card p {
    font-size: 15px;
    color: #666;
    /* Balanced text color */
    line-height: 1.6;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablet (Screens up to 1024px) */
@media (max-width: 1024px) {
    .skills {
        padding: 80px 6%;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Maintains 2 columns */
        gap: 20px;
    }

    .skills-bg-text {
        font-size: 80px;
    }
}

/* Mobile (Screens up to 768px) */
@media (max-width: 768px) {
    .skills {
        padding: 60px 5%;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        /* Single column for readability */
        gap: 16px;
    }

    .skills-bg-text {
        font-size: 50px;
        letter-spacing: 8px;
        top: 0;
    }

    .skills h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .skill-card {
        padding: 25px 20px;
    }
}

/* ========================= */
/* EXPERIENCE SECTION */
/* ========================= */

/* ========================= */
/* EXPERIENCE SECTION        */
/* ========================= */

.experience {
    position: relative;
    padding: 100px 8%;
    background: #ffffff;
    overflow: hidden;
}

/* Background text styling */
.exp-bg-text {
    position: absolute;
    top: 15px;
    right: 0;
    /* Moved to right as requested */
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 14px;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.exp-head {
    position: relative;
    z-index: 5;
    margin-bottom: 50px;
    /* Removed extra margin-top to avoid overlap with label */
}

.exp-head h2 {
    font-size: 36px;
    font-weight: 800;
}

.exp-head h2 span {
    color: #a78bfa;
}

/* Container for cards */
.exp-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Main Card Styling[cite: 1] */
.exp-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 50px;
    border: 1px solid #f9f9f9;
    transition: 0.35s ease;
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    background: #e7e6eb;
}

/* Left Column Styling */
.exp-card-left {
    flex: 1;
    transition: 0.35s ease;
}

.exp-card:hover .exp-card-left {
    transform: scale(1.03);
}

.exp-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
}

.exp-card .role {
    font-size: 16px;
    color: #999;
    font-weight: 500;
    display: block;
    margin-bottom: 24px;
}

/* Pills for Date and Location */
.exp-pills {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.exp-pills span {
    background: #f3efff;
    color: #a78bfa;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

/* Right Column Styling (Bullets) */
.exp-card-right {
    flex: 1.4;
}

.exp-card ul {
    list-style: none;
}

.exp-card ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
    position: relative;
    padding-left: 25px;
}

/* Custom Bullet Point[cite: 1] */
.exp-card ul li::before {
    content: "•";
    color: #aaa;
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

/* ========================= */
/* RESPONSIVE DESIGN         */
/* ========================= */

/* Tablet (Screens below 1024px) */
@media (max-width: 1024px) {
    .exp-card {
        flex-direction: column;
        /* Stack details vertically */
        padding: 40px;
        gap: 30px;
    }
}

/* Mobile (Screens below 768px) */
@media (max-width: 768px) {
    .experience {
        padding: 60px 5%;
    }

    .exp-bg-text {
        font-size: 50px;
        top: 0;
    }

    .exp-head h2 {
        font-size: 28px;
    }

    .exp-card {
        padding: 25px;
    }

    .exp-card h3 {
        font-size: 22px;
    }
}

/* ========================= */
/* TOOLS SECTION */
/* ========================= */

.tools {
    position: relative;
    padding: 100px 8%;
    /* Increased to match other sections */
    background: #fafafa;
    overflow: hidden;
}

/* BACKGROUND TEXT */
.tools-bg-text {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 14px;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* CONTENT */
.tools-content {
    position: relative;
    z-index: 2;
}

/* HEADER */
.tools-head {
    margin-bottom: 40px;
    /* Removed extra margin-top to avoid overlap with label */
    position: relative;
    z-index: 5;
}

.tools-head h2 {
    font-size: 36px;
    font-weight: 800;
}

.tools-head h2 span {
    color: #a78bfa;
}

/* ========================= */
/* GRID */
/* ========================= */

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

/* CARD */
.tool-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #eee8ff;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ICON */
.tool-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tool-card:hover img {
    transform: scale(1.1);
}

/* TEXT - Customized Hover Tooltip */
.tool-card h3 {
    position: absolute;
    bottom: -40px;
    /* Positioned outside the circle */
    left: 0;
    right: 0;
    width: max-content;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #a78bfa;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 1);
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.2);
    white-space: nowrap;
}

.tool-card:hover h3 {
    opacity: 1;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tools {
        padding: 60px 6%;
    }

    .tools-bg-text {
        font-size: 40px;
        letter-spacing: 8px;
    }

    .tools-head h2 {
        font-size: 28px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .tools-bg-text {
        font-size: 30px;
    }
}

/* ========================= */
/* CONTACT SECTION */
/* ========================= */

.contact {
    padding: 100px 8% 80px;
    background: #ffffff;
    position: relative;
    text-align: left;
    overflow: hidden;
}

/* BACKGROUND TEXT */
.contact-bg-text {
    position: absolute;
    top: 15px;
    right: 0;
    font-size: 80px;
    letter-spacing: 14px;
    color: rgba(0, 0, 0, 0.05);
    font-weight: 800;
    pointer-events: none;
    white-space: nowrap;
}

/* HEADING BLOCK — left aligned */
.contact-head {
    max-width: 100%;
    margin: 0;
    text-align: left;
    margin-top: -35px;
    position: relative;
    z-index: 2;
}

.contact-head .section-label {
    margin-bottom: 12px;
}

.contact h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 32px;
}

.contact h2 span {
    color: #a78bfa;
}

/* DESCRIPTION — centered */
.contact-desc {
    max-width: 720px;
    margin: 20px auto 32px;
    color: #555;
    line-height: 1.7;
    text-align: center;
}

/* BUTTONS — centered */
.contact .buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

/* LINKS — centered */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    font-size: 14px;
    color: #111;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
    .contact-head {
        text-align: center;
    }

    .contact h2 {
        font-size: 28px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 60px 6%;
    }

    .contact-bg-text {
        font-size: 40px;
        letter-spacing: 8px;
    }
}

@media (max-width: 480px) {
    .contact-bg-text {
        font-size: 30px;
    }
}