@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 {
    /* Updated color palette - light cool theme */
    --bg-color: #f0faff; /* Very light blue */
    --second-bg-color: #e6f3f9; /* Soft pastel blue */
    --text-color: #000000; /* Dark cool navy for contrast */
    --main-color: #00acc1; /* Main accent: fresh cyan */
    --secondary-color: #4dd0e1; /* Secondary accent: light teal */
    --highlight-color: #81d4fa; /* Highlight accent: soft sky blue */
    --muted-color: #7b8b9a; /* Muted gray-blue */
    --border-color: rgba(0, 172, 193, 0.3); /* Subtle border */
    --shadow-color: rgba(0, 172, 193, 0.15); /* Soft shadow */
    --gradient-start: #00acc1;
    --gradient-end: #4dd0e1;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image: linear-gradient(to bottom right, rgb(255, 255, 255), rgba(177, 233, 248, 0.9));
    background-attachment: fixed;
}

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

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(157, 243, 246, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header.sticky{
    border-bottom: .1rem solid var(--border-color);
}

.logo{
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    text-shadow: 0 0 5px var(--shadow-color);
}

.navbar a{
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
    position: relative;
}

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

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

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

.home{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, var(--bg-color), var(--second-bg-color));
}

.home-img {
    width: 40rem;
    height: 40rem;
    border: 5px solid var(--muted-color);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px var(--shadow-color);
    position: relative;
}

.home-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, var(--main-color), transparent);
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02); /* Slightly larger to hide any border gap */
}

@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(2.4rem);
    }
    100%{
        transform: translateY(0);
    }
}

.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.home-content h3:nth-of-type(2) {  
    margin-bottom: 2rem;  
}

span{
    color: var(--main-color);
    text-shadow: 0 0 5px var(--shadow-color);
}

.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(90deg, var(--text-color), var(--highlight-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-content p{
    font-size: 1.6rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-top: 1.5rem;
}       

.social-media a {  
    display: inline-flex;  
    justify-content: center;  
    align-items: center;  
    width: 4rem;  
    height: 4rem;  
    background: rgba(123, 104, 238, 0.1);  
    border: .2rem solid var(--main-color);  
    border-radius: 50%;  
    font-size: 2rem;  
    color: var(--main-color);  
    margin: 3rem 1.5rem 3rem 0;  
    transition: .5s ease;
}

.social-media a:hover {  
    background: var(--main-color);  
    color: var(--bg-color);  
    box-shadow: 0 0 1.5rem var(--main-color);  
    transform: translateY(-5px);
}

.btn {  
    display: inline-block;  
    padding: 1.2rem 3rem;  
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));  
    border-radius: 4rem;  
    box-shadow: 0 0 1.5rem var(--shadow-color);  
    font-size: 1.6rem;  
    color: var(--text-color);  
    letter-spacing: .1rem;  
    font-weight: 600;  
    transition: .5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--gradient-end), var(--gradient-start));
    transition: .5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {  
    box-shadow: 0 0 2rem var(--main-color);
    transform: translateY(-3px);
}

section.about{
    background-color: var(--second-bg-color);
    background-image: radial-gradient(circle at top right, rgba(123, 104, 238, 0.05), transparent 70%);
}

.about-content {
    text-align: center;
    margin-bottom: 3rem;
}

.about h2 {
    margin-bottom: 5rem;
    font-size: 5rem;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}

.about-content p {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--muted-color);
}
  
.about-tabs {
    text-align: center;
}
  
.tabs {
    color: var(--highlight-color);
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 2px solid rgba(123, 104, 238, 0.2);
}
  
.tab {
    cursor: pointer;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.tab:hover {
    color: var(--main-color);
}
  
.tab.active {
    color: var(--main-color);
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
}
  
.tab-content {
    display: none;
    text-align: left;
    font-size: 1.9rem;
    background: rgba(194, 234, 242, 0.5);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}
  
.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
  
/* Education Timeline */
.education-timeline {
    position: relative;
    padding-left: 3rem;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(6, 161, 227, 0.945);
}

.education-card {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.1);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.university-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
}

.edu-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-info h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.education-info h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.specialization {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.education-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.education-meta i {
    color: var(--primary-color);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .experience-meta {
        justify-content: center;
    }
}


/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--second-bg-color);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 66, 0.1);
}

.cert-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.cert-card h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.cert-card p {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.achievements {
    background-color: rgba(15, 15, 19, 0.7);
    color: var(--text-color);
    padding: 25px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.achievements-list {
    list-style-type: none;
    padding-left: 0;
}

.achievements-list li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.achievements-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--main-color);
}

.achievements-list li strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
    color: var(--highlight-color);
}

.achievements-list li p {
    font-size: 1.4rem;
    color: var(--muted-color);
    margin: 0;
}


.Experiences .heading {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.Experiences .heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}
  
.Experiences .heading span {
    color: var(--main-color);
}







/*======================================================================================*/

/* Tech Stack Section */
section.tech-stack{
    background: var(--bg-color);
    background-image: radial-gradient(circle at bottom left, rgba(80, 166, 251, 0.05), transparent 70%);
}

.tech-stack {
    color: var(--text-color);
    text-align: center;
}
  
.tech-stack h2.heading {
    margin-bottom: 5rem;
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.tech-stack h2.heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}
  
