@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --dark-blue: #1c3b82;
    --light-blue: #5d87b9;
    --blue: #4682b4;
    --gray: #ced2dc;
}

body {
    font-family: "Work Sans", serif;
    color: black;
}

.navbar {
    background-color: var(--dark-blue);
    padding: 10px 20px; /* Add some padding for balance */
}

.navbar a {
    color: white;
    text-transform: uppercase;
    margin: 0 15px;
}

.navbar a:hover {
    color: var(--light-blue); /* Hover effect for navigation links */
}

.hero-carousel {
    height: 80vh; /* Full page height */
}

.carousel-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background 0.5s ease; /* Smooth transition for background change */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    transition: opacity 0.5s ease;
}

.carousel-item h2 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 2px; /* Add some spacing for a clean look */
}

.content-section {
    padding: 20px 40px 20px 40px;
    border-radius: 8px;
    background-color: var(--gray);
    margin: 20px 0;
    margin-top: 40px;
}

/* About Us Section Styling */
.content-section h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: black; /* Ensure text is visible */
}

.content-section .row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
}

.content-section .col-md-4 {
    text-align: center;
    margin-bottom: 20px;
}

.content-section i {
    color: var(--blue);
    margin-bottom: 10px;
}

/* Animation setup */
.content-section .animated {
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.content-section .fadeIn {
    animation-name: fadeIn;
}

.content-section .fadeInUp {
    animation-name: fadeInUp;
}
.services-content-section {
    margin-top: 40px;
}
/* Services Section Styling */
.services-content-section h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-content-section p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: black;
}

.services-hr {
    width: 50%;  /* Control the length (50% of the parent width) */
    margin: 30px auto;  /* Centers the line and adds space above/below */
    border: 1px solid var(--dark-blue);  /* Dark blue color for the line */
    opacity: 0.5;  /* Light opacity for a softer look */
}

.service-card {
    text-align: center;
    margin-bottom: 30px; /* Space between cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.service-card i {
    color: var(--blue);
    margin-bottom: 15px;
}

/* Title and description */
.service-card h4 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: black;
}

/* Hover Effect - Background Color & Shadow */
.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--light-blue);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Animation setup */
.service-card.animated {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.service-card.animated.fadeInUp {
    animation-name: fadeInUp;
}

/* FAQ Section Styling */
.faq-content-section {
    background-color: var(--gray);
    margin-top: 40px;
    padding-bottom: 60px;
}

.faq-content-section h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    padding-top: 40px;
    text-align: center;
}

.faq-content-section p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: black;
}

.card-header {
    background-color: var(--light-blue);
    border: none;
}

.card-header button {
    font-size: 1.25rem;
    text-align: left;
    color: var(--dark-blue);
    font-weight: 600;
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 15px;
    transition: background-color 0.3s ease;
}

/* Hover effect for button */
.card-header button:hover {
    background-color: var(--blue);
    color: white;
}

.card-body {
    padding: 20px;
    background-color: #f8f9fa;
    color: black;
}

/* Animation setup */
.card.animated {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.card.animated.fadeInUp {
    animation-name: fadeInUp;
}

footer {
    background-color: var(--dark-blue);
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

footer p, footer a {
    font-size: 1rem;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    color: var(--light-blue);
}

footer hr {
    border-color: var(--light-blue);
}



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



@media (max-width: 768px) {
    .hero-carousel {
        height: 40vh; /* Reduce height on smaller screens */
    }
    .carousel-item {
        height: 40vh;
    }
    .carousel-item h2 {
        font-size: 2rem; /* Adjust font size */
    }
}
