/* General Styles */
body {
    font-family: Tahoma, Verdana, sans-serif, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #333;
    background: #f8f8f8;
}
h1 {
    margin: 0;
    line-height: 1.2;
    color: #000;
}
h2, h3 {
    margin: 0;
    color: #1061af;
}
a {
    color: #1061af;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header Styles */
.top-nav {
    background: #fff;
    padding: 15px 0;
}
.top-nav .container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-nav .logo img {
    max-height: 60px;
    width: auto;
}
.top-nav nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.top-nav nav ul li {
    display: inline;
}
.top-nav nav ul li a {
    color: #333;
    font-size: 1.3rem;
}

/* Hero Section */
.hero {
    background: #1bb1e7;
    color: black;
    text-align: left;
    padding: 100px 20px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.hero .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #1061af;
    color: white;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}
.hero .cta-button:hover {
    background: #002244;
}

/* Section Styles */
section {
    padding: 40px 20px 0px 20px;
}
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.service-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.service-box h3 {
    color: #1061af;
    margin-bottom: 10px;
}
.service-box p {
    color: #333;
}

/* Footer Section */
.footer {
    background: #1061af;
    color: white;
    padding: 40px 0;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}
.footer-left img {
    background: #fff;
    max-height: 120px;
    padding: 20px;
}
.footer-right {
    text-align: left;
}
.footer-right p, .footer-right a {
    color: white;
    margin: 5px 0;
}
.footer-right a {
    color: #1bb1e7;
    text-decoration: none;
}
.footer-right a:hover {
    text-decoration: underline;
}

/* General responsive settings */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Navigation styles */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-button {
    display: none;  /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

/* Update the media query for mobile navigation */
@media screen and (max-width: 768px) {
    nav {
        position: relative;
    }

    .mobile-menu-button {
        display: block;  /* Show on mobile */
    }

    .nav-links {
        display: none;  /* Hidden by default on mobile */
        position: absolute;
        top: 100%;  /* Position below the header */
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.show {  /* Changed from .active to .show */
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero {
        text-align: center;
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .logo img {
        max-width: 150px;
    }
}

/* Additional responsive improvements */
img {
    max-width: 80%;
    height: auto;
}

/* Update the top-nav styles */
.top-nav nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    .top-nav nav {
        position: relative;
    }

    .top-nav nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: -90px;
        right: -90px;
        flex-direction: column;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        text-align: left;
        z-index: 1000;
    }

    .top-nav nav ul.show {
        display: flex;
    }

    .top-nav nav ul li {
        margin: 10px 0;
        width: 100%;
    }

    .top-nav nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-button {
        display: block;
        padding: 10px;
        margin-right: 0;
    }

    /* Footer logo size adjustment */
    .footer-left img {
        max-height: 70px;  /* Reduced from 120px */
        padding: 10px;     /* Reduced from 20px */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;         /* Add some space between logo and text */
    }
}

