
img.rounded-corners {
    border-radius: 10px;
}

body {
    background: #fff;
    color: #444;
    font-family: "Open Sans", sans-serif;
}

a {
    color: #FFFFFF;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #0b6bd3;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

/* Back to top button */

.back-to-top {
    position: fixed;
    display: none;
    background: #ec5c2c;
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.social-media-btn-main {
    color: #ec5c2c;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 30px;
    border-radius: 20%;
    z-index: 11;
    padding: 5px;
    margin-right: 25px;
}

.social-media-btn {
    color: #fff;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 30px;
    border-radius: 20%;
    z-index: 11;
    padding: 5px;
    margin-right: 10px;

}

.social-media-btn:hover {
    color: #ec5c2c;
}

.social-media-container {
    /*margin: 10px;*/
}
.back-to-top i{
    padding-top: 12px;
    color: #fff;
}

/* Prelaoder */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #141c44;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#header {
    height: 80px;
    transition: all 0.5s;
    z-index: 997;
    transition: all 0.5s;
    padding: 20px 0;
    background: #000000;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled,
#header.header-pages {
    height: 60px;
    padding: 10px 0;
}

#header .logo h1 {
    font-size: 36px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: #00366f;
    text-decoration: none;
}

#header .logo img, .footer-container .logo img {
    padding: 0;
    margin: 7px 0;
    max-height: 26px;
}

.footer-logo img {
    padding: 0;
    max-height: 30px;
    height: 50px;
    width: 150px;
}

.main-pages {
    margin-top: 60px;
}

#intro {
    width: 100%;
    position: relative;
    background: url("../assets/img/uni/h1_hero.png") center bottom no-repeat;
    background-size: cover;
    padding: 200px 0 120px 0;
}

#tariffs-intro {
    width: 100%;
    padding: 40px 0 25px 0;
}

#intro .intro-img {
    width: 50%;
    float: right;
}

@media (max-width: 768px) {
    #intro .intro-img {
        display: none; /* Hides div on mobile */
    }
}

#intro .auto-intro-info, #intro .intro-info {
    float: right;
    width: 60%;
    margin: auto;
    text-align: center;
    padding: 60px;
}

#intro .intro-info {
    padding: 10px;
}

@media (max-width: 768px) {
    #intro .auto-intro-info {
        width: 90%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    #intro .intro-info {
        width: 100%;
        padding: 10px;
    }
}

.auto-intro {
    width:100%;
    float: right;
    padding: 20px;
}

#auto-intro, .intro-header {
    /*width: 100%;*/
    float: none;
    margin: auto;
    text-align: center;
    padding: 30px;
}

#intro .intro-info h2, .auto-intro h2, .auto-intro-info h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 700;
}

#intro .intro-info h2 span, .auto-intro h2 span, .auto-intro-info h2 span {
    color: #74b5fc;
    text-decoration: underline;
}

 .btn-get-started {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 20px 20px 0;
    color: #fff;
}

@media (max-width: 768px) {
    .btn-get-started {
        font-family: "Montserrat", sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 1px;
        display: inline-block;
        padding: 5px 15px;
        border-radius: 50px;
        transition: 0.5s;
        margin: 0 20px 20px 0;
        color: #fff;
    }
}

 .btn-auto-read-more {
     font-family: "Montserrat", sans-serif;
     font-size: 12px;
     font-weight: 500;
     letter-spacing: 1px;
     display: inline-block;
     padding: 5px 15px;
     border-radius: 40px;
     transition: 0.5s;
     margin: 0 20px 20px 0;
     color: #fff;
 }

.auto-header, .auto-intro-container {
    background-color: rgba(255, 255, 255, 0.5); /* white with 50% transparency */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}


.auto-pricing-section {
    padding: 4rem 1rem;
}


.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 0 0 40px 0;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: #141c44;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.price {
    font-size: 2rem;
    color: #ec5c2c;
    font-weight: bold;
}

