@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Share+Tech&family=Special+Elite&display=swap');

body {
    font-family: "Barlow", sans-serif;
    line-height: 1.7;  
    color: #516171;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700 !important;
    color: #092032;
}

a {
    color: #092032;
    text-decoration: none;
    transition: all, 0.4s, ease;
}

img {
    width: 100%; 
}


.top-nav {
    background-color: rgb(202, 60, 8);
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-nav p {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 16px;
    color: antiquewhite;
}

.top-nav i,
.top-nav span {
    vertical-align: middle;
}

.social-links a {
    width: 34px;
    height: 34px;
    color: #fff;
    background-color: rgba(93, 121, 247, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 100%;

}

.social-links a:hover {
    background-color: #fff;
    color: crimson;
}

/* Navbar Styling */
.navbar {
    background-color: #1f0f5b; /* Light background */
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid #ddd; /* Subtle border */
}

/* Navbar Brand */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #ffffff;
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #0D47A1; /* Highlighted link color */
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 5px;
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    color: #333;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f0f8ff;
    color: #0D47A1;
}

/* Navbar Toggler Button */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,0,0,0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 10px;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.navbar-brand span {
    color: crimson;
    animation: blink 1s infinite ;
}
.navbar-brand:hover {
    color: #fff;
}

.navbar-brand img {
    width: 90%;
} 

.nav-link {
    color: #fff;
    margin-right: 5px;
    font-weight: 400;
    font-size: 20px;
    border-radius: 10%;
}

.nav-link:hover, .active {
    background-color: #8a0303;
    color: #fff;
}

.btn {
    color: #ffffff;
    background-color: #0f024e;
    border-color: #ffffff;
}

.btn-crimson {
    color: #ffffff;
    background-color: crimson;
}

.btn:hover {
    background-color: #fff;
    color: crimson;
}

.bg-cover {
    background-position: center !important;
    background-size: cover !important;

}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    margin-top: 0; /* Reset margin if any */
    padding-top: 0; /* Reset padding if any */
    background-color: #a5abb1;
    min-height: 90vh;
}

.slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Overlay */
.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Content Styling */
.slide .container {
    position: relative;
    z-index: 2;
}

.slide h6 {
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    animation: fadeIn 1s ease-out;
}

.slide h1 {
    font-size: 3rem;
    font-weight: bold;
    animation: fadeIn 1.2s ease-out;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-out;
}

.slide .btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: bold;
    animation: fadeIn 1.8s ease-out;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay Animation */
.fade-in {
    animation-delay: 0.5s;
}

.fade-in-delay {
    animation-delay: 1s;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 2rem;
    }
    .slide p {
        font-size: 1rem;
    }
    .slide .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    width: 60px !important;
    height: 60px !important;
    display: grid;
    place-items: center;
    background-color: rgb(109, 87, 87,0.4) !important;
    margin-top: -30px;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 100px !important;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #516171;
}



.overlay {
    position: relative; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
  }



  /* Colors */
  :root {
    --primary-color: #04315f; /* Navy Blue */
    --secondary-color: #FF4136; /* Red */
    --accent-color: #0074D9; /* Lighter Blue for highlights */
    --background-soft: #F5F5F5; /* Light Gray Background */
    --bright-accent: #ff1f1b; /* Orange accent */
    --complementary-color: #e64404d9; /* Dark Red */
    --adm-inq-color : #a3ceff;
}

/* General Section Styling */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Contact Section */
#contact {
    background-color: var(--background-soft);
    padding: 60px 0;
}

#contact h2.section-title {
    color: var(--primary-color);
}

#contact .single-contact-address {
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

#contact .single-contact-address:hover {
    transform: translateY(-5px);
}

#contact .single-contact-address .icon {
    min-width: 50px;
}

#contact .single-contact-address .icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

#contact .single-contact-address:hover .icon i {
    color: var(--secondary-color);
    transform: scale(1.2);
}

#contact .contact-details h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

#contact .contact-details p {
    font-size: 1rem;
    color: #555;
}

/* Contact Form */
#contact form {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
}

#contact input,
#contact textarea {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact input:focus,
#contact textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px var(--accent-color);
}

#contact button {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

#contact button:hover {
    background-color: var(--bright-accent);
    transform: translateY(-2px);
}

