
/* Variables */
:root {
  --color-primary: #41291d;   /* blue */
  --color-secondary: #22c55e; /* green */
  --color-accent: #0f4972;    /* yellow */
  --color-dark: #1f2937;      /* dark gray */
  --color-light: #f9fafb;     /* light gray */
  --color-background: rgba(217, 187, 142, 0.1);
  --color-black: #000000;
  --color-white: #ffffff;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--color-background);
  color: var(--color-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-weight: bold;
}

nav a:hover {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  font-weight: bold;
}

.apply-btn {
  margin-left: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 1vw;
  transition: background 0.3s;
}

.apply-btn:hover {
  opacity: 0.6;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  width: 95vw;
  margin: 1vw auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 4px 4px 2px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-content a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: 1vw;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-content a:hover {
  opacity: 0.6;
}

.how-to-enroll {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: var(--color-light);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.how-to-enroll h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.how-to-enroll .intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step .icon i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

  .step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
  }

  .step p {
    font-size: 0.95rem;
    color: #444;
  }



 .curriculum {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem 1rem;
    background: var(--color-light);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
  }

  .curriculum h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
  }

  .curriculum .intro {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 2rem;
  }

  .cbc-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .cbc-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
  }

  .cbc-item:hover {
    transform: translateY(-5px);
  }

  .cbc-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }

  .cbc-item p {
    font-size: 0.95rem;
    color: #444;
  }

  .more-btn a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: bold;
    border-radius: 9999px;
    transition: background 0.3s;
  }

  .more-btn a:hover {
    opacity: 0.6;
  }


.facilities {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem 1rem;
  }

  .facilities-text {
    flex: 1;
  }

  .facilities-text h2 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
  }

  .facilities-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
  }

  .facilities-img {
    flex: 1;
    text-align: right;
  }

  .facilities-img img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
    
    /* Community */
    .community {
      background: var(--color-light);

    }

    .community-container {
      max-width: 1200px;
      margin: 2vw auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: center;
      padding: 0 1rem;
    }



    .community img {
      width: 30vw;
      height: 30vw;
      border-radius: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      object-fit: cover;
    }

    .community h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .community a {
      display: inline-block;
      margin-top: 1.5rem;
      padding: 0.75rem 1.5rem;
      background: var(--color-primary);
      color: var(--color-white);
      border-radius: 9999px;
      font-weight: bold;
      transition: background 0.3s;
    }

    .community a:hover {
      background: #1d4ed8;
    }

    /* Footer */
    footer {
      background: var(--color-primary);
      color: var(--color-white);
      padding: 3rem 1rem;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
    }

    .footer-container h4 {
      font-size: 1.2rem;
      margin-bottom: 1rem;
      font-weight: bold;
    }

    .footer-container a:hover {
      text-decoration: underline;
      color: var(--color-accent);
    }
    
    @media (max-width: 480px) {

      .hero-content h1 {
        font-size: 1.3rem;
      }
    
      .hero-content p {
        font-size: 0.9rem;
      }
    
      .hero-content a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
      }
    
      .step {
        padding: 1.5rem;
      }
    
      .cbc-item img {
        height: 150px;
      }
    
      .community img {
        width: 90vw;
      }
    
      footer {
        text-align: center;
      }
    }
  </style>