/* * {
  outline: 1px solid rgba(255, 0, 0, 0.3); 
  box-sizing: border-box !important;      
}
*/
body {
	font-family: "Poppins", sans-serif;
  	font-weight: 400;
  	font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/**Testing
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  font-weight: 700;
  border-bottom: 2px solid #EAEAEA;
}

.nav-left img.logo {
  height: 50px;
  width: auto;
	margin-top: 10px;
}

menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor.: pointer;
}

.nav-menu {
  flex-direction: column;
  gap: 20px;
  display: none;
  width: 100%;
  background: white;
  padding: 10px 16px;
}

.nav-menu.open {
  display: block;
}

.menu-search {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.search-bar {
  flex: 1;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #3540F7;
  font-size: 14px;
  height: 24px;
}

.search-btn {
  padding: 6px 12px;
  background-color: #3540F7;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #2b34d3;
}

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a,
.submenu-toggle {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 16px;
  transition: background-color 0.3s ease;
}

.nav-links a,
.submenu-toggle,
.submenu a {
  font-size: 16px; 
}

.nav-links a:hover,
.submenu-toggle:hover {
  background-color: #3540F7;
  color: white;
  border-radius: 15px;
}

.has-submenu.open .submenu {
  display: flex;
  flex-direction: column;
}

.submenu-toggle::after {
  font-size: 12px;
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 16px;
  gap: 6px;
}

.submenu a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.submenu a:hover {
  background-color: #3540F7;
  color: white;
  border-radius: 6px;
}

.submenu a.active {
  background-color: #FFFFFF;
  color: #3504F7;
  border: 2px solid #3504F7;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a.cta {
  background-color: #3540F7;
  color: white;
  border-radius: 7px;
  font-weight: 600;
  padding: 6px 16px;
  box-shadow: inset 0 0 0 0 #3540F7;
  transition: all 0.3s ease;
}

.nav-links a.cta:hover {
  background-color: white;
  color: #3540F7;
  box-shadow: inset 0 0 0 2px #3540F7;
}

@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    background: none;
    padding: 0;
  }

  .menu-search {
    margin: 0;
  }

  .nav-links {
    flex-direction: row;
    gap: 16px;
  }

  .submenu {
    display: none;
    position: absolute;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  .has-submenu {
    position: relative;
  }

  .has-submenu:hover .submenu {
    display: flex;
    flex-direction: column;
  }

  .submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
  }

  .submenu-toggle::after {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
	
	.navbar{
		position: sticky;
	}
	
  .menu-toggle {
    display: block;
  }

  .nav-menu {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  padding: 10px 20px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  z-index: 998;
}

	
  .nav-menu.open {
    display: flex;
  }
}
**/

/**-----------------------------Navbar-start------------------**/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  font-weight: 700;
  border-bottom: 2px solid #EAEAEA;
}

.logo {
	margin-top: 10px;
  height: 50px;
  width: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.navi {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
  flex: 1;
  justify-content: center;
	align-items: center;
}

.navi li {
  position: relative;
}

.navi a,
.dropbtn {
  display: inline-block;
  text-decoration: none;
  padding: 5px 16px;
  transition: background-color 0.3s ease;
}

.navi a:hover,
.dropdown:hover .dropbtn {
  background-color: #3540F7;
  color: white;
  border-radius: 15px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 500;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #3540F7;
  color: white;
}

.dropdown-content a.active {
  background-color: #FFFFFF;
  color: #3504F7;
  border: 2px solid #3504F7;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 6px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.navi li a:hover {
  background-color: #3540F7;
  color: white;
  border-radius: 8px;
}

.navi li a.active {
  background-color: #FFFFFF;
  color: #3504F7;
  border: 2px solid #3504F7;
  box-sizing: border-box;
  border-radius: 6px;
}

.navi li a.cta {
  background-color: #3540F7;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  padding: 6px 16px;
  box-shadow: inset 0 0 0 0 #3540F7;
  transition: all 0.3s ease;
}

.navi li a.cta:hover {
  background-color: white;
  color: #3540F7;
  box-shadow: inset 0 0 0 2px #3540F7;
}

.menu-search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-bar {
  height: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #3540F7;
  font-size: 14px;
	margin: 0;
}

.search-btn {
	margin: 0;
  background-color: #3540F7;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #2b34d3;
}

.nav-menu {
  flex-direction: column;
  gap: 20px;
  display: none;
  width: 100%;
  background: white;
  padding: 10px 16px;
}

.nav-menu.open {
  display: block;
}
.menu-toggle{
	display: none;
}

/**Navbar-end-----------------------------**/

/**-----------------------------landing-page-----------------------------**/
.mainpic {
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.mainpic img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: auto;
}

.about-school {
  padding: 0px 40px;
  max-width:1200px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
}
.section-title a {
	text-decoration: none;
	color: white;
}

.section-title h3{
	text-decoration: none;
	color: white;
}

.school-description {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
  margin-top: 40px;
}

.school-description h2 {
  font-size: 28px;
  font-weight: 700;
}
.schoolpics {
  flex: 1 1 300px;
  max-width: 400px;
}

.schoolpics img {
	width: 100%;
  	border-radius: 10px;
 	object-fit: cover;
}

.school-text {
  flex: 2 1 500px;
}

.school-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.headmaster-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
  gap: 40px;
}

