* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

section {
    padding: 80px 20px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: calc(-50vw + 50%);
    width: 100vw;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    z-index: 1;
}

section:last-of-type::after {
    display: none;
}
nav {
    margin-top: 2px;
    margin-left: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    padding: 10px 20px;
 background: rgba(15, 31, 47, .2);
    border-bottom: 1px solid #152c42;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 99%;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav .left {
    flex: 1;
    display: flex;
    align-items: center;
}

nav .center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px) {
    nav {
        width: 95%;
        margin-left: 2.5%;
        height: 60px;
        padding: 8px 15px;
    }
}

.navimage {
    height: fit-content;
    width: fit-content;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    margin: 0 15px;
    font-size: 18px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

@media (max-width: 768px) {
    nav ul li a {
        margin: 10px 0;
        font-size: 16px;
        display: block;
        text-align: center;
        padding: 10px;
    }
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transition: width 0.4s ease;
}

nav ul li a:hover {
    color: #3b82f6;
}

nav ul li a:hover::after {
    width: 100%;
}

.logo-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

@media (max-width: 768px) {
    .logo-link {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-link {
        font-size: 12px;
        max-width: 150px;
    }
}

.logo-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transition: width 0.4s ease;
}

.logo-link:hover {
    color: #3b82f6;
}

.logo-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 150;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    border-radius: 5px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.toggle-icon {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 55px;
        height: 55px;
        margin: 0 8px;
    }
    
    .toggle-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        width: 50px;
        height: 50px;
        margin: 0 5px;
    }
    
    .toggle-icon {
        font-size: 1.2rem;
    }
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid #3b82f6;
    border-radius: 50%;
    font-size: 20px;
    color: #3b82f6;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .home-sci a {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin: 20px 10px 20px 0;
    }
}

@media (max-width: 480px) {
    .home-sci a {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin: 8px 6px 8px 0;
    }
}

.home-sci a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.firstsection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 20px;
    height: 100vh;
    color: #e2e8f0;
    font-size: 2rem;
    line-height: 1.6;
    text-align: center;
    margin-top: 45px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .firstsection {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
        text-align: center;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .firstsection {
        padding: 70px 15px 30px;
        gap: 0;
        min-height: 90vh;
    }
}

.leftsection {
    font-size: 2.5rem;
    margin-left: 40px;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .leftsection {
        font-size: 2rem;
        margin-left: 0;
        text-align: center;
        width: 100%;
        order: 1;
        
    }
}

@media (max-width: 480px) {
    .leftsection {
        font-size: 1.8rem;
        margin-top: -30px;
        margin-bottom: -10px;
    }
}

.leftsection .btn {
    padding: 12px;
    background-color: rgb(0, 0, 0);
    color: rgb(177, 177, 177);
    border: 2px solid white;
    border-radius: 35px;
    font-size: 15px;
    cursor: pointer;
    width: 180px;
    margin: 10px 0;
}

.btn {
    width: 180px;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 35px;
    font-size: 15px;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .btn {
        width: 160px;
        padding: 10px;
        font-size: 14px;
        margin: 8px 5px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 140px;
        padding: 8px;
        font-size: 13px;
        margin: 5px 2px;
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.rightsection img {
    width: 500px;
    max-width: 500px;
    height: 500px;
    border-radius: 10px;
    transition: box-shadow 0.4s ease-in-out;
    margin-right: 40px;
}

@media (max-width: 768px) {
    .rightsection img {
        width: 300px;
        max-width: 300px;
        height: 300px;
        margin-right: 0;
        order: 2;
    }
}

@media (max-width: 480px) {
    .rightsection img {
        width: 240px;
        max-width: 240px;
        height: 240px;
        margin-top: -20px;
    }
}

.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: center;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding: 60px 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 15px;
        gap: 1.5rem;
    }
}

.about-img img {
    width: 100%;
    max-width: 460px;
    height: 460px;
    border-radius: 50%;
    transition: box-shadow 0.4s ease-in-out;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .about-img img {
        max-width: 300px;
        height: 300px;
        margin-left: 0;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .about-img img {
        max-width: 250px;
        height: 250px;
    }
}

.about-img img:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 60px;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 45px;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 35px;
    }
}