.btn-proefles {
    background-color: #ec5c2c;
    color: white;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;

    transition: background-color 0.3s ease;
}

.btn-proefles:hover {
    background-color: transparent;
    border: 2px solid #ec5c2c;
    color: #141c44;
}

 .more-text {
     display: none;
     margin-top: 1rem;
 }


#auto-details {
     padding: 3rem 1rem;
}

.auto-pricing-section {
    padding: 60px 0 60px 0;
}

#auto-details .section-header h4 {
     font-weight: 600;
     margin-bottom: 1rem;
}



.benefits-section {
    padding: 3rem 1rem 0 1rem;
}

.benefit-icon {
    font-size: 1.8rem;
    color: #28a745;
    margin-right: 0.75rem;
}

.benefit-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.benefit-box {
    display: flex;
    align-items: start;
    justify-content: start;
    margin-bottom: 1.5rem;
}

.theorie-cursus-btn .btn-go {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 20px 20px 0;
}


#intro .intro-info .btn-services,
.btn-services-details,
.contact-us-btn {

}

 .btn-get-started, .contact-us-btn, .theorie-cursus-btn .btn-go, .reviews-btn-wrapper .btn-google-reviews, .btn-auto-read-more {
    background: #ec5c2c;
    border: 2px solid #ec5c2c;
    color: #fff;
}

.reviews-btn-wrapper .btn-google-reviews, .reviews-btn-wrapper .btn-facebook-reviews {
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .reviews-btn-container {
        display: flex;
        flex-direction: column; /* Stack items on small screens */
        gap: 20px; /* Adds space between items */
        align-items: center;
        padding: 20px;
    }
}

 .btn-get-started:hover, .contact-us-btn:hover, .theorie-cursus-btn .btn-go:hover, .btn-auto-read-more:hover {
    background: none;
    border-color: #ec5c2c;
    color: #141c44;
}

 .btn-auto-plan-demo-lesson:hover {
     color: #ffffff;
 }

.reviews-btn-wrapper .btn-facebook-reviews {
    background: black;
    color: #fff;
    border: 2px solid #000000;
}

.reviews-btn-wrapper {
    margin: 10px;
}

.reviews-btn-wrapper .btn-facebook-reviews:hover {
    background: none;
    border-color: black;
    color: #000000;
}
.reviews-btn-wrapper .btn-google-reviews:hover {
    background: none;
    border-color: #ec5c2c;
    color: #141c44;
}

.theorie-cursus-btn .btn-go:hover {
    color: #141c44;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes rotateFadeIn {
    0% { opacity: 0; transform: rotate(-15deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

.highlights {
    background: transparent;
    border: 1px solid #141c44;
    color: #141c44;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 20px 10px;
    border-radius: 10px;
    transition: 0.5s;
    margin: 0 20px 20px 0;
    display: flex !important;

    /* Apply animation */
    opacity: 0; /* Start hidden */
    animation: bounceIn 0.7s ease-in-out forwards;
}

.price-plan-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.price-plan-box-content {
    padding: 60px 25px 40px 25px;
}

.color-price {
    color: #ec5c2c;
}

.btn-choose-plan:hover {
    background: none;
    border-color: #141c44;
    color: #ec5c2c;
}

.btn-choose-plan {
    color: white;
    background: #141c44;
    border: 2px solid #141c44;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 20px 20px 0;
}

.price-plan-card {
    background: transparent;
    color: #141c44;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 5px;
    transition: 0.5s;
    /*margin: 0 20px 20px 0;*/
    display: flex !important;

    /* Apply animation */
    opacity: 0; /* Start hidden */
    animation: bounceIn 0.7s ease-in-out forwards;
}

.highlights:hover {
    background: none;
    border: 1px solid #fff;
    color: #fff;
}

.done-icon-container {
}

.contact-header {
    margin-bottom: 10px;
}

.img-service {
    max-width: 100%;
    height: 400px;
    border-radius: 150px;

}

#intro .intro-info .btn-services {
    border: 2px solid #fff;
}

#intro .intro-info .btn-services:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* Mini-packages adjustments: center content and reduce spacing */
#automatic-tariffs-mini-packages .price-plan-box-content {
    padding: 24px 16px 20px 16px; /* reduce excessive inner spacing */
}
#automatic-tariffs-mini-packages .price-plan-container {
    padding-top: 6px;
    padding-bottom: 6px;
    justify-content: center !important; /* ensure horizontal centering */
}
#automatic-tariffs-mini-packages .price-plan-card {
    padding: 4px; /* a bit tighter inside the small boxes */
    justify-content: center; /* center icon + text horizontally */
    gap: 6px; /* small spacing between icon and text */
}

