/* Navbar */
.navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.navbar-brand img {
    height: 60px !important;
    width: 50px;
    transition: all 0.3s ease;
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));

}
.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-left: 10px;
    line-height: 1.2;
    text-transform: uppercase;
}
.navbar.scrolled {
    background-color: rgba(11, 61, 48, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 5px;
    font-size: 0.95rem;
    position: relative;
    width: max-content;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

/* Use ::before to avoid conflicting with dropdown-toggle's ::after caret */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 20px;
}

/* Base dropdown style */
.dropdown-menu {
    background-color: var(--primary-dark-green);
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

/* Dropdown items */
.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--accent-green);
    color: white;
}

/* Desktop Hover & Animation */
@media (min-width: 992px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Mobile optimizations */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-dark-green);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu {
        background-color: transparent;
        padding-left: 1rem;
        box-shadow: none;
        display: none;
    }
    
    .dropdown-menu.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: transparent;
        color: var(--accent-green);
    }
}

/* ---------------------- */
 .hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
    background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.degree-cap {
    position: absolute;
    top: 20px;
    left: 55%;
    width: 80px;
    height: 80px;
    z-index: 2;
    animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark-green);
    clip-path: polygon(0 0, 68% 0, 53% 100%, 0 100%);
    z-index: 1;
}

@media (max-width: 991.98px) {
    .hero-section::before {
        clip-path: none;
        background-color: rgba(11, 61, 48, 0.9);
    }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-student-img {
    height: 110%;
    bottom: -5%;
    right: 0;
    z-index: 2;
    object-fit: contain;
}

 .features-strip {
    margin-top: -60px !important;
    
 }

.features-strip .card {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #eee;
    }
}

@media (max-width: 767.98px) {
    .features-strip .bg-white {
        border-radius: 20px !important;
    }

    .feature-item {
        margin-bottom: 1rem;
    }
}

 .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

 .program-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--accent-green) !important;
}

.view-details {
    transition: color 0.3s ease;
}

.program-card:hover .view-details {
    color: var(--accent-green) !important;
}

 
/* -------------------------------------------------Alert banner---------------------  */
 .alert-banner{
    background-color: #fff;
    padding: 100px 0;
 }
.alert-box {
    padding: 25px 25px;
    border-radius: 12px;
     background: linear-gradient(135deg, #F44336, #d32f2f);
  backdrop-filter: blur(6px);
}

.icon-box {
  font-size: 28px;
  background: rgba(255,255,255,0.2);
  padding: 15px;
  border-radius: 50%;
  
}

.call-btn {
  background: #fff;
  color: #F44336;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.call-btn:hover {
  background: #F44336;
  color: #fff;
}
 
 .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

 .accordion-button:not(.collapsed) {
    color: var(--primary-dark-green);
    background-color: var(--light-green);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

 .process-icon {
    width: 80px;
    height: 80px;
    position: relative;
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-green);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 40px;
         left: 10%;
        right: 10%;
        height: 2px;
        background: repeating-linear-gradient(to right, #ccc 0, #ccc 5px, transparent 5px, transparent 10px);
        z-index: 0;
    }
    .footer-links{
    display: grid;
    grid-template-columns: repeat( 2, 1fr);
    gap: 0rem !important;
    }
    .footer-links li {
    margin-bottom: 0rem !important;
}

}




 .cta-section {
    background-color: #f9fbf9;
}
.cta-bg{
    background-color: var(--text-yellow);
}
.cta-icon {
    width: 70px;
    height: 70px;
}

 

 .footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-yellow);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background-color: var(--accent-green);
    color: white;
}
.footer-links{
display: grid;
grid-template-columns: repeat( 2, 1fr);
gap: 0.8rem;
}

.footer-links li {
    margin-bottom: 0.8rem !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}
.footer-links a i {
    margin-right: 8px;
    color: var(--accent-green);
     
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 2px;
}

.contact-info a,
.contact-info span {
    font-size: 0.95rem;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 1050;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    background-color: #1ebe5d;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

@media (max-width: 575.98px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}
 