body {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure the body takes up at least the full viewport height */
    display: flex;
    flex-direction: column;
}

/*HEADER*/

header {
    background:linear-gradient(180deg, #01259e,whitesmoke); /* Gradient background */
    color: black;
    text-align: center;
    padding-top: 3%;
    display: flex;
    flex-direction: column; 
    z-index: 1;
     /* Push items to the edges of the header */
}

/* Style for the navigation bar */
.navbar {
    background: transparent;
    
}
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: black;   
}

.navbar-nav .nav-link {
    color: black;
    padding: 5px 1rem;
}

.nav-item:hover .underline-text::before {
    
    width: 100%; 
    color: black;
}


/*BACKIMAGES*/
.background-image {
    background-image: url('images/backimage2.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh; 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}
/*backimage content*/
.abt-animated-section {
    position: relative;
    width: 100%;
    height: 30rem;
    max-height: 40rem;
    background:none;
    overflow: hidden;
}

.abt-item {
    position: absolute;
    transition: transform 1s, opacity 0.3s;
}

.abt-item:nth-child(1) {
    right: 5%;
    top: 23%;
    width: 25%;
    height: 30%;
}

.abt-item:nth-child(2) {
    right: 12%;
    top: 50%;
    width: 25%;
    height: 25%;
}
.abt-item:nth-child(3)  {
    left: 10%;
    top: 40%;
    background-color: #01269e;
    color: white;
    width: auto;
    height: auto;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size:3vw;

}
.abt-item:nth-child(4)  {
    left: 15%;
    top: 55%;
    background-color:brown;
    color: white;
    width: auto;
    height: auto;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size:34px;

}
.abt-item:nth-child(3) a{
    color: white;

}
.abt-item:nth-child(3) a:hover{
    text-decoration: none;
}
.abt-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 1s, opacity 0.3s;
}

.abt-item:hover img{
    transform: translateY(-10px);
   
}

@media (max-width: 768px) {
    .abt-animated-section {
        max-height: 30rem;
    }

    .abt-item {
        width: 100%;
        left: 0;
        right: 0;
        margin: auto;
    }

    .abt-item:nth-child(3),
    .abt-item:nth-child(4) {
        font-size: 4vw;
    }
}


/*main title*/
.maintitle-section{
    background-color: #ffffff;
    padding: 20px;
    background-color: rgb(255, 255, 255); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Background blur effect for modern browsers */
    text-align: center;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}



/*Jumbotron*/
.jumbotron{
    z-index: 0;
    background-color: slategray;
    color: snow;
    height:150px;
    padding: 1rem 2rem;
    font-size: 20px;
}

/*slider*/
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
    
}

.slider {
    position:relative;
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*slider arrow*/

.slider-arrow {
    position: absolute;
    top: 50%;
   
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    font-size: 24px;
    padding-top: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #f4e6e6; /* Arrow color */
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.422);
    color: #f6f6f6e7;
}

.slider-arrow-prev {
    left: 0;
}

.slider-arrow-next {
    right: 0;
}

/*slider conttent*/

.slide-content {
    position: absolute;
    top: 25%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #3333336b; /* Subtle text color */
    z-index: 2;
    padding: 20px;
    background: rgba(1, 1, 1, 0.717); /* Subtle background color */
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.3s, transform 0.3s;
}


.slide-content h2 {
    font-size: 24px;
    margin: 10px 0;
    color: #ffffff; /* Highlighted text color on hover */
    background: #68686800; /* Highlighted background color on hover */
    
}

.slide-content p {
    font-size: 16px;
    margin: 10px 0;
    color: #ffffff; /* Highlighted text color on hover */
    background: #68686800; /* Highlighted background color on hover */
}

.slide-content button {
    color: #ffffff; /* Highlighted text color on hover */
    background: #226ec5e7; /* Highlighted background color on hover */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.3s;
    border-radius: 10px;
}

.slide:hover .slide-content {
    transform: scale(1.05); /* Slight scale effect on hover */
    
}



