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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    /* Light Mode - Regal Green */
    --bg-color: #f8f9f5;       /* ivory with a hint of green */
    --text-color: #1e2930;     /* deep slate gray */
    --main-color: #1b5e20;     /* royal emerald green */
    --white-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.12);

    /* Project-specific variables (harmonized with main root) */
    --primary-gradient: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
    --secondary-gradient: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    --success-gradient: linear-gradient(135deg, #2e7d32 0%, #81c784 100%);
    --warning-gradient: linear-gradient(135deg, #ffb300 0%, #fdd835 100%);
    --glass-bg: rgba(27, 94, 32, 0.1);   /* subtle emerald tint */
    --glass-border: rgba(27, 94, 32, 0.2);

    --text-primary: #1e2930;
    --text-secondary: #3d4d40;
    --text-light: #6b7a6b;

    --bg-primary: #f1f6f2; /* lighter green-tinted background */
    --shadow-light: 0 8px 32px rgba(27, 94, 32, 0.15);
    --shadow-medium: 0 12px 40px rgba(27, 94, 32, 0.25);
    --shadow-heavy: 0 20px 60px rgba(27, 94, 32, 0.35);
}

.dark-mode {
    /* Dark Mode - Regal Green */
    --bg-color: #0a1410;       /* near-black with a green undertone */
    --text-color: #e0e8e2;     /* soft pearl gray */
    --main-color: #2e8b57;     /* luxurious deep sea green */
    --shadow-color: rgba(0, 0, 0, 0.7);

    /* Project-specific variables (dark mode harmony) */
    --primary-gradient: linear-gradient(135deg, #2e8b57 0%, #4caf50 100%);
    --secondary-gradient: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
    --success-gradient: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
    --warning-gradient: linear-gradient(135deg, #ffa000 0%, #ffca28 100%);
    --glass-bg: rgba(46, 139, 87, 0.1);
    --glass-border: rgba(46, 139, 87, 0.2);

    --text-primary: #e0e8e2;
    --text-secondary: #b0c2b3;
    --text-light: #8fa293;

    --bg-primary: #101c15;
    --shadow-light: 0 8px 32px rgba(46, 139, 87, 0.15);
    --shadow-medium: 0 12px 40px rgba(46, 139, 87, 0.25);
    --shadow-heavy: 0 20px 60px rgba(46, 139, 87, 0.35);
}


*::selection {
    background: var(--main-color);
    color: var(--white-color);
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
}

.header.sticky {
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    margin-right: auto;
}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-right: 3.5rem;
}

.header.sticky .navbar a {
    color: var(--text-color);
}

.header.sticky .navbar a.active {
    color: var(--main-color);
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--main-color);
}

.header.sticky .navbar a::before {
    background: var(--main-color);
    opacity: .7;
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--text-color);
    cursor: pointer;
}

.header.sticky #darkMode-icon {
    color: var(--text-color);
    opacity: .9;
}

/* Dark mode overrides for header when not sticky (hero area) */
.dark-mode .header:not(.sticky) .navbar a {
    color: var(--white-color);
}

.dark-mode .header:not(.sticky) #darkMode-icon {
    color: var(--white-color);
}

.dark-mode .header:not(.sticky) .navbar a.active::before {
    background: var(--white-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

#menu-icon {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1rem;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar.active {
        transform: scaleY(1);
    }

    .navbar a {
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .navbar a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    #menu-icon {
        display: block;
    }
}

.bx-x {
    transform: rotate(180deg);
}

section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}

.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.home .home-content {
    max-width: 50rem;
    z-index: 10;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-content h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.home-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 2rem;
    color: var(--main-color);
    margin: 2.5rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--white-color);
    letter-spacing: .1rem;
    font-weight: 600;
    border: .2rem solid transparent;
    transition: .5s ease;
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.home .profession-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.home .profession-container .profession-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 768px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: professionRotate 13s ease-out infinite;
}