.headmaster-text {
  flex: 2;
}

.headmaster-text p{
 text-indent: 20px;
}

.headmaster-text h3 {
  font-size: 24px;
  font-weight: 700;
}

.headmaster-photo {
  	flex: 1;
 	text-align:center;
	margin: 0 auto;
	max-width: 200px;
}

.headmaster-photo img {
  width: 200px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.headmaster-name {
  	font-weight: 600;
	margin: 8 0 0;
	text-align: center;
}

.section-title {
  background: #2a2aff;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0 15px 0 15px;
  margin-bottom: 10px;
}

.top-section {
  display: flex;
  gap: 20px;
  padding: 40px 0px;
  flex-wrap: wrap;
}

.news {
  	flex: 2;
	border-bottom: 2px solid #EAEAEA;
	max-width: 1200px;
  	margin: 0 auto;
  	padding: 0px;
}

.main-news-img {
 	width: 100%;
  	border-radius: 10px;
	object-fit: cover;
}

.news-banner {
  	position: relative;
  	top: -60px;
  	background: rgba(255, 255, 255, 0.85);
  	padding: 0px;
  	text-align: center;
  	font-weight: 400;
}

.news-banner h2 {
  	color: black;
  	margin: 0;
  	font-size: 28px;
}

.news-banner p {
  	color: #8692b0;
  	font-size: 20px;
  	margin: 0;
}

.news-banner span {
  	color: #ffe600;
  	font-size: 18px;
}

.sidebar {
	display: flex;
  	flex-wrap: wrap;
  	flex: 1;
  	flex-direction: column;
  	gap: 20px;
}

.section-box {
  	background: #ffffff;
  	padding: 0px;
  	border-radius: 0 15px 0 15px;
	border-bottom: 2px solid #EAEAEA;
}

.section-box h3 {
  	background: #2a2aff;
  	color: white;
  	padding: 8px;
  	margin: 0 0 10px 0;
  	font-size: 16px;
  	border-radius: 0 15px 0 15px;
}

.section-box ul {
  	list-style: none;
  	padding: 0px 10px;
}

.section-box li {
  	display: flex;
  	align-items: center;
  	margin-bottom: 8px;
	padding: 10px 0px;
}

.section-box li img {
  	width: 40px;
  	height: 40px;
  	object-fit: cover;
  	margin-right: 10px;
  	border-radius: 5px;
}

.bottom-section {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 20px;
	padding: 50px 0px;
}

.gallery, .facilities {
  	flex: 1;
  	min-width: 300px;
	border-radius: 0 15px 0 15px;
	border-bottom: 2px solid #EAEAEA;
}

.gallery-images {
	display: grid;
	gap: 8px;
	padding: 10px;
	grid-template-columns: repeat(3, 32%);
}

.gallery-images img {
  	width: 100%;
  	height: 120px;
  	object-fit: cover;
  	border-radius: 5px;
}

.facility-list {
	display: grid;
	grid-template-columns: repeat(3, 32%);
  	gap: 10px;
	padding: 10px;
}

.facility-list div {
  	text-align: center;
  	font-size: 14px;
}

.facility-list img {
  	width: 100%;
  	height: 100px;
  	object-fit: cover;
  	border-radius: 5px;
}

.video-container {
  	display: flex;
  	justify-content: center;
  	margin-top: 10px;
	flex: 1;
	border-radius: 0 15px 0 15px;
	border-bottom: 2px solid #EAEAEA;
}

.video-container iframe {
  	width: 560px;
  	height: 315px;
  	border-radius: 10px;
  	max-width: 100%;
	padding: 10px;
}
/**-----------------------------landing page end-----------------------------**/

/**-----------------------------Floating cta-----------------------------**/
.floating-cta {
  	position: fixed;
  	bottom: 20px;
  	right: 20px;
  	background-color: #2a2aff;
  	color: white;
  	padding: 12px 20px;
  	border-radius: 30px;
  	font-weight: bold;
  	text-decoration: none;
  	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  	z-index: 999;
  	transition: transform 0.2s ease;
}

.floating-cta:hover {
  	transform: scale(1.05);
	background-color: white;
 	color: #3540F7;
  	box-shadow: inset 0 0 0 2px #3540F7;
}

/**-----------------------------Footer-start-----------------------------**/

.footer{
  	background-color: black;
  	color: white;
  	padding: 0px;
  	font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;  
  align-items: flex-start;         
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  gap: 60px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  max-width: 100%;
}

.footer-column h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.agenda-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
}