/* Package Selection Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: #ec5c2c;
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: bold;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.form-label {
    font-weight: 600;
    color: #333;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #ec5c2c;
    box-shadow: 0 0 0 0.2rem rgba(236, 92, 44, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

#selectedPackageInfo {
    background-color: #f8f9fa;
    border-left: 4px solid #ec5c2c;
    border-radius: 0 8px 8px 0;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    color: white;
    background: #141c44;
    border: 2px solid #141c44;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 10px 0 0;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-secondary:hover {
    background: none;
    border-color: #141c44;
    color: #ec5c2c;
}

/* Send button specific styling */
#submitPackageRequest {
    background: #d54d26 !important;
    border-color: #d54d26 !important;
    color: white !important;
}

#submitPackageRequest:hover {
    background: white !important;
    border-color: #d54d26 !important;
    color: #d54d26 !important;
}

.btn-services-details:hover {
    color: white;
    border: 2px solid #141c44;

}

.case-img-fluid {
    border-radius: 10px;
}

.continuous-delivery {
    margin-left: 10px;
}

.service-header h4 span {
    color: #007bff;
}

.btn-services-details {
    background: #141c44;
    border-color: #141c44;
    color: #fff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

.main-nav {
    /* Drop Down */
    /* Deep Drop Down */
}

.main-nav,
.main-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
    white-space: nowrap;
    float: left;
}

.main-nav a, .dropbtn {
    display: block;
    position: relative;
    color: #FFFFFF;
    padding: 10px 15px;
    transition: 0.3s;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
    color: #d54040;
    text-decoration: none;
}

.main-nav .drop-down ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 30px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.main-nav .drop-down li {
    min-width: 180px;
    position: relative;
}

.main-nav .drop-down ul a {
    padding: 10px 20px;
    font-size: 13px;
    color: #004289;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
    color: #FFFFFF;
}

.main-nav .drop-down > a:after {
    content: "\f107";
    font-family: FontAwesome;
    padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
    top: 0;
    left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
}

.highlights-container, .plan-demo-lesson-btn {
    margin-left: 5%;
    margin-right: 5%;
}

.main-nav .drop-down .drop-down > a {
    padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
    content: "\f105";
    position: absolute;
    right: 15px;
}

/* Mobile Navigation */

.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    left: -260px;
    width: 260px;
    padding-top: 18px;
    background: rgba(19, 39, 57, 0.8);
    transition: 0.4s;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a,
.mobile-nav button {
    display: block;
    position: relative;
    color: #fff;
    padding: 10px 20px;
    font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
    color: #74b5fc;
    text-decoration: none;
}

.mobile-nav .dropdown > a:after {
    content: "\f078";
    font-family: FontAwesome;
    padding-left: 10px;
    position: absolute;
    right: 15px;
}

.mobile-nav .active.drop-down > a:after {
    content: "\f077";
}

