:root {
    --primary: #ef5b0c;
    --primary-dark: #c44a08;
    --primary-glow: rgba(239, 91, 12, 0.6);
    --secondary: #eeeeee;
    --accent: #1e1e1e;
    --light: #f8fafc;
    --dark: #1e1e1e;
    --gray: #666666;
    --light-gray: #cccccc;
    --card-bg: #ffffff;
    --section-bg: #f8f8f8;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 91, 12, 0.2);
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    border-radius: 50px;
    opacity: 0.7;
    filter: blur(10px);
    transition: var(--transition);
}

.btn:hover::after {
    opacity: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

/* WiFi Signal Loading Animation */
.wifi-loader {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    margin: 20px auto;
    transform: rotate(90deg);
}

.wifi-loader .circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    animation: wifi-pulse 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.wifi-loader .circle:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    animation-delay: -0.15s;
    border-width: 3px;
}

.wifi-loader .circle:nth-child(2) {
    width: 44px;
    height: 44px;
    top: 8px;
    left: 8px;
    animation-delay: -0.3s;
    border-width: 2px;
}

.wifi-loader .circle:nth-child(3) {
    width: 28px;
    height: 28px;
    top: 16px;
    left: 16px;
    animation-delay: -0.45s;
    border-width: 2px;
}

.wifi-loader .circle:nth-child(4) {
    width: 12px;
    height: 12px;
    top: 24px;
    left: 24px;
    animation-delay: -0.6s;
    border-width: 1px;
}

.wifi-loader .center-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: 26px;
    left: 26px;
    animation: wifi-pulse 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    animation-delay: -0.75s;
}

@keyframes wifi-pulse {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
}

.wifi-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wifi-loading-container.active {
    opacity: 1;
    pointer-events: all;
}

.wifi-loading-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 600;
    text-align: center;
    max-width: 300px;
    font-family: "Poppins", sans-serif;
}

.wifi-loading-text span {
    color: var(--primary);
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: normal;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
}

.logo-img {
    height: 100%;
    filter: invert(1) brightness(0.7);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--primary);
    margin: 0 5px;
}

.support-btn {
    background: transparent;
    color: var(--primary);
}

.support-btn:hover {
    background: rgba(239, 91, 12, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow);
}

.login-btn {
    background: var(--primary);
    color: white;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.pexels.com/photos/325229/pexels-photo-325229.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            transparent,
            rgba(0, 0, 0, 0.9)),
        radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.1rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
    animation: fadeInDown 1s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-text h1 span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
    display: block;
    margin-top: 10px;
    font-size: 3.3rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--secondary);
    margin: 0 auto 30px;
    max-width: 700px;
    text-align: center;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.coverage-check {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(239, 91, 12, 0.3);
    position: relative;
    /* Added for positioning the autocomplete results */
}

.coverage-check form {
    display: flex;
    gap: 10px;
    position: relative;
    /* Ensure the form is positioned for absolute child */
}

.coverage-check input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.coverage-check button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.coverage-check button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow);
}

.mascot-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease;
}

