* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Make all images scale nicely */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    padding: 15px 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

nav .logo img {
    height: auto;
    max-width: 150px;
    width: 100%;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #7c9dcf;
    border-radius: 5px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(33, 89, 194, 0.8), rgba(24, 81, 185, 0.8)), url("Back-img.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #003087;
    font-size: 2.5rem;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

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

.service-card h3 {
    color: #003087;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0052cc;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #0052cc;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #003087;
    border-color: #003087;
    cursor: pointer;
}

/* About Section */
.about {
    background-color: #f5f5f5;
    padding: 4rem 1rem;
    text-align: center;
}

.about h2 {
    margin-bottom: 1.5rem;
    color: #003087;
    font-size: 2.5rem;
    font-weight: 700;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 4rem 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
}

.contact h2 {
    margin-bottom: 1.5rem;
    color: #003087;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact a {
    color: #0052cc;
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

.social-logos {
    display: flex;
    gap: 10px;
    margin-left: 200px;
}

.social-logos img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* Content Section (for Service Pages) */
.content {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #003087;
    font-size: 2.5rem;
    font-weight: 700;
}

.service-details {
    margin-bottom: 3rem;
}

.service-details p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.service-details ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.service-details ul li {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Media Grid (for Service Pages) */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.media-card {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.media-card img, .media-card video {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f5f5f5;
}

.cta h2 {
    margin-bottom: 1rem;
    color: #003087;
    font-size: 2rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.cta a {
    display: inline-block;
    background-color: #0052cc;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta a:hover {
    background-color: #003087;
}

/* Footer */
footer {
    background-color: #003087;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 12px;
    }

    nav .logo img {
        max-width: 120px;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 300px;
    }

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

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

    .services h2, .about h2, .contact h2, .content h2 {
        font-size: 2rem;
    }

    .service-grid, .media-grid {
        grid-template-columns: 1fr;
    }

    .service-card, .media-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav .logo img {
        max-width: 100px;
    }

    .hero {
        padding: 2.5rem 1rem;
        background-size: cover;
    }

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

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

    .services h2, .about h2, .contact h2, .content h2 {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p, .service-details p, .service-details ul li, .cta p {
        font-size: 1rem;
    }
}