/* General styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container a {
    color: orange;
    text-decoration: none;
    font-weight: bold;
}

.container a:hover {
    color: coral;
}

.header {
    background: #007BFF;
    color: #fff;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 1.5em;
    text-transform: uppercase;
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .hamburger {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
}

.header .nav {
    display: flex;
}

.header .nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

.header .nav ul li {
    margin-left: 1.5em;
}

.header .nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: left;
    padding: 4em 0;
    margin-top: 5em;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.hero .btn {
    background: #ff6347;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    text-transform: uppercase;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #e55337;
}

#slider {
    overflow: hidden;
}
#slider .slide-images {
    position: relative;
    width: 300%;
    margin: 0;
    left: 0;
    animation: 30s slider infinite;
}
#slider .slide-images .hero-2 {
    float: left;
    width: 33.33%;
}
@keyframes slider {
    0% {
        left: o;
    }
    33% {
        left: 0;
    }
    35% {
        left: -100%;
    }
    68% {
        left: -100%;
    }
    70% {
        left: -200%;
    }
    100% {
        left: -200%;
    }
}
.hero-2 {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 50px;
}
.glass {
    padding: 100px;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.16);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    position: relative;
    backdrop-filter: blur(3px);
}
.glass p {
    position: relative;
    color: white;
    font-size: 200%;
    font-family: papyrus;
    font-weight: bold;
}
@media (max-width: 768px) {
    .hero-2 {
        padding: 100px 20px;
    }

    .glass {
        padding: 30px;
    }

    .glass p {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-2 {
        padding: 80px 10px;
    }

    .glass {
        padding: 20px;
    }

    .glass p {
        font-size: 1rem;
    }
}
.hero-2 .card {
    background: white;
    padding: 3em;
    width: 100%;
    display: flex;
    align-content: space-between;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hero-2 .card img {
    height: 20em;
    width: 100%;
    border-radius: 1em;
}
.hero-2 .card p {
    font-size: 1.1em;
    color: #555;
    padding: 2em;
    font-style: italic;
}
.hero-2 .card2 {
    margin-top: 3em;
    padding: 3em;
    background: white;
}
.hero-2 .card2 img {
    width: 100%;
    display: block;
}
.hero-2 .card2 p {
    font-size: 1.1em;
    color: #555;
    padding: 2em;
    font-style: italic;
}
@media (max-width: 768px) {
    .hero-2 .card {
        flex-direction: column;
        width: 100%;
    }
    .hero-2 .card img {
        border-radius: 1em;
        height: auto;
    }
}

.services {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('services-bg.jpg');
}

.services,
.plans,
.features,
.about,
.testimonials,
.faq,
.contact {
    padding: 4em 0;
}

.features {
    background: #1e90ff;
}

.features h2 {
    color: gold;
}

.features h3 {
    color: #1e90ff;
}

.services h2,
.plans h2,
.features h2,
.about h2,
.testimonials h2,
.faq h2,
.contact h2 {
    text-align: center;
    margin-bottom: 2em;
    font-size: 2em;
    position: relative;
}

.services h2::after,
.plans h2::after,
.features h2::after,
.about h2::after,
.testimonials h2::after,
.faq h2::after,
.contact h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007BFF;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.service-cards,
.plan-cards,
.feature-list,
.testimonial-cards,
.faq-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2em;
}

.service-card,
.plan-card,
.feature-item,
.testimonial-card,
.faq-item {
    background: #fff;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.plan-card:hover,
.feature-item:hover,
.testimonial-card:hover,
.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card img,
.about-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1em;
}

.service-card h3,
.plan-card h3,
.feature-item h3,
.testimonial-card h3,
.faq-item h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.service-card p,
.plan-card ul,
.feature-item p,
.testimonial-card p,
.faq-item p {
    font-size: 1.1em;
    color: #555;
}

.plan-card ul {
    list-style: none;
    padding-left: 0;
}

.plan-card ul li {
    margin-bottom: 0.5em;
}

.plan-card .price {
    font-size: 1.5em;
    font-weight: bold;
    color: #007BFF;
    margin-bottom: 1em;
}

.about-content {
    display: flex;
    gap: 2em;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 2;
    font-size: 1.3em;
}

.about-values {
    display: flex;
    gap: 1.5em;
    margin-top: 1.5em;
    background: #fffff0;
    font-size: 0.8em;
    padding: 1em;
}

.about-buttons {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.testimonials {
    background: #e6e6fa;
}

.testimonial-cards {
    display: flex;
    gap: 2em;
}

.testimonial-card p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 1em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.contact {
    background: #007BFF;
    color: #fff;
    padding: 4em 0;
}

.contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h2 {
    color: #fff;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 100%;
    max-width: 800px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
    text-align: center;
    padding: 3em;
    border-radius: 1em;
}

.contact-item h3 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    color: gold;
}

.contact-item p {
    font-size: 1.1em;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-form {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-form h3 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
    color: black;
}

.contact-form .form-group {
    margin-bottom: 1em;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: black;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75em;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.contact-form button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 0.75em 1.5em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    width: 100%;
    font-size: 1.1em;
}

.contact-form button:hover {
    background: #0056b3;
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

.footer p {
    margin: 0;
}

.fiber-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
  }
  
  .fiber-content {
    flex: 2;
  }
  
  .fiber-content h2 {
    font-size: 2rem;
    color: #333;
  }
  
  .fiber-content h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #444;
  }
  
  .fiber-content p, .fiber-content ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }
  
  .fiber-content ul {
    list-style: disc;
    padding-left: 20px;
  }
  
  .fiber-image {
    flex: 1;
    text-align: center;
  }
  
  .fiber-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

@media (max-width: 768px) {
    .header .nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: #007BFF;
        flex-direction: column;
        width: 200px;
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    .header .nav.nav-open {
        transform: translateX(0);
    }

    .header .nav ul {
        flex-direction: column;
    }

    .header .nav ul li {
        margin: 1em 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .services h2,
    .plans h2,
    .features h2,
    .about h2,
    .testimonials h2,
    .faq h2,
    .contact h2 {
        font-size: 1.5em;
    }

    .contact-form {
        padding: 1.5em;
    }

    .contact-form button {
        padding: 0.5em 1em;
        font-size: 1em;
    }
}

/* Updated Styles for CCTV Section */
.cctv {
    background-color: #f4f4f4;
    padding: 4rem 0;
    text-align: center;
}

