s/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.8rem;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
}

/* About Section */
.about-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.5rem;
}

.about-text h3 {
    font-size: 1rem;
}

.about-text p {
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 80%;
    border-radius: 8px;
}

.section-image {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-weight: bold;
    color: #1e3a8a;
}

.service {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

/* Contact Section */
#contact {
    background: #f4f4f4;
}

.contact-content {
    display: flex;
    gap: 20px;
}

.contact-map {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

#contact-form button {
    padding: 0.75rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#contact-form button:hover {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    transform: translateY(-2px);
}

.map-container {
    margin-top: 2rem;
    text-align: center;
}

.map-container h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-about, .footer-pages, .footer-social {
    flex: 1;
}

.footer-about h3, .footer-pages h3, .footer-social h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-pages ul {
    list-style: none;
    padding: 0;
}

.footer-pages li {
    margin-bottom: 0.5rem;
}

.footer-pages a {
    color: #fff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 3px;
}

footer p {
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    nav .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .service, .testimonial {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* Float styles */
.float-left {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.float-right {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

/* Amharic text styling */
.amharic {
    font-family: 'Noto Sans Ethiopic', sans-serif;
    line-height: 1.6;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}
