:root {
    --primary: #1d4ed8;
    --text:  #1b02a8;
    --light-bg: #f8fafc;
}
body
{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-image: url('../img/background.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the full screen */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center center; /* Center the image */
    background-attachment: fixed; /* Keep the background fixed on scroll */
}

.networkservices-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-image: url('../img/background.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the full screen */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center center; /* Center the image */
    background-attachment: fixed; /* Keep the background fixed on scroll */
    
}

.vertical-navnetwork {
    position: sticky;
    top: 120px;
    height: fit-content;
    flex-shrink: 0;
}

.nav-itemnetwork {
    padding: 1.2rem 2rem;
    cursor: pointer;
    border-left: 3px solid #cbd5e1;
    transition: all 0.3s ease;
    color: var(--text);
    font-size: 1.4rem;
}

.nav-itemnetwork.active {
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.networkcontent-section {
    flex: 1;
}
.section-header {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }
  .section-header h1 {
      font-family: 'Lexend', sans-serif;
      font-weight: 800;
      text-transform: uppercase;
     font-size: 2.7rem;
      color: #000000; /* Deep blue for strong impact */
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
      margin-bottom: 1rem; /* Space for the line */
      text-align: center;
      margin-top: 67px;
      position: relative;

  }
  .section-header h1::after {
      content: '';
      display: block;
      width: 510px;
      height: 6px;
      background: linear-gradient(90deg, #940bfc, #02fddc);
      margin: 0 auto;
      border-radius: 2px;
      margin-top: 0.5rem;
  }
.networkmain-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: var(--text);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
   
}

.networkservice-section {
    margin-bottom: 6rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    scroll-margin-top: 80px;
    
}

.networkservice-content {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 3rem;
    align-items: center;
    
}

.networkservice-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.networkservice-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.networkservice-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.networkservice-text p {
    color: #000000; /* Rich Purple */
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size:1.2rem;
    font-weight: 450;
}

@media (max-width: 1024px) {
    .networkservices-container {
        flex-direction: column;
    }

    .vertical-navnetwork {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 1rem;
    }

    .nav-itemnetwork {
        border-left: none;
        border-bottom: 3px solid #0612b7;
        white-space: nowrap;
        padding: 1rem;
    }

    .networkservice-content {
        grid-template-columns: 1fr;
    }

    .networkservice-image {
        order: -1;
    }

    .networkservice-text h2 {
        
        font-size: 1.5rem;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    
    .networkservice-text p {
        
        line-height: 1.2;
        font-size:1.1rem;
    }
}

.network-contracts-list {
    list-style: none; /* Removes default bullets */
    padding-left: 0;
}

.network-contracts-list > li {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.network-contracts-list > li ul {
    list-style-type: disc; /* Bullet points for sub-items */
    padding-left: 30px;
    font-weight: normal;
    font-size: 16px;
}

.network-contracts-list > li::before {
    content: ""; /* Tick icon */
    margin-right: 8px;
    font-size: 18px;
}

.network-contracts-list > li strong {
    color: #004D99; /* Cool Deep Blue */
}

.network-contracts-list li ul li {
    color: #000000; /* Rich Purple */
    font-weight: 600;
}


@media (max-width: 700px) {
    /* Adjustments for the container */
    .networkservices-container {
        margin: 2rem auto; /* Reduce top/bottom margin for smaller screens */
        padding: 0 1rem; /* Reduce horizontal padding */
        gap: 2rem; /* Reduce gap between sections */
    }

    /* Adjustments for the vertical navigation */
    .vertical-navnetwork {
        flex-direction: column; /* Stack navigation items vertically */
        overflow-x: hidden; /* Remove horizontal scrolling */
        gap: 0.5rem; /* Reduce gap between navigation items */
    }
    .nav-itemnetwork {
        padding: 0.8rem 1rem; /* Reduce padding for smaller touch targets */
        font-size: 1.3rem; /* Reduce font size */
        border-bottom: 3px solid #0612b7; /* Keep bottom border for clarity */
    }
    .nav-itemnetwork.active {
        font-size: 1.3rem; /* Match active item font size */
    }

    /* Adjustments for the main heading */
    .networkmain-heading {
        font-size: 1.8rem; /* Reduce font size */
        margin-bottom: 2rem; /* Reduce spacing below the heading */
    }

    /* Adjustments for service sections */
    .networkservice-section {
        margin-bottom: 4rem; /* Reduce spacing between sections */
        padding: 1.5rem; /* Reduce padding inside sections */
    }

    /* Adjustments for service content */
    .networkservice-content {
        grid-template-columns: 1fr; /* Ensure single-column layout */
        gap: 2rem; /* Reduce gap between image and text */
    }

    /* Adjustments for service images */
    .networkservice-image img {
        height: 200px; /* Reduce image height */
    }

    /* Adjustments for service text */
    .networkservice-text h2 {
        font-size: 1.4rem; /* Reduce heading font size */
    }
    .networkservice-text p {
        font-size: 1rem; /* Reduce paragraph font size */
        line-height: 1.5; /* Adjust line height for readability */
    }

    /* Adjustments for the services header */
    .services-header h1 {
        font-size: 2rem; /* Reduce font size */
        padding-top: 40px; /* Reduce padding at the top */
    }

    
}


@media (max-width: 480px) {
    /* Adjust overall container margins and side padding */
    .networkservices-container {
      margin: 3rem auto 1rem;
      padding: 0 0.5rem; /* Reduced side padding */
      gap: 1rem;
    }
    
    /* Stack navigation items vertically */
    .vertical-navnetwork {
      position: static;
      display: flex;
      flex-direction: column;  /* Changed from row to column */
      overflow-x: hidden;        /* Remove horizontal scrolling */
      gap: 0.5rem;
      margin-bottom: 30px;
    }
    
    /* Optional: Make each nav item full width */
    .nav-itemnetwork {
      width: 100%;
      padding: 0.5rem 1rem;
      font-size: 1.1rem;
      border: none;
      border-bottom: 3px solid #0612b7;
    }
    .nav-itemnetwork.active {
      font-size: 1.1rem; /* Maintain consistency */
    }
    
    /* Main heading adjustments */
    .networkmain-heading {
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      margin-top: 2.5rem;
    }
    
    /* Service section adjustments */
    .networkservice-section {
      margin-bottom: 2rem;
      padding: 1rem;
    }
    
    .networkservice-content {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    
    /* Scale down service images */
    .networkservice-image img {
      height: 150px;
    }
    
    /* Service text adjustments */
    .networkservice-text h2 {
      font-size: 1.2rem;
    }
    
    .networkservice-text p {
      font-size: 0.9rem;
      line-height: 1.5;
    }
    
    /* Section header tweaks */
    .section-header h1 {
      font-size: 2rem;
      margin-top: 40px;
    }
    .section-header h1::after {
      width: 250px;
      height: 4px;
      margin-bottom: 80px;
    }
  }
  