/* =========================
   General Reset & Body
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5f6fa;
  color: #333;
}

/* =========================
   Header
=========================== */
.main-header {
  background: #0a3d62;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu .active {
  color: #f8c291;
}

/* =========================
   Footer
=========================== */
.main-footer {
  background: #082d4f;
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* =========================
   Hero Section (for index & course pages)
=========================== */
.hero {
    background: linear-gradient(to right, #0a3d62, #3c6382); /* default gradient */
    color: white;
    text-align: center;
    padding: 60px 20px; /* reduced height */
    border-bottom-left-radius: 30px; /* optional curved bottom */
    border-bottom-right-radius: 30px;
    position: relative;
}

/* Course-specific hero backgrounds */
.hero.ccna-hero {
    background: linear-gradient(to right, rgba(10,61,98,0.8), rgba(60,99,130,0.8)),
                url('../images/ccnaa.jpg') center/cover no-repeat;
}

/* Hero content text */
.hero-content h1 {
    font-size: 2rem; /* slightly smaller for course pages */
    margin-bottom: 15px;
}

.hero-content span {
    color: #f8c291;
}

.hero-content p {
    font-size: 1rem; /* smaller text */
    margin-bottom: 20px;
}


.btn {
  background: #f8c291;
  color: #0a3d62;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background: #e58e26;
  color: white;
}

/* =========================
   Feature Boxes (index.php)
=========================== */
.features {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0a3d62;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-box {
  background: #f5f6fa;
  padding: 25px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
   Call to Action (index.php)
=========================== */
.call-to-action {
  background: #0a3d62;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* =========================
   Courses Grid (courses.php)
=========================== */
.course-banner {
  background: linear-gradient(to right, #0a3d62, #3c6382);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.course-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.course-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.courses-section {
  padding: 60px 20px;
  background: #fff;
}

.course-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
}

/* Desktop - 1200px+ */
@media (min-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet - 768px to 1199px */
@media (max-width: 1199px) and (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - below 768px */
@media (max-width: 767px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

.course-card {
  background: #f5f6fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-info {
  padding: 20px;
}

.course-info h3 {
  color: #0a3d62;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.course-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
}

.course-info .btn {
  background: #0a3d62;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.course-info .btn:hover {
  background: #e58e26;
  color: #fff;
}


/* =========================
   Course Detail Page
=========================== */
.course-detail-container {
    max-width: 1000px;
    margin: 50px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 40px 30px;
}

.course-content h2 {
    color: #0a3d62;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 2px solid #f8c291;
    display: inline-block;
    padding-bottom: 5px;
}

.course-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}
.course-content ul {
    list-style: none; /* remove default bullets */
    margin: 0 0 20px 0; /* remove margin */
    padding: 0; /* remove padding */
}

.course-content ul li {
    position: relative;
    padding-left: 25px; /* space for custom checkmark */
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.course-content ul li::before {
    content: "✓"; /* checkmark */
    position: absolute;
    left: 0;
    top: 0;
    color: #e58e26;
    font-weight: normal; /* softer checkmark */
    line-height: 1rem;
}

/* Optional: ensure no default marker anywhere */
.course-content ul li::marker {
    content: none;
}

.enroll-btn {
    display: block;
    text-align: center;
    margin: 40px auto 0;
    max-width: 220px;
    background: none; /* remove parent background */
}

.enroll-btn a {
    display: block;
    font-size: 1.1rem; 
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 12px 30px; 
    border-radius: 30px; 
    background: linear-gradient(90deg, #0a3d62, #3c6382); /* gradient only here */
    transition: all 0.3s ease;
}

.enroll-btn a:hover {
    background: linear-gradient(90deg, #e58e26, #f8c291); /* smooth hover gradient */
    color: white;
    transform: translateY(-3px);
}

/* =========================
  Course price
=========================== */
.course-price {
    font-size: 1.2rem;
    margin-top: 10px;
}

.course-price .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.course-price .discounted-price {
    color: #e58e26; /* highlight the discounted price */
    font-weight: 600;
    margin-right: 10px;
}

.course-price .discount-tag {
    color: #f00; /* red color for discount tag */
    font-weight: 500;
}
/* Enroll Form Styling */
.enroll-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

.enroll-form label {
    font-weight: 600;
    color: #0a3d62;
}

.enroll-form input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.enroll-form button {
    background: linear-gradient(90deg, #0a3d62, #3c6382);
    color: #fff;
    padding: 12px 0;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enroll-form button:hover {
    background: #e58e26;
    transform: translateY(-2px);
}
/* =========================
   About Us Page
=========================== */
.about-hero {
  background: linear-gradient(to right, #0a3d62, #3c6382);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-hero span {
  color: #f8c291;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-container {
  max-width: 1000px;
  margin: 50px auto;
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.about-section {
  margin-bottom: 40px;
}

.about-section h2 {
  color: #0a3d62;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #f8c291;
  display: inline-block;
  padding-bottom: 5px;
}

.about-section p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.about-section ul {
  list-style: none;
  padding-left: 0;
}

.about-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.about-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e58e26;
  font-weight: bold;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  text-align: center;
  background: #f5f6fa;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  color: #0a3d62;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  color: #555;
  font-size: 0.95rem;
}
/* =========================
   Contact Page
=========================== */
.contact-hero {
  background: linear-gradient(to right, #0a3d62, #3c6382);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-hero span {
  color: #f8c291;
}

.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-container {
  max-width: 1100px;
  margin: 60px auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2,
.contact-form h2 {
  color: #0a3d62;
  margin-bottom: 15px;
  font-size: 1.8rem;
  border-bottom: 2px solid #f8c291;
  display: inline-block;
  padding-bottom: 5px;
}

.contact-info p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
}

.contact-info li {
  margin-bottom: 10px;
  color: #333;
  font-size: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background: linear-gradient(90deg, #0a3d62, #3c6382);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #e58e26;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
.founder-advisor .team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.founder-card, .advisor-card {
  border: 2px solid #007bff;
  padding: 25px;
  border-radius: 10px;
  background: #f8faff;
  text-align: center;
}

.founder-card h2, .advisor-card h2 {
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 100%;
  border: 3px solid #007bff;
}

