/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #dc2626;
    --dark-bg: #0f172a;
    --dark-color: #2c3e50;
    --light-bg: #f8fafc;
}

/* ==================== GLOBAL STYLES ==================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1ecf9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-fluid {
    padding: 20px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: white;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-toggler {
    color: #fff !important;
    border: none !important;
}

.navbar-toggler:hover,
.navbar-toggler:active {
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.top-logo {
    width: 200px;
    background: white;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ==================== CAROUSEL ==================== */
.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}
.carousel-bg::before {
    background: rgba(3, 0, 102, 0.7);
}

.carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: initial;
    right: initial;
    position: relative;
    z-index: 1;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

 .carousel-item img {
            width: 100%; 
            object-fit: cover;
            border-radius: 8px;
        }
    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }

/* ==================== BUTTONS ==================== */
.btn-primary-custom {
    background: var(--accent-color);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    background-color: var(--secondary-color);
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(216, 192, 192, 0.3);
}

.my-button {
    background-color: var(--primary-color); 
    border-radius:5px; 
    color:white; 
    padding: 10px; 
    text-transform: none; 
    text-decoration: none
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: white;
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--light-bg);
    transition: all 0.3s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 2.2rem;
    color: black;
    margin-bottom: 40px;
    text-align: center;
}

.course-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 50px;
}

/* ==================== PROCESS SECTION ==================== */
.process-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.process-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number,
.process-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-number {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.step-description {
    color: #000;
}

/* ==================== TIMELINE ==================== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.right {
    justify-content: flex-end;
}

.timeline-content {
    width: 45%;
    background: var(--dark-bg);
    color: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.timeline-item.left .timeline-content {
    margin-right: auto;
}

.timeline-item.right .timeline-content {
    margin-left: auto;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--light-bg);
}

.step-label {
    position: absolute;
    top: 75px;
    font-size: 1rem;
    color: #999;
    font-weight: 600;
}

.timeline-item.left .step-label {
    left: 50%;
    transform: translateX(80px);
}

.timeline-item.right .step-label {
    right: 50%;
    transform: translateX(-80px);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 80px 0;
    
}

.about-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 5rem 0;
    background: #fff;
}

.feature-card {
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ==================== PRESIDENT SECTION ==================== */
.president-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
}

.president-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.president-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    margin-bottom: 20px;
}

/* ==================== INDUCTION SECTION ==================== */
.induction-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==================== TRAINING & PRICING ==================== */
.training-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.price-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1.5rem;
}

.new-price {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-top: 20px;
    font-style: italic;
    color: #555;
}

/* ==================== BLOG CARDS ==================== */
.blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card-body {
    padding: 25px;
}

.blog-card .badge {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.blog-card h5 {
    color: var(--dark-color);
    font-weight: 600;
}

.blog-card h5:hover {
    color: var(--primary-color);
}

.blog-meta {
    font-size: 0.875rem;
    color: #999;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.read-more-link:hover {
    color: var(--secondary-color);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-card {
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 28px;
    margin-right: 20px;
    min-width: 35px;
}

.contact-text {
    flex: 1;
}

/* ==================== FORMS ==================== */
.form-control, .form-select {
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #334155;
    background: rgba(255,255,255,0.05);
    color: white;
}

.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(26, 84, 144, 0.25);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 80px 0;
    /* background: var(--light-bg); */
}

.accordion-button {
    font-weight: 800;
    /* color: var(--primary-color); */
    background-color: #f1ecf9; 
    color: #030066; 
    border: none
    
}
 

.accordion-button:not(.collapsed) {
    /* background-color: var(--primary-color); */
    /* color: white; */
    color:  var(--primary-color);
}


/* Remove all borders from accordion items */
.accordion-item {
    border: none !important;
    background-color: transparent !important;
}

/* Remove borders and background from accordion buttons */
.accordion-button {
    border: none !important;
    background-color: transparent !important;
    color: #030066 !important;
}

/* Remove focus borders and background */
.accordion-button:focus {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Remove hover background */
.accordion-button:hover {
    background-color: transparent !important;
}

/* Collapsed state styling */
.accordion-button.collapsed {
    background-color: transparent !important;
    color: #030066 !important;
}

/* Remove borders from accordion header */
.accordion-header {
    border: none !important;
}

/* Accordion body styling */
.accordion-body {
    background-color: transparent !important;
    color: #000 !important; 
    border: none !important;
}

/* Remove borders from collapse sections */
.accordion-collapse {
    border: none !important;
    background-color: transparent !important;
}

/* Ensure strong tags in accordion body are also black */
.accordion-body strong {
    color: #000 !important;
}

/* .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 84, 144, 0.25);
} */

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
    padding: 80px 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ==================== EVENT BADGE ==================== */
.event-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ==================== DEMO SECTION ==================== */
.demo-section {
    background: #030066;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white;
}

/* ==================== FOOTER ==================== */
.footer-wrapper {
    margin-top: auto;
}

.footer {
    background-color: #000066;
    color: white;
    padding: 60px 0 0 0;
}

.footer-logo {
    width: 200px;
    background: white;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 10px;
}

.footer-logo-text {
    color: #000066;
    font-weight: bold;
    font-size: 28px;
}

.footer h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer p, .footer a {
    color: white;
    text-decoration: none;
    line-height: 1.8;
    font-size: 15px;
}

.footer a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.quick-links-list {
    list-style: none;
    padding: 0;
}

.quick-links-list li {
    margin-bottom: 0px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: white;
    color: #000066;
}

.footer-bottom {
    background-color: #000055;
    padding: 30px 0;
    margin-top: 50px;
}

.other-institutes {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.other-institutes span:first-child {
    font-weight: 600;
}

.institute-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.institute-link:hover {
    color: #f0f0f0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        padding-left: 80px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .timeline-badge {
        left: 30px;
    }
    
    .step-label {
        left: 30px !important;
        right: auto !important;
        transform: translateX(80px) !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

   .top-bar {
            background-color: #fff;
            color: #030066;
            padding: 10px 0;
            font-size: 14px;
        }
        .top-bar a {
            color:  #030066;
            text-decoration: none;
            transition: color 0.3s;
        }
        .top-bar a:hover {
            color: red;
        }
        .contact-item {
            margin: 0 15px;
            display: inline-block;
        }
        .social-links a {
            margin: 0 8px;
            font-size: 16px;
        }
 

 .pagination-wrapper {
    text-align: center;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-wrapper .page-numbers.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-wrapper .page-numbers.dots {
    border: none;
    pointer-events: none;
}
       