.about-text h2 span {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

span {
    color: #3b82f6;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.7;
    margin: 15px 0 30px;
}

@media (max-width: 768px) {
    .about-text h4 {
        font-size: 24px;
        margin: 12px 0 25px;
    }
}

@media (max-width: 480px) {
    .about-text h4 {
        font-size: 20px;
        margin: 10px 0 20px;
    }
}

.about-text p {
    color: #cbd5e1;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 18px;
        margin-bottom: 3rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .about-text p {
        font-size: 16px;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
}

/* Skills Section */
.skills {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.skill-category {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin: 8px;
    color: #e2e8f0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 10px;
    text-align: center;
    color: #e2e8f0;
}

.skill-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Projects Section */
.projects {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.project-card {
    height: 100%;
    width: 100%;
    min-height: 400px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .project-card {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .project-card {
        min-height: 320px;
    }
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .project-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 140px;
    }
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-icon {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    justify-content: center;
}

.project-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.link-icon {
    font-size: 1rem;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .project-content {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .project-content {
        padding: 1rem;
    }
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .project-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .project-header h3 {
        font-size: 1.1rem;
    }
}

.project-date {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .project-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-project {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.btn-project:first-child {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.btn-project:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}

.btn-github {
    background: #24292e !important;
    color: white !important;
    box-shadow: 0 2px 10px rgba(36, 41, 46, 0.3) !important;
}

.btn-github:hover {
    background: #1a1e22 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(36, 41, 46, 0.5) !important;
}

.cardsss {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    height: 100vh;
    align-items: center;
}

.card {
    width: 250px;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), #100f0f);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 8px;
    color: rgb(177, 177, 177);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 5px rgb(21, 27, 187), 0 0 7px rgb(29, 22, 217), 0 0 0px rgb(18, 18, 198), 0 0 0px rgb(19, 14, 168);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

.card-content {
    padding: 10px;
    text-align: center;
    color: #e2e8f0;
}

.card-content h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #e2e8f0;
}

.card-content p {
    font-size: 1rem;
    color: #94a3b8;
}

.card button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 0 0 15px 15px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.card button:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    transform: translateY(-2px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}



/* Education Section */
.education-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .education-content {
        padding: 60px 15px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .education-content {
        padding: 40px 10px;
    }
}

.education-card {
    background: rgba(15, 23, 42, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .education-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .education-card {
        padding: 1.2rem;
        border-radius: 10px;
    }
}

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

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .education-header {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
}

.education-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .education-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .education-header h3 {
        font-size: 1.2rem;
    }
}

.education-period {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .education-period {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .education-period {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
}

.education-details h4 {
    font-size: 1.2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .education-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    .education-details h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
}

.education-location {
    color: #64748b;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .education-location {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    .education-location {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
}

.education-gpa {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .education-gpa {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .education-gpa {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

.coursework h5 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .coursework h5 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .coursework h5 {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }
}

.coursework-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .coursework-tags {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .coursework-tags {
        gap: 0.3rem;
    }
}

.coursework-tags span {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .coursework-tags span {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .coursework-tags span {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
}






















.con {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 20px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .con {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 60px;
        padding: 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .con {
        gap: 1.5rem;
        margin-top: 40px;
        padding: 10px;
        font-size: 16px;
    }
}

.con:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.contact-lists {
    margin-top: 20px;
    margin-left: 15px;
    margin-right: 10px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    padding-left: 10px;
    padding-bottom: 10px;
}

.image-top {
    width: 30px;
    height: 30px;
    color: #06b6d4;
}

.contct-text {
    font-size: 25px;
}

@media (max-width: 768px) {
    .contct-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .contct-text {
        font-size: 16px;
    }
}

form {
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 18px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    outline: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .contact-form input,
    .contact-form textarea {
        width: 95%;
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px;
        font-size: 0.85rem;
    }
}

input:hover, textarea:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input:focus, textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.send {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.send:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.last-text {
    text-align: center;
    padding: 25px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 300;
    margin-top: 70px;
    color: #94a3b8;
}

footer {
    background: rgba(15, 23, 42, 0.95);
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .projects-grid, .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 95%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        position: absolute;
        top: 70px;
        left: 0px;
        padding: 10px 0;
        border-radius: 10px;
        margin: 10px;
        border: 1px solid rgba(59, 130, 246, 0.2);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

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

    .skill-category {
        min-height: 200px;
        padding: 1.5rem;
    }

    .project-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-project {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .projects-grid, .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-category {
        min-height: 180px;
        padding: 1.2rem;
        margin: 4px;
    }

    .skill-category h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .skill-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .project-date {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .contact-list {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .image-top {
        width: 25px;
        height: 25px;
    }
}

/* Light Theme Styles */
body.light-theme {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

body.light-theme section {
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

body.light-theme nav {
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

body.light-theme nav ul li a {
    color: #1e293b;
}

body.light-theme nav ul li a:hover {
    color: #3b82f6;
}

body.light-theme .logo-link {
    color: #1e293b;
}

body.light-theme .logo-link:hover {
    color: #3b82f6;
}

body.light-theme .hamburger .bar {
    background-color: #1e293b;
}

body.light-theme .theme-toggle {
    background: rgba(248, 250, 252, 0.95);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

body.light-theme .nav-links {
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

body.light-theme .leftsection {
    color: #1e293b;
}

body.light-theme .about-text h2 {
    color: #1e293b;
}

body.light-theme .about-text h4 {
    color: #475569;
}

body.light-theme .about-text p {
    color: #64748b;
}

body.light-theme .skill-category {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

body.light-theme .skill-category h3 {
    color: #1e293b;
}

body.light-theme .project-card {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

body.light-theme .project-card:hover {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

body.light-theme .project-header h3 {
    color: #1e293b;
}

body.light-theme .project-content p {
    color: #475569;
}

body.light-theme .education-card {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

body.light-theme .education-card:hover {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

body.light-theme .education-header h3 {
    color: #1e293b;
}

body.light-theme .education-gpa {
    color: #1e293b;
}

body.light-theme .con {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

body.light-theme .con:hover {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

body.light-theme .contact-lists {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #1e293b;
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
    background: rgba(241, 245, 249, 0.9);
    color: #1e293b;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

body.light-theme .contact-form input:focus,
body.light-theme .contact-form textarea:focus {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.light-theme .card {
    background: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

body.light-theme .card:hover {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

body.light-theme .card-content h3 {
    color: #1e293b;
}

body.light-theme .card-content p {
    color: #475569;
}

body.light-theme .last-text {
    background: rgba(248, 250, 252, 0.95);
    color: #64748b;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

body.light-theme footer {
    background: rgba(248, 250, 252, 0.95);
}
