/* Custom CSS for Believe Global Institute */

:root {
    --primary-orange: #FF7A29;
    --teal-cyan: #00B2A9;
    --black-dark: #1E1E1E;
    --dark-gray: #2C2C2C;
    --light-gray: #F4F4F4;
    --white: #FFFFFF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--black-dark);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
}

/* Top Navbar */
.top-navbar {
    background: var(--black-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-navbar .contact-info i {
    color: var(--primary-orange);
    margin-right: 4px;
}

.top-navbar .social-links a {
    color: var(--white);
    margin: 0 8px;
    transition: var(--transition);
}

.top-navbar .social-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.top-navbar .auth-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
}

.top-navbar .auth-links a:hover {
    color: var(--teal-cyan);
}

.top-navbar .divider {
    color: var(--white);
    opacity: 0.5;
}

/* Main Navbar */
.main-navbar {
    padding: 1px 0;
    transition: var(--transition);
}

.main-navbar.scrolled {
    padding: 1px 0;
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    /* padding: 1; */
    padding: 0;
}

.brand-believe {
    color: var(--primary-orange);
}

.brand-rest {
    color: var(--dark-gray);
}

.nav-link {
    font-weight: 500;
    color: var(--black-dark) !important;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange) !important;
    background: rgba(255, 122, 41, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 12px;
    padding: 16px 0;
}

.dropdown-item {
    padding: 12px 24px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(255, 122, 41, 0.1);
    color: var(--primary-orange);
}

 


.cta-button {
    background: var(--primary-orange);
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    background: var(--teal-cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}



/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 40px 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 24px;
}

.feature-card h4 {
    color: var(--black-dark);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Featured Courses Section */
.featured-courses {
    padding: 80px 0;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 24px;
}

.course-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black-dark);
    margin-bottom: 12px;
}

.course-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--teal-cyan);
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.8;
}

.student-info h6 {
    color: var(--black-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.student-info span {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev {
    /* left: -60px; */
}

.carousel-control-next {
    /* right: -60px; */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 178, 169, 0.9), rgba(0, 178, 169, 0.9)),
                url('https://images.pexels.com/photos/5427656/pexels-photo-5427656.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    background-attachment: fixed;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    /* background: var(--black-dark); */
    /* background: burlywood; */
    /* color: var(--white); */
    /* color: #1E1E1E; */
    /* padding: 20px 0; */
    padding: 30px 0 20px;
  font-size: 0.95rem;



   background-size: cover;
  background-position: center;
  color: #fff; /* optional, makes text visible on dark image */
  padding: 50px 0; /* spacing */
  position: relative;
  z-index: 1;
  /* height: 70vh; */


}


.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0,0,0,0.8); dark overlay */

  background: 
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7), 
      rgba(0, 0, 0, 0.8)
    );


  z-index: -1;
}




.footer-brand {
    font-size: 2rem;
    font-weight: bold;
}

.footer .social-links a {
    color: var(--teal-cyan);
    font-size: 1.5rem;
    margin: 0 12px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-logo {
  height: 170px;
  width: 170px;
}

.footer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-believe {
  color: #FF7A29; /* Orange */
  font-weight: bold;
  font-size: 1.8rem;
}

.brand-rest {
  color: #fff;
  font-size: 1.1rem;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 15px;
  /* color: #e6e6e6; */
  color: white;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  /* color: #ccc; */
  /* color: #1E1E1E; */

    color: #fff; /* links stay visible */

  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}
.footer-brand mb-3{
     color: var(--primary-orange);
    transform: translateY(-3px);
}

.social-links a {
  color: #ccc;
  margin: 0 8px;
  font-size: 1.3rem;
  transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 30px;
    text-align: center !important;
  }

  .footer-text {
    text-align: center;
    align-items: center;
  }

 .social-links {
    text-align: center !important;
  }
  
}
.social-links a {
  color: #ccc;
  margin: 0 8px;
  font-size: 1.3rem;
  transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 30px;
    text-align: center !important;
  }

  .footer-text {
    text-align: center;
    align-items: center;
  }
}


.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #ccc;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-text {
    text-align: center;
    align-items: center;
  }
}



/* Floating WhatsApp Button */
/* .whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: var(--shadow-heavy);
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    color: var(--white);
} */

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .top-navbar {
        font-size: 12px;
    }
    
    .top-navbar .contact-info,
    .top-navbar .social-links {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .feature-card {
        margin-bottom: 24px;
    }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 24px 20px;
    }
    
    .course-content {
        padding: 20px;
    }
}

/* Course Page Styles */
.course-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

.course-hero-overlay {
    /* background: rgba(30, 30, 30, 0.7); */
    padding: 80px 0;
    width: 100%;
}

.course-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.course-content-section {
    padding: 40px 0;
}