/*content box*/
article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
  }
  
  article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
  }
  
  /* basic article elements styling */
  article h2 {
    margin: 0 0 18px 0;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
  }
  
  figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  
  article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
  }
  
  .article-body {
    padding: 24px;
  }
  
  article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #28666e;
  }
  
  article a:focus {
    outline: 1px dotted #28666e;
  }
  
  article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
  }
  
  /* using the has() relational pseudo selector to update our custom properties */
  article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }
  
  
  /************************ 
  Generic layout (demo looks)
  **************************/
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  
  
  .articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    z-index: 2;
    padding:30px;
  }
  
  @media screen and (max-width: 960px) {
    article {
      container: card/inline-size;
    }
    .article-body p {
      display: none;
    }
  }
  
  @container card (min-width: 380px) {
    .article-wrapper {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 16px;
    }
    .article-body {
      padding-left: 0;
    }
    figure {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    figure img {
      height: 100%;
      aspect-ratio: 1;
      object-fit: cover;
    }
  }
  
  .sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
  }
  


/*top image section*/
.image-section {
    position: relative;
    text-align: center;
}

.image-overlay {
    position: relative;
}

.image-overlay img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(29, 29, 29, 0.6); /* Overlay background color and opacity */
    color: #fff;
    padding: 50px;
    border-radius: 2px;
}

.image-content h2,
.image-content p {
    margin: 0;
}



/*About section*/
.about-container {
    width: 100%;
    display: block;
}

.about-section {
    position: relative;
    height: 40%;
    padding-bottom: 200px;
    background-color: white;
}
.about-image {
    width: 100%;
    height: 230px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.abtsection-title {
    position: absolute;
    top: 17%; /* Adjust as needed */
    font-size: 2rem; 
    color:black;/* Adjust font size as needed */
    width: 100%;
    text-align: center;
}

.about-text {
    position: absolute;
    top: 65%; /* Adjust as needed */
    left: 10%; /* Adjust as needed */
    font-size: 1.2rem; /* Adjust font size as needed */
    color:rgb(0, 0, 0); /* Limit the text width for better readability */
    z-index: 2;
    background-color:white;
    width: 85%;
    text-align: justify;

}
.abt-button-container {
    position: absolute;
    text-align: center;
    width: 100%;
    background-color: #0074cc;
    z-index: 1;

}
.abt-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    background-color: #0074cc; /* Darker blue for the buttons */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  }
.vision-section{
    position: relative;
    box-shadow: 0px 0px 15px rgba(5, 46, 107, 0.514);
    margin: 10px 5%;
    padding:20px ;
    background-color: #ffffff;
    margin: 80px;
    text-align: center;
    z-index: 1;

}
#vision{
    display: block;
}

#offer{
    display: none;
}
.offer-section{
    position: relative;
    box-shadow: 0px 0px 15px rgba(5, 46, 107, 0.514);
    margin: 5px 5%;
    padding: 20px;
    background-color: #ffffff;
    margin: 80px;
    z-index: 1;
   
}
.offer-section h2{
    text-align: center;
}

.offer-section ul{
    list-style-type:disc;
    padding-left: 20px;
}

.offer-section ul li{
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

.offer-section ul li:hover {
    color: #1a1b1c;
}



/*key persons*/
#keyper{
    display:none;
}
.key-persons-section {
    position: relative;
    background-color: #ffffff;
    margin: 80px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(5, 46, 107, 0.514);
    z-index: 1;
}
.person {
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    transition: transform 0.3s ease-in-out;
}

.person:hover {
    transform: translateY(-5px);
    
}
.person h3 {
    margin-top: 0;
    font-size: 1rem;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.person h3:hover{
    color: #01259e;
}

.person p {
    margin: 10px 0;
    font-size: 1rem;
    color: #666;
    transition: color 0.3s ease-in-out;
}

.person p:hover {
    color: #444;
}


/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeIn {
    animation-name: fadeIn;
    animation-duration: 1.5s;
}

.slideIn {
    animation-name: slideIn;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@media (max-width: 800px) {
    .about-text {
        top: 55%;
    }

    .abt-button-container {
        position: relative;
    }

    .abt-button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .vision-section,
    .offer-section,
    .key-persons-section {
        margin: 10px 2%;
    }
}





/*ndt section*/

.ndt-section {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
   
    
}

  /* CSS for the container */
  .ndt-section-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }

  /* CSS for the text content */
  .ndt-text-content {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    top: 5%;
  }

  /* CSS for the images */
  .ndt-image-container {
    flex: 1;
    text-align: right;
    padding: 20px;
    box-sizing: border-box;
    width: 500px;
    

  }

  /* You can style the images as needed */
  .ndt-image {
    width: 100%;
    height: auto;
    margin: 20px;
    
  }

  .ndt-collapsible {
    cursor: pointer;
    user-select: none;
}
.ndt-collapsible:hover{
    color: #01259e;
}

.ndt-content {
    display: none;
}


/*ndt12*/
#course-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    padding: 20px;
    margin: 20px;
}