.mobile-nav .drop-down > a {
    padding-right: 35px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.mobile-nav-toggle i {
    margin: 18px 18px 0 0;
    color: #d54040;
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 9997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(19, 39, 57, 0.8);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #fff;
}

.section-header h3 {
    font-size: 36px;
    color: #141c44;
    text-align: center;
    font-weight: 500;
    position: relative;

}

.section-header h4, .service-header h4, .box h4 {
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    color: #141c44;
    position: relative;
}

@media (max-width: 768px) {
    .section-header h4, .service-header h4, .box h4 {
        font-weight: 600;
        font-size: 30px;
        text-align: start;
        color: #141c44;
        position: relative;
    }
}

.section-header h5, .service-header h4, .box h4 {
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    color: #141c44;
    position: relative;
}

@media (max-width: 768px) {
    .section-header h5, .service-header h4, .box h4 {
        font-weight: 600;
        font-size: 30px;
        text-align: start;
        color: #141c44;
        position: relative;
    }
}


.box h4 a {
    color: #141c44;
    font-weight: 700;
    font-size: 20px;
}

.case-study-content h4 {
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    color: #141c44;
    position: relative;
}


.case-content h4 {
    font-weight: 600;
    font-size: 26px;
    text-align: center;
    color: #141c44;
    position: relative;
}

.section-header h4 span {
    color: #ec5c2c;
}

.heading {
    margin-bottom: 90px;
}


.section-header p {
    text-align: center;
    margin: auto;
    font-size: 15px;
    padding-bottom: 60px;
    color: #556877;
    width: 50%;
}

/* Section with background
--------------------------------*/

.section-bg, .contact1, .contact1 {
    background: #eff1f2;
}
.call-me-back-contact1 {
    background: none;
}

.demo-lesson-container-wrapper {
    padding: 40px;
}

select {

    /* styling */
    background-color: white;
    border: 2px solid gray;
    height: 50px;
    border-radius: 25px;
    padding: 0 40px 0 30px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    /*padding: 0.5em 3.5em 0.5em 1em;*/

    /* reset */

    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;

}


/* arrows */

.select-course-type-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Adds space between label and select */
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .select-course-type-container {
            /*margin-left: 12%;*/
    }
}

label {
    font-size: 16px;
    font-weight: bold;
}

select.round {
    background-image:
            linear-gradient(45deg, transparent 50%, gray 50%),
            linear-gradient(135deg, gray 50%, transparent 50%),
            radial-gradient(#ddd 70%, transparent 72%);
    background-position:
            calc(100% - 20px) calc(1em + 2px),
            calc(100% - 15px) calc(1em + 2px),
            calc(100% - .5em) .5em;
    background-size:
            5px 5px,
            5px 5px,
            1.5em 1.5em;
    background-repeat: no-repeat;
}

select.round:focus {
    background-image:
            linear-gradient(45deg, white 50%, transparent 50%),
            linear-gradient(135deg, transparent 50%, white 50%),
            radial-gradient(gray 70%, transparent 72%);
    background-position:
            calc(100% - 15px) 1em,
            calc(100% - 20px) 1em,
            calc(100% - .5em) .5em;
    background-size:
            5px 5px,
            5px 5px,
            1.5em 1.5em;
    background-repeat: no-repeat;
    border-color: #ec5c2c;
    outline: 0;
}


select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

/* About Us Section
--------------------------------*/

.reviews-container {
    padding-top: 30px;
    margin-bottom: 30px;
}

#about {
    background: #fff;
    padding: 60px 0;
}

#about .about-container .background {
    margin: 20px 0;
}

#about .about-container .content {
    background: #fff;
}

#about .about-container .title {
    color: #333;
    font-weight: 700;
    font-size: 32px;
}

#about .about-container p {
    line-height: 26px;
}

#about .about-container p:last-child {
    margin-bottom: 0;
}

#about .about-container .icon-box {
    background: #fff;
    background-size: cover;
    padding: 0 0 30px 0;
}

#about .about-container .icon-box .icon {
    float: left;
    background: #fff;
    width: 64px;
    height: 64px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #007bff;
    transition: all 0.3s ease-in-out;
}

#about .about-container .icon-box .icon i {
    color: #007bff;
    font-size: 24px;
}

#about .about-container .icon-box:hover .icon {
    background: #007bff;
}

#about .about-container .icon-box:hover .icon i {
    color: #fff;
}

