
:root {
    --primary-color: #062f4b;
    --secondary-color: #007BFF;
    --accent-color: #72dcff;
    --text-light: #fff;
    --text-dark: #333;
    --text-gray: #666;
    --gradient-bg: linear-gradient(135deg, #a8e6cf 0%, #31c2fb 50%, #b478ed 100%);
    --card-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-spacing: 100px;
    --mobile-padding: 1rem;
    --mobile-header-size: 2rem;
    --mobile-text-size: 1rem;
}
body {
    background: var(--gradient-bg);
    /* font-family: 'Inter',Arial, sans-serif; */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Styles */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    padding: var(--section-spacing) 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}
/* Navigation */
.navbar {
    padding: 1.5rem 3rem;
    z-index: 1000;
    background: #99dcebc7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    color: #d3faf6;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}


.nav-logo a {
    color: #98ebdb00;
    background: linear-gradient(90deg, #ffd933 50%, #fffdfd 0) var(--_p, 100%)/200% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.4s;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-logo a:hover {
    --_p: 0%;
}




.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff002b;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-family:"Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 200;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: black;
}
@media  screen And (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    .nav-logo a {
        font-size: 1.5rem;
    }
    .nav-links {
        display: none;
        /* flex-direction: column;
        gap: 0;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #062f4b;
        padding: 1rem 0; */
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #062f4b;
        padding: 1rem 0;
        gap: 1rem;
        transition: all 0.3s ease;
    }
    .nav-links.active li a {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }
    .nav-links.active li a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    .nav-links.active li a.active {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    .nav-links.active li a.active::after {
        content: "\f106";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-left: 10px;
    }
    .nav-links.active li a.active::after {
        content: "\f107";
    }

}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.home-content {
    text-align: center;
    color: #fff9f9;
    padding: 2rem;
    border-radius: 8px;
    animation: fadeIn 1s ease-in;
}

.home-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.home-content .highlight {
    color: #b8841d;
}

.home-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #f5f0f0;
    font-family: "Playfair Display", serif;
    font-weight: 100;
}
.profile-img {
    width: 200px;
    height: 200px;
    position: relative;
    perspective: 1000px;
    margin: 0 auto 2rem;
}




/* Add hover effect */
.profile-img:hover .profile-img-inner {
    animation-play-state: paused;
    transform: translateY(-10px) rotate3d(1, 1, 1, 15deg);
    transition: all 0.5s ease;
}
.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: #131313;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #72dcff;
    transform: translateY(-3px);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #f60606;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #5fe87f;
    transform: translateY(-2px);
}

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

@media screen and (max-width: 768px) {
    .home {
        padding-top: 60px;
        min-height: calc(100vh - 60px);
    }

    .home-content {
        padding: var(--mobile-padding);
    }

    .home-content h1 {
        font-size: var(--mobile-header-size);
        line-height: 1.2;
    }

    .home-content p {
        font-size: var(--mobile-text-size);
        padding: 0 1rem;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

 

.highlight span {
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(50px);
}

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

.social-links a {
    transition: all 0.3s ease;
}

/* About section */
.about{
    padding: 80px 0;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-content{
    display: flex;
    flex-direction: column;
    align-items: center;
   max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.about-img{
    text-align: center;
    margin: 15px auto;
    width: 250px;
    height: 250px;
    position: relative;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    padding: 5px;
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.about-img::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.about-img img{
    animation: profilePicture 1s ease-out;
}
@keyframes profilePicture {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add hover effect */
.about-img:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .about {
        padding: 2rem var(--mobile-padding);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-img {
        width: 180px;
        height: 180px;
    }

    .about-text {
        padding: 1rem;
    }

    .about-text p {
        font-size: var(--mobile-text-size);
    }

    .education, .technical-skills, .soft-skills {
        padding: 1rem;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
/* Media Query for mobile devices
@media screen and (max-width: 768px) {
    .about-image {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }
} */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.about-text {
    line-height: 1.8;
    color: #000000;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
    font-weight: 200;
    color: #333;
    text-align: justify;
}

.education, .technical-skills, .soft-skills {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.education h3, .technical-skills h3, .soft-skills h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.education ul, .technical-skills ul, .soft-skills ul {
    list-style: none;
    padding: 0;
}

.education li, .technical-skills li, .soft-skills li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.education li:before, .technical-skills li:before, .soft-skills li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #007BFF;
}

.about-cta {
    text-align: center;
    margin-top: 40px;
}

.about-cta a {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.about-cta a:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* @media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
} */
/* Skills Section */
.skills {
    padding: 25px 0;
    background: transparent;
}

.skills-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.skill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.skill h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.skill h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #007BFF;
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .skills {
        padding: 2rem var(--mobile-padding);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill {
        padding: 1rem;
    }

    .skill h3 {
        font-size: var(--mobile-text-size);
    }
}

@media screen and (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
.contacts {
    padding: 80px 0;
    background: transparent;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-details i {
    font-size: 1.2rem;
    color: #007BFF;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
    color: #666;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;  /* Changed to single column */
    max-width: 600px;  /* Limit width for better readability */
    margin: 50px auto;  /* Center the grid */
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;  /* Center text content */
}

.contact-details li {
    display: flex;
    align-items: center;  /* Changed from flex-start to center */
    justify-content: center;  /* Center the content horizontally */
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.contact-details i {
    font-size: 1.5rem;  /* Slightly larger icons */
    color: #007BFF;
    margin: 0 15px;  /* Equal margins on both sides */
}

.contact-details div {
    text-align: center;  /* Center the text inside div */
    width: 100%;  /* Full width for better centering */
    margin-top: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    background-color: transparent;
    color: black;
}

@media screen and (max-width: 768px) {
    .contact-grid {
        padding: 0 20px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
}

.spring-icon {
    font-size: 2em;  /* Match other FA icons size */
    color: #6db33f;  /* Spring's official green color */
    display: inline-block;
    margin-bottom: 10px;
}

.spring-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
/* Project Section */
.projects{
    padding: 60px 0;
    background: transparent;
}
.projects-content{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 55px;
}
.project{
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.project:hover{
    transform: matrix(1.05, 0, 0, 1.05, 0, 0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}
.project h3{
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
}
.project img{
    width: 100%;
    border-radius: 5px;
}
.project p{
    color: #666;
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Times New Roman', Times, serif;
}
.project a{
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.project a:hover{
    background: #09bae1c7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.contact-info{
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}
.contact-info:hover{
    transform: scale(1.06);
    box-shadow: 0 0 20px rgba(100,255,218,0.6);
    border: 2px solid var(--accent);
}
@keyframes pulse{
    0%{transform: scale(1);}
    50%{transform: scale(1.02);}
    100%{transform: scale(1);}
}
.contact-info.highlight .contact-details li{
    animation: pulse 1s ease;
}


@media screen and (max-width: 768px) {
    .projects {
        padding: 2rem var(--mobile-padding);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project {
        margin: 0;
        padding: 1rem;
    }

    .project h3 {
        font-size: var(--mobile-text-size);
    }
}
.nav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .photography-content {
        padding: 20px;
    }

    .photo-slide {
        min-width: 250px;
        height: 350px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }
}
/* Side Navbar Styles */
.side-navbar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(9 185 225 / 0%);
    padding: 1rem 0.5rem;
    border-radius: 0 10px 10px 0;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.side-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav-links li {
    margin: 1rem 0;
}

.side-nav-links a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.side-nav-links a i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.side-nav-links a span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.side-navbar:hover .side-nav-links a span {
    opacity: 1;
    width: 80px;
}

.side-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .side-navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        transform: none;
        width: 100%;
        border-radius: 10px 10px 0 0;
        padding: 0.5rem;
        background: rgba(9, 185, 225, 0.95);
        z-index: 1000;
    }

    .side-nav-links {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }

    .side-nav-links li {
        margin: 0;
        width: 20%;
    }

    .side-nav-links a {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.5rem;
        width: 100%;
    }

    .side-nav-links a i {
        margin: 0 0 0.3rem 0;
        font-size: 1.2rem;
    }

    .side-nav-links a span {
        font-size: 0.7rem;
        opacity: 1;
        width: auto;
        display: block;
    }
}
.side-nav-links a.active{
    background: rgba(255,255,255,0.2);
    color: #fff;
}

@media  screen and (max-width: 768px){
    .side-nav-links a.active{
        color: #f5b22c;
    }
    body{
        padding-bottom: 60px;
    }
} 


