/********** Template CSS **********/
:root {
    --primary: #b01244;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}



/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}




/* Base Styles */
:root {
    --primary-color: #b01244;
    --primary-dark: #8a0e34;
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #333333;
}

/* About Us Section */
.about-section {
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Services Section */
.services {
    background-color: white;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-row {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    min-width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Additional Services Section */
.additional-services {
    background-color: var(--light-gray);
}

.additional-services-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.additional-service {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.additional-service.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

.service-desc {
    flex: 1;
    min-width: 300px;
}

.service-desc h3 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

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

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.faq-description {
    flex: 1;
    min-width: 300px;
}

.faq-questions {
    flex: 2;
    min-width: 300px;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-gray);
    background-color: white;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

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

.city-name {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

/* Service Area Section */
.service-area {
    background-color: white;
}

.service-area-content {
    max-width: 800px;
    margin: 0 auto;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.area-item {
    background-color: var(--light-gray);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
}

.area-item.main {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.copyright {
    color: #aaa;
    font-size: 1rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-row {
        flex-direction: column;
    }

    .service-icon {
        width: 100%;
        min-width: 100%;
        height: 100px;
    }

    .header-content h1 {
        font-size: 2.8rem;
    }

    .additional-service,
    .additional-service.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }
}

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

    .header {
        height: 80vh;
    }

    .stat-item {
        min-width: 150px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
    }
}


/* Base Styles */
:root {
    --primary-color: #b01244;
    --primary-dark: #8a0e34;
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--dark-gray);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Header */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.header-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
}

/* Stats Section */
.stats {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Services Section */
.services {
    background-color: white;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-row {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    min-width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.faq-description {
    flex: 1;
    min-width: 300px;
}

.faq-questions {
    flex: 2;
    min-width: 300px;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-gray);
    background-color: white;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

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

.city-name {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

/* Service Area Section */
.service-area {
    background-color: white;
}

.service-area-content {
    max-width: 800px;
    margin: 0 auto;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.area-item {
    background-color: var(--light-gray);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
}

.area-item.main {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.copyright {
    color: #aaa;
    font-size: 1rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-row {
        flex-direction: column;
    }

    .service-icon {
        width: 100%;
        min-width: 100%;
        height: 100px;
    }

    .header-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }
}

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

    .header {
        height: 80vh;
    }

    .stat-item {
        min-width: 150px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
