@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
  --font1: 'Montserrat', sans-serif; 
  --font2: 'Mulish', sans-serif;   
  --font3: 'Calibri', sans-serif;   
  --blue1: #000151;
  --blue2: #000364;
  --blue3: #10003f;
  --green: #28a745;
  --brown: #6f4c39;
  --cream: #e1c8b4;
  --red: #ce1127;
  --yellow: #ffdf00;
}




/* ===== BASE RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font2);
  font-weight: 600;
  background: white;
  color: black;
}

html, body { overflow-x: hidden; }

html {
  scroll-behavior: smooth;
}

body > footer {
  margin-top: auto;
}

h1, h2, h3 {
  font-family: var(--font1);
}

h1 {
  font-weight: 600;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

h2 {
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  color: var(--blue1);
}

h4 {
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

p {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 1.2rem;
  text-align: justify;
}

a {
  font-family: var(--font2);
  font-weight: 500;
  color: var(--blue2);
  text-decoration: none;
}

a:hover {
  color: var(--blue3);
  text-decoration: underline;
}

/* ===== HEADER ===== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: #000151;
  color: white;
  font-family: var(--font1);
  border-bottom: 3px solid white;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand a
{
  width: 200px;
  height: auto;
}


.logo {
  display: flex;
  flex-direction: column;
  white-space: nowrap; 
}

.logo::before,
.logo::after {
  display: inline !important; 
  white-space: nowrap; 

}

/* Single line layout */
.logo::before {

  content: "Gorkha Model Secondary School";
  font-size: 1.7rem;
  line-height: 1;
  margin:10px 10px 0 0; 
}

.logo::after {
  text-align: center;
  content: "Lamahi, Dang";
  font-size: 1.2rem;
  line-height: 35px;
}

nav {
  display: flex;
  padding: 1.5rem 0;
  gap: 1rem;
}

.hamburger {
  display: none;
}
nav a {
  color: white;
  position: relative;
  padding-bottom: 2px;
  font-weight: 600;
}



nav a:hover,
nav a.active {
  color: var(--yellow);
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */

.hero2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
    background-position: center 10%;
}

.hero2:nth-child(2) {
  z-index: 1;
}



.hero {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  padding: 5px 0 3px;
}

.hero-container {
  position: relative;
  height: 20em;
  width: 100%;
  overflow: hidden;
}




#first_quote {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.flip-wrapper {
  height: 2.1%;
  overflow: hidden;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
  align-items: center
}

.flip-text {
  display: inline-block;
  color: var(--blue1);
  transform: translateY(0%);
  transition: transform 0.5s ease-in-out;
  font-size: 1.8rem;
  font-weight: 600;
  white-space: nowrap; 
}

.keyword-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5em 0 1em 0;
  color: var(--red);
  height: 4em;
  margin-bottom: 1em;
  background-color: white;
}

.keyword {
  font-family: var(--font3);
  font-weight: 800;
  font-size: 2.4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.keyword.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== COMPONENTS ===== */
.grid_section {
  padding: 15px 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--font2);
  font-weight: 600;
  transition: transform 0.35s;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.07);
  color: white;
  background: var(--blue2);
  box-shadow: none;
}

button {
  font-family: var(--font2);
  font-weight: 600;
  background-color: var(--blue2);
  color: white;
  padding: 0.4em 0.8em;
  border-radius: 3%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4em;
}

button:hover {
  transform: scale(1.06);
  color: white;
  background-color: var(--green);
}

button:focus {
  outline: none;
  outline-offset: 4px;
}

/* Layout */

.layout {
  display: block;
  justify-content: center;
  align-items: center;
  gap: 2em;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  background-color: white;
  border-radius: 10px 0px 10px 0px;
  padding: 15px 20px 15px 10px;
  margin: 1% 1.2%;
}

.layout2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  background: white;
  border-radius: 10px 0px 10px 0px;
  padding: 15px 20px 15px 10px;
  margin: 1% ;
}

.top{
  font-size: 1em; border-radius: 8%; padding: 0.5em 1em;
  display: flex;
  justify-content: flex-end;
}

.layout3 {
  display: flex;
  align-items: center;
  padding: 15px 20px 15px 10px;
  background: white;
  border-radius: 10px 0 10px 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  margin: 1%;
  gap: 1em;
  justify-content: center;
}

.layout3 {
  display: flex;
  align-items: center;
  padding: 15px 20px 15px 10px;
  background: white;
  border-radius: 10px 0 10px 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  margin: 1%;
  gap: 1em;
  justify-content: center;
}



