/**
 * header.css — Shared styles for all main pages: preloader, sticky header, nav links,
 * student login button, offcanvas mobile menu, footer, smart scroll button.
 */
*{
      font-family: 'Poppins', Times, serif; ;
    
}

:root{
      --green: #0f6b3e;
      --yellow-blue:#e9f0e5;
      --off-white: #f1f1f1;
}
html {
      scroll-behavior: smooth;
}
body{
      animation: fadeIn .5s ease forwards;
      background: var(--off-white);
      transition: background 0.3s ease;
}
a{
      transition: all 0.3s ease;
}


/* ------------------------------------ Header for all Pages ------------------------------------  */
header{
       background-color:#0f6b3e !important;
      color:white;
      background: linear-gradient(135deg,#0f6b3e,#0c5a35);
      backdrop-filter: blur(6px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      position:sticky;
      top:0;
      z-index:1100;
}
.navLogo{
      padding: 0;
}
.navLogo img{
      width: 40px;
      margin-left: 20px;
}
.navLogo h2{
      font-size: 30px;
      font-weight: 500;
      color: white;
      margin: 0;;
}
.navLogo p{
      font-size: 12px;
      font-weight: 400;
      color: white;
}
.navButn a{
      font-size: 18px;
      position: relative;
      margin-left: 5px;
      color: white;
}

.navButn a:before {
       content:"";
      position:absolute;
      left:0;
      bottom:-4px;
      width:0;
      height:2px;
      background:#fff;
      transition: width .3s ease;
}

.navButn a:hover:before {
      width: 100%;
      left:0;
}
.navbar .nav-link.active:before{
      width: 100%;
}

/* ===============================
   STUDENT LOGIN BUTTON
================================= */

.student-login-btn{
    background: #ffffff;
    color: #0f6b3e !important;
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.student-login-btn:hover{
    background: #e6f4ec;
    transform: translateY(-2px);
}
.student-login-btn::before{
    display:none !important;
}

/* Mobile version */
.mobile-student-login-btn{
    display: block;
    background: #0f6b3e;
    color: #ffffff !important;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.mobile-student-login-btn:hover{
    background: #0c5a35;
}


/* ===== MOBILE SLIDE MENU REDESIGN ===== */

/* OFFCANVAS CONTAINER */
.offcanvas{
    width: 290px !important;
    height: 100vh !important;
    background: #ffffff;
    border: none;
    box-shadow: 8px 0 40px rgba(0,0,0,0.08);
    z-index: 1200 !important;
    transition: transform .4s ease;
}


/* HEADER AREA */
.offcanvas-header{
    background: linear-gradient(135deg,#0f6b3e,#0c5a35);
    color: #fff;
    padding: 10px;
}

.offcanvas-header img{
    width: 40px;
}

.offcanvas-header h2{
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.offcanvas-header p{
    font-size: 11px;
    opacity: .85;
    margin: 0;
}

/* Close Button */
.btn-close{
    filter: brightness(0) invert(1);
    opacity: .9;
}

.btn-close:hover{
    opacity: 1;
}


/* BODY AREA */
.offcanvas-body{
    padding: 15px 0;
    background: #ffffff !important;
    height: 700px !important;
}


/* NAV LINKS */
.offcanvas-body .nav-link{
    position: relative;
    display: block;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;  /* FIXED VISIBILITY */
    border: none;
    background: transparent;
    transition: all .3s ease;
}


/* Left Accent Bar */
.offcanvas-body .nav-link::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0%;
    width: 4px;
    background: #0f6b3e;
    border-radius: 6px;
    transition: height .3s ease;
}


/* Hover Effect */
.offcanvas-body .nav-link:hover{
    background: #f3f8f5;
    padding-left: 30px;
    color: #0f6b3e !important;
}

.offcanvas-body .nav-link:hover::before{
    height: 60%;
}


/* ACTIVE LINK */
.offcanvas-body .nav-link.active{
    background: #e6f4ec;
    color: #0f6b3e !important;
    font-weight: 600;
}

.offcanvas-body .nav-link.active::before{
    height: 70%;
}


/* Divider */
.offcanvas-divider{
    height: 1px;
    background: #eee;
    margin: 15px 25px;
}


/* Admission CTA Button */
.offcanvas-cta{
    padding: 20px 25px 10px;
}

.mobile-apply-btn{
    display: block;
    text-align: center;
    padding: 12px;
    background: #0f6b3e;
    color: #ffffff !important;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.mobile-apply-btn:hover{
    background: #0c5a35;
    transform: translateY(-2px);
    color: #fff !important;
}



.main-footer{
    background:#0f6b3e;
    color:#fff;
    padding:70px 0 30px;
}

.footer-title{
    font-size:16px;
    font-weight:600;
    margin-bottom:15px;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:8px;
    font-size:14px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    opacity:.85;
    transition:.3s;
}

.footer-links a:hover{
    opacity:1;
    padding-left:5px;
}

.footer-contact{
    list-style:none;
    padding:0;
    font-size:14px;
}

.footer-contact li{
    margin-bottom:8px;
}

.footer-contact i{
    margin-right:8px;
}

/* SOCIAL */
.footer-social{
    margin-top:15px;
}

.footer-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    background:#ffffff22;
    border-radius:50%;
    margin-right:10px;
    color:#fff;
    transition:.3s;
}

.footer-social a:hover{
    background:#fff;
    color:#0f6b3e;
}


/* ==============================
   ULTRA PREMIUM SMART BUTTON
============================== */

#smartScrollWrapper{
    position:fixed;
    bottom:20px;
    right:18px;
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1200;
    opacity:0;
    transform:translateY(20px);
    transition:all .35s ease;
}

#smartScrollWrapper.show{
    opacity:1;
    transform:translateY(0);
}

/* Glass Button */
#smartScrollBtn{
    position:absolute;
    width:42px;
    height:42px;
    border-radius:50%;
    border: 1px solid rgba(255,255,255,0.6);
    background:rgba(15,107,62,0.85);
    backdrop-filter:blur(10px);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    transition:.3s ease;
    cursor:pointer;
    z-index: 9000;
}