.mascot {
    max-width: 350px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--primary-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Technology Partners Carousel */
.tech-partners {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.partners-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.partners-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.partners-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.partners-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    animation: scroll 40s linear infinite;
    /* Slower animation for more logos */
    width: calc(220px * 34);
    /* 17 items * 2 duplicates = 34 items */
}

.carousel-item {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 120px;
}

.carousel-item img {
    max-height: 80px;
    max-width: 160px;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.7;
}

.carousel-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-220px * 17));
    }

    /* Move by 17 items */
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(239, 91, 12, 0.1);
    border-color: rgba(239, 91, 12, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(239, 91, 12, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card ul {
    list-style-type: none;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.service-card ul li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px dashed var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.domain-check {
    margin-top: 20px;
    padding: 15px;
    background: rgba(239, 91, 12, 0.05);
    border-radius: 10px;
    text-align: center;
}

.domain-check h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.domain-check form {
    display: flex;
    gap: 10px;
}

.domain-check input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
}

.domain-check button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.domain-check button:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: white;
    position: relative;
}

.why-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1") no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.why-content {
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    backdrop-filter: blur(5px);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(239, 91, 12, 0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 91, 12, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon i {
    color: white;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.why-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--section-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(239, 91, 12, 0.15);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(239, 91, 12, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-top: 30px;
    color: var(--gray);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--section-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 0 15px var(--primary-glow);
}

.contact-icon:hover {
    transform: rotate(10deg) scale(1.1);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-details p,
.contact-details a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 5px;
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 91, 12, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 0 10px var(--primary-glow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a i {
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid var(--light-gray);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.chatbot-container.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-message {
    background: var(--secondary);
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--light-gray);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-send {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--primary-glow);
    z-index: 999;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chatbot-toggle i {
    font-size: 1.5rem;
}

.form-field {
    margin-top: 10px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 0.9rem;
}

.form-submit {
    margin-top: 15px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
}

/* Chatbot Popup Styles */
.chatbot-popup {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1001;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    display: none;
}

.chatbot-popup.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.chatbot-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chatbot-popup-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary);
}

.chatbot-popup-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-popup-content {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chatbot-popup-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.chatbot-popup-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-popup-btn:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h1 span {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h1 span {
        font-size: 2.7rem;
    }

    .hero-stats {
        margin-top: 50px;
    }

    .mascot {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h1 span {
        font-size: 2.4rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .logo {
        height: 40px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .mascot {
        max-width: 250px;
    }

    .contact-container {
        gap: 30px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-form {
        padding: 30px;
    }

    .coverage-check form {
        flex-direction: column;
    }

    .domain-check form {
        flex-direction: column;
    }

    .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .nav-btn {
        margin: 5px 0;
    }

    .carousel-track {
        animation: scroll 20s linear infinite;
        width: calc(180px * 34);
    }

    .carousel-item {
        flex: 0 0 180px;
        height: 100px;
    }

    .carousel-item img {
        max-height: 60px;
        max-width: 130px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 17));
        }
    }

    .chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 70px;
        max-height: 60vh;
    }

    .chatbot-popup {
        width: 90%;
        right: 5%;
        bottom: 130px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-text h1 span {
        font-size: 2.1rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }

    .hero-btns {
        gap: 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer-container {
        gap: 30px;
    }

    .carousel-track {
        animation: scroll 15s linear infinite;
        width: calc(150px * 34);
    }

    .carousel-item {
        flex: 0 0 150px;
        height: 80px;
    }

    .carousel-item img {
        max-height: 50px;
        max-width: 110px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 17));
        }
    }

    .wifi-loader {
        width: 48px;
        height: 48px;
    }

    .wifi-loader .circle:nth-child(1) {
        width: 44px;
        height: 44px;
    }

    .wifi-loader .circle:nth-child(2) {
        width: 32px;
        height: 32px;
        top: 6px;
        left: 6px;
    }

    .wifi-loader .circle:nth-child(3) {
        width: 20px;
        height: 20px;
        top: 12px;
        left: 12px;
    }

    .wifi-loader .circle:nth-child(4) {
        width: 8px;
        height: 8px;
        top: 18px;
        left: 18px;
    }

    .wifi-loader .center-dot {
        width: 6px;
        height: 6px;
        top: 19px;
        left: 19px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-text h1 span {
        font-size: 1.9rem;
    }

    .mascot {
        max-width: 200px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        padding: 15px;
    }
}

/* Map container styles */
#map-container {
    padding: 80px 0;
}
#map-container.hidden {
    display: none;
}

#map {
    height: 24rem;
    width: 100%;
    background-color: #e2e8f0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.opacity-50 {
    opacity: 0.5;
}

.coverage-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* subtle backdrop */
.coverage-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    transition: opacity 0.45s ease;
    opacity: 0;
}

.coverage-modal.active {
    opacity: 1;
    pointer-events: all;
}

.coverage-modal.active::before {
    opacity: 1;
}

/* small centered popup card with fade + scale */
.coverage-modal-content {
    position: relative;
    background: var(--card-bg);
    color: var(--dark);
    width: 92%;
    max-width: 420px;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.35s ease;
    z-index: 1;

    /* center contents and stack vertically so the button sits centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.coverage-modal.active .coverage-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.coverage-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.25s ease;
}

.coverage-modal-close:hover {
    color: var(--primary);
}

.coverage-modal-desc {
    margin: 6px 0 0;
    color: var(--dark);
    font-size: 1.5rem;
    text-align: center;
}

.coverage-modal-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.coverage-modal-desc h4 {
    font-size: 1.4rem;
    margin: 15px 0 10px;
    color: var(--dark);
}

.coverage-modal-desc ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.coverage-modal-desc li {
    background: var(--light);
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 4px solid var(--primary);
}

/* Providers Tabs */
.providers-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-pane li {
    background: var(--light);
    margin: 8px 0;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.tab-pane li:hover {
    background: #f0f0f0;
}

/* Loader */
.loader {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader::before {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* ensure the Go button is centered and sized nicely */
#coverage-modal-go,
.coverage-modal-content .btn {
    align-self: center;
    min-width: 120px;
    padding: 12px 26px;
}

/* Plan Contact Modal Styles */
.plan-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.plan-contact-modal.active {
    display: flex;
}

.plan-contact-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.plan-contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.plan-contact-modal-close:hover {
    color: #333;
}

.plan-contact-modal h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.plan-info-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.plan-info-display p {
    margin: 5px 0;
    font-size: 14px;
}

.plan-contact-result {
    text-align: center;
    padding: 20px;
}

.plan-contact-result.success {
    color: green;
}

.plan-contact-result.error {
    color: red;
}

.plan-contact-modal .form-group {
    margin-bottom: 15px;
}

.plan-contact-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.plan-contact-modal input[type="text"],
.plan-contact-modal input[type="tel"],
.plan-contact-modal input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.plan-contact-modal .btn {
    width: 100%;
    padding: 14px 32px;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.plan-contact-modal .btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 91, 12, 0.2);
}

.plan-contact-modal .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    border-radius: 50px;
    opacity: 0.7;
    transition: var(--transition);
}

.plan-contact-modal .btn:hover::after {
    opacity: 0;
}

/* Autocomplete Styles */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--light-gray);
    border-top: none;
    z-index: 100;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0;
    list-style: none;
}

.autocomplete-list li {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    transition: background 0.2s;
}

.autocomplete-list li:hover,
.autocomplete-list li.active {
    background: var(--primary);
    color: #fff;
}

/* For input wrapper if needed */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

/* Responsive: make sure suggestions fit on mobile */
@media (max-width: 576px) {
    .autocomplete-list {
        font-size: 0.95rem;
        max-height: 160px;
    }
}

/* Autocomplete Suggestions Container - Enhanced for better visibility and aesthetics */
#autocomplete-results {
    position: absolute;
    top: 100%;
    /* Position it directly below the input */
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    /* Clean white background for better contrast */
    border: 1px solid #e5e7eb;
    /* Subtle light gray border */
    border-radius: 8px;
    /* Rounded corners for modern look */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    /* Deeper shadow for more visibility */
    margin-top: 4px;
    /* Slight margin for spacing */
    z-index: 1000;
    max-height: 240px;
    /* Increased height for more suggestions */
    overflow-y: auto;
    padding: 0;
    /* Reset padding */
    list-style: none;
    /* Ensure no list bullets */
}

