 /* Google Font Import */
@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 {
    --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #754ef9;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
    --pie-fill: #754ef9;
    --pie-bg: #e0d8ff;
    --nav-btn-bg: rgba(255, 255, 255, 0.9);
    --nav-btn-text: #333;
    --nav-btn-hover: rgba(117, 78, 249, 0.8);
}

.dark-mode {
    --bg-color: #0b061f;
    --text-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .7);
    --pie-bg: #1a0d4a;
    --nav-btn-bg: rgba(255, 255, 255, 0.9);
    --nav-btn-text: #333;
    --nav-btn-hover: rgba(117, 78, 249, 0.8);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    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;
    cursor: default;
    margin-right: auto;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-btn {
    font-size: 1.7rem;
    color: var(--nav-btn-text);
    font-weight: 600;
    margin: 0 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    background: var(--nav-btn-bg);
    transition: all 0.3s ease;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.header.sticky .nav-btn {
    color: var(--nav-btn-text);
}

.header.sticky .nav-btn.active {
    background: var(--main-color);
    color: var(--white-color);
}

.nav-btn:hover {
    background: var(--nav-btn-hover);
    color: var(--white-color);
    transform: translateY(-0.2rem);
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.2);
}

.nav-btn.active {
    background: var(--main-color);
    color: var(--white-color);
    box-shadow: 0 .2rem .5rem var(--shadow-color);
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--white-color);
    cursor: pointer;
    margin-left: 2rem;
}

.header.sticky #darkMode-icon {
    color: var(--text-color);
    opacity: .9;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    margin-left: 2rem;
}

section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}

.home {
    display: flex;
    align-items: center;
}

.home .home-content {
    max-width: 44rem;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.name-container {
    margin-bottom: 2rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.home-content p {
    font-size: 1.6rem;
}

.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);
    transform: scale(1.1);
}

.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;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
    transform: scale(1.05);
}

.home .profession-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 768px;
    height: 768px;
    overflow: hidden;
    pointer-events: none;
}

.home .profession-container .profession-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 768px;
    height: 768px;
    border-radius: 50%;
    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%;
}

.home .profession-container .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 384px solid var(--main-color);
    border-right: 384px solid var(--main-color);
    border-bottom: 384px solid var(--main-color);
    border-left: 384px solid transparent;
}

.home-img img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.home-img img:hover {
    transform: scale(0.95);
}

span {
    color: var(--main-color);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-img img {
    width: 30vw;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--shadow-color);
    transition: transform 0.5s ease;
}

.about-img img:hover {
    transform: scale(0.95);
}

.heading {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 5rem;
}

.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;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 1.6rem;
}

.tab-contents ul li span {
    color: var(--main-color);
    font-size: 1.8rem;
}

.tab-contents {
    display: none;
}

/* Institution-specific colors: IIMB (dark red) and JAIN (dark navy blue) */
.institution-name.iimb {
    color: #b01116; /* DarkRed - aesthetic deep red */
}

.institution-name.jain {
    color: #001b54; /* Dark navy blue */
}

.tab-contents.active-tab {
    display: block;
}

.education {
    min-height: auto;
    padding-bottom: 7rem;
}

.education-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.education-container .education-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;
}

.education-container .education-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.edu-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.education-box:hover .edu-logo {
    transform: scale(1.1);
}

.education-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.education-box:hover h3 {
    color: var(--main-color);
}

.education-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.education-content ul {
    text-align: left;
    margin-left: 2rem;
}

