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

body {
    font-family: 'Roboto', sans-serif;
}


:root {
    --primary-color: #09285e;
    --secondary-color: #d9eaf8;
}

.container-fluid {
    padding-left: 5%;
    padding-right: 5%;
}

.navbar {
    z-index: 9999 !important;
}

.navbar-brand img {
    height: 70px;
    width: 70px;
    object-fit: cover;
}

.nav-item .a {
    font-weight: 500;
    color: var(--primary-color) !important;
    font-size: 16px;
    padding: 0.5rem 1rem;
}


.nav-link a:hover {
    color: #000;
}

.active-nav:active {
    color: #09285E;
    font-size: 18px;
}

.navbar-nav .nav-item .nav-link {

    font-weight: 400;
    font-size: 16px;
    color: var(--primary-color);

}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: bold;
    margin-left: 10px;
    border-color: var(--primary-color);
}


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

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 40px;
    padding: 10px 20px;
    font-weight: bold;
    margin-left: 10px;
}

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

@media (max-width: 992px) {
    .center-nav {
        justify-content: start !important;
    }

    .right-buttons {
        justify-content: start !important;
        margin-top: 10px;
    }

    .navbar-nav {
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .right-buttons {
        justify-content: start !important;
        margin-top: 10px;
    }

    .navbar-toggler {
        margin-top: 10px;
        margin-left: 10px;
    }


}

.background-image-hero-section {
    background-image: url('../image/background-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
}

.background-image-hero-section-departments {
    background-image: url('../image/department.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 5vh;
}

.hero-section {
    width: 100%;
}

.hero-content {
    color: var(--primary-color);
    text-align: left;
    padding: 40px 15px;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
}




.text-primary {
    color: var(--primary-color) !important;
}


.feature-box {
    background-color: var(--secondary-color);
    border-radius: 7px;
    padding: 20px 10px;
    transition: all 0.3s ease;
    height: 100%;

}

.feature-box i {
    color: #09285e;
}

.feature-box p {
    margin: 0;
    font-weight: 400;
    color: var(--primary-color);
    font-size: 16px;
    text-align: center;
}

.feature-box:hover {
    background-color: #c6def2;
    transform: translateY(-5px);
}

.border-css {
    border: 2px solid var(--secondary-color)
}

.department-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure bottom section stays at bottom */
    height: 100%; /* Ensure the card takes full available height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px; /* optional spacing from bottom */
}

/* Make the top text container flexible */
.department-card > .top-content {
    flex-grow: 1;
    padding: 10px; /* Optional for spacing */
}




.department-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.department-icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6c757d;
}

.department-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.department-description {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.department-sub-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}



.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0%;

}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: transform 0.3s ease;
    height: 100%;
    color: #09285E;
    text-align: left;
    /* Already set to left alignment */
}

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


.testimonials-image {
    width: 80px;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.comment-icon {
    margin-top: -20px;
    color: #cbd5e0;
    width: 85px;
    height: 65px;
}

.testimonial-text {
    color: #09285E;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.owl-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    background-color: #09285E !important;
    margin: 0 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background-color: #09285e !important;
    width: 25px;
    border-radius: 10px;
}

.owl-nav {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.owl-prev,
.owl-next {
    background-color: var(--primary-color) !important;
    color: #09285E !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: var(--secondary-color) !important;
}

.contact-section {
    padding-left: 5%;
    padding-right: 5%;
}

.contact-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

#contactForm .form-control {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    margin-bottom: 20px;
}

#contactForm .form-control:focus {
    box-shadow: none;
    border-color: #0a2c54;
}

#contactForm .form-control::placeholder {
    color: #aaa;
    font-size: 14px;
}

.character-count {
    text-align: right;
    color: #aaa;
    font-size: 12px;
}

.btn-send {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 8px 30px;
    border: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-send:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.world-map img {
    width: 100%;
    border-radius: 10px;
}

.footer {
    background-color: #0a2c54;
    color: white;
    padding: 50px 0 0 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ccc;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    font-size: 18px;
}

.social-icon {
    background-color: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #f0f0f0;
}

.copyright {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    font-size: 14px;
}


/* Departemnts */

.department-sub-text {

    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #09285E;


}

/* Deaprtments section */
.features-section h5 {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;



}

.features-section ul li {

    font-weight: 500;
    margin-bottom: 10px;

    line-height: 100%;
    letter-spacing: 1%;


}

.expertimg {
  width: 198.56px;
  height: 250.47px;
  position: relative;
  overflow: hidden;
}

.expertimg .background-img,
.expertimg .expert {
  position: absolute;
  top: 0;
  left: 0;
  width: 198.56px;
  height: 250.47px;
  object-fit: contain;
}

.expertimg .background-img {
  z-index: 1;
}

.expertimg .expert {
  z-index: 2;
}


.background-img {
    margin-top: 25px;
}

.scrollable-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Firefox */
}

