:root {
  --primary: #985124;      /* Rust / Dark Accent */
  --secondary: #E2A668;    /* Warm Gold / Light Accent */
  --neutral-dark: #333333; /* Dark Gray */
  --neutral-light: #BFB3AB;/* Warm Gray / Taupe */
  --bg-white: #FFFFFF;     /* Pure White */
  --bg-offwhite: #FEFEFE;  /* Off-White */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Abel', sans-serif;
  background-color: var(--bg-offwhite);
  color: var(--neutral-dark);
}

#prof-mainbox{
box-sizing: border-box;
justify-content: center;
display: flex;
flex-wrap: wrap;
}

.loadern {
  background-color: var(--primary); 
  border: none; 
  color: white; 
  padding: 12px 24px; 
  font-size: 19px;
}

#btn_register{
    width: 100px;
    height: 40px;
    background-color:green;
    color:white;
}
#btn_login{
    width: 100px;
    height: 40px;
    background-color:black;
    color:white;
}
#container{
    text-align: center;
}

video {
  width: 100%;
  height: auto;
}

 
 #table {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#table td, #customers th {
  border: 1px solid var(--neutral-light);
  padding: 5px;
}


#table th {
  padding:5px;
  text-align: left;
  border: 1px solid var(--neutral-light);
  background-color: var(--primary);
  color: white;
}
 
 
  
row{
  display: flex;
  justify-content: center;
  z-index: -1;
}

.red-text{
	color:red;
}

#faculty{
color: var(--primary);
}


.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 95%;
}
div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
}
.pagination li {
	list-style-type:none;
	float:left;
}

.disabled {
    pointer-events: none;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
}

.pagination a.active {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.pagination a:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.pagination a:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}


div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

.col-half-auto-center{
    width: 48%;
	height:auto;
    margin: auto;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	
	}


.col-half-auto{
    width: 48%;
	height:auto;
    margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}




