body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .nav-link,
.navbar-brand {
    color: white !important;
    font-weight: 600;
}

.btn-primary {
    background-color: #3b82f6;
    border: none;
}

.carousel-itema {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-image-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 1rem;
    width: 90%;
    max-width: 700px;
}


/* Responsive typography */

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption h6 {
        font-size: 0.9rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

.about-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.image-wrapper {
    max-width: 400px;
    transition: transform 0.4s ease;
}

.image-wrapper:hover {
    transform: scale(1.03);
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2rem;
    line-height: 1.4;
}

.about-content p {
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4fbcff, #007bff);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scale(1.05);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.team-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.team-heading {
    color: #0f172a;
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 15px;
    background: #f1f6fd;
}

.accordion-faq {
    max-width: 800px;
    margin: auto;
}

.faq-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #eef4ff;
}

.faq-answer {
    display: none;
    padding: 0 24px 18px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-section img {
    max-width: 100%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
    }
}

.testimonial-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.testimonial-card {
    max-width: 700px;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
}

.carousel-indicators {
    margin-top: -10px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    background-color: #3b82f6;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-item {
    height: 39vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.appointment-section {
    background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    border-radius: 10px;
    padding: 10px 15px;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

#successMsg {
    font-size: 0.95rem;
}

.img-fluid {
    height: 300px;
    width: 400px;
}

.footer-section {
    background-color: #0f172a;
    position: relative;
}

.footer-logo {
    font-size: 1.5rem;
}

.footer-section a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0dcaf0;
    color: #fff;
    border-radius: 50%;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.back-to-top:hover {
    background: #0bbbd1;
}