/* Hide the container when it's empty */
#autocomplete-results:empty {
    display: none;
}

/* Style for individual suggestion items */
#autocomplete-results .suggestion-item {
    padding: 12px 16px;
    /* Comfortable padding */
    cursor: pointer;
    font-size: 14px;
    /* Readable font size */
    color: #374151;
    /* Dark gray text for good readability */
    border-bottom: 1px solid #f3f4f6;
    /* Light separator between items */
    transition: background-color 0.2s ease, color 0.2s ease;
    /* Smooth hover transition */
}

#autocomplete-results .suggestion-item:hover {
    background-color: #f9fafb;
    /* Light gray hover background */
    color: #111827;
    /* Darker text on hover */
}

#autocomplete-results .suggestion-item:last-child {
    border-bottom: none;
    /* Remove border from last item */
}

/* Optional: Highlight the first item or active state */
#autocomplete-results .suggestion-item.active {
    background-color: #dbeafe;
    /* Light blue for active state */
    color: #1e40af;
    /* Blue text for active */
}

/* Responsive adjustments for autocomplete */
@media (max-width: 768px) {
    .coverage-check form {
        flex-direction: column;
        /* Stack input and button vertically on mobile */
        gap: 10px;
    }

    #autocomplete-results {
        position: absolute;
        top: calc(100% + 10px);
        /* Adjust top to account for button below input */
        left: 0;
        right: 0;
        width: 100%;
        max-height: 200px;
        /* Reduce height on mobile */
        font-size: 14px;
        /* Slightly smaller font */
    }

    #autocomplete-results .suggestion-item {
        padding: 10px 14px;
        /* Adjust padding for mobile */
    }
}

@media (max-width: 576px) {
    #autocomplete-results {
        max-height: 160px;
        /* Further reduce height */
        font-size: 13px;
        /* Smaller font for very small screens */
    }

    #autocomplete-results .suggestion-item {
        padding: 8px 12px;
        /* Tighter padding */
    }
}


/* Notification styles */
#notification {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    background-color: #dc2626;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-2.5rem);
    transition: all 0.5s ease-in-out;
}

#notification.show {
    opacity: 1;
    transform: translateY(0);
}