#about .about-container .icon-box .title {
    margin-left: 80px;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 18px;
}

#about .about-container .icon-box .title a {
    color: #141c44;
}

#about .about-container .icon-box .description {
    margin-left: 80px;
    line-height: 24px;
    font-size: 14px;
}

#about .about-extra {
    padding-top: 60px;
}

#about .about-extra h4 {
    font-weight: 600;
    font-size: 24px;
}

/* Services Section
--------------------------------*/

#services {
    padding: 60px 0 40px 0;
    box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

.service {
    margin-top: 20px;
}

.text-color {
    color: orangered;
}

h2 {
    font-weight: 900;
    font-size: 20px;
}


.box{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 10px;
    background: #FFFFFf;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    transition: all 0.3s ease-in-out;
}

.review-card {
    position: relative;
    overflow: hidden;
    color: white;
    border-radius: .7rem;
    background-color: #141c44;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    margin-bottom: 20px;
    height: 350px; /* Fixed height for all review cards */
    display: flex;
    flex-direction: column;
}

.review-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-text-container {
    flex: 1; /* Take remaining space */
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 170px; /* Limit text area height */
    margin-top: 0px;
    padding-right: 10px;
}

.review-text-container::-webkit-scrollbar {
    width: 6px;
}

.review-text-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.review-text-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.review-text-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Styling for two-div review layout */
.review-row {
    align-items: flex-start;
}

.review-image {
    flex-shrink: 0; /* Prevent image from shrinking */
}

.review-content h5.font-weight-bold {
    margin-bottom: 2px; /* Small space after author name */
    font-size: 1.1rem;
}

.review-content h6.font-weight-bold {
    margin-bottom: 0; /* No space after time description */
    font-size: 0.9rem;
    opacity: 0.8;
}

.review-content .list-unstyled {
    margin-bottom: 0; /* No margin after stars in content div */
    justify-content: center; /* Position stars in the center below name and time */
}

.box-content {
    padding: 20px;
}


.box:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.icon {
    position: absolute;
    left: -10px;
    top: calc(50% - 32px);
}

.icon i {
    font-size: 64px;
    line-height: 1;
    transition: 0.5s;
}

.box .title {
    margin-left: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

.box .title a {
    color: #111;
}

.box:hover .title a {
    color: #007bff;
}

.box-content h4 {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

.services-container {
    margin-bottom: 30px;
}

.theorie-title {
    margin-top: 30px;
}

.text-info{color:#ec5c2c!important}

/* Loading overlay for contact form */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 28, 68, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ec5c2c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content p {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#why-us {
    padding: 60px 0;
    background: #004a99;
}

#why-us .section-header h3,
#why-us .section-header p {
    color: #fff;
}

#why-us .card {
    background: #00458f;
    border-color: #00458f;
    border-radius: 10px;
    margin: 0 15px;
    padding: 15px 0;
    text-align: center;
    color: #fff;
    transition: 0.3s ease-in-out;
    height: 100%;
}

#why-us .card:hover {
    background: #003b7a;
    border-color: #003b7a;
}

#why-us .card i {
    font-size: 48px;
    padding-top: 15px;
    color: #bfddfe;
}

#why-us .card h5 {
    font-size: 22px;
    font-weight: 600;
}

#why-us .card p {
    font-size: 15px;
    color: #d8eafe;
}

#why-us .card .readmore {
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease-in-out;
    border-bottom: #00458f solid 2px;
}

#why-us .card .readmore:hover {
    border-bottom: #fff solid 2px;
}

#why-us .counters {
    padding-top: 40px;
}

#why-us .counters span {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 48px;
    display: block;
    color: #fff;
}

#why-us .counters p {
    padding: 0;
    margin: 0 0 20px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #cce5ff;
}

/* Portfolio Section
--------------------------------*/

#portfolio {
    padding: 60px 0;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

#portfolio #portfolio-flters {
    padding: 0;
    margin: 5px 0 35px 0;
    list-style: none;
    text-align: center;
}