.circle-wrapper {
  border-radius: 60%;
  overflow: hidden;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
  width: 185px;
  flex-shrink: 0;
}

.circle-wrapper img {
  width: 185px;
  object-fit: cover;
  display: block;
}

.apply {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.apply button {
  border-radius: 0.4em;
  padding: 0.8em 1em;
  margin: 1em 0 1em 0;
}

.apply button:hover{

}

.grid_section a{
  text-decoration: none; 
  color: black;
}

/* Query Box */
.query {
  background-color: skyblue;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 500px;
  width: 100%;
  max-height: 700px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
  overflow-y: auto;
  font-family: var(--font3);
  font-weight: 400;
}

/* Form Elements */
.formtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--blue1);
  font-family: var(--font2);
}

form input[type="text"],
form select,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: white;
  color: black;
  box-sizing: border-box;
  font-family: var(--font3);
  font-weight: 400;
  resize: vertical;
}

form textarea {
  min-height: 90px;
}

form button {
  background-color: var(--blue1);
  color: white;
  padding: 0.85rem;
  border-radius: 0.375rem;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font2);
  transition: all 0.3s ease;
}

form button:hover {
  transform: scale(1.05);
}

/* Quote Style */


.highlight_heading {
  margin-top: 0.5%; 
  margin: 0.2em 0em 0.2em 0.3em;
  position: relative;
  display: inline-block;
  line-height: 45px; 
  color: var(--blue3); 
  font-family: var(--font1);
  font-size: 2em;
  display: inline;
  background-image: linear-gradient(to right, var(--red) 30% , var(--blue1));
  background-size: 100% 5%; 
  background-repeat: no-repeat;
  background-position: 0 100%; 
  padding-bottom: 0.2%;
}

.fade-in p{
  margin: 0em 1em;
  font-style: italic;
}

.alt-feature .copy p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.alt-feature .copy p.in-view {
  opacity: 1;
  transform: translateY(0);
}




.alt-feature .copy h2{
 margin-top: 0; 
  font-style: underline;
  font-family: var(--font2);
  color: var(--blue3);
  font-size: 1.8rem;
  font-weight: 700;
}



/* Layout for alt-feature section */
.alt-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 0.8rem);
  margin-block: clamp(0.8rem, 2vw, 1.5rem);
}

.alt-feature--alt {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 0.8rem);
  margin-block: clamp(0.8rem, 2vw, 1.5rem);

}


.alt-feature--alt .media { order: 2; }
.alt-feature--alt .copy  { order: 1; }

.alt-feature .media img {
  width:95%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
  margin:0em 1em;;
  aspect-ratio: 3 /1.5;
  object-fit: cover;
}

