
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

:root {
    --primary-color: #00c6ff;
    --secondary-color: #0072ff;
    --dark-color: #222;
    --light-color: #f4f4f4;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

header {
    background: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-color);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/fibre-splicing.jpg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    background: var(--secondary-color);
}

.about, .services, .why-us, .testimonials, .contact, .speed-test {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #333;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.why-us-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.testimonial-card {
    background: #333;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

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

.testimonial-card .author {
    font-weight: bold;
    text-align: right;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    border-radius: 5px;
}

.gauge-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 2rem auto;
}

.gauge-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #444;
    border: 10px solid #555;
}

.gauge-inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary-color);
    border-radius: 250px 250px 0 0;
    transform-origin: bottom center;
    transform: rotate(0deg);
    transition: transform 1s ease;
}

.gauge-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.social-media a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }
}