.course-details-table {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.course-details-table th {
    background: var(--primary-orange);
    color: var(--white);
    font-weight: 600;
    padding: 16px 24px;
    border: none;
}

.course-details-table td {
    /* padding: 16px 24px; */
    border: none;
    border-bottom: 1px solid #eee;
}

/* new  */

  .course-details-table .card {
  border-radius: 1rem;
  overflow: hidden;
}

.course-details-table table tr td:first-child {
  font-weight: 600;
  color: #2c3e50;
  width: 40%;
}

.course-details-table table tr:hover {
  background-color: #f9fafc;
  transition: background 0.3s ease;
}




.related-courses {
    padding: 60px 0;
    background: var(--light-gray);
}

.related-course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: inherit;
}

/* Page-specific styles */
.page-header {
    background: var(--primary-orange);
        background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.8)),
                url('../images/coursesedu3.jpg') center/cover;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    height: 60vh;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.content-section {
    padding: 40px 0;
     
}

.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #eee;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 41, 0.25);
}

.btn-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--teal-cyan);
    border-color: var(--teal-cyan);
    transform: translateY(-2px);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-orange);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
}

.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

/* Utility Classes */
.text-primary-orange {
    color: var(--primary-orange) !important;
}

.text-teal {
    color: var(--teal-cyan) !important;
}

.bg-primary-orange {
    background-color: var(--primary-orange) !important;
}

.bg-teal {
    background-color: var(--teal-cyan) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
   
}

.shadow-custom {
    box-shadow: var(--shadow-medium) !important;
}

/* Animation Overrides for AOS */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}


/* faqs  */
  
        .accordion-item {
            background: white;
            border: none;
            margin-bottom: 16px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-light);
        }
        
        .accordion-button {
            background: white;
            color: var(--black-dark);
            border: none;
            padding: 24px;
            font-weight: 600;
            box-shadow: none;
        }
        
        .accordion-button:not(.collapsed) {
            background: var(--primary-orange);
            color: white;
        }
        
        .accordion-button::after {
            filter: brightness(0) invert(1);
        }
        
        .accordion-button:not(.collapsed)::after {
            filter: none;
        }
        
        .accordion-body {
            padding: 0 24px 24px 24px;
            color: var(--dark-gray);
            line-height: 1.6;
        }


        /* @media (max-width: 767px) {
  .phone-text {
    text-align: center;
  }
} */

/* top navbar btns */
  .custom-btn {
    display: inline-block;
    padding: 7px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    /* background: linear-gradient(135deg, #6a11cb, #2575fc); */
        background: linear-gradient(135deg, #FF7A29, #FF944D);

    border: none;
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    text-decoration: none;
  }

  .custom-btn::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.3);
    transition: all 0.4s;
    overflow: hidden;
  }

  .custom-btn:hover::before {
    left: 100%;
  }

  .custom-btn:hover {
    /* transform: translateY(-3px) scale(1.05); */
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    overflow: hidden;
  }


  /* new adimission section on homepage */

 /* Section */
.admission-preview {
  background: #fffaf7;
  margin-top: 2rem;
    padding-top: 2rem;
  /* padding: 30px 0; */
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.admission-preview .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e1e1e;
}

.admission-preview .section-subtitle {
  font-size: 1rem;
  color: #666;
}

/* Cards with Background Images */
/* .process-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-size: cover;
  background-position: center;
} */

  .process-card {
  position: relative;
  /* height: 220px; */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-size: cover;
  background-position: center;
}


.process-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.process-card .overlay {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 25px 20px;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.process-card:hover .overlay {
  opacity: 1;
}

/* Numbers & Icons */
.process-number {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.process-icon {
  font-size: 38px;
  margin-bottom: 12px;
  color: #FFD166;
}


/* Text below the image */
.process-text {
  margin-top: 15px;
}

.process-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #FF7A29;
}

.process-text h5 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #1e1e1e;
}

.process-text p {
  font-size: 0.9rem;
  margin: 0;
  color: #666;
}
/* Button */
.process-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #FF7A29, #FF944D);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.process-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 122, 41, 0.4);
}


/* popup */
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

/* Hidden state for fade-out */
.popup-overlay.hide {
  animation: fadeOut 0.5s forwards;
}

/* Popup Box */
.popup-container {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: slideUp 0.6s ease;
  font-family: "Poppins", sans-serif;
}

/* Title */
.popup-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff5722;
  margin-bottom: 0.5rem;
}
.popup-subtitle {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  transition: 0.3s;
}
.close-btn:hover {
  color: #ff5722;
}

/* Inputs */
.popup-form .form-group {
  margin-bottom: 1rem;
  text-align: left;
}
.popup-form input {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}
.popup-form input:focus {
  border-color: #ff5722;
  box-shadow: 0 0 8px rgba(255,87,34,0.3);
}
.error-msg {
  font-size: 0.8rem;
  color: red;
  display: none;
  margin-top: 4px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #ff5722;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover {
  background: #e64a19;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
@keyframes fadeOut {
  from {opacity: 1;} to {opacity: 0;}
}
@keyframes slideUp {
  from {transform: translateY(50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}