/*
Theme Name: baecons
Theme URI: https://baecon.com
Author: Qdexi Technology
Author URI: 
Description: Custom Theme Developed for https://baecon.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baecons
Tags: 
*/

/* Enhanced Homepage Design Styles */

/* Enhanced Banner Section (keeping original structure) */
.banner-div {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.home-page-banner {
    transition: transform 0.3s ease;
}

.banner-div:hover .home-page-banner {
    transform: scale(1.02);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.banner-text {
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.heading_1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.heading_2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.banner_divider {
    height: 3px;
    background: #c91b3a;
    width: 80%;
    margin: 1rem auto;
    border: none;
    animation: fadeInUp 1s ease 0.4s both;
}

.consultation_btn {
    background: #c91b3a;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 5px 15px rgba(201, 27, 58, 0.3);
}

.consultation_btn:hover {
    background: #a0152e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 27, 58, 0.4);
}

/* Enhanced Welcome Section */
.site_tagline_div {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.site_tagline_div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #24366b, #c91b3a);
}

.site_tagline_div_p_1 {
    color: #24366b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.site_tagline_div_p_2 {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Enhanced Services Section */
.service_box_div {
    background: white;
    padding: 80px 0;
    position: relative;
}

.service_box_inner_div {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service_box_inner_div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #c91b3a;
}

.service_div_img_div {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service_box_inner_div:hover .service_div_img_div {
    transform: scale(1.1);
}

.service_box_inner_text_p_1 {
    color: #24366b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service_box_inner_text_p_2 {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Enhanced Why Choose Us Section */
.why_choose_us_div {
    background: linear-gradient(135deg, #24366b 0%, #1a2847 100%);
    padding: 80px 0;
    color: white;
}

.why_choose_us_text_p {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.why_choose_us_text_ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.why_choose_us_text_ul li {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.why_choose_us_text_ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c91b3a;
    font-weight: bold;
    font-size: 1.2rem;
}

.apply_now_btn {
    background: #c91b3a;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(201, 27, 58, 0.3);
}

.apply_now_btn:hover {
    background: #a0152e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 27, 58, 0.4);
}

/* Enhanced Counter Section */
.counter-div {
    position: relative;
    overflow: visible;
    /* margin-top: 2rem; */
    padding: 2rem 0;
}

.counter-banner {
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.counter-div:hover .counter-banner {
    filter: brightness(0.8);
}

.counter_heading_1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.counter_divider {
    height: 3px;
    background: #c91b3a;
    width: 80%;
    margin: 1rem auto;
    border: none;
}

.counter_inner_div {
    margin-top: 40px;
}

.counter1, .counter2, .counter3, .counter4 {
    text-align: center;
    margin-bottom: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.counter1, .counter2, .counter3, .counter4 > span {
    display: inline;
}

/* Make the number and symbol display inline */
.counter1, .counter2, .counter3, .counter4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter1 span, .counter2 span, .counter3 span, .counter4 span {
    display: inline;
}

.span_1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.span_2 {
    font-size: 2rem;
    font-weight: 700;
    color: #c91b3a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline;
}

.counter_inner_div p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Partners Section */
.partners-section {
    background: #24366b;
    padding: 0;
    color: white;
}

.partners-section .container {
    max-width: 1400px;
}

.partners-header {
    background: #191970;
    padding: 20px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-align: center;
    color: white;
}

.partners-content {
    background: white;
    padding: 30px 0;
}

.partners-carousel {
    max-width: 1400px;
    margin: 0 auto;
}

.partner-logo {
    text-align: center;
    padding: 10px 5px;
    /* background: rgba(36, 54, 107, 0.05); */
    /* border-radius: 15px; */
    transition: all 0.3s ease;
    /* margin: 0 10px; */
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid rgba(36, 54, 107, 0.1); */
}

.partner-logo:hover {
    background: rgba(36, 54, 107, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(36, 54, 107, 0.15);
    border-color: rgba(36, 54, 107, 0.2);
}

.partner-logo img {
    max-width: 180px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.accredited-by {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

/* Owl Carousel Custom Styles for Partners */
.partners-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.partners-carousel .owl-prev,
.partners-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.partners-carousel .owl-prev {
    left: -50px;
}

.partners-carousel .owl-next {
    right: -50px;
}

.partners-carousel .owl-prev:hover,
.partners-carousel .owl-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) scale(1.1);
}

.partners-carousel .owl-dots {
    margin-top: 30px;
}

.partners-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.partners-carousel .owl-dot.active span {
    background: #c91b3a;
    transform: scale(1.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 50px 0 20px 0;
    color: white;
    background: #191970;
}

.testimonials-section .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonials-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 2px;
}

.testimonials-carousel {
    max-width: 1200px;
    margin: 60px auto 0;
}

.testimonial-item {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: #24366b;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-item.active {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 3px solid #191970;
}

.testimonial-video-call {
    position: relative;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #191970;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.video-call-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.video-call-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.testimonial-video-call:hover .video-call-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    color: #191970;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.play-button.clicked {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.8);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
}

.video-caption strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.video-caption span {
    font-size: 14px;
    opacity: 0.9;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

#modalVideo {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Navigation Arrows for Testimonials */
@media (max-width: 768px) {
    .testimonials-carousel .owl-nav {
        display: block !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        z-index: 10;
    }
    
    .testimonials-carousel .owl-prev,
    .testimonials-carousel .owl-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(25, 25, 112, 0.9) !important;
        color: white !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s ease !important;
        border: none !important;
        margin: 0 !important;
    }
    
    .testimonials-carousel .owl-prev {
        left: 10px !important;
    }
    
    .testimonials-carousel .owl-next {
        right: 10px !important;
    }
    
    .testimonials-carousel .owl-prev:hover,
    .testimonials-carousel .owl-next:hover {
        background: rgba(25, 25, 112, 1) !important;
        transform: translateY(-50%) scale(1.1) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    .testimonials-carousel .owl-prev:focus,
    .testimonials-carousel .owl-next:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(25, 25, 112, 0.3) !important;
    }
    
    /* Hide dots on mobile to make room for arrows */
    .testimonials-carousel .owl-dots {
        margin-top: 20px !important;
    }
    
    /* Ensure carousel container has relative positioning */
    .testimonials-carousel {
        position: relative;
    }
    
    /* Make arrows more touch-friendly on mobile */
    .testimonials-carousel .owl-prev,
    .testimonials-carousel .owl-next {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Ensure arrows are visible over video call windows */
    .testimonials-carousel .owl-prev,
    .testimonials-carousel .owl-next {
        z-index: 15 !important;
    }
}

/* Additional mobile touch improvements */
@media (max-width: 480px) {
    .testimonials-carousel .owl-prev,
    .testimonials-carousel .owl-next {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    .testimonials-carousel .owl-prev {
        left: 5px !important;
    }
    
    .testimonials-carousel .owl-next {
        right: 5px !important;
    }
}

.testimonial-image {
    margin-bottom: 30px;
}

.testimonial-image img {
    width: 180px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(36, 54, 107, 0.3);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    color: #333;
}

.testimonial-author strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #24366b;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Testimonials Carousel Custom Styles */
.testimonials-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.testimonials-carousel .owl-prev,
.testimonials-carousel .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    color: #24366b !important;
    font-size: 20px !important;
    line-height: 50px !important;
    text-align: center !important;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.testimonials-carousel .owl-prev {
    left: -25px;
}

.testimonials-carousel .owl-next {
    right: -25px;
}

.testimonials-carousel .owl-prev:hover,
.testimonials-carousel .owl-next:hover {
    background: white !important;
    color: #24366b !important;
    transform: scale(1.1);
}

.testimonials-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonials-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.testimonials-carousel .owl-dot.active span {
    background: white;
    transform: scale(1.2);
}

/* How It Works Section */
.how-it-works-section {
    padding: 50px 0;
    color: #ffffff;
    background: #191970;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 30px 0 20px 0;
    margin: 50px 0;
    background: #ffffff;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #c91b3a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #24366b;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.step-divider {
    width: 2px;
    height: 100px;
    background: #ddd;
    margin: 0 20px;
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
    padding: 80px 0;
    color: #24366b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c91b3a;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #24366b;
}

/* CTA Section */
.cta-section {
    background: #24366b;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: #c91b3a;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: #a0152e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 27, 58, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        display: flex;
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-divider {
        width: 100px;
        height: 2px;
        margin: 20px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        display: flex;
        flex-direction: column;
    }
    
    .stats-grid {
        display: flex;
        flex-direction: column;
    }
}

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

.header_top{
    background: #24366b;
    padding-top: 1%;
    padding-bottom: 1%;
}
.icon_white, .text_white{
    color: #fff;
    padding-right: 0.4em; 
    font-size:14px;
}
.header_links{
    padding-left: 3em;
}

.header_bottom{
    padding-right: 0;
    padding-left: 0;
}
.site_logo{
    max-width: 500px;
}
.menu_links{
   margin-right: 13%;
}
.menu_links li{
    margin-right: 1em;
    width: 90px;
    text-align: center;
}
.menu_links li a{
    color: #4d4e4f !important;
}
.menu_links li a:hover{
    color: #f2454d !important;
    border-bottom: 2px solid #f2454d;
    padding-bottom: 5px;
}
.banner-div{
    padding:0;
    position: relative;
}
.home-page-banner, .course-page-banner{
    width: 100%;
}
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.banner-text{
    color: white;
    text-align: center;
}
.heading_1{ 
    padding-bottom: .5em;
    font-size: 2.5rem;
}
.banner_divider{
    height: 2px;
    background: #fff200;
    width: 80%;
    margin: 0 auto;
}
.heading_2{ 
    padding-top: .5em;
    font-size: 2.5em; 
}
.consultation_btn{
    margin-top: 1em;
    padding-left: 5%;
    padding-right: 5%;
    background: #c91b3a;
}
.site_tagline_div{
    padding:2em 0;
}
.site_tagline_div_p_1{
    color: #24366b;
    font-size: 2.4em; 
    margin-bottom: 0;
}
.site_tagline_divider{
    height: 2px;
    background: #24366b;
    width: 40%;
    margin: 0 auto;
}
.site_tagline_div_p_2{
    margin: 1em 2em;
    text-align:justify;
}

.service_box_div{
    background: #ecedf1;
    padding:3% 5%;
}
.service_box_inner_div{
    border: 1px solid #aa1e37;
    position: relative;
}
.service_box_inner_div:hover{
    border: 1px solid transparent;
    background: white;
    box-shadow: 5px 5px 5px grey;
}
.service_box_inner_text{
    margin: 2em 0;
}
.service_div_img_div{
    position: absolute;
    top: -18%;
    left: 43%;
    background: #aa1e37;
    padding: 2%;
    border-radius: 50%;
}
.service_box_inner_text_p_1{
    font-weight: bold;
}
.service_box_inner_text_p_2{
    padding-right: .8em;
    padding-left: .8em;
}
.why_choose_us_div{
    padding: 3% 5% 0 5%;
}
.why_choose_us_text_p{
    font-size: 2em;
}
.why_choose_us_text_ul{
    list-style: none;
    margin: 0 3%;
}
.why_choose_us_text_ul li{
    margin-top: .8em; 
}
.why_choose_us_text_ul li:before{
     content: "• ";
    color: #f6141f;
    font-size: 20px;
}
.why_choose_us_img{
    float: right;
}
.apply_now_btn{
    margin-top: 4em;
    padding-left: 7%;
    padding-right: 7%;
    background: #aa1e37;
}
.counter-div {
    padding: 0;
    position: relative;
}
.counter-banner{
    width: 100%;
}
.counter_heading_1{
    font-size: 2rem;
}
.counter_divider{
    height: 2px;
    background: #fff200;
    width: 40%;
    margin: 0 auto;
}
.custom_centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}
.counter_inner_div{
    margin: 2em 0;
    font-size: 1.5em;
    padding: 1rem 0;
}
.span_1{
    font-size: 2em;
}
/*
    Testimonial section
*/
.owl-nav{
    display: none;
}
.owl-theme .owl-dots .owl-dot span{
    background: #D6D6D6 !important;
}
.owl-theme .owl-dots .owl-dot.active span{
    background: #aa1e37 !important;
}
.test_outer_div{
    position: relative;
    padding-bottom: 3em;
}
.test_div{
    background: #24366b;
    padding: 3% 3% 2% 3%;
}
.client_review{
    color: white;
}
.section_title{
    font-size: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
}
.clients_image_div{
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 100%;
}
.client_name, .client_country{
    margin: 0;
}
.client_detail{
    margin-top: 2em;
}
.testimonial_divider{
    height: 2px;
    background: #fff200;
    width: 40%;
    margin: 2em auto;
}
.footer_outer_div{
    background: #aa1e37;
    padding-top: 2em;
    padding-bottom: 2em;
}
.footer_inner_div{
    background: white;
    padding:2em;
}
.contact_btn{
    background: #aa1e37;
    padding-right: 9%;
    padding-left: 9%;
    margin-top: 1em; 
}
.footer_p_1{
    color: #403d3d;
    font-size: 1.5em;
}
.footer_bottom_div{
    background: #292929;
    padding-top:1em;
    padding-bottom:1em;
}
.footer_bottom_inner_div{
    color: white;
}
.univ_listings{
    margin-top: 1em;
    margin-bottom: 1em;
}
/*
    Course Page
*/
.page_banner_heading, .course_title{
    font-size: 2em; 
}
.caret_banner{
    margin: 0 .8em;
}
.page_tagline_divider{
    height: 2px;
    background: #24366b;
    width: 15%;
    margin: 0 auto;
}
.main_courses .row{
    padding:0 3em;
}
.main_courses ul{
    padding-left: 2em;
}
.postgraduate_course_div{
    padding-top: 2em;
    padding-bottom: 2em;
}
.foundation_course_div{
    padding-top: 2em;
    padding-bottom: 2em;
}
.undergraduate_course_div{
    background: #ecedf1;
    padding-top: 2em;
    padding-bottom: 2em;
}
.professional_course_div{
    background: #ecedf1;
    padding-top: 2em;
    padding-bottom: 2em;
}
.course_img_div{
    margin-top: 4.5em;
}
/*
    Services Page
*/
.service_tagline_div_p_2 {
    margin: 2em;
    text-align: justify;
}
.page_banner_name a{
    color: white;
}

/*
    About Us Page
*/
.mission_outer_div{
    background: #ecedf1;
    padding-bottom: 4em;
    padding-top: 4em;
}
.mission_outer_div_row{
    margin: 0 auto;
}
.inner_about_div{
    background: white;
    padding: 1em;
    box-shadow: 3px 3px 3px grey;
}
.mission_box_heading{
    font-weight: bold;
    text-align: center;
    color: #5b5858;
}
.mission_box_para{
    text-align: center;
    color: #5b5858;
}

/*
    Contact Page
*/
.contact_form_div .row{
    margin: 0 auto;
}
.find_us_div{
    border-right: 1px solid #d5d5d5;
    max-height: auto;
}
.find_us_headline{
    font-size: 2em;
    color: #aa1e37;
}
.icon_brown{
    color: #aa1e37;
}
.find_us_detail > ul{
    list-style: none;
}
.find_us_detail > ul li{
    margin-top: 1em; 
}
.contact_form{
    background: #f6f5f5;
    padding: 3em;
    border-radius: 20px;
    border: 2px solid #e3dcdc;
    box-shadow: 4px 4px 4px grey;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 4em;
}
.contact_form_input {
    padding: .5em;
    border-radius: 5px;
    border: 1px solid #94a1d1;
    margin-top: 1em;
    width: 100%;
}
.msg_txt{
    color: #aa1e37;
    font-size: 1.5em;
    font-weight: 500;
}
.contact_submit_btn{
    padding-right: 2em;
    padding-left: 2em;
    background: #aa1e37;
    border-radius: 10px;
}
.contact_submit_div{
    margin: 1em auto;
    text-align: center;
}
.apply_form_outer_row{
    margin: 0 3em;
}
.follow_us_headline{
    color: white;
    font-size: 1.2em;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 0;
    border-radius: 5px;
    background: #aa1e37;
}
.follow_links{
    background: #f6f5f5;
    text-align: center;
    padding: 1em;
}
.icon_apply_fb{
    color: #3d578f;
}
.icon_apply_twitter{
    color: #28aae1;
}
.icon_apply_linkedin{
    color: #0b78b7;
}
.icon_apply_tube{
    color: #d62727;
}
.icon_apply_gplus{
    color: #f63e28;
}
.apply_icons {
    text-align: center;
    font-size: 2em;
    margin: 5px;
}
.apply_sidebar_images{
    margin-top: 10px;
}

/*
    Internal Page
*/
.outer_cal_div{
    margin: 0 1em;
}
.cal_tagline{
    background: #a80532;
    border-radius: 5px 0 0 0;
}
.inner_cal_div{
    background: white;
    border-radius: 5px;
    padding-bottom: 1em;
    min-width: 180px;
    min-height: 150px;
}

.cal_dates p{
    margin-bottom: 0;
}
.cal_dates p{
    color: black;
}
.cal_dates p i{
    color: #24366b;
    font-size: 1.5em;
}
.tabs_div{
    padding-top: 1em;
    padding-bottom: 2em;
}
.tabs_headline{
    font-size: 2em;
    color: #403d3d;
}
/*
    Internal Tabs
*/
ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 32px;
    border-bottom: 1px solid #333;
    width: 100%;
}

ul.tabs li {
    float: left;
    margin: 0;
    cursor: pointer;
    padding: 0px 21px;
    height: 31px;
    line-height: 31px;
    border: 1px solid #a8a7a7;
    border-radius: 5px 5px 0 0;
    background-color: #fff;
    color: #000;
    overflow: hidden;
    position: relative;
}
ul.tabs li:not(:nth-of-type(1)){
    margin: 0 5px;
}
.tab_last { border-right: 1px solid #333; }

ul.tabs li:hover {
    background-color: #ccc;
    color: #333;
}

ul.tabs li.active {
    background-color: #a80532;
    color: #fff;
    border-bottom: 1px solid #fff;
    display: block;
}

.tab_container {
    border-top: 2px solid #24366b;
    clear: both;
    float: left;
    width: 100%;
    background: #f8f8fa;
    overflow: auto;
}

.tab_content {
    padding: 20px;
    display: none;
}

.tab_drawer_heading { display: none; }
.tabs_div .row{
    margin: 0 2em;
}
.apply_form_div{
    background: #ebecf0;
    padding: 4em;
}
.apply_form_page_div{
    background: white;
    padding:0 4em;
}
.apply_headline{
    font-size: 2em;
    color: #a80532;
}
.inner_apply_form_div{
    background: white;
    padding: 3em; 
    border-radius: 20px;
}
/*
    placeholder css
*/
.form-group {
  position: relative;
}
.form-group .palceholder {
  position: absolute;
  top: 7px;
  left: 8px;
  color: #B1B1B1;
  display: none;
}
.form-group label {
  font-wight: normal;
  color: #B1B1B1;
}
.form-group .star {
  color: red;
}
.apply_submit_btn{
    background: #aa1e37;
    border-radius: 10px;
    color:white !important;
}
.contact_form .form-control{
    color: #b1b1b1;
}
.inner_apply_form_div .form-control{
    color: #b1b1b1;
}
.courses_list li a{
    color:#e1393e;
}
.courses_list li a:hover{
    color:#809c12;
    text-decoration:none;
}
/*
    Media Query
*/
@media screen and  (min-width: 991px) and (max-width: 1162px){
    .outer_cal_div {
        margin: .3em 3em;
    }
}
@media screen and  (min-width: 577px) and (max-width: 967px){
    .consultation_btn{
        margin-top: 0;
        font-size: 1em;
    }
    .heading_2{ 
        padding-top: .7em;
        font-size: 1.5em;
    }
    .heading_1{ 
        padding-bottom: .7em;
        font-size: 1.5em;
    }
    .service_div_img_div{
        display: none;
    }
    .why_choose_us_div .col-lg-6:nth-of-type(2){
        display: none;
    }
    .why_choose_us_div{
        padding: 3% 5%;
    }
    .counter_heading_1 {
        font-size: 1.2em;
    }
    .span_1 {
        font-size: 1em;
    }
    .counter_inner_div {
        margin: .5em;
        font-size: 1em;
    }
    .test_outer_div {
       padding-bottom: 7.5em;
    }
    .menu_links{
        margin-right: 0 !important;
    }
    .menu_links li {
        width: auto;
        font-size: .8em;
    }
    .inner_about_div{
        padding: 0;
    }
    .cal_dates p, .cal_tagline{
        font-size: .6em;
    }
    .outer_cal_div {
        margin: 0;
    }
    .inner_cal_div {
        background: white;
        border-radius: 5px;
        padding-bottom: 1em;
        min-width: auto;
        min-height: auto;
    }
}
@media screen and (max-width: 576px){
    .consultation_btn{
        margin-top: -6%;
        font-size: .8em;
    }
    .heading_2{ 
        padding-top: 0;
        font-size: 1em;
    }
    .heading_1{ 
        padding-bottom: 0;
        font-size: .8em;
    }
    .service_div_img_div{
        display: none;
    }
    .why_choose_us_div{
        padding: 3% 5%;
    }
    .why_choose_us_div .col-lg-6:nth-of-type(2){
        display: none;
    }
    .counter_heading_1 {
        font-size: .7em;
    }
    .span_1 {
        font-size: 1em;
    }
    .counter_inner_div {
        margin: 0;
        font-size: .7em;
    }
    .custom_centered {
        width: 100%;
    }
    .test_outer_div {
       padding-bottom: 7.5em;
    }
    .page_banner_heading {
        font-size: 1em;
        margin: 0;
    }
    .header_top{
        display: none;
    }
    .main_courses .row{
        padding: 0;
    }
    .course_img_div{
        display: none;
    }
    .site_logo{
        max-width: 230px;
    }
    .inner_about_div{
        padding: 0;
    }
    .cal-backg-image{
        display: none;
    }
    .calendar_dates_div{
        position: relative;
        transform: none; 
        top: 0;
        left: 0;
    }
    .outer_cal_div {
        margin: 0 auto;
    }
    .inner_cal_div {
        padding-bottom: 0; 
        min-width: auto; 
        min-height: auto; 
    }
    .calendar_dates_div .row{
        margin: 0;
    }
    /*
        tabs css
    */
    .tabs {
        display: none;
    }
    .tab_drawer_heading {
        background-color: #fff;
        color: #000;
        border-top: 1px solid #333;
        margin: 0;
        padding: 5px 20px;
        display: block;
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .d_active {
        background-color: #A80532;
        color: #fff;
    }

    .centered.internal_course_banner{
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        color: black;
    }
    .internal_course_banner_div .page_banner_name a {
        color: black;
    }
    .banner-div.internal_course_banner_div img{
        display: none;
    }
    .menu_links li {
    margin-right: 0; 
    width: auto; 
    }
    .apply_form_page_div{
        padding: 1em;
    }
    .apply_form_div{
        padding: 1em;    
    }
    .contact_form{
        padding:0;
    }
    .site_tagline_div_p_1{
        font-size: 1.5em;
    }
    .section_title{
        font-size: 1.5em;    
    }
    .why_choose_us_text_p {
        font-size: 1.5em;
    }
    .page_banner_heading{
        font-size: 1em;
    }
    .course_title {
        font-size: 1.5em;
    }
}




div.custom-menu-class ul {
    margin:20px 0px 20px 0px;
    list-style-type: none;
    list-style: none;
    list-style-image: none;
    text-align:right;
}
div.custom-menu-class li {
    padding: 0px 20px 0px 0px;
    display: inline;
} 
div.custom-menu-class a { 
    color:#000000;
}

.sub-menu{display:none;}

.custom-menu-class{width:100%;}

.sub-menu{margin: 5px!important;
    position: absolute;
    left:0;}
    
#menu-item-187{position:relative;}

#menu-item-187:hover .sub-menu{
    display: block;
    z-index: 11;
    background: #fff;
    width: 300px;
    text-align: left;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ccc;
    padding:5px 10px;
}

#menu-item-187:hover .sub-menu li{display:block;}
#menu-item-187:hover .sub-menu li a{display:block;padding:5px;}

div.custom-menu-class a {
    padding: 10px;
}


@media only screen and (max-width:1100px) {
.menu { display:none;}
.menu { background-color:#f6f6f6;}
div.custom-menu-class li {
    padding: 0px 20px 0px 10px;
    display: block;
    text-align: left;
    margin: 10px 0px;
    border-bottom: 1px solid #fff;}
.disblock { display:block !important;}

}


.banner-text{width:100%;}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(36 54 107 / 19%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    background: #aa1e37;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #8a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(170, 30, 55, 0.3);
}

/* Stats Section */
.stats-section {
    background: #24366b;
    padding: 80px 0;
    color: white;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.stats-divider {
    width: 100px;
    height: 4px;
    background: #f4d03f;
    margin: 0 auto 3rem;
    border: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f4d03f;
    margin-bottom: 10px;
}

.stat-symbol {
    font-size: 2rem;
    color: #f4d03f;
}

.stat-item p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Where to Find Us Section */
.where-to-find-section {
    background: #191970;
    padding: 80px 0;
    color: white;
}

.locations-content {
    padding: 40px;
}

.locations-content .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: left;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
    background: #191970;
    padding: 30px 0;
    text-align: center;
}

.cta-button {
    background: #aa1e37;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #8a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(170, 30, 55, 0.4);
    color: white;
}

/* Founder Section */
.founder-section {
    background: #191970;
    padding-top: 50px;
    color: white;
}

.founder-content {
    max-width: 700px;
    padding: 40px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.play-button:hover {
    background: rgba(170, 30, 55, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.founder-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.founder-info p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Resources Section */
.resources-section {
    background: #191970;
    padding: 50px 0;
    color: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 3rem;
}

.resource-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-10px);
}

.resource-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-section {
    background: #191970;
    padding: 0px 0;
    color: white;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.copyright {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .locations-content {
        padding: 20px;
        text-align: center;
    }
    
    /* Counter Section Tablet Fixes */
    .counter_heading_1 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem;
    }
    
    .counter_inner_div {
        margin: 1.5rem 0 !important;
        font-size: 1.4rem !important;
    }
    
    .span_1 {
        font-size: 2.5rem !important;
        font-weight: 700;
    }
    
    .counter_inner_div p {
        font-size: 1rem !important;
        margin-top: 0.5rem;
    }
    
    .counter_divider {
        width: 70% !important;
        height: 3px !important;
    }
    
    .resources-grid {
        display: flex;
        flex-direction: column;
    }
    
    /* Prevent overlap on tablet */
    .counter-div {
        /* margin-top: 1.5rem !important; */
        padding: 20px 0 !important;
    }
    
    /* Fix custom_centered on tablet */
    .custom_centered {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        padding: 1rem !important;
    }
    
    /* Better spacing for counter items on tablet */
    .counter_inner_div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        margin: 2rem 0 !important;
        padding: 1rem !important;
    }
    
    .counter1, .counter2, .counter3, .counter4 {
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 10px !important;
    }
}

/* Medium Mobile - Better tablet experience */
@media (max-width: 600px) {
    .counter_heading_1 {
        font-size: 1.8rem !important;
    }
    
    .span_1 {
        font-size: 2.2rem !important;
    }
    
    .counter_inner_div {
        font-size: 1.3rem !important;
        margin: 1.2rem 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .counter_inner_div p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Counter Section Mobile Fixes */
    .counter_heading_1 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .counter_inner_div {
        margin: 1rem 0 !important;
        font-size: 1.2rem !important;
    }
    
    .span_1 {
        font-size: 2rem !important;
        font-weight: 700;
    }
    
    .counter_inner_div p {
        font-size: 0.9rem !important;
        margin-top: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .span_1 {
        margin-bottom: .2rem !important;
    }
    
    /* Ensure percentage and plus signs stay inline */
    .span_2 {
        display: inline !important;
        margin-left: 0 !important;
    }
    
    .counter1, .counter2, .counter3, .counter4 > span {
        display: inline !important;
    }
    
    /* Force inline display for all spans */
    .counter1 span, .counter2 span, .counter3 span, .counter4 span {
        display: inline !important;
    }
    
    .counter_divider {
        width: 60% !important;
        height: 2px !important;
    }
    
    /* Mobile: Stack all items vertically in single column */
    .counter_inner_div {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        text-align: center !important;
        margin: 1rem 0 !important;
        padding: 1rem 0.5rem !important;
    }
    
    /* Force single column on mobile - override any grid */
    .counter_inner_div .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .counter_inner_div .col-lg-3,
    .counter_inner_div .col-md-3,
    .counter_inner_div .col-sm-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Ensure counter div doesn't cut off content */
    .counter-div {
        /* overflow: visible !important; */
        /* padding: 2rem 0 !important; */
        /* margin-top: 1rem !important; */
        /* margin-bottom: 1rem !important; */
        background: url('./../../uploads/2018/05/counter_backg2.png');
        background-size: cover;
    }
    
    /* Hide background image on mobile - it's not useful */
    .counter-banner {
        display: none !important;
    }
    
    .counter1, .counter2, .counter3, .counter4 {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
        padding: 0.9rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: rgb(25 25 112 / 48%) !important;
        border-radius: 10px !important;
        flex: none !important;
    }
    
    /* Make number and symbol inline, and include text in box */
    .counter1 span, .counter2 span, .counter3 span, .counter4 span {
        display: inline !important;
    }
    
    .counter1 p, .counter2 p, .counter3 p, .counter4 p {
        margin-top: 0.5rem !important;
        margin-bottom: 0 !important;
        color: #ffffff !important;
        font-size: 0.9rem !important;
    }
    
    /* Override Bootstrap grid completely on mobile */
    @media (max-width: 480px) {
        /* Fix the custom_centered positioning issue */
        .custom_centered {
            position: relative !important;
            top: auto !important;
            left: auto !important;
            transform: none !important;
            width: 100% !important;
            padding: 1rem 0.5rem !important;
        }
        
        .counter_inner_div .row > * {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
        }
        
        /* Force single column for all Bootstrap column classes */
        .col-lg-3, .col-md-3, .col-sm-3, .col-3 {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
            margin-bottom: 2rem !important;
        }
        
        .counter_inner_div .row {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
        }
    }
    
    /* Testimonials section title mobile */
    .testimonials-section .section-title {
        font-size: 2rem !important;
    }
    
    /* Where to find us section title mobile */
    .where-to-find-section .section-title {
        font-size: 2rem !important;
        text-align: center;
        margin-bottom: 2rem;
    }

    .location-details p { 
        font-size: 0.9rem !important;
    }

    .location-header h3 {
        font-size: 1.3rem !important;
    }

    .location-pin {
        font-size: 1.3rem !important;
    }
    
    /* Ensure proper spacing between sections on mobile */
    .where-to-find-section {
    }
    
    /* Extra small mobile screens */
    @media (max-width: 360px) {
        .counter1, .counter2, .counter3, .counter4 {
            padding: 1.5rem 0.5rem !important;
            min-height: 120px !important;
        }
        
        .span_1 {
            font-size: 1.8rem !important;
        }
        
        .counter_inner_div p {
            font-size: 0.8rem !important;
        }
    }
}
    
    .stat-number {
        font-size: 2rem;
    }

/* Interactive Map Section Styles */
.where-to-find-section {
    background: #191970;
    padding: 80px 0;
    color: #ffffff;
}

.location-details {
    font-size: 20px;
}
.locations-list {
    margin-top: 2rem;
}

.location-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.location-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.location-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.location-pin {
    font-size: 1.5rem;
}

.location-details p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.location-details a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.location-details a:hover {
    color: #ffd700;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-placeholder {
    display: none;
    position: relative;
}

.map-placeholder.active {
    display: block;
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.map-embed {
    display: none;
}

.map-embed.active {
    display: block;
}

.map-embed iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Map Section */
@media (max-width: 768px) {
    .where-to-find-section {
        padding: 20px 0;
    }
    
    .location-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .location-header h3 {
        font-size: 1.3rem;
    }
    
    .map-image {
        height: 300px;
    }
    
    .map-placeholder iframe {
        height: 300px;
    }
}