/* Hero Slider */
.slider-wrapper .slide1 {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.slider-wrapper h6 {
    color: var(--bright-accent);
}

.slider-wrapper h1 {
    color: #fff;
}

/* Buttons */
.btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Contact Form */
.contact-page-area {
    background-color: var(--background-soft);
    padding: 50px 20px;
    color: var(--primary-color);
}

.contact-page-area h1 {
    color: var(--bright-accent);
}

.contact-page-area input,
.contact-page-area textarea {
    border: 1px solid var(--primary-color);
}

.contact-page-area button {
    background-color: var(--primary-color);
    color: white;
}

.contact-page-area button:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.footer-area {
    background-color: var(--complementary-color);
    color: white;
    text-align: center;
    padding: 10px 0;
}

.footer-area a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-area a:hover {
    color: var(--bright-accent);
}

/* General Section Styling */

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* School Info Section */
/* School Information Section */
#school-info-parallax {
    background-color: var(--background-soft);
    padding-top: 0 !important;
    margin-top: -20px;
}

#school-info h3 {
    font-size: 2rem;
    font-weight: bold;
}

#school-info h3 small {
    font-size: 1rem;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

#school-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#school-info img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add hover effect to the text section */
#school-info .col-md-6.text-justify:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.2);
}


/* Parallax Background */
#school-info-parallax {
    background-image: url('../img/school00.jpg'); /* Replace with your desired background image */
    background-attachment: fixed; /* Creates the parallax effect */
    background-position: center;
    background-size: cover;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

#school-info-parallax .overlay {
    background: rgba(82, 79, 79, 0.5); /* Adds a dark overlay to enhance readability */
    color: white;
    padding: 60px 0;
}

#school-info-parallax .container {
    position: relative;
    z-index: 2;
}

#school-info-parallax h3 {
    color: var(--bright-accent); /* Makes the heading stand out */
}

#school-info-parallax p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

/* Add Hover Effect for Text Content */
#school-info-parallax .col-md-6.text-justify:hover {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Subtle Background Animation */
#school-info-parallax {
    animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}



/* Facilities Section */
#facilities {
    background-color: var(--background-soft);
    padding: 60px 0;
}
#facilities .col-md-4 {
    margin-bottom: 20px;
}

#facilities h5 {
    margin-top: 10px;
    font-size: 1.5rem;
}

#facilities p {
    font-size: 1rem;
    color: #555;
}

/* General Animation Setup */
.facility-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect on Facilities */
.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon Animation */
.facility-card i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.facility-card:hover i {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Fade-in Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Admission Inquiry Form */

#admission-inquiry {
    background-color: var(--adm-inq-color);
    margin-top: 60px 0;
}
#admission-inquiry form {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#admission-inquiry input,
#admission-inquiry textarea {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1rem;
}

#admission-inquiry button {
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#admission-inquiry button:hover {
    background-color: var(--accent-color);
}


/* Contact Section */
#contact {
    background-color: var(--background-soft);
    padding: 60px 0;
}

#contact h2.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
}

#contact p.section-description {
    color: #666;
    font-size: 1.2rem;
}

#contact .single-contact-address {
    align-items: flex-start;
}

#contact .single-contact-address .icon {
    min-width: 50px;
}

#contact .contact-details h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

#contact .contact-details p {
    font-size: 1rem;
    color: #555;
}

/* Contact Form */
#contact form {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#contact input,
#contact textarea {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
}

#contact button {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: var(--bright-accent);
}


/* Fade-in Animation */
.fade-in {
    opacity: 0; /* Start fully transparent */
    transform: translateY(30px); /* Slight downward offset */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Reset to original position */
}

.is-invalid {
    border-color: red;
    background-color: #ffe6e6;
}

.is-invalid::placeholder {
    color: red;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Academics Section Icons */
#academics .bx {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Hostel Section */
#hostel {
    background-color: #f4ebeb;
    padding: 60px 0;
}
#hostel img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#hostel h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

#hostel ul {
    font-size: 1rem;
    color: var(--text-secondary);
}

#hostel ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#hostel ul li i {
    font-size: 1.2rem;
    margin-right: 10px;
}


/* Fixed Bottom Bar Styling */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #007bff; /* Primary color */
    color: white;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }
  
  /* Flexbox for Alignment */
  .fixed-bottom-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  /* Admission Info */
  .admission-info {
    font-size: 16px;
    font-weight: bold;
  }
  
  /* News Ticker */
  .news-ticker-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    width: 60%; /* Adjust width as needed */
  }
  
  .news-ticker {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
  }
  
  .news-ticker span {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: scrollTicker 10s linear infinite; /* Ticker animation */
  }
  
  /* Scrolling Animation */
  @keyframes scrollTicker {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  