@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: #F7F7F7;
  overflow-x: hidden;
}

/* Global Styles */
a {
  text-decoration: none;
}
ul {
  list-style: none;
}

/* Shared Styles */
.raleway {
  font-family: "Raleway", sans-serif;
}

.primary-btn {
  color: #fff;
  background-color: #000;
  padding: 10px 47px;
  border: none;
  border-radius: 12px;
  font-size: 1.25rem;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.primary-btn:hover {
  transition: .5s ease-in-out;
  background-color: rgb(42, 42, 51);
}

/* Header Styles */
.header {
  margin-top: 20px;
}

/* Navigation Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  width: 90%;
  margin: 0 auto;
}

.navbar-hr {
  display: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-logo .nav-logo-title {
  font-size: 2rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 1.25rem;
  font-weight: 500;
}

#home {
  color: #FEA301;
}

#about {
  color: #01ACFD;
}

#facilities {
  color: #05D4DF;
}

#admission {
  color: #5D58EF;
}

.nav-btn {
  background-color: #FEA301;
  padding: 10px 60px;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  color: white;
  border-radius: 12px;
  transition: .4s ease-in;
  cursor: pointer;
}

.nav-btn:hover {
  background-color: #fc9117;
  transition: .4s ease-in;
}

.responsive-menu {
  display: none;
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1158.61px;
  width: 90%;
  margin: 50px auto;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-section .hero-intro .hero-title {
  font-weight: bold;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-intro .hero-description {
  font-size: 1.25rem;
  max-width: 640px;
}

.orange {
  color: #FEA301;
  display: inline-block;
}

.sky-blue {
  color: #01ACFD;
}

.purple {
  color: #8700FF;
}

/* Curriculum Styles */
.curriculum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
  gap: 60px;
  background-image: url("../assets/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 20px;
  padding: 40px 20px;
}

.curriculum-title {
  text-align: center;
  font-size: 2.875rem;
}

.curriculum-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
  padding: 50px 30px;
  z-index: 1;
  border-radius: 1.179rem;
  width: 350px;
  min-height: 440px;
}

.sky-blue-card {
  background: linear-gradient(360deg, rgb(255, 255, 255) 55%, rgba(222, 245, 255, 1) 100%);
}

.orange-card {
  background: linear-gradient(360deg, rgb(255, 255, 255) 55%, rgba(255, 244, 220, 1) 100%);
}

.purple-card {
  background: linear-gradient(360deg, rgb(255, 255, 255) 55%, rgba(238, 225, 255, 1) 100%);
}

.card > h3 {
  font-size: 1.533rem;
}

.card > p {
  color: rgba(128, 128, 128, 1);
  font-size: 0.943rem;
  line-height: 1.6;
}

.card > a {
  font-weight: 700;
  font-size: 0.943rem;
}

/* Stories Section */
.stories {
  background: url("../assets/bg.png"), linear-gradient(180deg, #F7F7F7 0%, rgba(254, 163, 1, .3) 100%);
  background-size: cover;
  width: 100%;
  margin-top: 50px;
  padding: 60px 20px;
}

.stories-title {
  text-align: center;
  font-size: 2.875rem;
  margin-bottom: 50px;
}

.stories-grid {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.stories-grid-card {
  border: 1px solid rgba(0, 0, 0, 0.13);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.grid-card-1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.grid-card-1 > img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.grid-card-1-text {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-card-1-text > h1 {
  font-size: 1.5rem;
}

.grid-card-1-text > p {
  line-height: 1.6;
  color: #666666;
  font-weight: 500;
  font-size: 0.959rem;
}

.story-1-btn {
  margin: -35px 0 0 38px;
  z-index: 2;
}

.story-1-btn > button {
  border-radius: 47px;
  padding: 10px 20px;
  border: none;
  background-color: #3CD8E8;
  color: white;
  cursor: pointer;
}

.stories-grid-inner {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.stories-grid-inner .stories-grid-card {
  display: flex;
  flex-direction: column;
}

.grid-card-others img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.grid-card-others h1 {
  font-size: 0.9rem;
  padding: 15px;
  line-height: 1.4;
}

.story-others-btn {
  margin: -25px 0 0 20px;
  z-index: 2;
}

.green-btn{
  background-color: #95B226;
}

.purple-btn {
  background-color: #5D58F0;
}

.stories-grid-inner button {
  border-radius: 47px;
  padding: 6px 14px;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.75rem;
}

.stories-view-btn {
  text-align: center;
  margin-top: 50px;
}

/* Footer Section */
.footer {
  width: 100%;
  background-color: rgba(1, 172, 253, 1);
  padding: 80px 20px;
}

.footer-inner {
  max-width: 1070px;
  width: 100%;
  margin: 0 auto;
  color: white;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 390px;
}

.footer-left-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left-top h1 {
  font-size: 2.2rem;
  line-height: 1.1;
}

.footer-left p {
  line-height: 1.6;
}

.footer-center {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.footer-center ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-center ul li a {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-center h1{
  font-size: 1.5rem;
}

.footer-right h1 {
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* Responsive Styles for Tablets and Mobile */
@media screen and (max-width: 992px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-intro .hero-description {
    width: 100%;
  }

  .hero-image img {
    max-width: 80%;
    height: auto;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .grid-card-1 {
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    width: 90%;
    position: relative;
  }
  
  .navbar-hr {
    display: block;
    margin-top: 12px;
    border-top: 2px solid #FFE8BF;
  }

  .nav-logo-title,
  .nav-btn,
  .curriculum-arrows {
    display: none;
  }

  /* Mobile Dropdown Navigation Menu */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
    gap: 15px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .responsive-menu {
    display: block;
    cursor: pointer;
  }

  .responsive-menu > i {
    font-size: 1.875rem;
  }

  .hero-section .hero-intro .hero-title {
    font-size: 2.2rem;
  }

  .hero-intro .hero-description {
    font-size: 1rem;
    width: 100%;
  }

  .hero-image img {
    width: 100%;
  }

  .curriculum-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 340px;
    min-height: auto;
    padding: 30px 20px;
  }

  .stories-grid {
    width: 90%;
    padding: 0;
  }

  .stories-grid-inner {
    grid-template-columns: 1fr;
  }

  .stories-grid-inner .stories-grid-card {
    width: 100%;
    height: auto;
  }

  .grid-card-others img {
    height: 180px;
  }

  .grid-card-others h1 {
    font-size: 1rem;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }

  .footer-left p {
    width: 100%;
  }
}