.course-description {
    display: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
}


.ndt12 {
    background: linear-gradient(135deg, #e9f4ff, #f3f9ff);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease-in-out;
}

.ndt12:hover {
    transform: translateY(-15px);
}

.ndt12 img {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
}

.ndt12 h2 {
    padding: 20px;
    margin: 0;
    font-size: 24px;
    color: #2a2a2a;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 20px 20px;
}

.ndt12 p {
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    color: #4a4a4a;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 20px 20px;
}





/*bottom section*/
/*faq and query*/
.faq {
	position: relative;
	margin: 2em;
	font-family: "Poppins", sans-serif;
}

.faq input {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
opacity: 0;
visibility: 0;
}

.faq h6 {
background: steelblue;
color: white;
padding: 1em;
position: relative;
}

.faq label::before {
content: "";
display: inline-block;
border: 10px solid transparent;
border-left: 15px solid white;
}

.faq label {
cursor: pointer;
position: relative;
display: flex;
align-items: center;
}

.faq div.p {
max-height: 0px;
overflow: hidden;
transition: max-height 0.5s;
background-color: white;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.faq div.p p {
padding: 2em;
}

.faq input:checked ~ h6 label::before {
border-left: 10px solid transparent;
border-top: 15px solid white;
margin-top: 12px;
margin-right: 10px;
}

.faq input:checked ~ h6 ~ div.p {
max-height:fit-content;
}

.faq a {
color: steelblue;
}

.main-section-container {
    display: flex;
    justify-content: space-between;
    z-index: 1;
    background-color: white;
}

/*query form*/

.faq-container,
.main-query-form-container {
    flex: 1;
    padding: 20px;
    width: 50%;
}


.contain-abt {
    position: relative;
    background-color: #eee;
    max-width: 1000px;
    margin:20px;
    padding: 1em;
    width: auto;
}

.contain-abt1 {
    position: relative;
    background-color: #eee;
    max-width: 1100px;
    margin:100px 100px;
    padding: 1em;
    width: auto;
}


div.form-abt {
    background-color: #eee;
}

.contact-wrapper-abt {
    margin: auto 0;
}

.submit-btn-abt {
    float: left;
}

.reset-btn-abt {
    float: right;
}

.form-headline-abt:after {
    content: "";
    display: block;
    width: 10%;
    padding-top: 10px;
    border-bottom: 3px solid #ec1c24;
}

.highlight-text-abt {
    color: #ec1c24;
    font-size: 20px;
}

.hightlight-contact-info-abt {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
}

.highlight-text-grey-abt {
    font-weight: 500;
}

.email-info-abt {
    margin-top: 20px;
    font-size: 20px;
}

::-webkit-input-placeholder {
    font-family: 'Roboto', sans-serif;
}

.required-input-abt {
    color: black;
}

@media (min-width: 600px) {
    .contain-abt {
        padding: 10px 30px;
    }
}

h3,
ul {
    margin: 0;
}

h3 {
    margin-bottom: 1rem;
}

.form-input-abt:focus,
textarea:focus {
    outline: 1.5px solid #ec1c24;
}

.form-input-abt,
textarea {
    width: 100%;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
}

.wrapper-abt > * {
    padding: 1em;
}

@media (min-width: 700px) {
    .wrapper-abt {
        position: relative;
        display: grid;
        grid-template-columns:  3fr 2fr;

    }

    .wrapper-abt > * {
        padding: 2rem;
    }
}

ul {
    list-style: none;
    padding: 0;
}

.contacts-abt {
    color: #212d31;
}

.form-abt {
    background: #fff;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}



.form-abt p {
    margin: 0;
}

.full-width {
    grid-column: 1 / 3;
}


.submit-btn-abt,
.form-input-abt {
    padding: 1em;
}


.submit-btn-abt {
    background: transparent;
    border: 1px solid #ec1c24;
    color: #ec1c24;
    border-radius: 15px;
    padding: 5px 20px;
    text-transform: uppercase;
}


.submit-btn-abt:hover,
.submit-btn-abt:focus {
    background: #ec1c24;
    outline: 0;
    color: #eee;
}

.error-abt {
    color: #ec1c24;
}





/* Style for the footer */
footer {
    background: whitesmoke; /* Change this to your desired blue color */
    color: black;
    padding: 20px 0;
    z-index: 1;
}

/* Add a background color to the footer sections */
.footer-section {
    background-color:  #01259e; /* Change this to your desired blue color */
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: white;
    z-index: 1;
}

.footer-column {
    flex-basis: 23%;
    text-align: center;
    margin-bottom: 20px;
    background-color: linear-gradient(180deg, #01259e,whitesmoke)bc;
    color: white;
}

/* Style for the marquee */
.latest-news marquee {
    height: 150px;
    overflow: hidden;
    
}

/* Style for the quick links */
.footer-column.quick-links ul {
    list-style: none;
    padding: 0;
}

.footer-column.quick-links li {
    margin: 5px 0;
}

.footer-column.quick-links li a {
    text-decoration: none; /* Remove the default underline */
    background: rgba(115, 163, 199, 0);      /* Remove the default background */
    border: 1px solid #ffffff00; /* Add a border to make it look like a button */
    padding: 5px 10px;     /* Add padding for better appearance */
    border-radius: 5px;    /* Add rounded corners */
    display: inline-block; /* Make the buttons inline with the text */
    color:white;
}

/* Style for the map iframe */
.map iframe {
    width: 100%;
    height: 165px;
}

/* Additional styling for footer content, such as h3 and p elements */
.footer-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
   
    
}
.footer-column h3:hover{
    background-color: #24407a;
    border-radius: 10px;
    
}

.footer-column p {
    font-size: 16px;
    
}
.footer-column a{
    color: white;
    font-size: 16px;
}
.footer-column a :hover{
    text-decoration: none;
}

.underline-text {
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: color 0.3s; /* Optional: Change text color on hover */
  }
  
  .underline-text::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; /* Start from the center */
    width: 0;
    height: 2px; /* Adjust the thickness of the underline */
    background-color: rgba(143, 200, 227, 0.934);/* Adjust the underline color */
    transform: translateX(-50%); /* Center the underline under the text */
    transition: width 0.3s; /* Animation duration */
}
  
  

/* Style for the footer bottom section */
.footer-bottom {
    background-color:whitesmoke;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1;
    height: 50px;
}

/* Style for copyright text */
.copyright {
    font-size: 14px;
}

/* Style for social media icons */
.social-media {
    display: flex;
   
}

.social-media a {
    margin-left: 10px;
    display: inline-block;
    color: #292929b3;
}

.social-media img {
    width:25px;
    height: auto;
   
}



/*page under construction*/
#uc {
    color: #fff;
	font-family: Verdana, Geneva, sans-serif;
	height: 100%;
	text-align: center;
	font-size: 4rem;
	
	top: 50%;
	position: relative;
	margin-top: -50px;
    z-index: 2;
    background-color: #2a2a2a;
}
#uc span{
		text-shadow: 10px 10px 3px rgba(0, 0, 0, 0.5);
		
} 
#loading{
	width: 400px;
	height: 20px;
	background: rgba(255,255,255,0.7);
	border: 2px solid rgba(255,255,255,1);
	border-radius: 50px;
	margin: 40px auto;
	box-shadow: inset 2px 2px 5px 0px rgba(0,0,0,0.8);
}
#wiggle{
		width: 80px;
		height: 18px;
		border: 1px solid #aaa;
		background: rgba(255,255,255,0.5);
		border-radius: 50px;
		margin-left: 0px;
		background: #ffffff;
		background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);
		background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
		background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );
		transition: margin-left 2s;
		animation: wiggle 5s ease-in-out infinite;
}	
@keyframes wiggle{
	0%{
		margin-left: 0px;
    }
	50%{
        margin-left: 318px;
    }
	100%{
		margin-left: 0px;
    }
}		