/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    color: #2980b9;
}

p {
    margin-bottom: 1em;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #2980b9;
    color: #fff;
    padding: 1em 0;
}

header .logo {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
}

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

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

nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url('images/hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero .cta-buttons {
    margin-top: 20px;
}

.hero .btn {
    background: #27ae60;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    margin: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #219150;
}

.hero .btn-secondary {
    background: #e67e22;
}

.hero .btn-secondary:hover {
    background: #cf711d;
}

/* Features Section */
.features {
    padding: 4em 0;
    background: #ecf0f1;
    text-align: center;
}

.features .feature {
    margin-bottom: 2em;
}

.features .feature h2 {
    margin-bottom: 0.5em;
}

.features .feature p {
    max-width: 600px;
    margin: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 4em 0;
    background: #fff;
    text-align: center;
}

.testimonials blockquote {
    font-style: italic;
    margin-bottom: 1em;
}

.testimonials cite {
    display: block;
    font-weight: bold;
    color: #2980b9;
}

/* About Us Section */
.about {
    padding: 4em 0;
    background: #f8f8f8;
}

.about ul {
    list-style: disc inside;
    margin-bottom: 1em;
}

.about ul li {
    margin-bottom: 0.5em;
}

/* Services Section */
.services {
    padding: 4em 0;
    background: #ecf0f1;
}

.services .service {
    margin-bottom: 2em;
}

.services .service h3 {
    margin-bottom: 0.5em;
}

.services .service p {
    max-width: 600px;
    margin: auto;
}

/* Coverage Area Section */
.coverage {
    padding: 4em 0;
    background: #fff;
}

.coverage ul {
    list-style: disc inside;
    margin-bottom: 1em;
}

.coverage ul li {
    margin-bottom: 0.5em;
}

.coverage table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.coverage table, .coverage th, .coverage td {
    border: 1px solid #bdc3c7;
}

.coverage th, .coverage td {
    padding: 10px;
    text-align: left;
}

.coverage th {
    background: #2980b9;
    color: #fff;
}

/* PoPs, Repeaters, and Distances Section */
.pops-distances {
    padding: 4em 0;
    background: #f8f8f8;
}

.pops-distances h3 {
    margin-top: 1.5em;
    color: #27ae60;
}

.pops-distances table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.pops-distances table, .pops-distances th, .pops-distances td {
    border: 1px solid #bdc3c7;
}

.pops-distances th, .pops-distances td {
    padding: 10px;
    text-align: left;
}

.pops-distances th {
    background: #27ae60;
    color: #fff;
}

.pops-distances table th:nth-child(1),
.pops-distances table th:nth-child(2),
.pops-distances table th:nth-child(3),
.pops-distances table th:nth-child(4),
.pops-distances table th:nth-child(5),
.pops-distances table th:nth-child(6),
.pops-distances table th:nth-child(7),
.pops-distances table th:nth-child(8) {
    background: #2980b9;
}

/* Demographics Section */
.demographics {
    padding: 4em 0;
    background: #ecf0f1;
}

.demographics ul {
    list-style: disc inside;
    margin-bottom: 1em;
}

.demographics ul li {
    margin-bottom: 0.5em;
}

.demographics table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.demographics table, .demographics th, .demographics td {
    border: 1px solid #bdc3c7;
}

.demographics th, .demographics td {
    padding: 10px;
    text-align: left;
}

.demographics th {
    background: #e67e22;
    color: #fff;
}

/* Scalability Section */
.scalability {
    padding: 4em 0;
    background: #fff;
}

.scalability ul {
    list-style: disc inside;
    margin-bottom: 1em;
}

.scalability ul li {
    margin-bottom: 0.5em;
}

/* News Section */
.news {
    padding: 4em 0;
    background: #f8f8f8;
}

.news .news-item {
    margin-bottom: 2em;
}

.news .news-item h3 {
    margin-bottom: 0.5em;
}

.news .news-item p {
    max-width: 800px;
    margin: auto;
}

/* Contact Us Section */
.contact {
    padding: 4em 0;
    background: #ecf0f1;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact label {
    margin-bottom: 0.5em;
    font-weight: bold;
}

.contact input, .contact textarea {
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
}

.contact .btn {
    background: #2980b9;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact .btn:hover {
    background: #1f6391;
}

.contact .contact-info, .contact .support-hours, .contact .social-media {
    text-align: center;
    margin-top: 2em;
}

.contact .social-media a {
    margin: 0 10px;
}

.contact .social-media img {
    width: 30px;
    height: 30px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        float: none;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero {
        height: auto;
        padding: 2em 0;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .features, .services, .coverage, .pops-distances, .demographics, .scalability, .news, .contact {
        padding: 2em 0;
    }
}

/* Responsive Map Container */
#mapid {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Adjust map height for smaller screens */
@media (max-width: 768px) {
    #mapid {
        height: 400px;
    }
}

/* Legend Styles */
.info.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    font-size: 14px;
    line-height: 18px;
    color: #555;
}

.info.legend h4 {
    margin: 0 0 5px 0;
}

.info.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}
