
/* --- Global Styles --- */
body {
    font-family: "Delius", cursive;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3, h4 {
    font-family: "Delius", cursive;
    color: #2c3e50;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: #3498db;
}

section {
    padding: 40px 0;
}

/* --- Header --- */
header {
    background: #2c3e50;
    color: #fff;
    padding: 10px 0;
    border-bottom: #3498db 3px solid;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    margin: 0;
}

header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #3498db;
}

/* --- Hero Section --- */
#hero {
    background: #3498db;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

#hero h2 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 10px;
}

#hero p {
    color: #eee;
    font-size: 1.2em;
}

/* --- Courses Section --- */
#courses h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.certificate-info {
    text-align: center;
    margin: -20px auto 40px auto;
    padding: 10px;
    background: #eaf5ff;
    border-left: 5px solid #3498db;
    max-width: 800px;
}

.course {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ecf0f1;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.course-icon {
    width: 20px;
    height: 20px;
}

.course-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.tier {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tier h4 {
    font-size: 1.3rem;
    margin-top: 0;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin: 10px 0;
}

.tier ul {
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
}

.tier ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tier ul li::before {
    content: '✔';
    color: #27ae60;
    position: absolute;
    left: 0;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn:hover {
    background: #2980b9;
}

/* --- About Section --- */
#about {
    background: #fff;
    text-align: center;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
}

#about p u em strong {
    font-size: calc(1em + 2px);
}

/* --- Footer --- */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* --- Slideshow Container --- */
.slideshow-container {
  max-width: 800px;
  position: relative;
  margin: auto;
  margin-bottom: 40px;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 5px;
  background-color: #f9f9f9;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
    width: 100%;
    border-radius: 5px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* --- Responsive Design --- */
@media(max-width: 992px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 10px;
    }

    .container {
        width: 95%;
    }
}