@keyframes professionRotate {
    0%,
    20% {
        transform: rotate(0deg);
    }

    25%,
    45% {
        transform: rotate(-90deg);
    }

    50%,
    70% {
        transform: rotate(-180deg);
    }

    75%,
    95% {
        transform: rotate(-270deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.home .profession-box .profession {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--main-color);
    transform: rotate(calc(360deg / 4 * var(--i)));
    transform-origin: 384px;
    background: var(--bg-color);
    padding: 13px 0;
}

.home .profession-box .profession:nth-child(1) i {
    margin-right: 15px;
}

.home .profession-box .profession:nth-child(2),
.home .profession-box .profession:nth-child(4) {
    padding-bottom: 20px;
}

.home .profession i {
    font-size: 3.8rem;
}

.home .profession h3 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 600;
}

.home .profession-box .circle {
    width: 560px;
    height: 560px;
    border: 3px solid var(--main-color);
    border-radius: 50%;
    z-index: -1;
}

.home .profession-container .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 50vh solid var(--main-color);
    border-right: 384px solid var(--main-color);
    border-bottom: 50vh solid var(--main-color);
    border-left: 384px solid transparent;
}

.home-img img {
    position: absolute;
    bottom: 0;
    right: -10px;
    pointer-events: none;
    max-width: 480px;
    max-height: 90vh;
}

span {
    color: var(--main-color);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-img img {
    width: 40vw;
}

.heading {
    font-size: 4.5rem;
    text-align: center;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.services {
    min-height: auto;
    padding-bottom: 10rem;
}

.services h2 {
    margin-bottom: 5rem;
}

.services .services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    transition: .5s ease;
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.services-box:hover h3 {
    color: var(--main-color);
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

/* About Section Styles */
.about {
    min-height: auto;
    padding-bottom: 7rem;
    background: var(--bg-color);
}

.about .heading {
    margin-bottom: 5rem;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 120rem;
    margin: 0 auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

.stat-card {
    background: var(--bg-color);
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: .5s ease;
    animation: slideInUp .8s ease forwards;
    animation-delay: calc(.1s * var(--i));
}

.stat-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 .5rem 2rem var(--shadow-color);
}

.stat-icon {
    width: 7rem;
    height: 7rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white-color);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: .5rem;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--text-color);
    opacity: 0.8;
}

.about-content-box {
    padding: 0 2rem;
}

.about-text h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.about-text p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.journey-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    padding: 1rem;
    border-radius: 1rem;
    transition: .3s ease;
}

.highlight-item:hover {
    background: var(--glass-bg);
    transform: translateX(1rem);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--main-color);
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(5rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 5rem 1rem;
}

.testimonial-container .testimonial-wrapper {
    position: relative;
    max-width: 90rem;
    width: 100%;
    padding: 5rem;
}

.testimonial-wrapper .testimonial-box {
    padding: 1rem;
    border-radius: 2rem;
    overflow: hidden;
}

.testimonial-content .testimonial-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--bg-color);
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    padding: 3rem 5rem;
    border-top: .8rem solid var(--main-color);
    border-bottom: .8rem solid var(--main-color);
}

.testimonial-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    border: none;
    outline: none;
}

.testimonial-slide h3, .testimonial-slide p {
    display: none;
}

.testimonial-box .swiper-button-next,
.testimonial-box .swiper-button-prev {
    color: var(--main-color);
}

.testimonial-box .swiper-button-next {
    right: 0;
}

.testimonial-box .swiper-button-prev {
    left: 0;
}

.testimonial-box .swiper-pagination-bullet {
    background: rgba(0, 0, 0, .8);
}

.testimonial-box .swiper-pagination-bullet-active {
    background: var(--main-color);
}

/* ================================
   ACHIEVEMENTS SECTION
   ================================ */
.achievements {
    min-height: auto;
    padding: 8rem 7% 5rem;
    background: var(--bg-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 4rem;
}

.achievement-card {
    background: linear-gradient(135deg, var(--glass-bg), transparent);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px 0 0 4px;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--main-color);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
}

.achievement-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.achievement-content p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.achievement-year {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--primary-gradient);
    color: var(--white-color);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.achievement-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-img {
    transform: scale(1.02);
}

