/* Global Styles */
body {

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f4f6;
  color: #212529;
  margin: 0;
   padding-top: 120px;
  padding: 0;
}

/* Navbar */
.navbar {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  position: absolute; /* sit on top of hero */
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff !important; /* White text for visibility */
}

.navbar-nav .nav-link {
  color: #ffffff !important; /* White text */
  font-weight: 500;
  transition: all 0.3s;
  background: transparent !important; /* No background */
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important; /* Gold on hover */
}
 /* Hero Section */
section[style*="background-image"] {
  background: linear-gradient(to right, #9C27B0, #3F51B5) !important;
  color: white !important;
}

section[style*="background-image"] .btn-primary {
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1.1rem;
}
.hero-full {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(to right, #9C27B0, #3F51B5); /* <-- added */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
/* Mobile Navbar Background (fix for white bar) */

/* Soft dark overlay so text stays readable over bright images */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.35));
  z-index: 0;
}

/* Ensure hero content is above the overlay */
.hero-full > * { position: relative; z-index: 1; }


section[style*="background-image"] .btn-primary:hover {
  background: linear-gradient(to right, #7B1FA2, #303F9F);
}

/* Expertise Section */
#solutions {
  background: #f8f9fa;
}

#solutions h2 {
  color: #3F51B5;
  font-weight: 600;
}

.card {
  border: none;
  background: linear-gradient(to right, #ede7f6, #e8eaf6);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: linear-gradient(to right, #d1c4e9, #c5cae9);
}

.card-title {
  color: #3F51B5;
  font-weight: 600;
}

/* Footer */
footer {
  background: linear-gradient(to right, #3F51B5, #9C27B0);
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#chat-toggle {
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-box p {
  margin: 0 0 10px;
}

.chat-box input {
  width: 80%;
  padding: 5px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.chat-box button {
  margin-top: 10px;
  margin-right: 5px;
  padding: 6px 10px;
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-box button:hover {
  background: linear-gradient(to right, #7B1FA2, #303F9F);
}

.chat-link {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  text-decoration: none;
  color: white;
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s ease-in-out;
}

.chat-link:hover {
  background: linear-gradient(to right, #7B1FA2, #303F9F);
}
/* Auth Forms (Login, Signup, Verify) */
form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings on auth pages */
h2.text-center {
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Form Labels */
form label {
  font-weight: 500;
  color: #3F51B5;
}

/* Inputs */
form .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form .form-control:focus {
  border-color: #9C27B0;
  box-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
}

/* Buttons */
form .btn-primary {
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  border: none;
}

form .btn-primary:hover {
  background: linear-gradient(to right, #7B1FA2, #303F9F);
}

form .btn-success {
  background: linear-gradient(to right, #43A047, #388E3C);
  border: none;
}

form .btn-success:hover {
  background: linear-gradient(to right, #388E3C, #2E7D32);
}

form .btn-warning {
  background: linear-gradient(to right, #FBC02D, #FFA000);
  border: none;
}

form .btn-warning:hover {
  background: linear-gradient(to right, #F9A825, #F57F17);
}

/* Signup/verify link text */
form p a {
  color: #9C27B0;
  text-decoration: none;
}

form p a:hover {
  text-decoration: underline;
}
.auth-page {
  background: linear-gradient(to right, #ede7f6, #e8eaf6);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  background-color: #f8f9fa;
}
.card {
  background-color: #ffffff;
  border-radius: 12px;
}
/* Auth Page Styling */
.auth-page {
  background: linear-gradient(to right, #3f87a6, #ebf8e1, #f69d3c);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
}

.auth-form h2 {
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
}

.auth-form .form-control {
  border-radius: 6px;
}

.auth-form button {
  border-radius: 6px;
  font-weight: bold;
}
/* Popup Overlay Background */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup Box */
.popup-box {
  background: linear-gradient(to right, #9C27B0, #3F51B5);
  color: white;
  padding: 20px;
  border-radius: 15px;
  width: 70%;  /* <-- Change size here */
  max-width: 800px; /* Maximum width */
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.5);
}
.popup-box ul {
  margin-bottom: 20px;
}
.popup-box h5 {
  margin-top: 15px;
}

/* Close Button hover */
#closePopupBtn:hover {
  opacity: 0.85;
}
@media (max-width: 991px) {
  /* Style the hamburger button box */
  .navbar-toggler {
    background: linear-gradient(to right, #9C27B0, #3F51B5) !important;
    border: none !important; /* remove border if you like */
    padding: 6px 10px; /* adjust spacing */
    border-radius: 6px; /* rounded corners */
  }

  /* Make sure the 3 lines are white */
  .navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  }
}

@media (max-width: 991px) {
    /* Navbar dropdown uses gradient instead of white */
    .navbar-collapse {
        background: linear-gradient(to right, #9C27B0, #3F51B5) !important;
        padding: 10px 15px;
        border-radius: 0; /* remove rounded corners */
        box-shadow: none; /* cleaner look */
    }

    /* Nav links: transparent background, white text */
    .navbar-nav .nav-link {
        background: transparent !important;
        color: #ffffff !important;
        border-radius: 6px;
        margin: 5px 0;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-weight: 600;
        transition: background 0.3s, color 0.3s;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.15) !important; /* subtle highlight */
        color: #ffd700 !important; /* gold text on hover */
    }

    /* Icon size inside links */
    .navbar-nav .nav-link i {
        font-size: 1.2rem;
    }

    /* Make sure links take full width */
    .navbar-nav .nav-item {
        width: 100%;
    }

    /* Shrink logo on mobile so navbar isn’t too tall */
    .navbar-brand img {
        height: 80px;
        width: auto;
    }
}

/* Mobile Adjustments */
/* Mobile Navbar Background */
@media (max-width: 991px) {
    /* Gradient for the collapsed menu */
    .navbar-collapse {
        background: linear-gradient(to right, #9C27B0, #3F51B5);
        border-radius: 0; /* remove rounded corners */
        padding: 10px 15px;
    }

    /* Navbar links inside the mobile menu */
    .navbar-nav .nav-link {
        color: #ffffff !important; /* white text */
        background: transparent !important;
        margin: 5px 0;
        padding: 10px 15px;
        border-radius: 6px;
    }

    .navbar-nav .nav-link:hover {
        color: #ffd700 !important; /* gold on hover */
        background: rgba(255, 255, 255, 0.1); /* subtle highlight */
    }

    /* Navbar toggler icon */
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }
    .navbar-toggler-icon {
        filter: invert(100%);
    }
}

@media (max-width: 991px) {
    /* Reduce logo size */
    .navbar-brand img {
        height: 100px;
        width: 100px;
    }

    /* Ensure content is pushed below navbar */
    body {
        padding-top: 0px; /* adjust depending on logo size */
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 80px;
        width: 80px;
    }
    body {
        padding-top: 110px; /* small phones */
    }
}