
body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title h2 {
    font-family: 'Playfair Display', serif;
}

.main-container {
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 5px auto;
    max-width: 1200px;
    transition: all 0.3s ease;
}

.main-container:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.logo-container {
    position: relative;
    /* margin-bottom: 30px; */
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    /* background: linear-gradient(45deg, var(--secondary-color), var(--accent-color)); */
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.logo-container img {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 140px !important;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    position: relative;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: none;
   border-left: 5px solid rgb(24, 24, 107);
}

.description-text::before {
    content: '"';
    font-size: 60px;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
    font-family: serif;
}

.carousel-container {
    border-radius: 20px;
    /* margin: 20px; */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel {
    border-radius: 15px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.02);
}

.carousel-inner {
    width: 100%;
    height: 400px; /* Fixed height for desktop */
    position: relative;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed to cover to fill the space */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

/* Update responsive heights */
@media (max-width: 1200px) {
    .carousel-inner {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .carousel-inner {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 350px;
    }
    
    .carousel-container {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-inner {
        height: 300px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /* background: linear-gradient(45deg, var(--secondary-color), var(--accent-color)); */
    border-radius: 2px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 20px;
    }

    .description-text {
        font-size: 14px;
        padding: 20px;
    }

    .carousel-container {
        margin: 10px;
        /* padding: 15px; */
    }

    .carousel-image-wrapper img {
        max-height: 300px !important;
        max-width: 90% !important;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
