:root {
    /* Modern Gradient Colors */
    --hero-gradient: linear-gradient(135deg, #081d2c 0%, #764ba2 100%);
    --about-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --skills-gradient: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    --projects-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --contact-gradient: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    --footer-gradient: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);

    /* Unique Fonts */
    --header-font: 'Playfair Display', serif;
    --subheader-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;

    /* Animation Durations */
    --transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

/* Unique Typography */
h1, h2, h3 {
    font-family: var(--header-font);
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.nowrap {
    text-wrap: nowrap;
}


/*  Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);


}




.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 10px;

}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--header-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #764ba2;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #764ba2;
    margin-bottom: 20px;
}


.header__sec span {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;



}


.nav-links li p {
    font-size: 1.3rem;
    margin-top: 20px;
}

.nav-links a {
    font-family: var(--header-font);
    font-weight: 600;
    color: #333;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);


}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

span.nowrap {
    margin-top: 5px;
}














/* cv button */
.cvbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgb(219, 23, 170);
    color: white;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--btn-clr);
    cursor: pointer;
    transition: 0.5s
}

.navbar .cvbtn {
    text-decoration: none;
}

.cvbtn:hover {
    box-shadow: 0 0 5px rgb(219, 23, 170),
        0 0 10px rgb(219, 23, 170),
        0 0 15px rgb(219, 23, 170);
}



.nav-links i {
    display: none;
    font-size: 25px;

}





/* Hero Section  */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;

}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;

}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content .tagline {
    font-family: var(--subheader-font);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.6s both;
}






.hero-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    display: block;
    box-shadow: 0 20px 50px rgba(4, 10, 19, 0.541);
    margin-top: 100px;
    animation: float 6s ease-in-out infinite;

}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons a {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--subheader-font);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Primary Button */
.btn-primary {
    background: white;
    color: #764ba2;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #764ba2;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


/* About Section */
#about {
    background: var(--about-gradient);
    padding: 6rem 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #667eea;
    border-radius: 2px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 4px solid #667eea;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.03);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}


.social-links-about {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links-about a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);

}

.social-links-about a:hover {
    background: #667eea;
    transform: translateY(-5px);
}

/* Skills Section */
#skills {
    background: var(--skills-gradient);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.skill-category h3 {
    font-family: var(--subheader-font);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
}

.skill-percent {
    opacity: 0.9;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

/* Projects Section */
#projects {
    background: var(--projects-gradient);
    padding: 6rem 0;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    width: 100%;
    background: #667eea;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff758c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--subheader-font);
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: var(--transition);
}

.project-links a:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Contact Section */
#contact {
    background: var(--contact-gradient);
    color: white;
    padding: 6rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-family: var(--subheader-font);
    margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
    opacity: 0.9;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    opacity: 1;
    color: #f0f0f0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--subheader-font);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: white;
    color: #ff758c;
    font-family: var(--subheader-font);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #1d2b36;
    color: white;
    text-align: center;
    padding: 2rem 0;
}



.footer nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
}

.footer nav a:hover {
    color: white;
}


.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}







/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}



@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Responsive Design */
@media (max-width: 1154px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links i {
        display: inline;

    }

    .nav-links p {
        display: none;
    }


}




@media (max-width: 958px) {
    .section {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .tagline {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-container span {
        font-size: 30px;



    }



    .nav-links i {
        display: block;


    }

    .nav-links p {
        display: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

}







@media (max-width: 910px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cvbtn {
        font-size: 10px;
        padding: 5px;
        display: inline;
        text-wrap: nowrap;
        margin-bottom: 10px;
        margin-left: 5px;


    }

    .nav-container span {
        font-size: 25px;
        margin-right: 20px;
        position: relative;
        right: 5px;


    }

    .nav-container .logo-img {
        position: absolute;

        left: 10px;


    }

    .header__sec {
        display: flex;
        flex-direction: column;
    }

    .nav-links {

        display: flex;
        flex-direction: column;
        position: fixed;
        top: 130px;
        left: 0;

        border-radius: 0 50px 50px 0;
        padding: 40px 2px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);

    }
}



