.syllabus-area {
  padding-top: 40px;
  padding-bottom: 40px;
}
.syllabus {
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
}
.exam-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}
.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.exam-header {
  background: #d50c00;
  color: #fff !important;
  padding: 10px 15px;
}
.exam-header.final {
  background: #d50c00;
}

.exam-body {
  padding: 15px;
  background: #f9f9f9;
}
.calender-area {
  padding-top: 40px;
  padding-bottom: 40px;
}
.calendar-card {
  background: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
}
/* Legend */
.legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}
.legend span {
  font-size: 14px;
}
.dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.leave {
  background: #ff4d4d;
}
.exam {
  background: #007bff;
}
.holiday {
  background: #28a745;
}
.rules-section {
  background: #f9fbfd;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
}
.rule-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-top: 15px;
  height: 180px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.rule-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.rule-card .icon {
  font-size: 35px;
  margin-bottom: 10px;
}
.rule-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}
.rule-card p {
  font-size: 14px;
  color: #666;
}
.time-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.time-card:hover {
  transform: translateY(-5px);
}
.time-table {
  margin-bottom: 0;
}
.time-table th {
  background: #d50c00;
  font-weight: 600;
  color: #fff;
  border-top: none !important;
}
.time-table td,
.time-table th {
  padding: 10px;
  font-size: 14px;
}
.time-table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.time-table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
@media (max-width: 600px) {
  .time-card {
    margin-top: 15px;
  }
}
.weekly-close {
  padding: 15px 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
}
.weekly-close .icon {
  font-size: 20px;
  margin-right: 0px;
}
.weekly-close strong {
  color: #d9534f;
}
.weekly-close .open-days {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}
.shift-badge {
  font-size: 12px;
  margin-left: 15px;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  color: #fff;
}
.shift-badge.morning {
  background: linear-gradient(135deg, #f6d365, #fda085);
}
.shift-badge.day {
  background: linear-gradient(135deg, #f9c504, #f6d365);
}
.uniform-img-box img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.uniform-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}
.uniform-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/logo.png") no-repeat center;
  background-size: 200px;
  opacity: 0.08;
  z-index: -1;
}
.uniform-content h3 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}
.uniform-content p {
  font-size: 15px;
  color: #555;
  text-align: justify;
  line-height: 1.6;
}
.uniform-content ul {
  padding-left: 0;
  list-style: none;
}
.uniform-content ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #444;
}
.campus-content h2 {
  font-weight: 700;
}
.campus-content p {
  font-size: 15px;
  color: #555;
  text-align: center;
  margin: auto;
  line-height: 1.7;
}
.campus-img {
  overflow: hidden;
  position: relative;
}
.campus-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
  border-radius: 10px;
  margin-top: 15px;
}

.gallery-box {
  text-decoration: none;
  color: inherit;
  display: block;
}
.gallery-box .card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  background-clip: padding-box;
}
.gallery-box .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #d50c00, #f9c504);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1; /* 🔥 always visible */
}
.gallery-box:hover .card {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.gallery-box .gallery-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.gallery-box .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.gallery-box:hover img {
  transform: scale(1.1);
}
.gallery-box .gallery-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
}
.gallery-box .badge-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  color: #000;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.gallery-box .card-body {
  padding: 16px;
  background: #fff;
}
.gallery-box .card-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  transition: 0.3s;
}
.gallery-box:hover .card-title {
  color: #d50c00;
}
.branch-card {
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
  transition: 0.3s;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.branch-card iframe {
  border-radius: 10px;
}
.contact-form-box {
  background: #fff;
  margin-top: 20px;
  padding: 30px;
  border-radius: 7px;
  border-left: 2px solid #f9c504;
  border-right: 2px solid #f9c504;
}
.contact-form-box .form-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 25px;
}
.contact-form-box .input-group-custom {
  position: relative;
}
.contact-form-box .input-group-custom i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999;
}
.contact-form-box .input-group-custom input,
.contact-form-box .input-group-custom textarea {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border-radius: 10px;
  border: 1px solid #eee;
  outline: none;
  transition: 0.3s;
  font-size: 14px;
}
.contact-form-box .input-group-custom input:focus,
.contact-form-box .input-group-custom textarea:focus {
  border-color: #d50c00;
  box-shadow: 0 0 0 3px rgba(213, 12, 0, 0.1);
}
.contact-form-box .textarea-group i {
  top: 20px;
  transform: none;
}
.contact-form-box .submit-btn {
  background: linear-gradient(135deg, #d50c00, #f9c504);
  border: none;
  padding: 12px 30px;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}
.contact-form-box .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
@media (max-width: 600px) {
  .branch-card {
    margin-top: 20px;
  }
}
.our-team-area {
  padding-top: 70px;
  padding-bottom: 20px;
}
.section-title {
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}
.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  display: block;
  margin: 5px auto 0;
}
/* Card */
.team-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-top: 2px solid #d50c00;
  border-bottom: 2px solid #d50c00;
  margin-top: 15px;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
