/* Responsive Styles */

@media (max-width: 1200px) {
    .section {
        padding: 120px 40px 60px;
    }
    .navbar {
        padding: 20px 30px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .hero-left h1 {
        font-size: 50px;
    }
    .hero-right img {
        width: 260px;
        height: 340px;
    }
    .image-bg {
        width: 220px;
        height: 220px;
    }
    .section {
        padding: 100px 20px 40px;
    }
    .project-grid,
    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        justify-content: space-between;
    }
    .sidebar-logo {
        margin-top: 0;
        margin-left: 20px;
    }
    .sidebar-icons {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 0;
        margin-right: 20px;
    }
    .main-container {
        margin-left: 0;
        width: 100%;
    }
    .navbar {
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
    }
    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .section {
        padding: 90px 10px 30px;
    }
    .project-card,
    .education-card,
    .certificate-card {
        padding: 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 32px;
    }
    .hero-left h2 {
        font-size: 18px;
    }
    .hero-description {
        font-size: 14px;
    }
    .project-card,
    .education-card,
    .certificate-card {
        padding: 10px;
        font-size: 13px;
    }
    .section-title {
        font-size: 22px;
    }
    .navbar ul {
        gap: 5px;
    }
}
@media(max-width:992px){

    .hero{
        flex-direction:column;
    }

    .hero-text h1{
        font-size:60px;
    }

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

    .navbar{
        padding:20px;
    }

    .section{
        padding:120px 40px 60px;
    }
}

@media(max-width:768px){

    body{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
        flex-direction:row;
        padding:20px;
    }

    .main-container{
        margin-left:0;
        width:100%;
    }

    .navbar{
        left:0;
        width:100%;
        flex-direction:column;
        gap:20px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .hero-text h1{
        font-size:45px;
    }

    .hero-text h2{
        font-size:24px;
    }

    .section-title{
        font-size:35px;
    }

    .section{
        padding:180px 25px 60px;
    }
}
@media(max-width:768px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-left h1{
        font-size:50px;
    }

    .hero-right img{
        width:280px;
        height:380px;
    }

    .image-bg{
        width:300px;
        height:300px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }
}