.agenda-text {
  flex: 1;
  font-size: 14px;
}

.agenda-text p {
  margin: 0;
}

.agenda-text a {
  color: white;
  text-decoration: underline;
  font-size: 13px;
}

.agenda-date {
  text-align: center;
  min-width: 60px;
}

.date-number {
  background-color: white;
  color: black;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  font-size: 18px;
}

.date-month {
  background-color: #3c3cff;
  color: white;
  padding: 5px;
  border-radius: 0 0 10px 10px;
  font-size: 12px;
}

.school-info p {
  margin: 0;
	padding-top: 0;
  font-size: 14px;
}

.mainschinfo{
	text-align: center;
	font-size: 20pt;
}

.contact-info .row {
  	display: flex;
  	justify-content: space-between;
  	align-items: flex-start;
  	margin-bottom: 10px;
  	gap: 10px;
	padding: 10px 0px;
}

.label {
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

.value {
  text-align: right;
  flex-grow: 1;
  word-break: break-word;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.quick-links ul li {
  margin-bottom: 8px;
}

.quick-links ul li a {
  text-decoration: none;
  color: #FFFFFF;
}

.quick-links ul li a:hover {
  color: #2a2aff;
}

.social-icons a svg {
  	width: 24px;
  	margin-right: 10px;
}

.footer-bottom {
  background-color: white; 
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #444;
}
/**-----------------------------Footer-end-----------------------------**/

/**-----------------------------breadcrumbs-----------------------------**/
.breadcrumb {
	margin-top: 100px;
	margin-left:50px;/* or match your navbar height */
	max-width: 750px;
	display: flex;
  	padding: 10px 20px;
  	font-size: 16px;
  	color: #6B6B6B;
	position:relative;
  	z-index: 1;
	border-radius: 6px;
}

.breadcrumb a {
  text-decoration: none;
  color: #0077cc;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .divider {
  color: #999;
}

/**-----------------------------socials float-----------------------------**/
.social-icons-float {
  	position: fixed;
  	top: 100px; 
  	right: 20px;
  	display: flex;
  	flex-direction: column;
  	gap: 15px;
  	z-index: 999;
	border-radius: 10px;
}

.social-icons-float a svg {
  	width: 32px;
  	height: 32px;
	padding : 5px;
	border-radius: 10px;
	background-color:#3540F7; 
  	transition: transform 0.2s;
  	fill: #ffffff; 
}

.social-icons-float a:hover svg {
	background-color: white;
	border-radius: 10px;
 	color: #3540F7;
	fill:#3540F7;
  	box-shadow: inset 0 0 0 2px #3540F7;
  	transform: scale(1.1);
	padding : 5px;
}

/**-----------------------------About Us Page-----------------------------**/

.about-us {
	align-content: center;
	margin:auto 20px;
}
.aboutpic {
  width: 100%;
  padding: 0;
  margin: 50px 0 auto;
}

.aboutpic img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: auto;
	border-radius: 25px;
}
.about-school p {
	text-align: justify;
}
.school-history p {
	text-indent: 20px
}


/**-----------------------------Contact Us Page-----------------------------**/

.contact-section {
  padding: 30px 20px;
  max-width: 1000px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
	align-items: stretch;
}

.contact-section h2,
.contact-section h3 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}
.contact-section p.text2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-section p {
  text-align: left;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 50px auto;
  padding: 20px;
  flex-wrap: wrap;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.map-container {
  	flex:200px 300px;
  	border-radius: 10px;
  	overflow: hidden;
	min-width: 250px;
  max-width: 400px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 250px;
  max-width: 400px;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  line-height: 1.4;
	test-align:left;
}

.contactsymbol {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.contact-info a {
  color: #3333ff;
  text-decoration: none;
}

.email-form {
  	background: #fff;
  	padding: 20px;
  	border-radius: 12px;
	justify-content: center;
  	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.email-form form {
		max-width: 700px;
	margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.email-form input,
.email-form textarea {
  padding: 12px;
  border: 2px solid #3333ff;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.form-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.form-buttons button {
  padding: 14px 24px;
	font-size: 16px;
  border: none;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
}

button[type="submit"] {
  background-color: #3333ff;
  color: white;
}

button[type="reset"] {
  background-color: white;
  border: 1px solid #000;
}
button[type="submit"]:hover {
  background-color: #ffffff;
	border:medium;
	border-color: #3540F7;
	color: #3540F7;
}

button[type="reset"] {
  background-color: white;
  border: 2px solid #3333ff;
  color: #3333ff;
}

button[type="reset"]:hover {
  background-color: #FF0000;
	color: white;
	border-color:brown;
}

.social-icons-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; 
  margin-top: 20px;
  flex-wrap: wrap; 
}

.social-icons-contact a svg {
  	width: 64px;
  	height: 64px;
	padding : 5px;
	border-radius: 10px;
	background-color:#3540F7; 
  	transition: transform 0.2s;
  	fill: #ffffff; 
}

.social-icons-contact a:hover svg {
	background-color: white;
	border-radius: 10px;
 	color: #3540F7;
	fill:#3540F7;
  	box-shadow: inset 0 0 0 2px #3540F7;
  	transform: scale(1.1);
	padding : 5px;
}

/**-----------------------------News Page-----------------------------**/
.news-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

.news-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.news-card img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  border: 4px solid #3540F7;
  object-fit: cover;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/**-----------------------------Error Page-----------------------------**/
.errorwarning{
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	text-decoration: none;
	padding: 20px 0px 30px 0px;
}

.errorsymbol svg{
	width: 100px;
  	height: 100px;
  	margin-bottom: 10px;
}

.errortext p {
	
}

.availpages {
  list-style: none;
  display: flex;
  gap: 20px;
  background-color: white;
  padding: 10px;
}

.availpages li {
  border: 2px solid #3333ff;
  border-radius: 15px;
  padding: 10px;
  background-color: white;
  transition: all 0.2s ease;
}

.availpages li:hover {
  background-color: #3540F7;
}

.availpages li a {
  text-decoration: none;
  color: #3540F7;
  display: block;
  width: 100%;
  height: 100%;
}

.availpages li:hover a {
  color: white;
}
.home-btn {
	text-decoration: none;
	font-size: 24px;
	font-family:"Poppins", sans-serif; 
	color: #FFFFFF;
	border: 2px solid #3333ff;
	padding: 10px;
	border-radius: 25px;
	background-color: #3540F7;
	
}
.home-btn a:visited {
	text-decoration: none;
	color: #AEC3FF;
}

.home-btn:hover{
	background-color: white;
	border-color: #3540f7;
	color:#3504f7;
}

/**-----------------------------Teachers Page-----------------------------**/
.small-text {
	margin-left:50px;
	max-width: 750px;
	display: flex;
  	padding: 10px 20px;
  	font-size: 16px;
  	color: #BDBDBD;
	position:relative;
  	z-index: 1;
	border-radius: 6px;
}

.teachers-container {
  max-width: 1000px;
  margin: 50px auto;
  border: 4px solid #3540F7;
  border-radius: 15px;
  padding: 30px;
  overflow-y: auto;
  max-height: 700px;
}

.teachers-grid {
  display: grid;
	grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.teacher-card {
  text-align: center;
  cursor: pointer;
}

.teacher-card img {
  	width: 100%;
  	border-radius: 12px;
  	object-fit: cover;
  	aspect-ratio: 3 / 4;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-card img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.teacher-card p {
  font-weight: 700;
  margin-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.modal-content {
  	background: white;
  	padding: 20px;
  	border-radius: 10px; 
  	max-width: 400px;
  	width: 90%;
  	text-align: left;
  	position: relative;
	transform: scale(0.8);
  	opacity: 0;
  	animation: popUp 0.3s ease forwards; 
}

@keyframes popUp {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* default hidden */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}


.close {
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 1;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
}

.close:hover {
  color: #ff3333;
  transform: scale(1.1);
}

/**-----------------------------Achievement Page-----------------------------**/

.achievement {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.achievement-cards {
  max-width: 1200px;
  margin: 0 auto;
}

.achievement img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.achievement-text h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.achievement-filter {
	margin-top: 20px;
	margin-left:50px;
	max-width: 750px;
	display: flex;
  	padding: 10px 20px;
  	font-size: 16px;
  	align-items: center;
  	gap: 10px;
  	margin-bottom: 1.5rem;
  	font-family: 'Inter', sans-serif;
}

.achievement-filter label {
  font-weight: 600;
  color: #444;
}

.achievement-filter select,
#yearSelect {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f4f4f4;
  color: #222;
  font-size: 14px;
  transition: all 0.2s ease;
}

.achievement-filter select:hover {
  border-color: #999;
}

.achievement-group {
  padding: 1rem;
  background-color: #f8f8f8;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.achievement-section {
  background-color: #f5f5f5;
  padding: 2rem 1rem;
  max-height: 100vh;
  overflow-y: auto;
}

.achievement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.achievement-container h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.achievement-container ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #444;
}

.achievement-container li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/**other preview**/

@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    background: none;
    padding: 0;
  }

  .menu-search {
    margin: 0;
  }

  .navi {
    flex-direction: row;
    gap: 16px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  .dropdown:hover .dropdown-content {
    display: block;
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    position: none !important;
  }
	.navi {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }
.menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 10px 20px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    z-index: 998;
  }


  .nav-menu.open {
    display: flex;
  }
	
	.logo{
		margin-left: 0px;
  height: 40px;
  width: auto;
	}
	.teacher-card img {
    width: 100px;
    height: 150px;
	}
	
	.container {
  max-width: 600px;
    padding: 0 16px;
		margin: 0px
  }

  .about-school,
  .contact-section,
  .news-section,
  .teachers-container, 
	.errorwarning {
    margin: 0 30px;
  }
	.video-container{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.video-container iframe{
		align-items: center;
		justify-content: center;
		max-width: 350px;
    	max-height:250px;
	}
	
	.teachers-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.footer-container, .school-info, .footer-column quick-links{
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
	
	.availpages{
		margin:10px;
		gap: 2px;
		font-size: 14px;
		padding: 5px;
	}
	.modal-content{
		width: 60%;
	}

	.social-icons-float{
		top: 75px;
		right: 10px;
		gap:5px;
	}
	.social-icons-float a svg {
  	width: 24px;
  	height: 24px;	
	}
	
	.breadcrumb{
		right:40px;
	}
	.achievement, .news-section, .news-card {
		flex:1;
		flex-direction: column;
	}
	
	.about-school{
		padding: 0;
		margin: 0 20px;
		display: flex;
		flex-direction: column;
	}
	.contact-section, .achievement-group{
		padding: 20;
		margin: 0 20px;
	}
	
	.contact-info p{
		padding: 20;
		overflow-x: hidden;
	}
	.headmaster-section {
		padding: 20;
		margin: 0 0px;
		display: flex;
		flex: 1;
		flex-direction: column
}
}