html {
    scroll-behavior: smooth;
}

body {
    color: #F2F2F2;
    background-color: #0D0126;
    font-family: Inter, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

img[src*=".svg"] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.image-loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-loaded {
    opacity: 1;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #9373D9;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-on-scroll,
    .animate-on-scroll-left,
    .animate-on-scroll-right,
    .animate-on-scroll-scale,
    .stagger-animation {
        transition: none !important;
        animation: none !important;
    }
    
    .skill-item:hover,
    .testimonial-box:hover,
    .certificate-box:hover,
    .contact-partition:hover,
    .about-box:hover {
        transform: none !important;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-on-scroll-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-on-scroll-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-on-scroll-scale.animated {
    opacity: 1;
    transform: scale(1);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.stagger-animation.animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOut {
    0%, 100% { 
        opacity: 0.6; 
    }
    50% { 
        opacity: 1; 
    }
}
/* ends */

/* Intro Banner */
.intro-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0d0d0d;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    will-change: transform;
}

.intro-banner.slide-up {
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.introBanner-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 2rem;
}

.introBanner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.introBanner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.introBanner-prompt {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.introBanner-prompt p {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin: 0;
    animation: fadeInOut 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .intro-content {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) and (max-height: 1024px) {
    .intro-banner {
        display: none !important;
    }
}
/* ends */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.3);
    backdrop-filter: blur(7px);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    will-change: transform, backdrop-filter;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.logo img {
    height: 6vh;
    width: 6vh;
    transition: transform 0.3s ease;
    will-change: transform;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
    padding-right: 4rem;
    gap: 2rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6B21A8, #9373D9);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}
  
.nav-links li a:hover {
    color: #9373D9;
    transform: translateY(-2px);
}
/* ends */


/* Home Section */
.home {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0D0D;
    padding-top: 80px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(107, 33, 168, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(147, 115, 217, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}

.home-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    max-width: 1400px;
    height: calc(100vh - 80px);
    padding: 0 5vw;
    box-sizing: border-box;
    background: none;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
    position: relative;
    z-index: 1;
}

.home-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    min-width: 0;
    z-index: 1;
}

.home-text h1 {
    font-size: 2.5rem;
    font-weight: 750;
    margin: 0;
    letter-spacing: 2px;
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.name {
    font-size: 3.2rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(147, 115, 217, 0.2);
    background: linear-gradient(135deg, #6B21A8, #9373D9, #A68A56);
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-subtitle {
    font-size: 1.3rem;
    color: #f2f2f2;
    margin: 0;
    font-weight: 600;
    animation: fadeInLeft 1s ease-out 0.7s both;
}

.home-description {
    font-size: 1.1rem;
    color: #a6a6a6;
    margin: 0;
    max-width: 500px;
    animation: fadeInLeft 1s ease-out 0.9s both;
}

.socials {
    margin-top: 1.2rem;
    display: flex;
    gap: 1.2rem;
    animation: fadeInLeft 1s ease-out 1.1s both;
}

.socials a {
    color: #A68A56;
    font-size: 1.7rem;
    transition: all 0.3s ease;
    will-change: transform, color;
}

.socials a:hover {
    color: #9373D9;
    transform: translateY(-5px) scale(1.15);
    filter: drop-shadow(0 5px 15px rgba(147, 115, 217, 0.4));
}

.home-image {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.profile-img {
    height: 350px;
    width: 350px;
    padding: 5px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0;
    transition: all 0.3s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(147, 115, 217, 0.3);
}

@media (max-width: 1000px) {
    .home-content {
        flex-direction: column-reverse;
        height: auto;
        padding: 2rem 1rem;
    }
    .home-text, .home-image {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .profile-img {
        height: 200px;
        width: 200px;
    }
}

@media (max-width: 600px) {
    .home-text h1 {
        font-size: 2rem;
    }
    .profile-img {
        height: 120px;
        width: 120px;
    }
}
/* ends */

/* About Section */
.about {
    min-height: 100vh;
    width: 100vw;
    background: #161616;
    padding: 120px 5vw 80px 5vw;
    box-sizing: border-box;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(147, 115, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    color: #f2f2f2;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(147, 115, 217, 0.2);
    animation: fadeInUp 1s ease-out both;
}

.about-boxes {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-box {
    flex: 1;
    background: #0d0d0d;
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(107, 33, 168, 0.3);
    border-color: rgba(147, 115, 217, 0.2);
}

.about-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f2f2f2;
    transition: color 0.3s ease;
}

.about-box:hover h3 {
    color: #9373D9;
}

.about-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #a6a6a6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.about-box:hover p {
    color: #d0d0d0;
}

.journey-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.journey-item:hover {
    transform: translateX(5px);
}

.journey-year {
    background: linear-gradient(135deg, #6B21A8, #9373D9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    will-change: transform;
}

.journey-item:hover .journey-year {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.4);
}

.journey-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f2f2f2;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.journey-item:hover .journey-content h4 {
    color: #9373D9;
}

.journey-content p {
    font-size: 0.9rem;
    color: #a6a6a6;
    margin: 0;
    transition: color 0.3s ease;
}

.journey-item:hover .journey-content p {
    color: #d0d0d0;
}

.skills-section {
    background: #0d0d0d;
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.skills-section:hover {
    border-color: rgba(147, 115, 217, 0.2);
    box-shadow: 0 15px 40px rgba(107, 33, 168, 0.2);
}

.skills-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #9373D9;
    text-align: center;
    transition: color 0.3s ease;
}

.skills-section:hover h3 {
    color: #A68A56;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f2f2f2;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.skill-category:hover h4 {
    color: #9373D9;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-item {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(147, 115, 217, 0.2));
    border: 1px solid rgba(147, 115, 217, 0.3);
    color: #A68A56;
    padding: 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 80px;
    text-align: center;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #F2F2F2;
    transition: all 0.3s ease;
    will-change: transform;
}

.skill-item img {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    object-fit: contain;
    transition: all 0.3s ease;
    will-change: transform;
    display: block;
    filter: brightness(1) contrast(1);
    max-width: 100%;
    height: auto;
}

.skill-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #A68A56;
    transition: color 0.3s ease;
}

.skill-item:hover {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.4), rgba(147, 115, 217, 0.4));
    border-color: #9373D9;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 115, 217, 0.4);
}

.skill-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #9373D9;
}

.skill-item:hover img {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.1) contrast(1.1);
}

.skill-item:hover span {
    color: #FFFFFF;
}

@media (max-width: 1000px) {
    .about-boxes {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .about {
        padding: 100px 3vw 60px 3vw;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-box {
        padding: 1.5rem;
    }
    
    .about-box h3 {
        font-size: 1.5rem;
    }
    
    .journey-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .journey-year {
        align-self: flex-start;
    }
    
    .skills-section {
        padding: 1.5rem;
    }
    
    .skills-section h3 {
        font-size: 1.5rem;
    }
    
    .skill-items {
        gap: 0.6rem;
    }
    
    .skill-item {
        font-size: 0.8rem;
        padding: 0.8rem;
        min-width: 70px;
        min-height: 70px;
    }
    
    .skill-item i {
        font-size: 1.5rem;
    }
    
    .skill-item span {
        font-size: 0.7rem;
    }
}
/* ends */

/* Testimonial Section */
.testimonials {
    padding: 5rem 2rem;
    background: #0d0d0d;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(147, 115, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    min-height: 250px;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.testimonial-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #6B21A8, #9373D9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-box:hover::before {
    transform: scaleX(1);
}

.testimonial-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(147, 115, 217, 0.3);
    border-color: rgba(147, 115, 217, 0.4);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #E0E0E0;
    font-style: italic;
    margin: 0;
    transition: color 0.3s ease;
}

.testimonial-box:hover .testimonial-content p {
    color: #FFFFFF;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: auto;
    transition: border-color 0.3s ease;
}

.testimonial-box:hover .testimonial-author {
    border-color: rgba(147, 115, 217, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.25rem 0;
    transition: color 0.3s ease;
}

.testimonial-box:hover .author-info h4 {
    color: #9373D9;
}

.author-info span {
    font-size: 0.9rem;
    color: #9373D9;
    font-weight: 400;
    transition: color 0.3s ease;
}

.testimonial-box:hover .author-info span {
    color: #A68A56;
}

@media (max-width: 1000px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-box {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
}
/* ends */

/* Certificates Section */
.certificates {
    padding: 4rem 2rem;
    background: #161616;
    position: relative;
}

.certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(107, 33, 168, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.certificates-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.certificates-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
    position: relative;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(10px);
    will-change: transform, background;
}

.carousel-btn:hover {
    background: rgba(107, 33, 168, 0.4);
    border-color: rgba(107, 33, 168, 0.6);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.certificates-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.certificates-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.certificate-box {
    min-width: 280px;
    max-width: 280px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.certificate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1), rgba(147, 115, 217, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-box:hover::before {
    opacity: 1;
}

.certificate-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(107, 33, 168, 0.3);
    border-color: rgba(107, 33, 168, 0.4);
}

.certificate-image-container {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    will-change: transform;
    position: relative;
    z-index: 1;
}

.certificate-image-container:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(107, 33, 168, 0.3);
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    will-change: transform;
}

.certificate-image-container:hover .certificate-image {
    transform: scale(1.1);
}

.certificate-info {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.certificate-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6B21A8, #9373D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.certificate-box:hover .certificate-title {
    background: linear-gradient(135deg, #9373D9, #A68A56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-description {
    font-size: 0.9rem;
    color: #B8B8B8;
    line-height: 1.4;
    margin: 0;
    transition: all 0.3s ease;
}

.certificate-box:hover .certificate-description {
    color: #FFFFFF;
}

@media (max-width: 1200px) {
    .certificate-box {
        min-width: 250px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .certificates {
        padding: 3rem 1rem;
    }
    
    .certificates-carousel {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .certificate-box {
        min-width: 220px;
        max-width: 220px;
        padding: 1rem;
    }
    
    .certificate-image-container {
        height: 140px;
    }
    
    .certificate-title {
        font-size: 1.1rem;
    }
    
    .certificate-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .certificate-box {
        min-width: 200px;
        max-width: 200px;
    }
    
    .certificate-image-container {
        height: 120px;
    }
    
    .certificate-title {
        font-size: 1rem;
    }
}
/* ends */

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: #0d0d0d;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(147, 115, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.05), rgba(147, 115, 217, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-box:hover::before {
    opacity: 1;
}

.contact-box:hover {
    box-shadow: 0 25px 60px rgba(147, 115, 217, 0.3);
    border-color: rgba(147, 115, 217, 0.4);
    transform: translateY(-5px);
}

.contact-partition {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, background;
    position: relative;
    z-index: 1;
}

.contact-partition:hover {
    background: rgba(107, 33, 168, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.contact-icon {
    background: linear-gradient(135deg, #6B21A8, #9373D9);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.contact-partition:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.4);
}

.contact-details h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 1rem 0;
    transition: color 0.3s ease;
}

.contact-partition:hover .contact-details h3 {
    color: #9373D9;
}

.contact-details p {
    font-size: 1rem;
    color: #B8B8B8;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-partition:hover .contact-details p {
    color: #FFFFFF;
}

.social-media-partition .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(147, 115, 217, 0.2));
    border: 1px solid rgba(147, 115, 217, 0.3);
    color: #A68A56;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.4), rgba(147, 115, 217, 0.4));
    border-color: #9373D9;
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 12px 35px rgba(147, 115, 217, 0.4);
    color: #FFFFFF;
}

@media (max-width: 1000px) {
    .contact-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .contact-partition {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 3rem 1rem;
    }
    
    .contact-box {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .contact-partition {
        padding: 1rem 0.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
/* ends */

/* Footer */
.footer {
    background: #0D0D0D;
    color: #F2F2F2;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(107, 33, 168, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(147, 115, 217, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: #B8B8B8;
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-content i {
    color: #ff6b6b;
    margin: 0 3px;
    animation: pulse 2s infinite;
}
/* ends */

/* Optimisation */
.skills-section .stagger-animation {
    opacity: 1;
    transform: translateY(0);
}

.skills-section .animate-on-scroll-scale {
    opacity: 1;
    transform: scale(1);
}

.skills-section .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll,
.animate-on-scroll-left,
.animate-on-scroll-right,
.animate-on-scroll-scale,
.stagger-animation {
    will-change: transform, opacity;
}

.skill-item,
.testimonial-box,
.certificate-box,
.contact-partition,
.about-box {
    will-change: transform, box-shadow;
} 
/* ends */
