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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero {
  position: relative;
  background: url('heroimage.png') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 40px;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
}

.hero-content {
  position: relative;
  max-width: 1000px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #ff4d4d;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e63c3c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 80px 20px;
    text-align: left;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
/* Who We Are Section */
.who-we-are {
  background: #c7e1a6; /* light green */
  padding: 60px 20px;
}

.who-we-are .container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1600px;
  margin: auto;
  flex-wrap: wrap;
}

.who-we-are .text {
  flex: 1 1 400px;
}

.who-we-are h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.who-we-are p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #222;
}

.who-we-are .image {
  flex: 1 1 600px;
}

.who-we-are .image img {
  width: 100%;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .who-we-are .container {
    flex-direction: column;
    text-align: left;
  }
  .who-we-are h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
  .who-we-are p {
    font-size: 1.5rem;
  }
  .who-we-are .image {
    margin-top: 20px;
  }
  .who-we-are .image {
  flex: 1 1 auto;
}
}

/* Why Choose Us */
.why-choose {
  padding: 60px 20px;
  text-align: center;
  background: #fafafa;
}

.why-choose h2 {
  font-size: 2.5rem;
}

.cards {
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}

.card {
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.card .arches {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: -20px;
}

.card .arches span {
  display: block;
  width: 60px;
  height: 40px;
  border-radius: 30px 30px 0 0;
}

.card .content {
  padding: 30px;
  border-radius: 10px;
  color: #222;
}

.card h3 {
  margin-bottom: 15px;
  font-weight: bold;
}

/* Colors */
.red .arches span,
.red .content {
  background: #f56565;
  color: white;
}

.green .arches span,
.green .content {
  background: #68d391;
}

.yellow .arches span,
.yellow .content {
  background: #f6e05e;
}

.brown .arches span,
.brown .content {
  background: #a0522d;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}


/* Admission Form Section */
.admission-form {
  background: #faf6ef; /* cream */
  padding: 60px 20px;
}

.admission-form .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.form-text {
  flex: 1 1 500px;
}

.form-text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.form-text p {
  margin-bottom: 30px;
  font-size: 1.3rem;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #d3e8b5; /* light green */
  font-size: 1rem;
}

form button {
  background: #ff5a5a;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #e14b4b;
}

.form-image {
  flex: 1 1 400px;
}

.form-image img {
  width: 100%;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .admission-form .container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}

footer {
  background: #2b6cb0;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}
.outer-container {
  display: flex;
  width: 75%;
  justify-content: space-evenly;
  position: relative;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 70px;
}
.cylinder {
  width: 150px;
  height: 240px;
  background: red;
  border-radius: 60px / 20px;
  position: relative;
  
}
.align{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}
.align:nth-child(odd) {
  align-items: flex-end;
}
.align:nth-child(even) {
  align-items: flex-start;
}
/* ----------- COLOR THEMES ----------- */

/* Red theme */
.outer-container.red .cylinder {
  background: linear-gradient(to bottom, #cc0000, #990000);
}
.outer-container.red .inner-content {
  background: linear-gradient(to bottom, #ff9999, #ff6666);
}

/* Yellow theme */
.outer-container.yellow .cylinder {
  background: linear-gradient(to bottom, #e6b800, #b38f00);
}
.outer-container.yellow .inner-content {
  background: linear-gradient(to bottom, #ffe680, #ffd633);
}

/* Green theme */
.outer-container.green .cylinder {
  background: linear-gradient(to bottom, #339933, #267326);
}
.outer-container.green .inner-content {
  background: linear-gradient(to bottom, #99e699, #66cc66);
}

/* Brown theme */
.outer-container.brown .cylinder {
  background: linear-gradient(to bottom, #6b4226, #4d2e1a);
}
.outer-container.brown .inner-content {
  background: linear-gradient(to bottom, #c9a88c, #a9745b);
}
.inner-content {
  position: absolute;
  width: 100%;
  height: 100%;

  top: 70px;
  /* left: 20px;
  right: 20px; */
  bottom: 20px;
  background: linear-gradient(to bottom, #ff4d4d, #e63c3c);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
.inner-content h3 {
  font-size: 2.1rem;
  text-align: start;
  line-height: 25px;
  align-items: start;
}
.inner-content p {
  font-size: 1.5rem;
  margin-top: 10px;
  text-align: start;
}

/* Responsive */
@media (max-width: 768px) {
  .why-choose{
    padding: 0px;
  }
  .align{
    width: 100%;
    align-items: start;
    justify-items: start;
  }
  .align:nth-child(odd) {
  align-items: flex-start;
}
.align:nth-child(even) {
  align-items: flex-start;
}
  .outer-container {
  display: flex;
  width: 95%;
  height: 450px;
  justify-content: space-evenly;
  position: relative;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;

}
.cylinder {
  width: 40px;
  height: 140px;
  background: red;
  border-radius: 60px / 20px;
  position: relative;
  
}
.inner-content {
  position: absolute;
  width: 100%;

  top: 30px;

  bottom: 20px;
  background: linear-gradient(to bottom, #ff4d4d, #e63c3c);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
.inner-content h3 {
  font-size: 1.5rem;
  text-align: start;
  line-height: 25px;
  align-items: start;
}
.inner-content p {
  font-size: 1.2rem;
  margin-top: 10px;
  text-align: start;
}
}
