/* ---------- GLOBAL ---------- */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    background: #ffffff;
    color: #333;
  }
  a {
    text-decoration: none;
  }
  
  /* ---------- HEADER NAV ---------- */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 1rem 2rem;
    color: #333;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
  }
  .logo-link {
    text-decoration: none;
  }
  .logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a365d;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .nav-link {
    color: #1a365d;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #1a365d;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 1.5px 4px rgba(26,54,93,0.2);
    display: inline-block;
    text-align: center;
    min-width: 50px;
  }
  .nav-link:hover {
    color: white;
    background: linear-gradient(135deg, #1a365d, #2c5282);
    border-color: #1a365d;
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(26,54,93,0.3);
  }
  .nav-link.cta-link {
    background: linear-gradient(135deg, #4a90e2, #1a365d);
    color: white;
    font-weight: bold;
    border: 1px solid #1a365d;
    box-shadow: 0 2px 6px rgba(26,54,93,0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
  }
  .nav-link.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26,54,93,0.5);
    background: linear-gradient(135deg, #2c5282, #1a365d);
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
  }
  .dropdown-toggle {
    cursor: pointer;
    position: relative;
  }
  .dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
  }
  .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
    padding: 0.5rem 0;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
  }
  .dropdown-link:hover {
    background: #f8fafc;
    color: #1a365d;
  }
  
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
  }
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
  }
  
  /* Footer Styles */
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    background: #1a365d;
    color: white;
  }
  .footer-section h3,
  .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
  }
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  .footer-section ul li {
    margin-bottom: 0.5rem;
  }
  .footer-section a {
    color: #b8d4f0;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-section a:hover {
    color: white;
  }
  .social-links {
    display: flex;
    gap: 1rem;
  }
  .social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
  }
  .social-link:hover {
    background: #2c5282;
    transform: translateY(-2px);
  }
  .footer-bottom {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 1rem 2rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      padding: 1rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      gap: 1rem;
    }
    .nav-menu.active {
      display: flex;
    }
    .nav-link {
      text-align: center;
      padding: 0.5rem 0.75rem;
      border-radius: 12px;
      background: linear-gradient(135deg, #ffffff, #f8fafc);
      border: 1px solid #1a365d;
      box-shadow: 0 1.5px 4px rgba(26,54,93,0.2);
      margin: 0.25rem 0;
      min-width: 60px;
    }
    .mobile-menu-toggle {
      display: flex;
    }
    .dropdown-content {
      position: static;
      box-shadow: none;
      background: #f8fafc;
      margin-top: 0.5rem;
      border-radius: 8px;
    }
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
  
  /* ---------- HERO SECTION ---------- */
  .hero {
    background: linear-gradient(180deg, #ffffff 0%, #e8f4fd 30%, #b8d4f0 70%, #4a90e2 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #1a365d;
  }
  .hero-logo {
    width: 320px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(30,58,138,0.15);
  }
  .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a365d;
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2d3748;
    opacity: 0.9;
  }
  .btn-hero {
    background: #1a365d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #1a365d;
    display: inline-block;
    transition: all 0.3s;
  }
  .btn-hero:hover {
    background: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,54,93,0.3);
  }
  
  /* ---------- COURSES SECTION ---------- */
  .courses-section {
    padding: 3rem 2rem;
    background: white;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
  }
  .course-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
  }
  .course-card {
    background: linear-gradient(135deg, #4a90e2, #1a365d);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(26,54,93,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26,54,93,0.25);
  }
  .course-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
    letter-spacing: 0.5px;
  }
  .course-card p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    color: white;
    opacity: 0.95;
    line-height: 1.5;
  }
  .course-link {
    color: white;
    font-weight: 500;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  .course-link:hover {
    background-color: rgba(255,255,255,0.1);
    opacity: 1;
  }
  
  /* ---------- CONTACT SECTION ---------- */
  .contact-section {
    padding: 3rem 2rem;
    background: white;
  }
  .contact-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
  }
  .contact-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
  }
  .contact-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    width: 280px;
    box-shadow: 0 2px 8px rgba(26,54,93,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8f4fd;
  }
  .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,54,93,0.15);
  }
  .contact-card h3 {
    color: #1a365d;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
  }
  .contact-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
  }
  
  /* ---------- FOOTER ---------- */
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
  }
  footer p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  /* ---------- FORM SECTION ---------- */
  .form-section {
    max-width: 800px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  }
  .form-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .form-group.full {
    width: 100%;
  }
  .form-group label {
    font-weight: 600;
    margin-bottom: 0.4rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.7rem;
    font-size: 1rem;
    transition: border 0.3s;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #1a365d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26,54,93,0.2);
  }
  .btn-submit {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
  }
  .btn-submit:hover {
    opacity: 0.9;
  }
  
  /* ---------- THANK YOU PAGE ---------- */
  .thanks-body {
    background: linear-gradient(135deg, #4a90e2, #1a365d);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  .thanks {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .thanks-logo {
    width: 160px;
    margin-bottom: 1rem;
  }
  .thanks h2 {
    color: #1a365d;
    margin-bottom: 0.5rem;
  }
  .thanks p {
    color: #555;
    margin-bottom: 1.5rem;
  }
  .thanks .btn {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
  }
  .thanks .btn:hover {
    opacity: 0.9;
  }
  
  /* ---------- ADMIN LOGIN ---------- */
  .login-body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4a90e2, #1a365d);
  }
  .login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 350px;
    text-align: center;
  }
  .login-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  .login-logo {
    text-align: center;
    margin-bottom: 1rem;
  }
  .logo-image {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .login-title {
    font-size: 1.6rem;
    color: #1a365d;
    margin-bottom: 1rem;
  }
  .login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }
  .login-form input {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  .login-btn {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .login-btn:hover {
    opacity: 0.9;
  }
  
  /* ---------- ADMIN DASHBOARD ---------- */
  .dashboard-body {
    background: #f4f6fb;
  }
  .admin-header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .admin-controls {
    display: flex;
    gap: 10px;
  }
  .btn {
    background: #1a365d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
  }
  .btn:hover { opacity: 0.9; }
  .btn.danger { background: #e11d48; }
  .btn.danger:hover { background: #be123c; }
  .stats-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem auto;
    flex-wrap: wrap;
    max-width: 800px;
  }
  .stat-card {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    width: 140px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }
  .stat-card h2 {
    font-size: 1.5rem;
    color: #1a365d;
    margin: 0 0 0.2rem 0;
    font-weight: 700;
  }
  .stat-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .table-section {
    width: 90%;
    margin: auto;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    padding: 0.5rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  th {
    background: #1a365d;
    color: white;
  }
  tr:hover { background: #f0f8ff; }
  
  /* ---------- DASHBOARD FILTERS ---------- */
  .filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem auto;
    max-width: 90%;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .filters input {
    flex: 1;
    min-width: 250px;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .filters input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26,54,93,0.1);
  }
  .filter-buttons {
    display: flex;
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  .filter-btn:hover {
    background: #f0f8ff;
    border-color: #1a365d;
  }
  .filter-btn.active {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
  }
  
  /* ---------- MODAL STYLING ---------- */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none !important;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
  }
  .modal-overlay.show {
    display: flex !important;
  }
  .modal {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
  }
  .modal h2 {
    color: #333;
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
  }
  .modal p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .modal strong {
    color: #1a365d;
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
  }
  .modal .btn {
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* ---------- TABLE IMPROVEMENTS ---------- */
  .table-section {
    margin-top: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
  }
  table {
    font-size: 0.9rem;
  }
  th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.8rem;
  }
  td {
    padding: 0.5rem 0.8rem;
    vertical-align: middle;
  }
  select {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    background: white;
    transition: border-color 0.2s ease;
  }
  select:focus {
    outline: none;
    border-color: #1a365d;
  }
  .btn.small {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    margin: 0 0.1rem;
    border-radius: 4px;
  }
  
  /* ---------- RESPONSIVE IMPROVEMENTS ---------- */
  @media (max-width: 768px) {
    .hero-logo {
      width: 280px;
      margin-bottom: 1.5rem;
    }
    .hero-content h1 {
      font-size: 2.2rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
    .course-cards {
      gap: 1rem;
    }
    .course-card {
      width: 100%;
      max-width: 300px;
    }
    .contact-cards {
      gap: 1rem;
    }
    .contact-card {
      width: 100%;
      max-width: 260px;
    }
    .stats-container {
      gap: 0.5rem;
      margin: 1rem auto;
    }
    .stat-card {
      width: 120px;
      padding: 0.6rem 0.8rem;
    }
    .stat-card h2 {
      font-size: 1.3rem;
    }
    .filters {
      flex-direction: column;
      align-items: stretch;
    }
    .filters input {
      min-width: auto;
    }
    .filter-buttons {
      justify-content: center;
    }
    .table-section {
      width: 95%;
      padding: 1rem;
    }
    .admin-header {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    .admin-controls {
      justify-content: center;
    }
  }
  