.cctv h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
}

.cctv h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007BFF; /* Blue */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.cctv-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cctv-image {
    width: 100%;
    max-width: 400px; /* Limit image width for small screens */
}

.cctv-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cctv-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cctv-text {
    text-align: left;
    max-width: 100%; /* Ensure text does not overflow on smaller screens */
}

.cctv-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cctv-text p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cctv-text .btn {
    background-color: #007BFF; /* Blue */
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.cctv-text .btn:hover {
    background-color: #0056b3; /* Darker Blue */
}

.cctv-why-choose {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cctv-why-text {
    text-align: left;
    max-width: 100%; /* Ensure text does not overflow on smaller screens */
}

.cctv-why-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cctv-why-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.cctv-why-text ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

.cctv-why-text ul li::before {
    content: '\2022'; /* Bullet character */
    color: #007BFF; /* Blue */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cctv-why-image {
    width: 100%;
    max-width: 400px; /* Limit image width for small screens */
}

.cctv-why-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cctv-why-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .cctv-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .cctv-image,
    .cctv-why-image {
        flex: 1;
        max-width: none;
    }

    .cctv-text,
    .cctv-why-text {
        flex: 1;
        text-align: left;
    }
}

/* Media Query for screens smaller than 768px (tablets and phones) */
@media (max-width: 768px) {
    .fiber-section {
      flex-direction: column; /* Stack content vertically */
      align-items: center; /* Center-align items */
      text-align: center; /* Center-align text */
    }
  
    .fiber-content {
      flex: none; /* Reset flex */
      max-width: 100%; /* Full width */
    }
  
    .fiber-content h2 {
      font-size: 1.8rem;
    }
  
    .fiber-content h3 {
      font-size: 1.3rem;
    }
  
    .fiber-content p,
    .fiber-content ul {
      font-size: 0.9rem;
    }
  
    .fiber-image img {
      width: 100%; /* Smaller image size for mobile */
    }
  }
  
  /* Media Query for screens smaller than 480px (phones) */
  @media (max-width: 480px) {
    .fiber-content h2 {
      font-size: 1.5rem;
    }
  
    .fiber-content h3 {
      font-size: 1.2rem;
    }
  
    .fiber-content p,
    .fiber-content ul {
      font-size: 0.85rem;
    }
  
    .fiber-image img {
      width: 100%; /* Even smaller image for narrow screens */
    }
  }