#portfolio #portfolio-flters li {
    cursor: pointer;
    margin: 15px 15px 15px 0;
    display: inline-block;
    padding: 6px 20px;
    font-size: 12px;
    line-height: 20px;
    color: #007bff;
    border-radius: 50px;
    text-transform: uppercase;
    background: #ecf5ff;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
    background: #007bff;
    color: #fff;
}

#portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

#portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

#portfolio .portfolio-item .portfolio-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    margin: 0;
}

#portfolio .portfolio-item .portfolio-wrap:hover img {
    opacity: 0.4;
    transition: 0.3s;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: 0.2s linear;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 {
    font-size: 22px;
    line-height: 1px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 0;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a {
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover {
    color: #007bff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
    padding: 0;
    margin: 0;
    color: #e2effe;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
    display: inline-block;
    line-height: 1;
    text-align: center;
    width: 36px;
    height: 36px;
    background: #007bff;
    border-radius: 50%;
    margin: 10px 4px 0 4px;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
    padding-top: 6px;
    font-size: 22px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
    background: #3395ff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i {
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap:hover {
    background: #003166;
}

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

/* Testimonials Section
--------------------------------*/

#testimonials {
    padding: 60px 0;
    box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

#testimonials .section-header {
    margin-bottom: 40px;
}

#testimonials .testimonial-item .testimonial-img {
    width: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    float: left;
}

#testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
    margin-left: 140px;
}

.bigo-main-color {
    color: #141c44;
}

#testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0 0 15px 0;
    margin-left: 140px;
}

#testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 0 15px 140px;
}

#testimonials .owl-nav,
#testimonials .owl-dots {
    margin-top: 5px;
    text-align: center;
}

#testimonials .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#testimonials .owl-dot.active {
    background-color: #007bff;
}

/* Team Section
--------------------------------*/

#team {
    background: #fff;
    padding: 60px 0;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

#team .member {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

#team .member .member-info {
    opacity: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transition: 0.2s;
}

#team .member .member-info-content {
    margin-top: 50px;
    transition: margin 0.2s;
}

#team .member:hover .member-info {
    background: rgba(0, 62, 128, 0.7);
    opacity: 1;
    transition: 0.4s;
}

#team .member:hover .member-info-content {
    margin-top: 0;
    transition: margin 0.4s;
}

#team .member h4 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 18px;
    color: #fff;
}

#team .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
    color: #fff;
}

#team .member .social {
    margin-top: 15px;
}

#team .member .social a {
    transition: none;
    color: #fff;
}

#team .member .social a:hover {
    color: #007bff;
}

#team .member .social i {
    font-size: 18px;
    margin: 0 2px;
}

/* Clients Section
--------------------------------*/

#clients {
    padding: 60px 0;
    box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

#clients .clients-wrap {
    border-top: 1px solid #d6eaff;
    border-left: 1px solid #d6eaff;
    margin-bottom: 30px;
}

#clients .client-logo {
    padding: 64px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: 1px solid #d6eaff;
    border-bottom: 1px solid #d6eaff;
    overflow: hidden;
    background: #fff;
    height: 160px;
}

#clients .client-logo:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

#clients img {
    transition: all 0.4s ease-in-out;
}

/* Contact Section
--------------------------------*/
.contact-row {
    display: flex;
    flex-wrap: wrap;
}

#contact {
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
    padding: 60px 0;
    overflow: hidden;
}

#contact .section-header {
    padding-bottom: 30px;
}

#contact .contact-about h3 {
    font-size: 36px;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #007bff;
}

#contact .contact-about p {
    font-size: 14px;
    line-height: 24px;
    font-family: "Montserrat", sans-serif;
    color: #888;
}

#contact .social-links {
    padding-bottom: 20px;
}

#contact .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #fff;
    color: #007bff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    border: 1px solid #007bff;
}

#contact .social-links a:hover {
    background: #007bff;
    color: #fff;
}

#contact .info {
    color: #141c44;
}