.education-content ul li {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    list-style-type: disc;
}
/* ========== PROFESSIONAL DEVELOPMENT SECTION ========== */
.professional-development {
    min-height: auto;
    padding: 8rem 7% 6rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.professional-development .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.professional-development .section-description {
    font-size: 1.8rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.professional-development-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .professional-development-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.development-card {
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(117, 78, 249, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.development-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(117, 78, 249, 0.15);
}

.development-card.iim-card {
    animation-delay: 0.1s;
    border-top: 4px solid #d50000;
}

.development-card.jain-card {
    animation-delay: 0.2s;
    border-top: 4px solid #0d47a1;
}

.certification-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(117, 78, 249, 0.3);
}

.certification-badge i {
    font-size: 1rem;
}

.certification-header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(117, 78, 249, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(117, 78, 249, 0.1);
}

.institution-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    border: 1px solid rgba(117, 78, 249, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.development-card:hover .institution-logo {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.institution-logo-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.development-card:hover .institution-logo-img {
    transform: scale(1.15);
}

.certification-title {
    flex: 1;
}

.certification-title h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.3;
}

.institution-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.certification-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.in-progress {
    background: rgba(255, 193, 7, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.duration {
    background: rgba(117, 78, 249, 0.1);
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.certification-body {
    padding: 2rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mentor-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(117, 78, 249, 0.2);
}

.mentor-info h4 {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mentor-info p {
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.5;
}

.course-description {
    margin-bottom: 2.5rem;
}

.course-description p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.key-learnings {
    margin-bottom: 2.5rem;
}

.key-learnings h4 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .learning-grid {
        grid-template-columns: 1fr;
    }
}

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(117, 78, 249, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.learning-item:hover {
    background: rgba(117, 78, 249, 0.1);
    transform: translateX(5px);
}

.learning-item i {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.learning-item span {
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.5;
}

.industry-applications {
    margin-bottom: 2.5rem;
}

.industry-applications h4 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.applications-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.application-pill {
    background: rgba(117, 78, 249, 0.1);
    color: var(--main-color);
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(117, 78, 249, 0.2);
}

.application-pill:hover {
    background: rgba(117, 78, 249, 0.2);
    transform: translateY(-2px);
}

.certification-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(117, 78, 249, 0.1);
    margin-top: auto;
}

.institution-prestige {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 500;
}

.institution-prestige i {
    color: #FFD700;
    font-size: 1.4rem;
}

.professional-development-cta {
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
    box-shadow: 0 15px 40px rgba(117, 78, 249, 0.3);
}

.cta-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: white;
    color: var(--main-color);
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

/* Dark mode adjustments */
.dark-mode .professional-development {
    background: var(--bg-color);
}

.dark-mode .development-card {
    background: var(--bg-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .institution-logo {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .learning-item {
    background: rgba(117, 78, 249, 0.08);
}

.dark-mode .application-pill {
    background: rgba(117, 78, 249, 0.15);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .professional-development {
        padding: 6rem 5% 4rem;
    }
    
    .professional-development-container {
        grid-template-columns: 1fr;
    }
    
    .certification-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem 1rem;
    }
    
    .institution-logo {
        align-self: center;
    }
    
    .certification-body {
        padding: 1.5rem;
    }
    
    .certification-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .professional-development-cta {
        padding: 3rem 2rem;
    }
    
    .cta-content h3 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .professional-development-container {
        grid-template-columns: 1fr;
    }
    
    .development-card {
        min-height: auto;
    }
    
    .certification-title h3 {
        font-size: 2rem;
    }
    
    .institution-name {
        font-size: 1.4rem;
    }
    
    .certification-meta {
        justify-content: center;
    }
    
    .professional-development-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.4rem;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        justify-content: center;
    }
}
}
.experience {
    min-height: auto;
    padding-bottom: 7rem;
}

.experience-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-box {
    display: flex;
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    transition: .5s ease;
    align-items: flex-start;
    gap: 2rem;
}

.experience-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.01);
}

.experience-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    border: .5rem solid var(--bg-color);
    outline: .5rem solid var(--main-color);
    transition: transform 0.5s ease;
}

.experience-box:hover img {
    transform: scale(1.1);
}

.experience-content h3 {
    font-size: 2.2rem;
    color: var(--main-color);
}

.experience-content p {
    font-size: 1.6rem;
    margin: .5rem 0 1.5rem;
}

.experience-content .duration {
    font-size: 1.4rem;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.experience-content ul {
    margin-left: 2rem;
}

.experience-content ul li {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    list-style-type: disc;
}

.skills {
    min-height: auto;
    padding-bottom: 7rem;
}

.skills-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.skill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease;
    min-width: 200px;
}

.skill-item:hover {
    transform: scale(1.05);
}

.chart {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.pie-chart {
    transform: rotate(-90deg);
}

.pie-background {
    fill: none;
    stroke: var(--pie-bg);
    stroke-width: 12;
}

/* Update the pie chart animation styles */
.pie-fill {
    fill: none;
    stroke: var(--pie-fill);
    stroke-width: 12;
    stroke-dasharray: 339.292; /* 2 * π * r (54) */
    stroke-dashoffset: 339.292; /* Start with full offset (empty) */
    transition: stroke-dashoffset 2.5s ease-in-out; /* Slower, smoother transition */
}

.chart-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.percent {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.skill-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
}

.percent {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.skill-item h3 {
    font-size: 2.2rem;
    text-align: center;
}

/* Projects Section */
.projects {
    padding: 8rem 7% 4rem;
    background: var(--bg-color);
    min-height: auto;
}

.projects .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.projects .section-header h2 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.projects .section-header h2 span {
    color: var(--main-color);
}

.projects .section-description {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(117, 78, 249, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(117, 78, 249, 0.2);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.project-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.project-description {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex: 1;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-pill {
    background: rgba(117, 78, 249, 0.1);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.stat-pill i {
    font-size: 1.2rem;
    color: var(--main-color);
}

.project-card:hover .stat-pill {
    background: rgba(117, 78, 249, 0.2);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.tech-pill {
    background: rgba(117, 78, 249, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--main-color);
    border: 1px solid rgba(117, 78, 249, 0.15);
    transition: all 0.3s ease;
}

.project-card:hover .tech-pill {
    background: rgba(117, 78, 249, 0.15);
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    margin-top: auto;
}

.project-link.primary {
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    box-shadow: 0 4px 15px rgba(117, 78, 249, 0.3);
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 78, 249, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Projects Section Animation Fixes */
.projects {
    padding: 8rem 7% 4rem;
    background: var(--bg-color);
    min-height: auto;
    overflow: hidden; /* Add this to prevent animation glitches */
}

.project-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Shine Effect Fix */
.project-link {
    position: relative;
    overflow: hidden;
}

.project-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.project-link:hover::after {
    left: 120%;
}

/* Card Hover Effects */
.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(117, 78, 249, 0.2);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 6rem 5% 3rem;
    }
    
    .project-card {
        --i: 0 !important; /* Reset animation delay for mobile */
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
.project-card {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 6rem 5% 3rem;
    }
    
    .projects .section-header h2 {
        font-size: 3.5rem;
    }
    
    .projects .section-description {
        font-size: 1.6rem;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-description {
        font-size: 1.4rem;
    }
    
    .stat-pill,
    .tech-pill {
        font-size: 1.2rem;
    }
    
    .project-link {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .projects {
        padding: 5rem 3% 2rem;
    }
    
    .projects .section-header h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .projects .section-description {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-description {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .project-stats {
        margin-bottom: 1.5rem;
    }
    
    .project-tech {
        margin-bottom: 2rem;
    }
}

/* ========== LEADERSHIP SECTION ========== */
/* ========== LEADERSHIP SECTION ========== */
.leadership {
    min-height: auto;
    padding: 8rem 7% 4rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.leadership .section-description {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.leadership-card {
    background: var(--bg-color);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(117, 78, 249, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(117, 78, 249, 0.15);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 4rem rgba(117, 78, 249, 0.2);
}

.card-header {
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    position: relative;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
}

/* Improved Role Tag Design */
.role-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--main-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leadership-card:hover .role-tag {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.role-tag i {
    font-size: 1rem;
    color: var(--main-color);
}

/* Floating elements (keep these if you want the floating background elements) */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
}

.floating-1 {
    width: 200px;
    height: 200px;
    background: var(--main-color);
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.floating-2 {
    width: 150px;
    height: 150px;
    background: #FF69B4;
    bottom: 10%;
    right: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership {
        padding: 6rem 5% 3rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .card-header {
        min-height: 20rem;
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .role-tag {
        top: 1rem;
        right: 1rem;
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .leadership .section-description {
        font-size: 1.6rem;
    }
    
    .role-tag {
        font-size: 1rem;
    }
}
/* ========== LEADERSHIP GRID LAYOUT ========== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    padding-top: 20px; /* Space for ribbons */
}

.leadership-card {
    position: relative;
    margin-top: 15px; /* Space for ribbon */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .role-ribbon {
        font-size: 1.3rem;
        padding: 0 20px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .role-ribbon {
        font-size: 1.2rem;
        padding: 0 15px;
        height: 26px;
    }
}
/* ========== LEADERSHIP GRID LAYOUT ========== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1400px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}
}

.card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.leadership-card:hover .card-header::after {
    transform: rotate(30deg) translateX(20px);
}

.role-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.leadership-card:hover .role-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-title i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.card-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    padding-left: 1rem;
}

.card-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
}

.metrics-container {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
}

.metric-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
}

.metric-pill i {
    font-size: 0.7rem;
}

.leadership-card:hover .metric-pill {
    background: rgba(255, 255, 255, 0.3);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.star-timeline {
    position: relative;
    padding-left: 26px;
    flex: 1;
    margin-bottom: 1.5rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 3px;
    background: linear-gradient(to bottom, #FF69B4, #FF1493);
    border-radius: 3px;
    transition: height 1.5s ease-out;
}

.timeline-line.active {
    height: 100%;
}

.star-item {
    position: relative;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

.star-item.active {
    opacity: 1;
    transform: translateY(0);
}

.star-item:last-child {
    margin-bottom: 0;
}

.star-marker {
    position: absolute;
    left: -32px;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid #FF69B4;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 105, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

.star-marker i {
    font-size: 0.6rem;
    color: #FF69B4;
}

.star-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.star-content {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

.highlight-number {
    font-weight: 700;
    color: #FF69B4;
    position: relative;
}

.highlight-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FF69B4;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.leadership-card:hover .highlight-number::after {
    transform: scaleX(1);
    transform-origin: left;
}

.key-metrics {
    background: rgba(112, 0, 255, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 4px solid var(--main-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: auto;
}

.leadership-card:hover .key-metrics {
    background: rgba(112, 0, 255, 0.08);
    transform: translateY(-5px);
}

.metrics-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.metrics-title i {
    margin-right: 0.6rem;
    font-size: 0.85rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.metric-card {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(117, 78, 249, 0.05);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 0;
}

.leadership-card:hover .metric-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(117, 78, 249, 0.15);
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1;
    margin-bottom: 0.3rem;
    transition: all 0.5s ease;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

/* Animation styles */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.leadership-card {
    animation: fadeInUp 0.8s forwards;
}

.leadership-card:nth-child(1) { animation-delay: 0.1s; }
.leadership-card:nth-child(2) { animation-delay: 0.2s; }
.leadership-card:nth-child(3) { animation-delay: 0.3s; }

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .leadership-grid {
        gap: 1.25rem;
    }
    
    .leadership-card {
        min-height: 560px;
    }
    
    .card-header {
        min-height: 170px;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .leadership {
        padding: 2.5rem 1rem;
    }

    .leadership .section-description {
        font-size: 1.4rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .leadership-card {
        min-height: auto;
    }

    .card-header, .card-body {
        padding: 1.25rem;
    }
    
    .card-header {
        min-height: auto;
    }

    .role-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .metric-value {
        font-size: 1.2rem;
    }
    
    .key-metrics {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .leadership {
        padding: 2rem 1rem;
    }

    .leadership .section-description {
        font-size: 1.2rem;
    }

    .card-header, .card-body {
        padding: 1.1rem;
    }

    .role-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .metric-pill {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }

    .star-timeline {
        padding-left: 22px;
        margin-bottom: 1.25rem;
    }

    .star-marker {
        left: -28px;
        width: 18px;
        height: 18px;
    }

    .star-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .star-content {
        font-size: 0.85rem;
    }

    .key-metrics {
        padding: 1rem;
    }

    .metrics-grid {
        gap: 0.6rem;
    }

    .metric-card {
        padding: 0.7rem 0.4rem;
        min-height: 65px;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }
}

/* Certifications Section */
.certifications {
    min-height: auto;
    padding-bottom: 7rem;
}

.certifications .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.6rem;
    color: #666;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.8rem 1.6rem;
    background: var(--bg-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.tab-btn i {
    font-size: 1.6rem;
}

.tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: var(--main-color);
    color: var(--white-color);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: var(--bg-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certificate-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.certificate-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    position: relative;
    min-height: 120px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.certificate-card .card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    padding-right: 70px;
    line-height: 1.3;
}

.certificate-card .card-header p {
    font-size: 1.4rem;
    opacity: 0.9;
    padding-right: 70px;
}

.certificate-card .card-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 2;
}

.certificate-card .card-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.certificate-card:hover .card-logo {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.certificate-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.certificate-card .card-body p {
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.certificate-card:hover .card-body p {
    transform: translateY(-2px);
}

.certificate-card .card-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.certificate-card .view-btn {
    padding: 0.8rem 1.6rem;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.certificate-card .view-btn:hover {
    background: #5a2fd4;
    transform: translateX(5px);
}

/* Category colors */
.category-1 .card-header {
    background: linear-gradient(135deg, #f72585, #b5179e);
}
.category-1 .view-btn {
    background: #f72585;
}

/* Marketing colors */
.category-2 .card-header {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
}
.category-2 .view-btn {
    background: #4895ef;
}

.category-3 .card-header {
    background: linear-gradient(135deg, #4cc9f0, #4895ef);
}
.category-3 .view-btn {
    background: #4cc9f0;
}

.category-4 .card-header {
    background: linear-gradient(135deg, #7209b7, #560bad);
}
.category-4 .view-btn {
    background: #7209b7;
}

.category-5 .card-header {
    background: linear-gradient(135deg, #3a0ca3, #480ca8);
}
.category-5 .view-btn {
    background: #3a0ca3;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.certificate-modal {
    background: transparent;
    border-radius: 8px;
    width: auto;
    max-width: 95%;
    max-height: 95vh;
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active .certificate-modal {
    transform: scale(1);
}

.certificate-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(117, 78, 249, 0.5);
    object-fit: contain;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f72585;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: #d11a6b;
}

/* Animation delays for cards */
.certificate-card:nth-child(1) { animation-delay: 0.1s; }
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.3s; }
.certificate-card:nth-child(4) { animation-delay: 0.4s; }
.certificate-card:nth-child(5) { animation-delay: 0.5s; }
.certificate-card:nth-child(6) { animation-delay: 0.6s; }
.certificate-card:nth-child(7) { animation-delay: 0.7s; }
.certificate-card:nth-child(8) { animation-delay: 0.8s; }
.certificate-card:nth-child(9) { animation-delay: 0.9s; }
.certificate-card:nth-child(10) { animation-delay: 1s; }
.certificate-card:nth-child(11) { animation-delay: 1.1s; }
.certificate-card:nth-child(12) { animation-delay: 1.2s; }



.contact {
    min-height: auto;
    padding-bottom: 7rem;
}

.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);
    transition: transform 0.3s ease;
}

.contact form .input-box input:hover,
.contact form textarea:hover {
    transform: scale(1.02);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: .8rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.popup-icon i {
    transition: transform 0.3s ease;
}

.popup-icon:hover i {
    transform: scale(1.2);
}

.info-item i {
    font-size: 3rem;
    color: var(--main-color);
}

.info-item h3 {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}

.info-item p {
    font-size: 1.5rem;
}

.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);
    transform: scale(1.1);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #333;
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container {
        height: 85.8rem;
    }

    .home .profession-container .profession-box {
        right: -12rem;
        height: 85.8rem;
    }

    .home .profession-container .overlay {
        right: -9rem;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .profession-container .profession-box {
        right: -22rem;
    }

    .home .profession-container .overlay {
        right: -15rem;
    }

    .skill-row {
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        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: -45rem;
    }

    .home .profession-container .overlay {
        right: -39.5rem;
    }

    .home-img img {
        display: none;
    }

    .skill-row {
        gap: 2rem;
    }

    .contact {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    #darkMode-icon {
        position: absolute;
        right: 6rem;
        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;
        flex-direction: column;
    }

    .navbar.active {
        display: flex;
    }

    .nav-btn {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .social-media a {
        margin: 2.5rem .75rem 3rem;
    }

    .home .profession-container {
        left: 0;
        width: 100%;
        height: 100%;
    }

    .home .profession-container .profession-box {
        position: fixed;
        top: 60%;
        left: 0;
        border-radius: 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, -335px);
    }

    .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, -335px);
    }

    .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;
    }

    .experience-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .experience-box img {
        margin-bottom: 2rem;
    }

    /* Leadership Section Mobile */
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-card .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact form .input-box input {
        width: 100%;
    }

    .skill-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    #darkMode-icon {
        right: 5rem;
    }

    .home {
        padding: 0 3% 30rem;
    }

    .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, -335px);
    }

    .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, -335px);
    }

    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 365px) {
    .about-img img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

/* Gamified Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-progress-track {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        #FF6B6B, 
        #FF8E8E 30%, 
        #FFC3C3 60%, 
        #FFE66D 90%);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    transition: width 0.1s ease-out;
    position: relative;
    border-radius: 0 4px 4px 0;
}

.scroll-progress-dot {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 16px;
    height: 16px;
    background: #FFE66D;
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 230, 109, 0.8);
    z-index: 2;
    animation: pulse 2s infinite;
}

.scroll-progress-percent {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid #FFE66D;
    box-shadow: 0 0 15px rgba(255, 230, 109, 0.5);
}

.scroll-progress-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFE66D;
    line-height: 1;
}

.scroll-progress-symbol {
    font-size: 1rem;
    color: white;
    margin-top: -5px;
}

/* Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 105, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

/* Hover Effects */
.scroll-progress-percent:hover {
    transform: scale(1.1) rotate(10deg);
    background: rgba(0, 0, 0, 0.9);
}

/* Dark Mode Adjustments */
.dark-mode .scroll-progress-track {
    background: rgba(0, 0, 0, 0.3);
}

.dark-mode .scroll-progress-percent {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FF6B6B;
}

.dark-mode .scroll-progress-number {
    color: #FF6B6B;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-progress-percent {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
    .scroll-progress-number {
        font-size: 1.5rem;
    }
}
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    color: rgba(117, 78, 249, 0.2);
  }
  
  .wave-divider svg {
    width: calc(100% + 1.3px);
    height: 80px;
    display: block;
  }
  
  .dark-mode .wave-divider {
    color: rgba(117, 78, 249, 0.1);
  }
  .projects-box {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
  }
  
  .projects-box:hover {
    transform: translateY(-8px);
    box-shadow: 
      0 14px 28px rgba(117, 78, 249, 0.1),
      0 10px 10px rgba(117, 78, 249, 0.05);
  }
  
  .projects-layer {
    background: linear-gradient(135deg, rgba(117, 78, 249, 0.9), rgba(84, 84, 212, 0.9));
    backdrop-filter: blur(4px);
  }
  .skill-item:hover .pie-fill {
    animation: pulse-glow 1.5s infinite alternate;
  }
  
  @keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 5px rgba(117, 78, 249, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(117, 78, 249, 0.6)); }
  }
  .custom-shape-divider-top-1746107302 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1746107302 svg {
    position: relative;
    display: block;
    width: calc(181% + 1.3px);
    height: 143px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1746107302 .shape-fill {
    fill: #9013FE;
}
  /* ========== LEADERSHIP SECTION ========== */
.leadership {
    min-height: auto;
    padding-bottom: 7rem;
    position: relative;
}

.leadership .section-description {
    text-align: center;
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 3rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.leadership-card {
    background: var(--bg-color);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(117, 78, 249, 0.15);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    z-index: 1;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(117, 78, 249, 0.2);
}

.card-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white;
    position: relative;
    min-height: 18rem;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.role-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.leadership-card:hover .role-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-title i {
    font-size: 1.4rem;
}

.card-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    padding-left: 1.5rem;
}

.card-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.7rem;
    height: 0.7rem;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
}

.metrics-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.metric-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.metric-pill i {
    font-size: 1rem;
}

.leadership-card:hover .metric-pill {
    background: rgba(255, 255, 255, 0.3);
}

.card-body {
    padding: 2rem;
}

.star-timeline {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--main-color), #FF1493);
    border-radius: 3px;
    transition: height 1.5s ease-out;
}

.timeline-line.active {
    height: 100%;
}

.star-item {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.star-item.active {
    opacity: 1;
    transform: translateY(0);
}

.star-item:last-child {
    margin-bottom: 0;
}

.star-marker {
    position: absolute;
    left: -3.6rem;
    top: 0.3rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(117, 78, 249, 0.4);
    animation: pulse 2s infinite;
}

.star-marker i {
    font-size: 0.8rem;
    color: var(--main-color);
}

.star-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.star-content {
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.6;
}

.highlight-number {
    font-weight: 600;
    color: var(--main-color);
    position: relative;
}

.highlight-number::after {
    content: '';
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    width: 100%;
    height: 0.3rem;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.leadership-card:hover .highlight-number::after {
    transform: scaleX(1);
    transform-origin: left;
}

.key-metrics {
    background: rgba(117, 78, 249, 0.05);
    border-radius: 1.2rem;
    padding: 1.5rem;
    border-left: 0.4rem solid var(--main-color);
    transition: all 0.3s ease;
    margin-top: auto;
}

.leadership-card:hover .key-metrics {
    background: rgba(117, 78, 249, 0.08);
    transform: translateY(-0.5rem);
}

.metrics-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.metrics-title i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.metrics-grid {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.metrics-grid::-webkit-scrollbar {
    display: none;
}

.metric-card {
    min-width: 9rem;
    flex: 1;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 1rem;
    box-shadow: 0 0.3rem 1rem rgba(117, 78, 249, 0.05);
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.leadership-card:hover .metric-card {
    transform: translateY(-0.3rem);
    box-shadow: 0 0.5rem 1.5rem rgba(117, 78, 249, 0.1);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Floating elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(6rem);
    opacity: 0.1;
    z-index: -1;
}

.floating-1 {
    width: 20rem;
    height: 20rem;
    background: var(--main-color);
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.floating-2 {
    width: 15rem;
    height: 15rem;
    background: #FF69B4;
    bottom: 10%;
    right: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2rem, 2rem); }
}

/* Animation styles */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(3rem); }
    to { opacity: 1; transform: translateY(0); }
}

.leadership-card {
    animation: fadeInUp 0.8s forwards;
}

.leadership-card:nth-child(1) { animation-delay: 0.1s; }
.leadership-card:nth-child(2) { animation-delay: 0.2s; }
.leadership-card:nth-child(3) { animation-delay: 0.3s; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .leadership {
        padding: 5rem 3% 3rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-header {
        min-height: 16rem;
        padding: 1.5rem;
    }
    
    .role-icon {
        width: 4.4rem;
        height: 4.4rem;
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
    
    .card-subtitle {
        font-size: 1.3rem;
    }
    
    .metric-pill {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .star-timeline {
        padding-left: 2.6rem;
    }
    
    .star-marker {
        left: -3.2rem;
        width: 2rem;
        height: 2rem;
    }
    
    .star-label {
        font-size: 1.4rem;
    }
    
    .star-content {
        font-size: 1.3rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .metric-card {
        min-height: 8rem;
    }
    
    .metric-value {
        font-size: 1.6rem;
    }
    
    .metric-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .leadership .section-description {
        font-size: 1.4rem;
    }
    
    .card-header {
        min-height: auto;
    }
    
    .role-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .card-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .metric-pill {
        font-size: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }
    
    .metric-card {
        min-height: 7rem;
        padding: 0.8rem 0.5rem;
    }
    
    .metric-value {
        font-size: 1.4rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .floating-1 {
        width: 15rem;
        height: 15rem;
    }
    
    .floating-2 {
        width: 10rem;
        height: 10rem;
    }
}


/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    min-height: auto;
    padding: 8rem 7% 6rem;
    position: relative;
    overflow: hidden;
}

.testimonials .section-description {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 5rem;
}

.testimonials-container {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    will-change: transform;
    transition: transform 0.5s ease;
}

.testimonial-card {
    width: 380px;
    min-width: 380px;
    height: 480px;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.15);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(112, 0, 255, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(112, 0, 255, 0.1);
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px dashed rgba(112, 0, 255, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 2px solid rgba(112, 0, 255, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-name {
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    line-height: 1.4;
}

.verified-badge {
    color: #1DA1F2;
    font-size: 1.2rem;
}

.author-title {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.company-logo {
    height: 50px;
    display: flex;
    justify-content: flex-start;
}

.company-logo img {
    height: 100%;
    max-width: 150px;
    object-fit: contain;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid rgba(112, 0, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.control-btn:hover {
    background: var(--main-color);
    color: white;
    transform: scale(1.1);
}

.control-btn i {
    font-size: 1.4rem;
}

.radio-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.radio-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f9f5ff;
    border: 2px solid var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-indicator.active {
    background: var(--main-color);
    transform: scale(1.2);
}
/* ===== ENHANCED GALLERY SECTION STYLES ===== */
.gallery {
  min-height: auto;
  padding: 8rem 7% 10rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-color);
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.gallery .section-description {
  font-size: 1.8rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.gallery-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 30s linear infinite;
  will-change: transform;
}

@media (max-width: 768px) {
  .gallery-track {
    animation: scroll 20s linear infinite;
    gap: 2rem;
  }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.gallery-item {
  width: 380px;
  min-width: 380px;
  background: var(--bg-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(117, 78, 249, 0.1);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .gallery-item {
    width: 320px;
    min-width: 320px;
  }
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(117, 78, 249, 0.15);
}

.gallery-image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-image-container {
    height: 300px;
  }
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-content {
  padding: 2rem;
  flex: 1;
}

.gallery-content h3 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
  font-weight: 600;
}

.gallery-content p {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-top: 1px dashed rgba(117, 78, 249, 0.2);
  background: rgba(117, 78, 249, 0.03);
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
}

.footer-left {
  justify-content: flex-start;
}

.footer-right {
  justify-content: flex-end;
}

.footer-left i, .footer-right i {
  color: var(--main-color);
}

.footer-left span, .footer-right span {
  font-weight: 600;
  color: var(--text-color);
}

/* Modal Styles */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  animation: zoom 0.3s;
  border-radius: 8px;
  object-fit: contain;
}

@keyframes zoom {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

#caption {
  margin: 15px auto;
  display: block;
  width: 80%;
  max-width: 800px;
  text-align: center;
  color: #fff;
  padding: 10px 0;
  font-size: 1.8rem;
  font-weight: 500;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10001;
  background: rgba(117, 78, 249, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close-modal:hover {
  background: rgba(117, 78, 249, 1);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
  
  .close-modal {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  
  #caption {
    font-size: 1.5rem;
    margin: 10px auto;
  }
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .testimonial-card {
        width: 340px;
        min-width: 340px;
        height: 440px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 6rem 5% 5rem;
    }
    
    .testimonial-card {
        width: 300px;
        min-width: 300px;
        height: 420px;
        padding: 2.5rem;
    }
    
    .testimonial-content {
        font-size: 1.4rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-name {
        font-size: 1.4rem;
    }
    
    .author-title {
        font-size: 1.1rem;
    }
    
    .company-logo {
        height: 40px;
    }
    
    .testimonial-controls {
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .testimonials .section-description {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        width: 280px;
        min-width: 280px;
        height: 400px;
        padding: 2rem;
    }
    
    .testimonial-content {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 1.3rem;
    }
    
    .author-title {
        font-size: 1rem;
    }
    
    .company-logo {
        height: 35px;
    }
    
    .testimonial-controls {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
    
    .radio-indicators {
        gap: 1rem;
    }
}

/* Quick Links on Home */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.quick-link {
    padding: 1rem 2rem;
    background: var(--main-color);
    color: white;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(117, 78, 249, 0.3);
    text-decoration: none;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 78, 249, 0.4);
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        height: 420px;
        padding: 1.8rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-title {
        font-size: 0.9rem;
    }
    
    .company-logo {
        height: 35px;
    }
    
    .testimonials-track {
        animation-duration: 35s;
        gap: 1.5rem;
    }
    
    .quick-links {
        gap: 1.5rem;
    }
    
    .quick-link {
        padding: 0.8rem 1.6rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 280px;
        height: 400px;
        padding: 1.5rem;
    }
    
    .testimonial-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-title {
        font-size: 0.85rem;
    }
    
    .company-logo {
        height: 30px;
    }
    
    .testimonial-controls {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .control-btn {
        width: 42px;
        height: 42px;
    }
    
    .testimonials-track {
        animation-duration: 30s;
        gap: 1.2rem;
    }
    
    .quick-links {
        gap: 1rem;
    }
    
    .quick-link {
        padding: 0.7rem 1.4rem;
        font-size: 1.2rem;
    }
}

/* Header alignment fixes */
.header {
    justify-content: space-between;
}

.logo {
    margin-right: 0; /* Remove the auto margin */
    flex-shrink: 0; /* Prevent shrinking */
}

.navbar {
    margin-left: auto; /* Push navbar to the right */
    padding-right: 2rem; /* Add some right padding */
}

@media (max-width: 768px) {
    .navbar {
        padding-right: 0;
    }
}
/* Additional Projects Styles */
.additional-project {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.additional-project.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.projects-footer {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(117, 78, 249, 0.1);
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--main-color), #5a2fd4);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(117, 78, 249, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 78, 249, 0.4);
    background: linear-gradient(135deg, #5a2fd4, var(--main-color));
    color: white !important;
}

.load-more-btn .btn-text,
.load-more-btn .btn-icon {
    color: white !important;
}

.load-more-btn .btn-icon {
    transition: transform 0.3s ease;
    color: white !important;
}

.load-more-btn.expanded .btn-icon {
    transform: rotate(180deg);
    color: white !important;
}

/* Ensure white text color */
.btn-text {
    color: white !important;
}

/* Maintain 4x1 grid layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: stretch;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-footer {
        margin-top: 3rem;
    }
    
    .load-more-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .load-more-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
