:root {
    --primary: #0056b3;
    --primary-light: #3a7fc4;
    --secondary: #ffc107;
    --secondary-dark: #e0a800;
    --dark: #212529;
    --light: #f8f9fa;
    --success: #28a745;
    --danger: #dc3545;
    --whatsapp: #25D366;
    --phone: #34B7F1;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 860px;
    margin: 0 auto;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* Header */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 15px;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.offcanvas {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-body .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.8) 0%, rgba(0, 86, 179, 0.6) 100%);
    z-index: 0;
}

#hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.stats {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Features */
.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 400px;
        display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover h3::after {
    width: 80px;
    background-color: var(--secondary);
}

/* Courses */
.course-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /*margin-bottom: 30px;*/
    /*min-height: 800px;*/
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
}

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

.course-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-content {
    padding: 25px;
    background-color: white;
    min-height: 450px;
        display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.4rem;
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--danger);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Testimonials */
#testimonials {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1469&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.5s ease;
    color: white;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1);
    border-color: white;
}

.testimonial-rating {
    color: var(--secondary);
}

/* Faculty */
.faculty-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faculty-img {
    height: 400px;
    background-size: cover;
    background-position: top;
    transition: all 0.5s ease;
}

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

.faculty-info {
    padding: 25px;
    text-align: center;
    background-color: white;
}

.faculty-social a {
    color: var(--primary);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-social a {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Methodology */
.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-content {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.step:hover .step-number {
    background-color: var(--secondary);
    color: var(--dark);
    transform: rotate(15deg) scale(1.1);
}

.step:hover .step-content {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Pricing */
.pricing-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /*margin-bottom: 30px;*/
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
     /*min-height: 600px;*/
        display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* CTA */
#cta {
    background: linear-gradient(135deg, var(--primary), #003366);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-question {
    background-color: #f5f7fa;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    background-color: white;
}

.faq-item.active .faq-question {
    background-color: var(--primary);
    color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Contact Section */
.contact-info-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    border-left: 4px solid var(--primary);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background-color: var(--primary);
    color: white;
    transform: rotate(15deg);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-social a {
    color: white;
    font-size: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    /*margin-right: 10px;*/
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1021;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
}
#back-to-top {
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
}

#whatsapp-btn {
    bottom: 100px;
    right: 30px;
    background-color: var(--whatsapp);
}

#whatsapp-btn:hover {
    background-color: #128C7E;
}

#call-btn {
    bottom: 170px;
    right: 30px;
    background-color: var(--phone);
}

#call-btn:hover {
    background-color: #2A8AC9;
}

/* Popup Modal */
.popup-overlay {
  position: fixed; /* Takes it out of the document flow */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Initially hide it */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active { /* Class to show the popup */
  visibility: visible;
  opacity: 1;
}

.popup-container {
  position: relative; /* Child of the fixed overlay */
  width: 90%;
  max-width: 500px; /* Set a max-width */
  background: white;
  padding: 2rem;
  border-radius: 8px;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.popup-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    color: var(--primary);
    font-weight: 700;
}

.popup-header p {
    color: #666;
}

.popup-offer {
    background-color: rgba(255, 193, 7, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary);
}

.popup-offer h4 {
    color: var(--dark);
    font-weight: 700;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--success);
    margin-bottom: 20px;
}

.form-success i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 15px;
}

/* Slider Styles */
.slider-container {
    position: relative;
    padding: 0 50px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: var(--primary);
    color: white;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-pagination {
    display: flex !important;
    justify-content: center;
    margin-top: 30px;
}

.slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .section-title h2 {
        font-size: 2rem;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    #hero {
        padding: 150px 0 80px;
    }

    #hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stats {
        flex-direction: column;
        text-align: center;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .slider-container {
        padding: 0 30px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 1.6rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .popup-container {
        padding: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    #whatsapp-btn {
        bottom: 90px;
    }

    #call-btn {
        bottom: 150px;
    }

    .slider-container {
        padding: 0 15px;
    }
}
/*=======*/
img {
  height: auto; /* This ensures the aspect ratio is maintained */
  max-width: 100%; /* This ensures it's responsive and doesn't overflow */
}
a {
    /*color: snow;*/
    text-decoration: None;
}

img.card-img-top {
    width: 100%;
    height: 252px;
    object-fit: cover;
    object-position: top;
}
.card-body{
     /*min-height: 280px;*/
        display: flex;
    flex-direction: column;
    justify-content: center;
}