:root {
    --theme-color: #9f4510; /* Bootstrap primary */
    --theme-color-2: #fcb042;
    --light-bg: #f8f9fa;
}




select:hover, select:active, select:focus, input:hover, input:active, input:focus, textarea:hover, textarea:active, textarea:focus, .btn:hover, .btn:active, .btn:focus{
			outline: 0px !important;
			-webkit-appearance:none;
			box-shadow: none !important;

		}
		


body,section,.section-title,h1,h2,h3,h4,h5,h6,p,label,div,input,select{
        	font-family: 'Roboto', sans-serif;
        }



body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}










/*page loader start*/
.loader {
  border: 2px solid black;
  border-bottom: 2px solid white;
  border-top: 2px solid white;
  border-left: 2px solid white;

  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: fixed; /* Use fixed position to keep it centered */
  top: 50%; /* Place the loader at the vertical center */
  left: 50%; /* Place the loader at the horizontal center */
  transform: translate(-50%, -50%);
  z-index: 9999;
  margin-top: -25px; /* Half of the loader's height */
  margin-left: -25px; /* Half of the loader's width */
  display: none; /* Initially hidden */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* Add the overlay to cover the entire page */
.overlayy {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1.0); /* Adjust the alpha value to control the opacity */
  z-index: 9998; /* Make sure the overlay is below the loader */
}
/*page loader end*/




/*Back button arrow*/
.icon-tabler-arrow-left:hover{
    background: lightgrey;
    border-radius: 50%;
    padding: 5px;
}

/*Page refresh icon*/
.icon-tabler-reload:hover{
    background: lightgrey;
    border-radius: 50%;
    padding:5px;
}









/* Mobile & tablet sidenav logic*/
@media (max-width: 991px) {
    .sidenav {
        display: block;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .sidenav {
        display: none;
    }
}
















/* Navbar */
.navbar-brand {
    font-weight: 200;
    letter-spacing: 1px;
}




/* Active nav link highlight */
.navbar-nav .nav-link.active-link {
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 6px 14px !important;
}

/* Prevent dropdown toggle arrow spacing break */
.navbar-nav .dropdown-toggle.active-link::after {
    margin-left: 6px;
}

/* Hover effect nav link highlight */
.navbar-nav .nav-link {
    position: relative;
    border: 2px solid transparent; /* reserve space */
    border-radius: 30px;
    padding: 6px 14px !important;
    transition: 
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    border-color: #fff;
    transform: translateY(-1px); /* subtle lift */
}








/* Logo styling */
.logo {
    height: 75px;          /* Controls size */
    width: auto;           /* Maintains aspect ratio */
    object-fit: contain;
    border-radius: 10%;
}

/* Smaller screens */
@media (max-width: 768px) {
    .logo {
        height: 65px;
    }
}




/* Logo text */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.6rem;
    opacity: 0.85;
}






/* Navbar toggler icon */
.menu-icon {
    width: 34px;
    height: 34px;
    color: #ffffff; /* matches navbar text */
}

.navbar-toggler:focus {
    box-shadow: none;
    border:none;
    outline: none;
}
.navbar-toggler {
    box-shadow: none;
    right:0;
}

.navbar-custom .navbar-toggler {
    padding-right: 0; /* reduce from default 12–15px */
}




/* ===== HERO CAROUSEL HEIGHT CONTROL ===== */
.hero-carousel {
    min-height: 100vh;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
 height: 100vh;
}

/* ===== IMAGE BEHAVIOR ===== */
.hero-img {
    height: 100%;
    object-fit: cover;
}

/* ===== OVERLAY ===== */
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* ===== CAPTION FIX (IMPORTANT) ===== */
.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 1.5rem;
    text-align: center;

    max-height: 100%;
    overflow-y: auto; /* ✅ prevents cutting */
}

/* ===== TYPOGRAPHY SCALING ===== */
.hero-caption h1 {
    font-size: clamp(1.6rem, 4vw, 3rem);
}

.hero-caption p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

/* ===== MOBILE FIX ===== */
@media (max-height: 650px), (max-width: 576px) {
    .hero-caption {
        justify-content: flex-start; /* ✅ prevents vertical cut */
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
}


/* Hero carousel */
.hero-carousel {
    position: relative;
}

/* Image sizing */
.hero-img {
    height: 100vh;
    object-fit: cover;
}

/* Dark overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darkness level */
    z-index: 1;
}

/* Text on top */
.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
    color: #fff;
    text-align: center;
}

/* Responsive text */
.carousel-caption h1 {
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .hero-img {
        height: 100vh;
    }

    .carousel-caption h1 {
        font-size: 1.3rem;
    }
}










.carousel-badge {
    background: rgba(253, 141, 2, 0.2); /* slightly faded brand color */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: 18px 32px;
    border-radius: 18px;

    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

    animation: slideFadeIn 1s ease-out forwards;
}

/* Subtle entrance animation */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional refinement for text */
.carousel-badge h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    text-transform: uppercase;
}