/* Achievement placeholder for certs without images */
.achievement-img-placeholder {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-img-placeholder.aws-theme {
    background: linear-gradient(135deg, #232F3E, #1a2332);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.achievement-img-placeholder.aws-theme i {
    font-size: 3rem;
    color: #FF9900;
}

.achievement-img-placeholder.aws-theme span {
    font-size: 1rem;
    font-weight: 600;
    color: #FF9900;
    letter-spacing: 0.5px;
}

.achievement-img-placeholder.coursera-theme {
    background: linear-gradient(135deg, #0056D2, #003d99);
    border: 1px solid rgba(0, 192, 255, 0.3);
}

.achievement-img-placeholder.coursera-theme i {
    font-size: 3rem;
    color: #fff;
}

.achievement-img-placeholder.coursera-theme span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.achievement-card:hover .achievement-img-placeholder {
    transform: scale(1.02);
}

/* ================================
   RESUME DROPDOWN
   ================================ */
.resume-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.8rem;
    font-size: 1.6rem;
    cursor: pointer;
    position: relative;
}

.resume-arrow {
    transition: transform 0.3s ease;
    font-size: 1.4rem;
}

.resume-dropdown.open .resume-arrow {
    transform: rotate(180deg);
}

.resume-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    min-width: 320px;
    background: var(--bg-color);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.resume-dropdown.open .resume-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.resume-option {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.resume-option:hover {
    background: linear-gradient(135deg, var(--glass-bg), rgba(27, 94, 32, 0.08));
    transform: translateX(4px);
}

.resume-option i {
    font-size: 2.2rem;
    color: var(--main-color);
    flex-shrink: 0;
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(46, 139, 87, 0.1));
    border-radius: 10px;
}

.resume-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.resume-desc {
    display: block;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.resume-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 1rem;
}

.download-all {
    color: var(--main-color);
}

.download-all .resume-title {
    color: var(--main-color);
}

/* ================================
   CERTIFICATIONS SHOWCASE
   ================================ */
.certi-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem;
    line-height: 1.6;
}

.cert-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.cert-featured-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.cert-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.15), rgba(46, 139, 87, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.cert-card:hover .cert-card-glow {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 94, 32, 0.2);
}

.cert-card-inner {
    position: relative;
    z-index: 1;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, var(--glass-bg), transparent);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-issuer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-issuer span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-card-inner h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.cert-card-inner p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.4rem;
    background: linear-gradient(135deg, #1b5e20, #2e8b57);
    color: #fff;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* Marquee Animation */
.cert-marquee-container {
    overflow: hidden;
    margin: 0 -2rem;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.cert-marquee-track {
    display: flex;
    gap: 2rem;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.cert-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.08);
}

.marquee-item img {
    width: 220px;
    height: 155px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.marquee-item:hover img {
    border-color: var(--main-color);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.2);
}

.marquee-item span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cert Bottom */
.cert-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.certi-counter {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--glass-bg), transparent);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
}

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

.counter-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.counter-label {
    display: block;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    padding: 1.2rem 3rem;
}

/* ================================
   RESPONSIVE - CERTIFICATIONS
   ================================ */