.scrollable-container::-webkit-scrollbar,
.scroll-div::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.main-div {
    margin: 100px;
    min-height: 1393px;
    height: 100%;
    border-radius: 30px;
    border-width: 1.4px;
    border: 1.4px solid #D9D9D9;
    padding: 25px;
}

@media (max-width: 992px) {
    .reg-box {
        margin: 40px 100px !important;
    }

    .main-div {
        margin: 70px;
    }

    .left-div {
        width: 100% !important;
    }

    .expertise-up {
        flex-direction: column;
    }

    .mr,
    .mr-l,
    .mr-r {
        margin-left: 70px !important;
        margin-right: 70px !important;
    }

    .bottom-sec,
    .ctevt-sec,
    .top-sec,
    .top-text {
        flex-direction: column;
    }

    .top-text {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .aboutus3 {
        display: none;
    }

    .mid-sec {
        flex-direction: column;
    }
}

/* For tablets and smaller devices (<= 768px) */
@media (max-width: 768px) {
    .main-div {
        margin: 40px;
        padding: 10px;
    }

    .reg-box {
        margin: 20px 50px !important;
    }

    .centered-img {
        display: none;
        /* Hide on smaller screens for better UX */
    }

    .main-div {
        margin: 50px;
    }

    .mr,
    .mr-l,
    .mr-r {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
}

/* For very small devices (<= 480px) */
@media (max-width: 480px) {
    .main-div {
        margin: 20px;
        padding: 6px;
    }

    .reg-box {
        margin: 10px 25px !important;
    }

    .mr,
    .mr-l,
    .mr-r {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .arrow {
        display: none;
    }
}

.appointment-container {
    margin: 5.2vh 11.2vw;
    border-radius: 30px;
    border-width: 5px;
    background: #FFFFFF;
    border: 5px solid #09285E;
    padding: 40px;
}

.form-button .btn.btn-primary {
    border: 1px solid var(--primary-color);
    ;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.form-button .btn.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.outside-container {
    margin: 12.5vh 5.2vw;
    background: #FFFFFF;
    border: 5px solid #D9EAF8;
    min-height: 828px;
    height: 100%;
    border-radius: 30px;
}

.logo {
    width: 56px;
    height: 56px;
}

.rightside {
    background: #D9EAF8;
    border: 5px solid #D9EAF8;
    border-radius: 24px;
}

.centered-img {
    position: absolute;
    max-width: 307px;
    max-height: 335px;
    width: 100%;
    height: auto;
    top: 50%;
    left: 33%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* High enough to overlay everything */
    opacity: 0.9;
}

.reg-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 2%;
}

.reg-box {
    margin: 70px 180px;
    text-align: center;
}

.dialogue-btn .btn.btn-primary {
    border: 1px solid var(--primary-color);
    ;
    background: var(--secondary-color);
    color: var(--primary-color);
}

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

/* Style for intl-tel-input */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding-left: 10px;
}

.iti__selected-flag {
    background-color: #f8f9fa;
    border-right: 1px solid #ced4da;
}

.iti--allow-dropdown input {
    padding-left: 52px !important;
    padding-right: 10px;
}

input#phone::placeholder {
    padding-left: 5px;
    opacity: 0.7;
}

input#phone:invalid,
input#phone.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control {
    height: calc(1.5em + 0.75rem + 2px);
}

.iti--allow-dropdown input {
    padding-left: 52px !important;
    padding-right: 10px;
}

input#phone::placeholder {
    padding-left: 5px;
    opacity: 0.7;
}

.iti__selected-dial-code {
    padding-right: 5px;
}

input#phone {
    text-indent: 40px;
}

.modal-dialog {
    background: #D9D9D91A;
    border: 0.3px solid #0000004D;
    box-shadow: 2px 2px 4px 0px #00000040;
    box-shadow: -2px -2px 4px 0px #00000040;
    border-radius: 10px;
}

.scroll-div {
    overflow: scroll;
}

.mr {
    margin-left: 100px;
    margin-right: 100px;
}

.mr-l {
    margin-left: 100px;
}

.mr-r {
    margin-right: 100px;
}

#scrollContainer {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

#scrollContainer::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}