.addclass input[type="text"], input[type="date"],input[type="password"], input[type="tel"],input[type="email"], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.addclass input[type=submit] {
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.addclass label {
	font-weight:bold;
 display:block;
  color: #000000;
  border: none;
  }
  .addclass input[type=file] {
font-weight:bold;
display:block;
 color: #000000;
 border: none;
  }
.aaddclass input[type=submit]:hover {
  background-color: #45a049;
}
.div-high{
	border:2px solid grey;
	border-radius:9px;
	display:block;
	padding:10px;
	margin:5px;
}
.active-green{
	background-color: var(--primary);
}

	.col-right-addclass{
    width: 68%;
	height:auto;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
	overflow-x:auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
	
	.col-side-menu-addclass{
    width: 28%;
	height:auto;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
	


.col-classroom-video{
	width:80%;
	height:auto;
	margin-left:auto;
	margin-right:auto;
	margin-top:20px;
	margin-bottom:20px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:center;
	}

.e-class{
  width:100%;
  height:500px;
  padding-top:100px;
  padding-bottom:100px;
  background-color: #F5DEB3;
}
.select-box {
 }

.select-box select {
  background-color: #F0FFFF;
  color: #000;
  border-radius: 10px;
  text-align:center;
  padding: 12px;
  width: 350px;
  border: none;
  font-size: 20px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.4);
  -webkit-appearance: button;
  appearance: button;
  outline: none;
}



.select-box:hover::before {
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.select-box select option {
  padding: 50px;
}




.col-card-90 {padding:10px;margin:auto;margin-bottom:20px;width:90%;box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.col-card-100 {padding:5px;margin:auto;margin-bottom:10px;width:100%;box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.col-card-class {padding:20px;margin-bottom:50px;width:100%;box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.col-card-32 {margin:8px;width:32%;float:left;box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.row::after {
  content: "";
  clear: both;
  display: table;
}

div.image_gallery {
  border: 1px solid #ccc;
  }

div.image_gallery:hover {
  border: 1px solid #777;
}

div.image_gallery img {
  width: 100%;
  height: auto;
}

div.image_gallery_desc {
  padding: 15px;
  text-align: center;
}



.image_gallery_responsive {
  padding:6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .image_gallery_responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .image_gallery_responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}




/* latin */
@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Abel Regular'), local('Abel-Regular'), url(https://fonts.gstatic.com/s/abel/v10/MwQ5bhbm2POE2V9BPQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Column file thumb style*/
  .col-file-thumb{
    margin: 22px;
    width:21.5%;
    height: 350px;
	justify-content: center;
    text-align:center;
    background-color:white;
    color:black;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}

.col-programmes{
    display: block;
    float: left;
    width:33.33%;
    padding: 15px;
  }
  .col-programmes_heading{
    display: block;
    padding: 5px;
	width:95%; 
	margin:auto;
    background-color: var(--primary);
    color: white;
    border: 1px solid black;
    margin-top: 6px;
    cursor:pointer;
    }
    .col-programmes_content{
      display: block;
      padding: 10px;
	  width:95%; 
	margin:auto;
      background-color: white;
      border: 1px solid black;
      border-top: none;
      display: none;
      text-align: justify;
      }

 /* Column 3grid style*/
  .col-3grid{
    margin: 22px;
    width:28%;
    text-align:center;
    background-color:white;
    color:black;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
  .col-3grid i{
    font-size:55px;
    color: var(--primary);
    margin-bottom: 5px;
  }
  .col-3grid h3{
  margin-bottom: 0px;
  }
  .col-3grid p{
  margin-top: 0px;
  }
 
 
 /* Column profile style*/
  .col-profile{
    margin: 22px;
    width:20%;
    height: auto;
	justify-content: center;
    text-align:center;
    background-color:white;
    color:black;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
  .col-profile i{
    font-size:55px;
    color: var(--primary);
    margin-bottom: 5px;
  }
  .col-profile h3{
  margin-bottom: 0px;
  }
  .col-profile p{
  margin-top: 0px;
  }
 .responsive {
  width: 100%;
  max-width: 1000px;
  height: auto;
}





/* Flash News Style) */
.flash-news {
  padding: 0;
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--neutral-light);
  font-size: 11pt;
  font-weight: bold;
  height: 38px;
  max-width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  background-color: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px; /* Rounded pill/tag shape */
  font-size: 8.5pt;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 15px;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  z-index: 10; /* Keep it on top */
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 150s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-half {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-item {
  text-decoration: none;
  color: var(--primary);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.ticker-item:hover {
  opacity: 0.8;
}

.ticker-separator {
  color: var(--primary);
  opacity: 0.7;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Header Text Style) */
.headertext {
  padding-top: 38px;
  padding-bottom: 30px;
  padding-left: 0;
  color: #fff;
  width: 90%;
  min-height: 80px;
  font-size: 25pt;
  margin-top: auto;
  margin-left: 0;
  margin-bottom: auto;
}
  /* Header Text Style) */
#headersub {
	color:#fff;
	font-size:10pt;
}
/* Header Logo Style) */
.headerlogo {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 15px;
  color: white;
  width: auto;
  float: left;
}

#logoimg {
  height: 90px;
  width: auto;
  display: block;
}
.mobileheaderlogo{display:none;}
.heading{display:block;width:98%;margin:25px auto 15px auto;background-color: var(--primary);font-size:3vw;text-align:center;color:#fff;padding:10px;border-radius:15px;}
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
 font-size: 15px;
}

.topnav a:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark) !important;
}

.topnav a.active {
  background-color: var(--primary);
  color: white;
}

.topnav .icon {
  display: none;
}
/*image slider*/
.mySlides {display: none;}
.mySlides img {vertical-align: middle;
max-width: 1000px;
border-radius:20px;
height:auto;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease, box-shadow 0.3s ease;}
.mySlides img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  height: auto;
  position: relative;
  margin: auto;
  padding:30px;
}


/* The dots/bullets/indicators */
.dot {
  height: 8px;
  width: 8px;
  margin: 0 5px;
  background-color: var(--neutral-light);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover {
  background-color: var(--secondary);
}

.activeslide {
  background-color: var(--primary);
  transform: scale(1.25);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.col-full{
	width:98%;
	height:auto;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}

.col-side-menu{
    width: 28%;
	height:600px;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
	.col-right{
    width: 68%;
	height:600px;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}f-aboutus-page{
    width: 48%;
	height:300px;
    margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
.vertical-menu {
  
}

.vertical-menu a {
  background-color: #ffff;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
  color: black;
}

.vertical-menu a.active {
  background-color: black;
  color: white;
}
.vertical-menu a.active-red {
  background-color: #0000;
  color: black;
}
.col-half-aboutus-main-page{
    width: 48%;
	height:280px;
    margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}







@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}
.btn_previous{
  position: block;
  background-color: var(--neutral-dark);
  color: white;
  width:100px;
  padding: 10px;
  font-weight: bold;
  outline-offset: 0px;
  border: 2px solid var(--secondary);
  border-radius: 4px;
  z-index: -3;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn_previous:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
}
.btn_next{
  position: block;
  background-color: var(--neutral-dark);
  width:100px;
  color: white;
  padding: 10px;
  font-weight: bold;
  outline-offset: 0px;
  border: 2px solid var(--secondary);
  border-radius: 4px;
  z-index: -3;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn_next:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
}


.btn_readmore{
  position: block;
  float: right;
  background-color: var(--neutral-dark);
  color: white;
  padding: 10px;
  font-weight: bold;
  outline-offset: 0px;
  border: 2px solid var(--secondary);
  border-radius: 4px;
  z-index: -3;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn_readmore:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
}
.btn_readmore_center{
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--neutral-dark);
  color: white;
  padding: 10px;
  font-weight: bold;
  outline-offset: 0px;
  border: 2px solid var(--secondary);
  border-radius: 4px;
  z-index: -3;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn_readmore_center:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
}

/*login form style*/
.loginform {
  background-color:#F5DEB3;
  padding:20px;
}

/*login form input style*/
.loginform  input{
  background-color: white;
  color:black;
  display: block;
  margin: auto;
  text-align:center;
  width:250px;
  padding: 8px;
  margin-top:10px;
  margin-bottom:10px;
  border-radius:10px;
  border: 3px solid black;
}
.loginform  input:focus{
border: 3px solid var(--secondary);
}


/* Footer Contact Card Layout and Responsiveness */
.footer-contact-row {
  background-color: var(--neutral-dark);
  padding: 60px 8% 50px 8%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

.footer-contact-row .column-footer_quick_contact {
  flex: 1 1 300px;
  max-width: 380px;
  width: auto !important;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95em;
  text-align: left;
  padding: 0 !important;
  float: none !important;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-contact-row h4 {
  color: var(--secondary) !important;
  font-size: 1.45em !important;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Flex layout for each contact info row */
.footer-contact-row .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.footer-contact-row .contact-icon-box {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row .contact-icon-box .conicon {
  font-size: 15px !important;
  color: var(--secondary) !important;
  border: 1.5px solid var(--secondary) !important;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50% !important;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease;
}

/* Hover state: icon turns solid brand gold with dark gray glyph and subtle glow */
.footer-contact-row .contact-item:hover .conicon {
  background-color: var(--secondary);
  color: var(--neutral-dark) !important;
  box-shadow: 0 0 12px rgba(226, 166, 104, 0.45);
  transform: translateY(-2px);
}

.footer-contact-row .contact-text-box {
  display: flex;
  flex-direction: column;
}

.footer-contact-row .contact-text-box strong {
  color: #ffffff;
  font-size: 1.05em;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-contact-row .contact-text-box p {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95em;
  line-height: 1.55;
}

.footer-contact-row .contact-text-box p a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-row .contact-text-box p a:hover {
  color: var(--secondary) !important;
}

/* Social icons styling */
.footer-contact-row p a i {
  font-size: 18px !important;
  color: white !important;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 6px;
}

.footer-contact-row p a i:hover {
  color: var(--neutral-dark) !important;
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  transform: translateY(-3px);
}

/* Maps iframe styling */
.footer-contact-row iframe {
  width: 100% !important;
  max-width: 100%;
  height: 280px !important;
  border: 0 !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-top: 5px !important;
  transition: transform 0.3s ease;
}

.footer-contact-row iframe:hover {
  transform: scale(1.01);
}

/* Contact form styling */
.footer-contact-row .quickcontactform input,
.footer-contact-row .quickcontactform textarea {
  background-color: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  width: 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  margin-top: 10px !important;
  margin-bottom: 5px !important;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.footer-contact-row .quickcontactform input::placeholder,
.footer-contact-row .quickcontactform textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-row .quickcontactform input:focus,
.footer-contact-row .quickcontactform textarea:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 0 10px rgba(226, 166, 104, 0.25) !important;
  outline: none;
}

.footer-contact-row .quickcontactform label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9em;
  margin-top: 15px;
  display: block;
}

.footer-contact-row .quickcontactform .captcha-image {
  border-radius: 6px;
  vertical-align: middle;
  margin-top: 8px;
}

.footer-contact-row .quickcontactform .refresh-captcha {
  color: var(--secondary);
  font-size: 1.2em;
  margin-left: 15px;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.4s ease;
}

.footer-contact-row .quickcontactform .refresh-captcha:hover {
  transform: rotate(180deg);
}

/* Submit button styling */
.footer-contact-row .btn_readmore#btn_send {
  background-color: var(--primary) !important;
  color: white !important;
  border: 2px solid var(--secondary) !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-size: 1em !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  margin-top: 15px;
  float: left !important;
  width: auto;
}

.footer-contact-row .btn_readmore#btn_send:hover {
  background-color: var(--secondary) !important;
  color: var(--neutral-dark) !important;
  box-shadow: 0 4px 12px rgba(226, 166, 104, 0.4);
}

/* Media query overrides for smaller screens */
@media only screen and (max-width: 768px) {
  .footer-contact-row {
    padding: 40px 5%;
    flex-direction: column;
    gap: 35px;
  }
  .footer-contact-row .column-footer_quick_contact {
    max-width: 100%;
    width: 100% !important;
  }
  .footer-contact-row iframe {
    margin-top: 10px !important;
  }
}

.footer{
  background-color: var(--primary);
  display: block;
  width:100%;
  font-size: .89em;
  padding: 20px;
  position: relative;
  bottom:0;
  z-index: 1;
  text-align: center;
  color: white;
  margin: 0;
}




/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.column-footer_quick_contact{width:100%;}
[class*="col-"] {width:95%;height:auto;}

.heading{display:block;width:98%;margin:20px auto 15px auto;background-color: var(--primary);font-size:6vw;text-align:center;color:#fff;padding:10px;border-radius:15px;}

.slideshow-container {
  padding: 20px 10px;
}


.col-profile{
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	width:90%;
    text-align:center;
    background-color:white;
    color:black;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:none;
    }

/* Column 3grid style*/
  .col-3grid{
    margin: 10px;
    width:95%;
    text-align:center;
    background-color:white;
    color:black;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}


.col-half{
	width:95%;
	height:auto;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}
.col-full{
	width:95%;
	height:auto;
	margin: 20px 10px 20px 10px;
    text-align: justify;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	float:left;
	}


  /* Header Text Style) */
.headertext {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left:0;
  color:#fff;
  width:100%;
  min-height: 80px;
  font-size:7vw;
  font-style:bold;
  margin-top:auto;
  margin-left:0;
  margin-bottom:auto;
  text-align:center;
  display:block;
  margin:auto;
  padding:10px;
    }
  /* Header Text Style) */
#headersub {
	display:block;
	margin:auto;
	color:#fff;
	padding:10px;
	font-weight:bold;
	font-size:3vw;
}
/* Header Logo Style) */
.headerlogo {
	display:block;
  margin:auto;
  padding:0;
  min-width:0;
  min-height:0;
  display:none;
  }
.mobileheaderlogo{display:block;background-color: var(--primary);}

 #logoimg{
	 display:block;
  margin:auto;
  padding-top:15px;
	 max-width:25%;height:auto}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .example {background: green;}
  
  
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .example {background: blue;}
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .example {background: orange;}
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .example {background: pink;}
}

/* About Us Section Refinements */
.about-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  width: 98%;
  margin: 15px auto 30px auto;
}

.about-column {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: white;
  color: var(--neutral-dark);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 12px 30px rgba(0, 0, 0, 0.04);
}

.about-column.about-image-column {
  padding: 0 !important;
  overflow: hidden;
}

.about-column.about-image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px !important;
  display: block;
}

.about-column p {
  margin: 0 0 20px 0;
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05em;
  color: var(--neutral-dark);
}

.about-column .btn_readmore {
  align-self: flex-end;
  background-color: var(--neutral-dark);
  color: white;
  padding: 10px 24px;
  font-weight: bold;
  border: 2px solid var(--secondary);
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  float: none !important;
}

.about-column .btn_readmore:hover {
  background-color: var(--secondary);
  color: var(--neutral-dark);
  box-shadow: 0 4px 12px rgba(226, 166, 104, 0.3);
}

@media only screen and (max-width: 768px) {
  .about-row {
    flex-direction: column;
    width: 95%;
    gap: 20px;
  }
  .about-column {
    flex: 1 1 100%;
    width: 100%;
    padding: 20px;
  }
  .about-column p {
    font-size: 1em;
    line-height: 1.6;
  }
  .col-programmes {
    width: 100% !important;
    float: none;
  }
}

/* Desktop Header Flex Refinements */
@media only screen and (min-width: 601px) {
  .header-row {
    display: flex;
    align-items: center;
    padding: 15px 40px;
  }
  .headerlogo {
    padding: 0;
    margin-right: 25px;
    float: none;
  }
  .headertext {
    padding: 0;
    margin: 0;
    float: none;
    width: auto;
  }
}

/* Apply Now Admission Form Styles */
.apply-now-container {
  display: block;
  width: 95%;
  margin: 15px auto 0 auto;
  padding: 30px 20px; /* adjusted padding to fit vertical gap perfectly */
  background: rgba(139, 69, 19, 0.03); /* soft primary tint */
  border: 2px solid var(--secondary); /* elegant border */
  border-radius: 12px;
  box-sizing: border-box;
  text-align: left;
}

.apply-now-container h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.35em;
  font-weight: 700;
  text-align: center;
}

.apply-now-subtitle {
  color: #555;
  font-size: 0.85em;
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.4;
}

.apply-status-msg {
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8em;
  text-align: center;
  background-color: #fff;
  border: 1px solid;
}

.apply-now-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* adjusted gap */
}

.form-row {
  display: flex;
  gap: 10px; /* adjusted gap */
  width: 100%;
}

.form-row .apply-now-input {
  flex: 1;
  min-width: 0;
}

.apply-now-input {
  width: 100% !important;
  padding: 8px 12px !important; /* adjusted padding */
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 0.85em !important; /* adjusted font size */
  box-sizing: border-box !important;
  background-color: #fff !important;
  color: #333 !important;
  transition: all 0.3s ease !important;
  height: 40px !important; /* adjusted height */
  margin: 0 !important;
  display: block !important;
}

.apply-now-input:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 6px rgba(152, 81, 36, 0.2) !important;
}

.apply-now-input.select-input {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23985124" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 14px !important;
  padding-right: 25px !important;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.captcha-label {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.captcha-input {
  width: 80px !important;
  text-align: center;
  padding: 4px 6px !important;
  height: 40px !important; /* adjusted height */
  margin: 0 !important;
}

.apply-now-btn {
  background-color: var(--primary);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 0 15px;
  font-size: 0.88em;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  flex: 1;
  height: 40px; /* adjusted height */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(152, 81, 36, 0.15);
}

.apply-now-btn:hover {
  background-color: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(226, 166, 104, 0.3);
}

@media only screen and (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .apply-now-container {
    padding: 20px 15px;
  }
  .captcha-row {
    width: 100%;
    justify-content: space-between;
  }
  .captcha-input {
    flex-grow: 1;
  }
  .apply-now-btn {
    width: 100%;
  }
}

/* Programmes page layout adjustments */
.row-programmes {
  margin-bottom: 50px !important; /* proper white padding space before the footer */
}

/* Equal Height desktop alignment for columns and bottom matching */
@media only screen and (min-width: 769px) {
  .row-programmes {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }
  .row-programmes::after {
    display: none !important;
  }
  .row-programmes .col-programmes {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    height: auto !important;
  }
  .row-programmes .col-programmes_heading {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
  }
  .row-programmes .col-programmes .apply-now-container {
    margin-top: auto !important;
  }
}