:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

.header-section {
    background: linear-gradient(135deg, #ff9900, #ff9900);
    color: var(--white);
    margin-bottom: 0;
    padding: 0;
}

/* Make header a bit shorter regardless of Bootstrap utility classes */
.header-section .row {
    padding: 0.4rem 0 !important;
}

/* Override possible Bootstrap spacing utilities on the header row */
.header-section .py-4 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.logo-img {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 48px;
    height: auto;
}

.form-section {
    background-color: var(--light-bg);
}

.form-container {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), 0 1.5px 8px rgba(0,0,0,0.04);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s;
}

.form-container:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.13), 0 2px 12px rgba(0,0,0,0.07);
}

.form-header h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-section-card {
    background: #f4f7fb;
    border-radius: 14px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.03);
    transition: box-shadow 0.2s;
}

.form-section-card:hover {
    box-shadow: 0 4px 16px rgba(37,99,235,0.07);
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.2px;
}

.required {
    color: var(--danger-color);
    font-size: 1.1em;
    margin-left: 2px;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    background: #f9fafb;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 2px rgba(37,99,235,0.03);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.13);
    background: #fff;
}

/* File Inputs */
input[type="file"].form-control {
    padding: 0.5rem 1rem;
    background: #f4f7fb;
    border-radius: 10px;
    border: 2px dashed var(--border-color);
    transition: border-color 0.2s;
}

input[type="file"].form-control:focus {
    border-color: var(--primary-color);
    background: #fff;
}

/* Info/Alert Box for Authenticity */
.alert-info {
    background: linear-gradient(90deg, #e0f2fe 0%, #f1f5f9 100%);
    color: #2563eb;
    border-left: 5px solid #2563eb;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.alert-info i {
    font-size: 1.5em;
    margin-top: 2px;
}

/* Days Checkboxes */
.days-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    padding: 0.5rem 0.2rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(37,99,235,0.13);
}

.form-check-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.98rem;
}

/* Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6 80%);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.13);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, #1d4ed8, #2563eb 80%);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

/* Small text for file input */
.form-section-card small.text-muted {
    font-size: 0.97em;
    margin-top: 0.2rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .form-container {
        padding: 1.5rem 0.7rem;
    }
    .form-section-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .form-container {
        margin: 1rem 0.2rem;
        padding: 1.2rem 0.3rem;
    }
    .logo-text {
        font-size: 1.3rem;
    }
    .days-checkboxes {
        justify-content: center;
    }
    .form-section-card {
        padding: 1rem 0.3rem 0.7rem 0.3rem;
    }
}

/* Animation for form sections */
.form-section-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success and Error Messages */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
} 

/* navbar styles */


/* Dropdown menu custom design */
                .navbar .dropdown-menu {
                  background: linear-gradient(135deg, #ffcc66 0%, #fffbe6 100%);
                  border-radius: 12px;
                  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
                  border: none;
                  min-width: 180px;
                  padding: 10px 0;
                  margin-top: 8px;
                  z-index: 999;
                }

                .navbar .dropdown-menu .dropdown-item {
                  color: #222;
                  font-weight: 600;
                  font-size: 15px;
                  padding: 10px 24px;
                  transition: background 0.2s, color 0.2s;
                  border-radius: 8px;
                }

                .navbar .dropdown-menu .dropdown-item:hover,
                .navbar .dropdown-menu .dropdown-item:focus {
                  background: #ffe0a3;
                  color: #f39c12;
                }

                .navbar .dropdown-toggle::after {
                  margin-left: 8px;
                  vertical-align: middle;
                }
                .custom-navbar {
    background: rgba(255, 191, 0, 0.23);
    transition: background-color 0.4s ease, padding 0.3s ease;
    backdrop-filter: blur(6px);
  }

  .custom-navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .nav-link {
    color: white !important;
    transition: color 0.3s ease;
  }

  .nav-link:hover {
    color: orange !important;
  }
  .navbar .nav-link {
      font-size: 14px; /* Smaller text */
      padding-top: 5px; /* Less vertical padding */
      padding-bottom: 5px;
      margin-right: 2px;  
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='orange' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  .navbar {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0 20px; /* Optional: space inside */
      z-index: 1050;
  }

  /* Navbar text color */
  .navbar {
    color: white;
  }

  /* Make sure text inside the content is readable */


  /* Navbar links and hover effect */
  .all-links a {  
    color: white; /* Set navbar links color to white */
    text-decoration: none;
  }