/* Navigation Menu */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: clamp(10px, 3vw, 20px); /* Space between nav links */
}

.nav-menu.show{
    display: flex;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff; /* Highlight on hover */
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    border: none;
    outline: none;
    text-decoration: none;
    color: #333;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: color 0.3s;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }
  
  /* Add a red background color to navbar links on hover */
  .navbar a:hover, .dropdown:hover .dropbtn {
    color: #007bff;
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: clamp(120px, 10vw, 160px);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: black;
    padding: clamp(8px, 2vw, 12px) clamp(10px, 3vw, 16px);
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

/* Call-to-Action Button */
.cta-btn {
    background: linear-gradient(to right, #ff5a36, #f7785c);
    color: #fff;
    padding: clamp(8px, 2vw, 10px);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 350;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.cta-btn:hover {
    background-color: #d32e00;
    cursor: pointer;
}

@media (max-width: 480px) {
    .logo img {
        height: 30px; /* Scale logo for smaller screens */
        flex-direction: column;
        align-self: center;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}


.demo-btn {
    background: linear-gradient(to right, #ff5a36, #f7785c);
    color: white;
    border-radius: 5px;
    margin-top: 5px;
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 350;
    cursor: pointer;
}

.contact-btn {
    background: linear-gradient(to right, #1570f0, #4e95f8);
    color: white;
    margin-top: 5px;
    border-radius: 5px;
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 350;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to top, #01307292, #002b7c2a), url(images/landscape.png);
    background-size: cover;
    background-position: center;
    padding: clamp(20px, 5vw, 40px) 0;
    height: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: clamp(400px, 60vh, 550px);
}

@media (max-width: 1000px) {
    .hero {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5%;
    }

    .hero-text {
        margin-top: 10px;
        flex-direction: column;
        text-align: center !important;
        align-items: center !important;
    }

    .hero-text .product-tag{
        max-width: 130px;
        text-align: center !important;
        justify-content: center;
        margin-top: 20px;
        align-self: center;
    }
}



.hero-container{
    display: flex;
    text-align: center;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5vw, 30px);
    gap: clamp(2rem, 2vw, 5rem);
}

.hero-image img {
    flex: 2;
    width: 80%; /* Adjust image width */
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    border-radius: 10px; /* Optional: Rounded corners for the image */
}

.hero-text {
    flex: 1;
    width: 100%;
    color: white;
    text-align: left;
}

.hero-text .product-tag {
    display: inline-block;
    background: linear-gradient(to right, #ff5a36, #f7785c);
    color: white;
    padding: clamp(5px, 1.5vw, 10px) clamp(8px, 2vw, 16px);
    border-radius: 3px;
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-transform: uppercase;
    font-weight: 350;
    margin-bottom: clamp(5px, 2vw, 10px);
    cursor: pointer;
}

.hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    margin-right: 2rem;
}

.hero-text .subtitle {
    font-size: clamp(1rem, 5vw, 2rem);
    margin-bottom: 0.5rem;
    color: white;
}

.hero-buttons .btn {
    display: inline-block;
    padding: clamp(8px, 2vw, 10px);
    margin-right: clamp(5px, 2vw, 10px);
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
}

/*Features Content*/
.features-container {
    display: flex;
    flex-direction: column; /* Ensures the heading is on top */
    align-items: center; /* Centers content horizontally */
    gap: 20px; /* Adds space between the heading and the content below */
    background-image: url('images/back.png');
    background-size: cover;
    background-position: center;
    max-width: 100%;
    padding: 20px;
    min-height: clamp(400px, 60vh, 550px);
}

.features-content {
    display: flex;
    flex-direction: row; /* Ensures the image and grid are side-by-side */
    align-items: flex-start; /* Aligns image and grid at the top */
    justify-content: space-between; /* Adds space between the image and the grid */
    width: 100%; /* Makes the content span the full width */
    gap: 40px; /* Adjusts spacing between the image and the grid */
}

.guage {
    flex: 1; /* Makes the image container take up appropriate space */
    max-width: 40%; /* Limits the width of the image container */
    min-width: 300px;
    text-align: center;
}

.guage img {
    max-width: 50vw;
    width: 90%; /* Makes the image responsive */
    height: auto;
    border-radius: 8px; /* Optional: Adds rounded corners */
}

.features-grid {
    flex: 2; /* Makes the grid take up more space than the image */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr)); 
    max-width: 1000px;
    width: 50vw;
    gap: clamp(10px, 2vw, 20px);
    margin-top: 0;
    padding: 0;
}

.feature-card {
    background: #f9f9f9;
    padding: clamp(15px, 3vw, 20px);
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 100%;
    text-align: center;
}

.features-container h2 {
    text-align: center; /* Centers the heading */
    margin-bottom: 20px; /* Adds spacing below the heading */
    width: 100%; /* Makes the heading span the full width */
}

@media (max-width: 1000px) {
    .features-content {
        flex-direction: column; /* Stacks image and grid vertically on smaller screens */
        align-items: center;
    }

    .guage {
        max-width: 100%; /* Full width on smaller screens */
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusts grid layout */
    }
}


/* Call-to-Action Section */
.cta-section {
    background: linear-gradient(to right, #0047abd9, #002b7cae), url(images/network.png);
    color: #fff;
    min-height: 200px;
    height: auto;
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.cta-buttons a {
    margin: 0 0.5rem;
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 350;
    cursor: pointer;
}