#contact .info i {
    font-size: 32px;
    color: #007bff;
    float: left;
    line-height: 1;
}

#contact .info p {
    padding: 0 0 10px 36px;
    line-height: 28px;
    font-size: 14px;
}

#contact .form #sendmessage {
    color: #007bff;
    border: 1px solid #007bff;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
    display: block;
}

#contact .form .validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#contact .form input,
#contact .form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

#contact .form button[type="submit"] {
    background: #007bff;
    border: 0;
    border-radius: 20px;
    padding: 8px 30px;
    color: #fff;
    transition: 0.3s;
}

#contact .form button[type="submit"]:hover {
    background: #0067d5;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
    background: #000000;
    color: #eee;
    font-size: 14px;
    padding-bottom: 50px; /* Adds space before footer */
}

#footer .footer-top {
    background: #004a99;
    padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
    font-size: 34px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#footer .footer-top .footer-info p {
    font-size: 13px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Montserrat", sans-serif;
    color: #ecf5ff;
}

#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #007bff;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: #0067d5;
    color: #fff;
}

#footer .footer-top h4 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

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

#footer .footer-top .footer-links ul li {
    padding: 8px 0;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #ecf5ff;
}

#footer .footer-top .footer-links ul a:hover {
    color: #74b5fc;
}

#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
    line-height: 26px;
}

#footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 65%;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
    background: #007bff;
    border: 0;
    width: 35%;
    padding: 6px 0;
    text-align: center;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #0062cc;
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    text-align: center;
    font-size: 13px;
    color: #f1f7ff;
}

.footer-container {
    padding-top: 30px;
}

#footer .credits a {
    color: #bfddfe;
}

#footer .credits a:hover {
    color: #f1f7ff;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 992px) {
    #testimonials .testimonial-item p {
        width: 80%;
    }
}

@media (max-width: 991px) {
    #header {
        height: 60px;
        padding: 10px 0;
    }

    #header .logo h1 {
        font-size: 28px;
        padding: 8px 0;
    }

    #intro {
        padding: 140px 0 60px 0;
    }

    #intro .intro-img {
        width: 80%;
        float: none;
        margin: 0 auto 25px auto;
    }

    #intro .intro-info, .intro-header {
        width: 80%;
        float: none;
        margin: auto;
        text-align: center;
    }

    .plan-demo-lesson-btn {
    }

    .intro-header {
        font-size: 50px;
        font-weight: bolder;
        text-align: center;
    }

    #why-us .card {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .back-to-top, .social-media-btn {
        bottom: 15px;
    }
}

@media (max-width: 767px) {
    #intro .intro-info {
        width: 100%;
    }

    #intro .intro-info h2 {
        font-size: 25px;
        margin-bottom: 30px;
    }

    .section-header p {
        width: 100%;
    }

    #testimonials .testimonial-item {
        text-align: center;
    }

    #testimonials .testimonial-item .testimonial-img {
        float: none;
        margin: auto;
    }

    #testimonials .testimonial-item h3,
    #testimonials .testimonial-item h4,
    #testimonials .testimonial-item p {
        margin-left: 0;
    }
}

@media (max-width: 574px) {
    #intro {
        padding: 100px 0 20px 0;
    }
}

.dropbtn {
    color: #004289;
    border: none;
    cursor: pointer;
    background: transparent;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #141c44;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    /*background-color: #3e8e41;*/
}

.page-title {
    padding: 170px 0px 20px 0px;
    position: relative;
}

.page-title .block h1 {
    color: #fff;
}

.page-title .block p {
    color: #fff;
}

.page-title .breadcumb-nav {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.text-capitalize {
    text-transform: capitalize !important
}

li {
    margin: 10px 0;
}

/* Professional Loading Indicator Styles */
.professional-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid #141c44;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 60px;
    height: 60px;
    animation-duration: 2s;
}

.spinner-ring:nth-child(2) {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
    border-top-color: #ec5c2c;
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
    border-top-color: #007bff;
    animation-duration: 1s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}