*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #222;
}

/* ================= HEADER ================= */

.top-header{
    width: 100%;
    background: linear-gradient(135deg,#4f6df5,#7b4cc9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.left-logo img,
.right-logo img{
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 12px;
}

.header-text{
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.header-text h1{
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-text p{
    font-size: 18px;
    font-weight: 400;
    color: #dce6f2;
}

/* ================= NAVBAR ================= */

.navbar{
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 18px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar a{
    text-decoration: none;
    color: #0d1b2a;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.navbar a:hover{
    color: #4f6df5;
}

.navbar a::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #0077b6;
    transition: 0.3s;
}

.navbar a:hover::after,
.navbar .active::after{
    width: 100%;
}

.navbar .active{
    color: #4f6df5;
}

/* ================= DROPDOWN ================= */

.dropdown{
    position: relative;
}

.dropdown-content{
    display: none;
    position: absolute;
    top: 35px;
    background: white;
    min-width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dropdown-content a{
    display: block;
    padding: 12px 15px;
    color: #222;
}

.dropdown-content a:hover{
    background: #0077b6;
    color: white;
}

.dropdown:hover .dropdown-content{
    display: block;
}

/* ================= HERO SECTION ================= */

.project-hero{
    width: 100%;
    height: 400px;
    background: url("images/ramcodesign.jpeg") center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.hero-content{
    position: relative;
    color: white;
    text-align: center;
    z-index: 1;
}

.hero-content h2{
    font-size: 55px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p{
    font-size: 20px;
    letter-spacing: 1px;
}

/* ================= PROJECT SECTION ================= */

.projects-section{
    padding: 80px 8%;
}

.section-title{
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2{
    font-size: 38px;
    color: #0d1b2a;
    margin-bottom: 12px;
}

.underline{
    width: 120px;
    height: 4px;
    background: #0077b6;
    margin: auto;
    border-radius: 5px;
}

.project-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 35px;
}

.project-card{
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-card img{
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.project-content{
    padding: 25px;
}

.project-content h3{
    font-size: 24px;
    margin-bottom: 15px;
    color: #0d1b2a;
}

.project-content p{
    color: #555;
    line-height: 1.7;
}

/* ================= FOOTER ================= */

.footer{
    background: #0d1b2a;
    color: white;
    text-align: center;
    padding: 22px;
    margin-top: 50px;
    font-size: 16px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .top-header{
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .header-text h1{
        font-size: 24px;
    }

    .navbar{
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-content h2{
        font-size: 40px;
    }

}

@media(max-width:600px){

    .left-logo img,
    .right-logo img{
        width: 70px;
        height: 70px;
    }

    .header-text h1{
        font-size: 20px;
    }

    .hero-content h2{
        font-size: 30px;
    }

    .hero-content p{
        font-size: 16px;
    }

}