/* Light Mode */
body {
    background: #fff;
    color: #000;
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transition */
}

 body.dark-mode {
    background-color: #121212;
    color: white;
}

/* Navbar */
.dark-mode .navbar {
    background-color: #333;
}

.dark-mode .card {
    background-color: #222;
}

.dark-mode .cta-button {
    background-color: #f39c12;
}

.dark-mode .footer {
    background-color: #111;
}




.light-mode {
    background: #fff;
    color: #000;
}

.dark-mode {
    background: #121212;
    color: #fff;
}

button {
    padding: 10px;
    margin: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.top-left{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.top-right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.top-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}


.cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* Full width */
    max-width: 100%;
    margin-right: 0px;
    margin-left: 0px;
    min-height: 40px; /* Adjustable height */
    background: #ff9800; /* Eye-catching color */
    padding: 5px 2px;
    border-top: 2px solid #000; /* Adds a top border for distinction */
    margin: 0; /* Removes unnecessary gap */
    box-sizing: border-box; /* Ensures proper spacing */
}

.cta p {
    margin: 0; /* Removes default margin */
    font-size: 16px; /* Font size */
    color: #fff; /* White text */
    text-align: center; /* Centered text */
}
/* Ensures CTA touches the navbar */
.navbar + .cta {
    margin-top: 0;
}

/* Scrolling Container */
.trending-news {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

/* Scrolling Text */
.news-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollNews 10s linear infinite;
}

/* Responsive Fix for Smaller Screens */
@media (max-width: 768px) {
    .cta {
        min-height: 40px; /* Adjust height for mobile */
        font-size: 14px;
    }

    .news-content p {
        font-size: 14px;
    }
}

/* Animation for Scrolling Text */
@keyframes scrollNews {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}




  /* Fixed Header */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #11abe3;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Navbar */
  .navbar {
    background: #333; /* Dark background */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

  /* Navbar Logo */
   .navbar .logo {
    display: flex;
    align-items: center;
 }
  
  /* Navbar Logo Text */
  .navbar .logo h2 {
    font-size: 2.5rem; /* Adjusts font size */
    font-family: 'Poppins', sans-serif; /* Example font - Change as needed */
    font-weight: 600; /* Makes text bold */
    color: white; /* Text color */
    margin-right: 10px;
}


/* Navbar Links Styling */
.navbar .nav-links a {
    text-decoration: none;
    font-size: 16px /* Adjusts font size */
    font-family: 'Poppins', sans-serif; /* Example font - Change as needed */
    font-weight: 500; /* Makes text bold */
    color: white; /* Text color */
    padding: 10px 12px;
    transition: all 0.3s ease;
}

  .navbar .logo img {
    height: 50px; /* Adjust logo size */
    margin-right: 10px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
/* Navbar Links */
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Adds spacing between menu items */
}

  .nav-links li {
    margin-left: 1.5rem;
  }
  
/* Individual Navbar Items */
.navbar .nav-links li {
    display: inline-block;
}

   
* Hover Effect */
.navbar .nav-links a:hover {
    color: #ff9800; /* Changes color on hover */
}
  
.switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #222;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

 
/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    width: 100vw; /* Full width */
    height: 50vh; /* Half of the full viewport height */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers content vertically */
    overflow: hidden;
    background: url('static /images/hero_images/city5.png' ) no-repeat center center / cover;
}

/* Dark overlay only covering the hero section */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full hero height */
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* Ensures hero content is properly centered */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    text-align: center;
    color: white;
}


/* Hero Title */
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Hero Paragraph */
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* CTA Button */
.cta-button {
    padding: 0.8rem 2rem;
    background-color: #f39c12;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e67e22;
}


/* CTA Button */
.cta-button {
    padding: 0.8rem 1rem;
    background-color: #f39c12;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e67e22;
}

/* Cookie Consent Styles */
#cookie-consent {
    position: fixed;
    bottom: 20px;  /* Floating at the bottom */
    right: 20px;   /* Positioned to the bottom-right */
    width: 280px;  /* Small-sized */
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Light shadow */
    font-size: 14px;
    z-index: 1000;
    display: none; /* Initially hidden */
}

/* Content inside the cookie banner */
#cookie-consent .cookie-consent-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Cookie Accept Button */
#cookie-consent .cookie-button {
    background-color: darkorange;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
}

#cookie-consent .cookie-button:hover {
    background-color: orange;
}


  /* Center Footer */
  .footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
  }
  
/* Features Section */
.features {
    padding: 4rem 2rem;
    text-align: center;
  }

  .feature-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }



  .card {
    background-color: #fff;
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
  }


    /* Pricing Section */

  .pricing {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f4f4f4;
  }

  .pricing-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }



  /* Contact Form Adjustments */
  .contact {
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact input, .contact textarea {
    width: 100%;
    max-width: 500px;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  /* Footer */
.footer {
    background: #f8f9fa;
    color: black;
    transition: background 0.3s ease, color 0.3s ease;
}
.dark-mode .footer {
    background: #111;
    color: white;
}