#smartScrollBtn:hover{
    transform:scale(1.1);
}

/* Progress ring */
.progress-ring{
    position:absolute;
    transform:rotate(-90deg);
}

.progress-ring__circle{
    stroke:#0f6b3e;
    stroke-dasharray:150;
    stroke-dashoffset:150;
    transition:stroke-dashoffset .25s linear;
}


@keyframes fadeIn {
      from{
            opacity: 0;
      }
      to{
            opacity: 1;
      }
}


/* ---------------------------------- Quick Action Section only for mobile  --------------------------------------- */
/* =====================================
   PREMIUM FLOATING QUICK ACTION BAR
===================================== */

.quick-action-bar {
    position: fixed;
    bottom: 10px;
    left: 15px;
    right: 15px;
    height: 60px;
    background: #0f5132;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 1200;
}

/* Each Button */
.quick-action-bar .action-btn {
      display: flex;
      flex-direction: column ;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      text-decoration: none;
      color: white;
      font-size: 14px;
}

/* Icons */
.quick-action-bar .action-btn i {
      font-size: 16px;
    margin-bottom: 2px;
}

/* Button Colors */

.quick-action-bar .branch-btn {
    background: #0f5132!important;
    margin: 0;
}


/* Press Effect */
.quick-action-bar .action-btn:active {
    transform: scale(0.95);
}

/* Hide on Desktop */
@media (min-width: 992px) {
    .quick-action-bar {
        display: none;
    }
}

/* ===============================
   MOBILE NAVBAR TOGGLER — FIX
================================= */

/* White toggler button */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 4px 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
    outline: none;
}

/* White hamburger lines */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 25px;
    height: 25px;
}

.navbar-toggler {
    position: absolute;
    right: 5px !important;
    padding: 5px !important;
}