.tech-stack h2 {
    margin-bottom: 5rem;
    font-size: 5rem;
}

.tech-stack h2 span {
    color: var(--text-color);
}
  
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
  
.stack-category {
    flex: 1 1 100%;
    max-width: 600px;
    margin: 20px auto;
}
  
.stack-category h3 {
    font-size: 1.8rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
  
.stack-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
  
.stack-item {
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    width: 120px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stack-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(123, 104, 238, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
  
.stack-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.2);
    border-color: var(--main-color);
}

.stack-item:hover::before {
    transform: translateX(100%);
}
  
.stack-item i {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 10px;
}
  
.stack-item p {
    font-size: 1rem;
    margin: 5px 0;
    font-weight: bold;
    color: var(--text-color);
}
  
.stack-item span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}
  
/* General Section Styling */
section.project {
    background: var(--second-bg-color);
    text-align: center;
    background-image: radial-gradient(circle at top left, rgba(123, 104, 238, 0.05), transparent 70%);
}
  
/* Section Heading Styling */
.project .heading {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.project .heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}
  
.project .heading span {
    color: var(--text-color);
}
  
/* Project Container Styling */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    row-gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
}
  
/* Individual Project Box Styling */
.project-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid var(--border-color);
}
  
.project-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease;
}
  
.project-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(123, 104, 238, 0.2);
}

.project-box:hover img {
    transform: scale(1.05);
}
  
/* Project Layer Styling */
.project-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 19, 0.85);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(3px);
}
  
.project-box:hover .project-layer {
    opacity: 1;
}
  
/* Project Layer Content Styling */
.project-layer h4 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--highlight-color);
    transform: translateY(-20px);
    transition: transform 0.5s ease;
}

.project-box:hover .project-layer h4 {
    transform: translateY(0);
}
  
.project-layer p {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.6;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    color: var(--muted-color);
}

.project-box:hover .project-layer p {
    transform: translateY(0);
}
  
.project-layer h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: normal;
    color: var(--secondary-color);
}
  
.project-layer a {
    color: var(--text-color);
    font-size: 2.2rem;
    margin-top: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: rgba(123, 104, 238, 0.2);
    border-radius: 50%;
    border: 2px solid var(--main-color);
}
  
.project-layer a:hover {
    color: var(--highlight-color);
    transform: scale(1.1);
}

/* Contact Section Styling */
.contact {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    background-image: radial-gradient(circle at bottom right, rgba(123, 104, 238, 0.05), transparent 70%);
}
  
.contact .heading {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.contact .heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}
  
.contact .heading span {
    color: var(--main-color);
}
  
.contact .description {
    font-size: 1.6rem;
    margin: 20px auto;
    max-width: 600px;
    line-height: 1.6;
    color: var(--muted-color);
}
  
.contact .divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
    margin: 30px auto;
}
  
.contact-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}
  
.contact-icons .icon {
    font-size: 2.8rem;
    color: var(--main-color);
    transition: transform 0.3s ease, color 0.3s ease;
    margin-bottom: 5px;
}
  
.contact-icons .icon:hover {
    transform: scale(1.2);
    color: var(--highlight-color);
}
  
.contact-icons p {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.footer {  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
    flex-wrap: wrap;  
    padding: 2rem 9%;  
    background: var(--second-bg-color);
    border-top: 1px solid var(--border-color);
}

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

.footer-iconTop a {  
    display: inline-flex;  
    justify-content: center;  
    align-items: center;  
    padding: 1rem;  
    background: var(--main-color);  
    border-radius: 1rem;  
    transition: .5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-iconTop a:hover {  
    background: var(--highlight-color);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.3);
    transform: translateY(-5px);
}
  
.footer-iconTop a i {  
    font-size: 2.4rem;  
    color: var(--bg-color);  
}

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

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

    .education{
        padding-bottom: 7rem;
    }

    .project{
        padding-bottom: 7rem;
    }

    .contact{
        min-height: auto;
    }

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

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

    .navbar {  
        position: absolute;  
        top: 100%;  
        left: 0;  
        width: 100%;  
        padding: 1rem 3%;  
        background: #e6f3f9;
        backdrop-filter: blur(10px);
        border-top: .1rem solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .navbar.active{
        display: block;
        animation: slideDown 0.5s ease;
    }

    @keyframes slideDown {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .navbar a {  
        display: block;  
        font-size: 2rem;  
        margin: 3rem 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar a:last-child {
        border-bottom: none;
    }

    .home{
        flex-direction: column;
    }

    .home-content h3 {  
        font-size: 2.6rem;  
    }  
      
    .home-content h1 {  
        font-size: 5rem;  
    }  
      
    .home-img img {  
        width: 70vw;  
        margin-top: 4rem;  
    }

    .about {  
        flex-direction: column-reverse;  
    }  
      
    .about img {  
        width: 70vw;  
        margin-top: 4rem;  
    }

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

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

    .project-container {  
        grid-template-columns: repeat(2, 1fr);  
    }
}

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

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

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

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

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

    .footer {  
        flex-direction: column-reverse;  
    }  
      
    .footer p {  
        text-align: center;  
        margin-top: 2rem;  
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .home-img {
        width: 25rem;
        height: 25rem;
    }
}

@media screen and (max-width: 480px) {
    .home-img {
        width: 20rem;
        height: 20rem;
    }
}

/*caraousl*?