@media (max-width: 768px) {
    .cert-featured-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .marquee-item {
        width: 180px;
    }
    
    .marquee-item img {
        width: 180px;
        height: 125px;
    }
    
    .certi-counter {
        gap: 2rem;
        padding: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .resume-menu {
        min-width: 280px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .resume-dropdown.open .resume-menu {
        transform: translateX(-50%) translateY(0);
    }
}
   ================================ */
@media (max-width: 768px) {
    .achievements {
        padding: 6rem 3% 4rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement-card {
        padding: 2rem;
    }

    .certi-filter {
        gap: 0.6rem;
    }

    .filter-btn {
        padding: 0.6rem 1.4rem;
        font-size: 1.2rem;
    }

    .certi-counter {
        gap: 2rem;
        padding: 2rem;
    }

    .counter-number {
        font-size: 2.8rem;
    }

    .counter-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .achievement-content h3 {
        font-size: 1.8rem;
    }

    .achievement-content p {
        font-size: 1.3rem;
    }

    .certi-subtitle {
        font-size: 1.3rem;
    }

    .certi-counter {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .counter-number {
        font-size: 2.4rem;
    }
}

.contact {
    min-height: auto;
    padding-bottom: 7rem;
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--white-color);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #333;
}

img {
    border-radius: 20px;
}

/* PROJECT STYLES */

.projects-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-light);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.card-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.card-icon.ai { 
    background: var(--primary-gradient);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.design { 
    background: var(--secondary-gradient);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8z"/><circle cx="6.5" cy="11.5" r="1.5"/><circle cx="9.5" cy="7.5" r="1.5"/><circle cx="14.5" cy="7.5" r="1.5"/><circle cx="17.5" cy="11.5" r="1.5"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.notes { 
    background: var(--success-gradient);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.demo { 
    background: var(--warning-gradient);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8,5.14V19.14L19,12.14L8,5.14Z"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-content {
    padding: 0;
    position: relative;
}

.project-preview {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transform-origin: center;
    pointer-events: none;
    object-fit: cover;
}

.preview-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .preview-thumbnail {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    margin: 0 auto 10px;
    align-self: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.play-button::before {
    content: "";
    position: absolute;
    left: 36%;
    top: 28%;
    width: 0;
    height: 0;
    border-left: 24px solid rgba(255, 255, 255, 0.9);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.youtube-embed {
    width: 100%;
    height: 280px;
}

.card-footer {
    padding: 24px;
}

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

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

.tag {
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    transform: translateY(-2px);
}

.more-projects-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    width: fit-content;
}

.more-projects-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Live Badge */
.live-badge {
    margin-left: auto;
    padding: 3px 10px;
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* SANA AI Visual Card */
.project-preview-visual {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sana-visual {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.sana-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #a78bfa, #6d28d9, #4c1d95);
    box-shadow: 0 0 60px rgba(139,92,246,0.6), 0 0 120px rgba(109,40,217,0.3);
    animation: orbFloat 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.08); }
}

.sana-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.sana-ring {
    position: absolute;
    border: 1.5px solid rgba(139,92,246,0.25);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.sana-ring:nth-child(1) { width: 120px; height: 120px; top: -60px; left: -60px; animation-delay: 0s; }
.sana-ring:nth-child(2) { width: 170px; height: 170px; top: -85px; left: -85px; animation-delay: 0.5s; }
.sana-ring:nth-child(3) { width: 220px; height: 220px; top: -110px; left: -110px; animation-delay: 1s; }

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.sana-label {
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    height: calc(100% - 80px);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: var(--glass-bg);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container .profession-box {
        right: -10%;
    }

    .home .profession-container .overlay {
        right: -6%;
    }

    .home-img img {
        right: 0;
    }
}

@media (max-width: 1100px) {
    .home .profession-container .profession-box {
        right: -15%;
    }

    .home-img img {
        max-width: 420px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .profession-container .profession-box {
        right: -20%;
    }

    .home .profession-container .overlay {
        right: -12%;
    }

    .home-img img {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .navbar a:nth-child(1) {
        color: var(--main-color);
    }

    .navbar a.active::before {
        background: var(--main-color);
        opacity: .7;
    }

    .home .home-content {
        max-width: 50rem;
    }

    .home .profession-container .profession-box {
        right: -35%;
    }

    .home .profession-container .overlay {
        right: -30%;
    }

    .home-img img {
        display: none;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 896px) {
    .navbar a:nth-child(2) {
        color: var(--main-color);
    }

    .home .profession-container .profession-box {
        right: -50%;
    }

    .home .profession-container .overlay {
        right: -43%;
    }
}

@media (max-width: 879px) {
    .portfolio .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    .navbar a:nth-child(2) {
        color: var(--white-color);
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    #darkMode-icon {
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        color: var(--text-color);
        margin-bottom: .1rem;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        padding: 1rem;
        border-radius: 0.5rem;
        text-align: center; 
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #45b7d1;
        transition: width 0.3s ease;
    }

    .navbar a:hover::after {
        width: 100%;
    }

    .navbar a.active {
        color: #45b7d1;
        font-weight: 600;
    }

    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--text-color);
    }

    .navbar a.active {
        color: var(--main-color);
    }

    .navbar a::before {
        display: none;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .home .home-content {
        max-width: 100%;
    }

    .home-content h3 {
        font-size: 2.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .home-content h1 {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        font-size: 5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .home-content p {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .home-content .social-media {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-content .social-media a {
        margin: 1rem .75rem;
    }

    .home .profession-container {
        left: 0;
        width: 100%;
        height: 100%;
    }

    .home .profession-container .profession-box {
        position: fixed;
        top: 450px;
        left: 0;
        width: 100%;
    }

    .home .profession-box .profession {
        padding: 0 13px;
        left: auto;
        transform-origin: 0;
    }

    .home .profession-box .profession:nth-child(1) {
        transform: rotate(-90deg) translate(-120px, -210px);
    }

    .home .profession-box .profession:nth-child(1) i {
        margin-right: 0;
    }

    .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translate(0, -325px);
    }

    .home .profession-box .profession:nth-child(3) {
        transform: rotate(90deg) translate(-115px, -450px);
    }

    .home .profession-box .profession:nth-child(4) {
        transform: rotate(180deg) translate(-220px, -325px);
    }

    .home .profession-box .circle {
        position: fixed;
        width: 670px;
        height: 670px;
        z-index: -1;
    }

    .home .profession-container .overlay {
        position: fixed;
        top: 70rem;
        left: 50%;
        right: 0;
        transform: rotate(90deg) translate(-50%, 50%) scaleY(3);
        border-width: 23.9rem;
    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
        margin-top: -2rem;
    }

    .testimonial-container .testimonial-wrapper {
        padding: 5rem 0;
    }

    .testimonial-content .testimonial-slide {
        padding: 3rem 2rem;
    }

    .testimonial-box .swiper-button-next,
    .testimonial-box .swiper-button-prev {
        display: none;
    }

    /* Projects responsive styles */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .project-preview {
        height: 220px;
    }
    
    .card-actions {
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .portfolio .portfolio-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    #darkMode-icon {
        right: 6rem;
    }

    .home .profession-box .profession:nth-child(1) {
        transform: rotate(-90deg) translate(-110px, -220px);
    }

    .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translate(5px, -325px);
    }

    .home .profession-box .profession:nth-child(3) {
        transform: rotate(90deg) translate(-105px, -440px);
    }

    .home .profession-box .profession:nth-child(4) {
        transform: rotate(180deg) translate(-210px, -325px);
    }

    .home .profession-container .overlay {
        top: 80rem;
    }

    .contact form .input-box input {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 365px) {
    .about-img img {
        width: 90vw;
    }
}

@media (max-width: 315px) {
    .home-content h1 {
        font-size: 4.5rem;
    }
}

/* ================================
   ABOUT ME SECTION STYLES
   ================================ */
.about {
    min-height: auto;
    padding: 8rem 7% 5rem;
    background: var(--bg-color);
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--glass-bg), transparent);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--main-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--main-color);
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white-color);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--secondary-gradient);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-content-box {
    background: linear-gradient(135deg, var(--glass-bg), transparent);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 4rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.about-content-box:hover {
    box-shadow: var(--shadow-heavy);
    border-color: var(--main-color);
}

.about-text h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.journey-highlights {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(27, 94, 32, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--main-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(27, 94, 32, 0.1);
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--main-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.highlight-item span {
    font-size: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.about-text .btn {
    margin-top: 2rem;
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about {
        padding: 6rem 3% 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }

    .about-content-box {
        padding: 2.5rem;
    }

    .about-text h3 {
        font-size: 2.2rem;
    }

    .about-text p {
        font-size: 1.4rem;
    }

    .highlight-item {
        padding: 1rem;
        gap: 0.8rem;
    }

    .highlight-item i {
        font-size: 1.8rem;
    }

    .highlight-item span {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.2rem;
    }

    .about-content-box {
        padding: 2rem;
    }

    .about-text h3 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1.3rem;
    }

    .highlight-item span {
        font-size: 1.2rem;
    }
}

/* ================================
   ENHANCED MOBILE RESPONSIVENESS
   ================================ */

/* Tablets and Small Laptops */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .header {
        padding: 1.5rem 5%;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .header {
        padding: 1.2rem 3%;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    /* Services Section */
    .services {
        padding: 6rem 3% 4rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services-box {
        padding: 3rem 2rem;
    }
    
    .services-box i {
        font-size: 5rem;
    }
    
    .services-box h3 {
        font-size: 2.2rem;
    }
    
    .services-box p {
        font-size: 1.4rem;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 6rem 3% 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-card {
        padding: 2rem;
    }
    
    .card-title {
        font-size: 2rem;
    }
    
    .project-description {
        font-size: 1.4rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 6rem 3% 4rem;
    }
    
    .contact form .input-box {
        flex-direction: column;
    }
    
    .contact form .input-box input {
        width: 100%;
    }
    
    /* Testimonials */
    .certi {
        padding: 6rem 3% 4rem;
    }
    
    .testimonial-wrapper {
        padding: 0 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .header {
        padding: 1rem 3%;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    #darkMode-icon {
        font-size: 2.2rem;
        right: 6rem;
    }
    
    #menu-icon {
        font-size: 2.8rem;
    }
    
    .navbar a {
        font-size: 1.8rem;
        margin: 2rem 0;
        padding: 1rem 0.5rem;
    }
    
    /* Home Section */
    .home {
        padding: 0 4% 20rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home .home-content {
        max-width: 100%;
        width: 100%;
    }
    
    .home-content h3 {
        font-size: 2.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .home-content p {
        font-size: 1.35rem;
        line-height: 1.7;
        margin: 1rem 0;
        text-align: center;
    }
    
    .home-content .social-media {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 2rem 0;
    }

    .home-content .social-media a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
        margin: 0.8rem;
    }
    
    .btn {
        padding: 1.2rem 2.8rem;
        font-size: 1.5rem;
        margin-top: 1rem;
    }
    
    /* Profession Container */
    .profession-container .profession-box {
        width: 100%;
    }
    
    .profession h3 {
        font-size: 1.6rem;
    }
    
    .profession i {
        font-size: 3rem;
    }
    
    /* About Section Mobile */
    .about {
        padding: 5rem 3% 3rem;
    }
    
    .heading {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
        flex-shrink: 0;
    }

    .stat-content {
        flex: 1;
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 1.3rem;
    }
    
    .about-content-box {
        padding: 2rem 1.5rem;
        border-radius: 15px;
        margin: 0 1rem;
    }
    
    .about-text h3 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }
    
    .highlight-item {
        padding: 1rem;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .highlight-item i {
        font-size: 1.8rem;
        min-width: 30px;
        margin-top: 0.2rem;
    }
    
    .highlight-item span {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    /* Services Section Mobile */
    .services {
        padding: 5rem 4% 3rem;
    }

    .services .heading {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .services-container {
        gap: 2rem;
    }
    
    .services-box {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .services-box i {
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }
    
    .services-box h3 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .services-box p {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .services-box .btn {
        margin-top: 1.5rem;
    }
    
    /* Projects Section Mobile */
    .projects-section {
        padding: 5rem 4% 3rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .projects-grid {
        padding: 0 1rem;
    }
    
    .project-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .card-header {
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2.2rem;
        flex-shrink: 0;
    }
    
    .card-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .project-preview {
        height: 220px;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .preview-iframe,
    .youtube-embed {
        border-radius: 12px;
    }
    
    .project-description {
        font-size: 1.4rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .project-tags {
        gap: 0.8rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }
    
    .tag {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
    
    .card-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
        justify-content: center;
        border-radius: 8px;
    }
    
    .more-projects-btn {
        padding: 1.4rem 3rem;
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 2rem auto;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }
    
    .modal-iframe {
        height: 300px;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 5rem 4% 3rem;
    }

    .contact .heading {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .contact form {
        padding: 0 1rem;
    }

    .contact form .input-box {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact form .input-box input,
    .contact form textarea {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.5rem;
        border-radius: 10px;
    }
    
    .contact form textarea {
        resize: vertical;
        min-height: 180px;
    }

    .contact form .btn {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.6rem;
        margin-top: 1rem;
    }
    
    /* Testimonials Mobile */
    .certi {
        padding: 5rem 4% 3rem;
    }

    .certi .heading {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .testimonial-wrapper {
        padding: 0 1rem;
    }

    .testimonial-slide img {
        border-radius: 15px;
        max-width: 100%;
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .butam {
        padding: 1.2rem 3rem;
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 4%;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-text p {
        font-size: 1.4rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .footer-iconTop a {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 2.2rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    html {
        font-size: 48%;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
    }
    
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    
    .services-box {
        padding: 2rem 1.2rem;
    }
    
    .project-card {
        padding: 1.2rem;
    }
    
    .more-projects-btn {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 320px) {
    html {
        font-size: 45%;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    #darkMode-icon {
        right: 5.5rem;
        font-size: 2rem;
    }
    
    #menu-icon {
        font-size: 2.5rem;
    }
    
    .home-content h1 {
        font-size: 3rem;
    }
    
    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.6rem;
        margin: 1.5rem 0.5rem 2rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

/* ================================
   DYNAMIC ANIMATIONS
   ================================ */

/* Shimmer effect on featured cert cards */
.cert-card.featured-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) rotate(0deg); }
    50% { transform: translateX(100%) rotate(0deg); }
}

/* Subtle float for achievement cards */
.achievement-card:nth-child(odd) {
    animation: subtleFloat 6s ease-in-out infinite;
}

.achievement-card:nth-child(even) {
    animation: subtleFloat 6s ease-in-out infinite 1.5s;
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.achievement-card:hover {
    animation-play-state: paused;
}

/* Pulse on cert badge */
.cert-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(27, 94, 32, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(27, 94, 32, 0); }
}

/* Stat cards stagger entrance */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Highlight items slide in */
.highlight-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.3s; }
.highlight-item:nth-child(2) { animation-delay: 0.45s; }
.highlight-item:nth-child(3) { animation-delay: 0.6s; }
.highlight-item:nth-child(4) { animation-delay: 0.75s; }
.highlight-item:nth-child(5) { animation-delay: 0.9s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}