/* Slide-in animations */
.slide-in-left, .slide-in-right {
  opacity: 0;
}
.slide-in-left.in-view  { animation: slideLeft 900ms ease forwards; }
.slide-in-right.in-view { animation: slideRight 900ms ease forwards; }

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-6rem) scale(.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(6rem) scale(.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}



/* Pen writing effect */
.alt-feature .copy p {
  font-size: clamp(1rem, 1.2vw + .8rem, 1.25rem);
  line-height: 1.7;
  opacity: .02;
}

@media screen and (max-width: 992px) {
  .alt-feature { grid-template-columns: 1fr; }
  .alt-feature--alt .media, 
  .alt-feature--alt .copy { order: initial; }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in.in-view {
  animation: fadeInUp 800ms ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.paragraph {
  text-align: center;
  font-family: var(--font3);
  font-size: 18px;
  color: var(--red);
}

.masked-reveal-section {
  position: relative;
  height: 100vh; 
  background: url('asset/reveal.webp') center center / cover no-repeat fixed; 
  display: flex;
  justify-content: center;     
  align-items: flex-end;      
  padding-bottom: 0rem;       
  color: white;
}


.content-overlay {
  max-width: 55%;
  display: flex;
  background: rgba(0,0,0,0.7); 
  padding: 0.5rem 0rem;
  border-radius: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap:1em;
}


.next-section {
  min-height: 100vh;
  height: auto;
  background: white;
  display: flex;
  justify-content: flex-start;
  padding: 0rem;
  flex-direction: column;
  align-items: center;
}

.carousel-container {
  position: relative;
  width: 50%;
  max-width: 700px;
  max-height: auto;
  margin: 0px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 480px; 
  object-fit: contain;
  border-radius: 15px;
  object-position: top;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.carousel-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: #333;
  min-height: 2rem; 
}

.thumbnails {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1em;
}

.thumbnails img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.6;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}

.thumbnails img.active {
  opacity: 1;
  transform: scale(1.1);
  border: 1.5px solid gray;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 1rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 30%;
  z-index: 10;
  transition: none;
}

.carousel-btn.prev {
  left: 10px; 
}

.carousel-btn.next {
  right: 10px; 
}
.carousel-btn:hover,
.carousel-btn:focus {
  outline: none;
}





/* ===== CONTACT PAGE ===== */


.contact {
  padding: 0;
  color: var(--blue1);
  font-family: var(--font3);
}

/* Contact Section Fix */
.contact .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin: 0 auto;
  padding: 1rem;
  max-width: 98%; 
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.query {
  flex: 1;
  max-width: 500px;
}


.contact .container > div:first-child {
  flex: 1 1 auto;
  max-width: 600px;
  text-align: left;
}

.contact p
{
  font-size: 1.3em;
  font-weight: 600;
  color: black;
}

/* Balanced vertical padding for headings */
.contact h4 {
  font-size: 1.4em;
  color: black;
  background-color: skyblue;
  font-family: var(--font2);
  font-weight: 900;
  padding: 1% 1%;       
  margin: 0.7em 0;      
}

/* Simplified link styles */
.contact a {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block; 
}

.contact a:hover {
  color: var(--red);
  transform: scale(1.05);
  text-decoration: underline;
}

/* ===== MESSAGE PAGE ===== */
.message_section {
  display: flex;
}

.layout_message {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 1rem 2rem 1rem 0.5rem;
  border-radius: 1rem;
  margin: 10px 0;
  font-family: var(--font1);
}

.layout_message img {
  width: 200px;
  border-radius: 1rem;
  object-fit: cover;
  overflow: hidden;
}

/* ===== TEAM PAGE ===== */
.team_section {
  display: flex;
}

.layout_team {
  display: grid;
  grid-template-columns: 1fr 2.7fr 1fr;
  gap: 2rem;
  background-color: white;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  padding: 0.7rem 2rem 0.5rem 0.7rem;
  border-radius: 1rem;
  margin: 7px 20px;
  font-family: var(--font1);
}

.layout_team img {
  width: 180px;
  border-radius: 1rem;
  object-fit: cover;
  overflow: hidden;
}

.layout_team button {
  padding: 1rem 1.2rem;
  cursor: pointer;
  max-width: 200px;
  height: fit-content;
  align-self: center;
  background-color: var(--blue3);
  font-family: var(--font2);
  font-weight: 600;
}

/* ===== PAGE ACADEMICS ===== */
.level-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.level-card {
  flex: 1 1 calc(33.33% - 2rem);
  max-width: 50%;
  background-color: white;
  padding: 0rem 1rem 0.5rem 1rem;
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  color: var(--blue1);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font2);
}

.level-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
}

.level-card h3 {
  background-color: var(--cream) ;
  border-radius: 10px 10px 0 0;
  color: black;
  padding: 0.6rem 0rem;
  margin: -1rem -1rem 1rem -1rem;
  font-size: 1.4rem;
  font-family: var(--font2);
  text-align: center;
  font-weight: 600;
}

.level-card:hover h3 {
  background-color:var(--blue1) ;
  color: white;
  text-shadow: none;
}

.level-card p {
  color: black;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font2);
  font-weight: 400;
}

.level-card:hover {
  text-decoration: none; !important
}

