/* Base */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.main-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cursive', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00796b;
}

.header-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-outline {
  padding: 0.5rem 1.2rem;
  border: 2px solid #00796b;
  background: transparent;
  color: #00796b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #00796b;
  color: #fff;
}

.btn-filled {
  padding: 0.5rem 1.2rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-filled:hover {
  background: #333;
}

/* Intro Section */
.program-intro {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

/* Cards and Grid */
.program-category {
  margin: 4rem 0 2rem;
}

.program-category h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 2rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.program-card {
  background: #fefefe;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.program-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.program-card p {
  font-size: 0.95rem;
  margin: 0.4rem 0;
}

/* Enroll Button */
.enroll-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #00796b;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.enroll-btn:hover {
  background: #005f53;
}

/* Form Input Styling */
form input[type="text"],
form input[type="email"],
form input[type="file"],
form select,
form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 0.5rem;
  font-size: 1rem;
}

form label {
  font-weight: 600;
  color: #333;
}

form button[type="submit"] {
  margin-top: 1rem;
}

/* View More Link */
.view-more {
  text-align: center;
  margin: 3rem 0;
}

.view-link {
  text-decoration: none;
  font-weight: bold;
  color: #00796b;
  border-bottom: 1px solid transparent;
  transition: border 0.3s;
}

.view-link:hover {
  border-color: #00796b;
}

/* Footer */

.site-footer {
  background: #fff;
  border-top: 1px solid #ccc;
  padding: 60px 80px 30px;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-col {
  flex: 1;
  min-width: 160px;
  margin-left: -20px;
  max-width: 200px;
}

.logo-col {
  max-width: 100px;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-left: -30px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.subscribe-col p {
  font-size: 13px;
  margin-bottom: 10px;
  max-width: 280px;
}

.subscribe-col form {
  display: flex;
  margin-bottom: 8px;
  max-width: 280px;
}

.subscribe-col input[type="email"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 2px 0 0 2px;
  font-size: 13px;
}

.subscribe-col button {
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-size: 13px;
  border: none;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
}

.subscribe-col button:hover {
  background: #333;
}

.subscribe-col small {
  font-size: 11px;
  color: #444;
  display: block;
  max-width: 280px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 16px;
  font-size: 16px;
}

.footer-social i {
  color: #000;
  cursor: pointer;
}
/* Fixed Header */
.main-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Prevent content hiding behind header */
body {
  padding-top: 90px;
}

/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-header span {
  font-weight: 600;
  font-size: 1.1rem;
}

.close-sidebar {
  font-size: 20px;
  cursor: pointer;
}

/* Sidebar Links */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Sidebar Buttons */
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.sidebar-buttons .btn-outline,
.sidebar-buttons .btn-filled {
  font-size: 0.95rem;
  padding: 10px 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1020px) {
  .nav-menu,
  .header-buttons {
    display: none !important;
  }

  .menu-icon {
    display: block;
  }
}

@media (min-width: 1021px) {
  .sidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}