
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    /* background-color: #f9f9f9; */
    background: linear-gradient(135deg, #214858, #aecbd5, #3f616f);
    color: #111;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: #ffffff; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
     background: rgba(30, 79, 100, 0.8);
  backdrop-filter: blur(10px);
  color: #ffffff;
  
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    
}
.navbar a {
  color: #ffffff;
}

#logo {
    height: 40px;
    width: 40px;
}

.nav-branding {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}


.navbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007BFF;
}


.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials a {
    color: #333;
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-socials a:hover {
    color: #007BFF;
    transform: scale(1.1);
}

.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
    border-bottom: 1px solid #ddd;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.section h1 {
    font-size: 3rem;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.section h3 {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 1rem;
}


.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home-text {
    flex: 1;
    text-align: left;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.home-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 100%;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-resume {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-resume:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}


.skills-grid,
.projects-grid,
.education-grid {
    display: grid;
    gap: 20px;
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


.skill-card,
.project-card,
.education-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #b4c1ce;
}

.skill-card:hover,
.project-card:hover,
.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tech-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-logos img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.tech-logos img:hover {
    transform: scale(1.2);
}


.education-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px;
}


.education-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}
.education-details {
    flex: 1;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}


@media (max-width: 1024px) {
    .home-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .home-text {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .nav-menu.show {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
    }

    .navbar-right {
        gap: 15px;
    }

    .section h1 { font-size: 2rem; }
    .section h2 { font-size: 1.8rem; }

   
    .education-card {
        flex-direction: column;
        text-align: center;
    }
}
