/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;

}

body {
    line-height: 1.2;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: #004080;
    color: white;
    padding: 1rem 0;
}

/* Logo image inside h1 */
header .logo img {
    height: 70px;       /* adjust logo height */
    display: block;
}

header nav {
    float: right;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header::after {
    content: "";
    display: block;
    clear: both;
}

/* Hero Section */
.hero {
    background: url('images/bg2.jpg') no-repeat center center/cover;
    background-size: 100% auto;
    color: white;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero button {
    padding: 0.8rem 2rem;
    border: none;
    background: #ff6600;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.hero button:hover {
    background: #e65c00;
}

/* About Section */
.about1 {
    background: url('images/Student.jpg') no-repeat center center/cover;
    color: write;
    height: 160vh;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;


}
.about {
    background: url('images/bg11.jpg') no-repeat center center/cover;
    color: write;
    height: 30vh;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;


}
.about{
    text-align: left;
}
.about, .services, .contact {
    padding: 3rem 0;
    text-align: center;
}

.about h2, .services h2, .contact h2 {
    margin-bottom: 0.5rem;
    
}


/* Services Section */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 10px;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Contact Form */
.contact {
    background: url('images/cnt.jpg') no-repeat center center/cover;
    color: white;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    padding: 0.8rem;
    border: none;
    background: #004080;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.contact button:hover {
    background: #003366;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive */
@media(max-width: 768px){
    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}
