* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9d9da7;
    --bg-dark: #05070e;
    --bg-medium: #161d28;
    --bg-light: #44464a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
   color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    color: white;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    background:linear-gradient(to top, black, rgb(27, 25, 25));
    display: flex;
    align-items: center;
    padding: 80px 6%;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}


.hero-title {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    transition: var(--transition);
}
.hero-title:hover {
    transform: translateY(-10px);
}
.hero-subtitle {
    font-size: 22px;
    color: #cbd5e1;
    margin-bottom: 30px;
    transition: var(--transition);
}
.hero-subtitle:hover {
    transform: translateY(-10px);
}

.hero-image {
    margin-left: 80px; 
}

.hero-image img {
    width: 450px;
    max-width: 100%;
    object-fit: contain;
    margin-left: 50px;
    margin-bottom: 30px;
}

.hero-content {
    max-width: 500px;
}
.hero-bg-text {
    position: absolute;
    font-size: 100px;
    font-weight: 900;
    opacity: 0.06;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    letter-spacing: 6px;
}
.social-links {
    display: flex;
    gap: 1rem;
}


.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}
.about{
    background: url(images/bg4.png);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    background-clip: text;
}

.section-line {
    width: 80px;
    height: 4px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    color: white;
    z-index: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: white;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color:white;
}

.info-item i {
    color: white;
    width: 20px;
}
.info{
    color: black;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: #000000;
}
.stat-label {
    color: black;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.skills{
   background: linear-gradient(to bottom, black, grey);
    min-height: 100vh;
}
.skills-header {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color:white;
    background-clip: text;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.skill-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.skill-card ul {
    padding-left: 18px;
}

.skill-card li {
    margin-bottom: 8px;
    font-size: 14px;
}
.projects{
    background: url(images/bg2.jpg);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
    background-clip: text;
}

.projects-line {
    width: 80px;
    height: 4px;
    background: black;
    margin: 0 auto;
    border-radius: 2px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.03);
}
.project-image {
    height: 200px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 3rem;
    color: white;
    z-index: 1;
}

.project-content {
    padding: 2rem;
    
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: black;
}

.project-description {
    color: black;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-details {
    color: black;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.education{
    background: url(images/bg1.jpg);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
.edu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.edu-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color:white;
    background-clip: text;
}

.edu-line {
    width: 80px;
    height: 4px;
    background:white;
    margin: 0 auto;
    border-radius: 2px;
}
.education-grid {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.edu-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.edu-card:hover {
    transform: translateY(-5px);
}

.edu-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.edu-place {
    font-weight: 500;
    opacity: 0.9;
}

.edu-info {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 4px;
}

.achievements{
    background: url(images/bg3.jpg);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
.achi-header {
    text-align: center;
    margin-bottom: 3rem;
}

.achi-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color:#000000;
    background-clip: text;
}

.achi-line {
    width: 80px;
    height: 4px;
    background:black;
    margin: 0 auto;
    border-radius: 2px;
}
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background:lightgrey; 
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.achievement-card:hover {
    transform: translateY(-10px);
}
.achievement-icon {
    font-size: 3rem;
    color: black;
    margin-bottom: 1rem;
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.achievement-description {
    color: grey;
    line-height: 1.6;
}
.certifications {
    background: url(images/bg1.jpg);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 100vh;
}


.cert-header {
    text-align: center;
    margin-bottom: 5rem;
}
.cert-line {
    width: 80px;
    height: 4px;
    background:white;
    margin: 0 auto;
    border-radius: 2px;
}

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

.cert-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}
.cert-card:hover {
    transform: translateY(-10px);
}
.cert-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.cert-issuer {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cert-score {
    color: white;
    font-weight: 600;

}
.contact{
    background: url(images/bg3.jpg);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: black;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color:black;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    color: black;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color:black;
}

.contact-item p {
    color: black;
    margin: 0;
}


.contact-form {
    background:lightgrey;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: black;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: black;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color:white;
}

.footer {
    background: black;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-text p {
    color: white;
    margin-bottom: 0.5rem;
}
@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-image {
        margin: 0;
    }

    .hero-image img {
        width: 300px;
        margin: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-bg-text {
        display: none;
    }
    .hero .social-links {
        justify-content: center;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: -100%;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: #05070e;
        gap: 1.5rem;
        padding: 2rem 0;
        transition: 0.3s;
    }

    .nav-menu.active {
        right: 0;
    }
    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image img {
        width: 240px;
    }

    .hero-bg-text {
        display: none;
    }

    .social-links {
        justify-content: center;
    }

    .skills-grid,
    .projects-grid,
    .achievements-grid,
    .certifications-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    .project-content {
        padding: 1.2rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .skill-card,
    .project-card,
    .cert-card,
    .achievement-card,
    .edu-card {
        padding: 1rem;
    }
}