/* Image */
.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}
/* Text */
.team-card h5 {
  font-weight: 600;
  margin-bottom: 5px;
}
.team-card .qualification {
  font-size: 13px;
  color: #777;
}
.team-card .subject {
  font-size: 14px;
  color: #d50c00;
  font-weight: 500;
}
.principal-box {
  background: linear-gradient(135deg, #fff, #f9f9f9);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #d50c00;
}
.principal-box img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #f9c504;
}
.principal-box h2 {
  font-weight: 700;
  margin-bottom: 5px;
}
.principal-box .qualification {
  color: #777;
  margin-bottom: 5px;
}
.principal-box .role {
  color: #d50c00;
  font-weight: 600;
  margin-bottom: 10px;
}
.principal-box .desc {
  color: #555;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .team-card img {
    width: 100%;
    object-fit: fill;
  }
}

/*Admission section start*/
.admission-form {
  height: auto;
  padding: 20px;
  background-color: #fff;
  border-top: 3px solid #f9c504;
  border-radius: 4px;
}
.admission-form .personal-details {
  height: auto;
  padding: 15px;
  border: 0.1px solid #c7c7c7;
}
.admission-form .personal-details p {
  color: #313131;
  margin-top: -27px;
  font-size: 15px;
  letter-spacing: 0.7px;
  position: absolute;
  background-color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  margin-left: 10px;
}
.form-group-clean {
  margin-top: 20px;
}
.form-group-clean label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}
.form-group-clean input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
  background: #fff;
}
.form-group-clean input:focus {
  border-color: #d50c00;
  box-shadow: 0 0 0 3px rgba(213, 12, 0, 0.1);
}
.form-group-clean input::placeholder {
  color: #aaa;
}
.form-group-clean .radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.form-group-clean .radio-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}
.form-group-clean .radio-box input {
  display: none;
}
.form-group-clean .radio-box:hover {
  border-color: #d50c00;
}
.form-group-clean .radio-box input:checked + span {
  color: #d50c00;
  font-weight: 500;
}
.form-group-clean .radio-box input:checked {
  display: none;
}
.form-group-clean .radio-box input:checked + span::before {
  content: "✔ ";
}
.form-select-clean {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  background: #fff;
  transition: 0.3s;
  cursor: pointer;
}
.form-select-clean:focus {
  border-color: #d50c00;
  box-shadow: 0 0 0 3px rgba(213, 12, 0, 0.1);
}
.file-upload-box {
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 12px 14px 5px 14px;
  text-align: left;
  transition: 0.3s;
  cursor: pointer;
  background: #fafafa;
}
.file-upload-box:hover {
  border-color: #d50c00;
  background: #fff;
}
.file-upload-box input {
  display: none;
}
.file-upload-box .file-name {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}
.form-group-clean textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
  resize: none;
  background: #fff;
}
.form-group-clean textarea:focus {
  border-color: #d50c00;
  box-shadow: 0 0 0 3px rgba(213, 12, 0, 0.1);
}
.form-group-clean textarea::placeholder {
  color: #aaa;
}
.label-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  padding-bottom: 6px;
}
.left-label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
}
.right-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}
.right-checkbox input {
  margin: 0;
  cursor: pointer;
}
.btn-submit-admission {
  background: linear-gradient(45deg, #f9c504, #f6d365);
  color: #fff;
  border: none;
  padding: 10px 50px;
  border-radius: 30px;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-submit-admission:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.btn-reset-admission {
  background: linear-gradient(45deg, #dc3545, #ff6b6b);
  color: #fff;
  border: none;
  padding: 10px 50px;
  border-radius: 30px;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-reset-admission:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
