/* Reset and General Styles */
body, h1, h2, h3, p, ul, li, a, section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: green;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    flex: 1;
}

.logo {
    width: 100px;
    height: auto;
    margin-left: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
        text-align: center;
    }
    
    .logo {
        width: 80px;
        margin: 10px auto;
    }
}

nav ul {
    list-style: none;
    text-align: center;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #555;
}

/* Hero Section */
.hero {
    background: url('school.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 600px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    font-weight: bold;
}

.btn:hover {
    background: #007bff;
    color: #fff;
}

/* About Section */
.about {
    padding: 3rem 0;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.street-container {
    background-color: green;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
}

.street-paragraph {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    white-space: pre-line;
}

/* Services Section */
.services {
    padding: 3rem 0;
    text-align: center;
}

.services h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 1rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Responsive Grid Layout for Services */
@media (min-width: 768px) {
    .services .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Projects Section */
.projects {
    padding: 3rem 0;
    text-align: center;
}

.projects h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-info {
    padding: 1rem;
    text-align: left;
    font-size: 1rem;
}

/* Responsive Grid Layout for Projects */
@media (min-width: 768px) {
    .projects .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    text-align: center;
}

.contact-info {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.contact-info h2 {
    font-size: 22px;
    color: #333;
}

.contact-info p {
    font-size: 16px;
    color: #555;
}

.contact-info a {
    color: green;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: green;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