.banner_science {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('asset/science.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end; /* Text at bottom */
  padding: 0.6rem 1rem;
  color: white;
  font-family: var(--font1);
  font-weight: bold;
  box-shadow: inset 0 -150px 80px -50px rgba(0, 0, 0, 1); /* Bottom shadow */
}

.banner_management {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('asset/management.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end; 
  padding: 0.6rem 1rem;
  color: white;
  font-family: var(--font1);
  font-weight: bold;
  box-shadow: inset 0 -150px 80px -50px rgba(0, 0, 0, 1);  /* Bottom shadow */
}

.banner_secondary {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('asset/secondary.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end; /* Text at bottom */
  padding: 0.6rem 1rem;
  color: white;
  font-family: var(--font1);
  font-weight: bold;
  box-shadow: inset 0 -150px 80px -50px rgba(0, 0, 0, 1);  /* Bottom shadow */
}


.banner_text {
  font-size: 2.5rem;
  z-index: 1;
  text-align: left;
  margin-left: 1rem;
}



.features {

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0; 
  background: white;
  flex-wrap: wrap;

}


.feature {

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
}

.feature img {
  width: 100%;
  height: 90%;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.feature p {
  font-family: var(--font2);
  font-weight: 600;
  color: var(--blue1);
}



/* ===== PAGE ADMISSION ===== */


.stat-box {
  text-align: center;
  background: white;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  width: 20rem;
  font-family: var(--font2);
}



.counter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats {
  display: flex;
  justify-content: space-around;
  padding: 2em 0;
  background-color: white;
}

.stat-box {
  text-align: center;
  padding: 1em;
}

.count {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--blue3);
}

.label {
  font-size: 1.1em;
  color: black;
  margin-top: 0.5em;
}




.label.visible {
  opacity: 1;
}

.tabs {
  margin: 0rem 0rem;
  max-width: 100%;
  overflow: hidden;
  color: black;
 
  font-family: var(--font2);
}

.tab-buttons {
  display: flex;
  justify-content: space-around;
  
}

.tab-btn {
  outline: none;
  flex: 1;
  padding: 1rem;
  font-family: var(--font2);
  background: #e1e1e1;
  border-bottom: 2px solid black;
  border-radius: 1%; 
  font-weight: bold;
  cursor: pointer;
  color: black;
  margin: 0 1em;
  font-size: 1em;
}

.tab-btn:hover {
  transform: none; 
  color:white;
}


.tab-btn.active {
  background: var(--green);
  color: white;
}

.tab-content {
  display: none;
  padding: 2rem;
  background: white;
}

.tab-content.active {
  display: block;
}

.learn-more {
  margin-top: 1rem;
  background: var(--yellow);
  color: var(--blue1);
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.learn-more:hover {
  background: #ffd633;
}

.tab-btn:focus,
.tab-btn:focus-visible {
  outline: none;
  
}

.gpa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.2rem 0;
  font-family: var(--font2);
  font-size: 1rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  align:center;
}

.table_heading
{
  text-align: left;
  color:var(--blue1);
}

.gpa-table thead th {
  background-color: var(--green); /* Green header */
  color: white;
  padding: 0.8rem;

  font-weight: bold;
}

.gpa-table tbody td {
  padding: 0.8rem;
  color: black;
}

.admission-info{
  margin: 0 em 0em 0em 1em;
  padding:0em 0.5em 0em 0.5em;
  background-color: white;
  font-family: var(--font2);
}

.admission-info ul {
  list-style-type: disc;
  margin: 0rem 1.5rem;
  padding-left: 1.5rem;
  font-family: var(--font2);
  font-size: 1rem;
  color: #333;
}



.admission-info li {
  margin-bottom: 1rem;
  line-height: 1.5;
   font-family: var(--font2);
}

.admission-info strong {
  color: black;
}

.admission-info a {
  color: var(--blue1);
  text-decoration: none;
}

.admission-info a:hover {
  text-decoration: underline;
}

 /* Form Container */
.admission-form {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: skyblue;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  font-family: var(--font2);
}

.admission-form h2 {
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Labels & Inputs */
.admission-form label {
  display: block;
  margin: 0.6rem 0 0.3rem;
  font-weight: 600;
  color: black;
}

.admission-form input[type="text"],
.admission-form input[type="tel"] {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font3);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.admission-form input[type="text"]:focus,
.admission-form input[type="tel"]:focus {
  border-color: var(--blue1);
  outline: none;
  box-shadow: 0 0 4px rgba(0,0,81,0.3);
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* Optional Subjects Layout */
.optional-section {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.optional-section.hidden {
  display: none;
}



.hidden { 
  display: none; 
}


.optional-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.optional-row h4 {
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue1);
}

.optional-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

/* GPA Grid - Two Rows */
.gpa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 1rem;
  margin-top: 0.5rem;
}


.gpa-grid label {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Submit Button - Sleek Modern */
.submit-btn {
  margin-top: 1.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--blue1);
  color: white;
  border-radius: 4%;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.submit-btn:hover {
  background: var(--green);
  transform: scale(1.2);
  color:white;
}

/* Center Align Button */
.admission-form div[align="center"] {
  margin-top: 1rem;
}





/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 1rem;
  background: var(--blue1);
  color: white;
  font-family: var(--font2);
  font-weight: 600;
}