/* ==============================
   BASE
============================== */
body {
    padding-top: 40px; /* space for top bar + navbar */
}

/* ==============================
   TOP BAR
============================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fd8d02;
    z-index: 1050;

    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.top-bar-hide {
    transform: translateY(-100%);
}

/* ==============================
   MAIN NAVBAR
============================== */
.navbar-custom {
    position: fixed;
    top: 40px; /* below top bar */
    left: 0;
    width: 100%;
    background: #132357;
    z-index: 1040;
    transition: top 0.3s ease;
    border-bottom: 3px solid #fd8d02;
}

/* When top bar is hidden */
.navbar-at-top {
    top: 0;
}

/* ==============================
   BRAND & LINKS
============================== */
.navbar-brand img.logo {
    height: 76px;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
}

/* ==============================
   MOBILE
============================== */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .navbar-custom {
        top: 0;
    }
}








/* Custom Professional Button */
.btn-custom {
    display: inline-block;
    background-color: #fd8d02;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 10px; /* fully rounded */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(253,141,2,0.3);
    position: relative;
    overflow: hidden;
}

/* Hover Animation */
.btn-custom:hover {
    background-color: #e07b00; /* slightly darker on hover */
    transform: translateY(-3px); /* smooth lift effect */
    box-shadow: 0 8px 20px rgba(253,141,2,0.5);
    text-decoration: none;
    color: #ffffff;
}

/* Active / click effect */
.btn-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(253,141,2,0.3);
}

/* Responsive font */
@media (max-width: 768px) {
    .btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .btn-custom {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}










/* Section spacing */
section {
    padding: 70px 0;
}

/* Section titles */
.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #132357;
}

/* Card styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* Principal image */
.principal-img {
    width: 100%;
    border-radius: 50%;
    /*border: 2px solid var(--theme-color);*/
}

/* Fade-in animation */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

.fade-section.show {
    opacity: 1;
    transform: translateY(0);
}





.carousel-control-prev,
.carousel-control-next {
    width: 6%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: invert(1); /* white arrows */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.2);
}







/* Top bar SVGs */
.top-icon {
    width: 16px;
    height: 16px;
    color: #000;
    flex-shrink: 0;
}

.top-bar a {
    color: #000;
    transition: opacity 0.2s ease;
}

.top-bar a:hover {
    opacity: 0.7;
}









/* Shared info cards */
.info-card {
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
}

/* Shared icon styling */
.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon svg {
    background: #fff;
    padding: 14px;
    border-radius: 50%;
}






/* Partner cards */
.partner-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px; /* same size for all */
}

/* Logo styling */
.partner-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

/* Hover effect */
.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}











/*ABOUT PAGE*/
/* ABOUT HERO SECTION */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 40vh;
    height: 40vh;
    overflow: hidden;
}

/* Make image absolute */
.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 40vh;
    object-fit: cover;
    z-index: 0;
}

/* Overlay sits on top of image */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Content sits above everything */
.about-hero-content {
    position: relative;
    z-index: 2;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


.about-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 1.3rem;
    }
}

.about-hero-content p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ABOUT SECTION */
.about-section {
    background: #ffffff;
}

.section-title {
    font-weight: 700;
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: "";
    width: 160px;
    height: 3px;
    background: #fd8d02;
    display: block;
    margin-top: 8px;
}

/* CARDS */
.about-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-card h4 {
    font-weight: 600;
    margin-bottom: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
        min-height: 40vh;
    }
}











/*COURSES PAGE*/
.course-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.course-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.course-card p {
    flex-grow: 1;
    color: #555;
}

.course-meta {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.course-meta li {
    margin-bottom: 0.3rem;
}












/*ADMISSIONS PAGE*/
.process-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Icon */
.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: rgba(159, 69, 16, 0.1); /* theme color light */
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon svg {
    width: 34px;
    height: 34px;
}











/*NEWS PAGE*/
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image */
.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.news-content {
    padding: 1.5rem;
}

.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: #9f4510;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.news-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.news-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.news-link {
    font-weight: 600;
    color: #9f4510;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}










/*GOVERNANCE PAGE*/
.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #9f4510;
}

.team-info p {
    font-size: 0.9rem;
    color: #555;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 991px) {
    .team-img {
        height: auto;
    }
}

@media (max-width: 576px) {
    .team-img {
        height: auto;
    }
}













/*CONTACT PAGE*/
.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: #9f4510;
}

/* =======================
   FORM
======================= */
.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =======================
   MAP
======================= */
.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}










.footer {
    font-size: 0.9rem;
    background-color: #fd8d42;
    color: #000;

}

.footer-link {
    color: #000;
    text-decoration: none;
}

.footer-link:hover {
    color:#ffffff;
    font-weight: bold;
    text-decoration: none;
}

.footer-social {
    font-size: 0.85rem;
    color: #9f4510;
    text-decoration: none;
    font-weight: 500;
}

.footer-social:hover {
    color: #ffffff;
}
