/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #4CAF50;
}

p {
    margin-bottom: 15px;
}

/* Navbar Styles */
.navbar-custom {
    background-color: #4CAF50;
    transition: background-color 0.3s;
}

.navbar-custom .navbar-brand, 
.navbar-custom .navbar-nav .nav-link {
    color: #fff;
    transition: color 0.3s;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffdd57;
}

/* Header Styles */
header.carousel {
    height: 75vh;
}

header .carousel-caption {
    bottom: 20%;
    animation: fadeIn 2s ease-in-out;
}

header .btn {
    margin: 10px;
    animation: bounce 1.5s ease-in;
}

/* Section Styles */
section {
    padding: 60px 0;
    transition: padding 0.3s;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Footer Styles */
footer {
    background-color: #4CAF50;
    color: #fff;
    padding: 20px 0;
    transition: background-color 0.3s, color 0.3s;
}

footer a {
    color: #ffdd57;
    transition: color 0.3s;
}

footer a:hover {
    text-decoration: none;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

/* Form Styles */
form .form-control {
    border-radius: 0;
    border: 1px solid #ced4da;
}

form button {
    border-radius: 0;
}

/* Testimonials Styles */
#testimonials {
    background-color: #fff;
    padding: 60px 0;
    animation: fadeInUp 2s ease-in-out;
}

#testimonials h2 {
    color: #4CAF50;
    margin-bottom: 40px;
}

#testimonials .card {
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    animation: fadeInUp 1.5s ease-in-out;
}

#testimonials .card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

#testimonials .card .card-text {
    font-style: italic;
}

#testimonials .card .text-right {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Menu Section Styles */
#menu {
    background-color: #fff;
    padding: 60px 0;
    animation: fadeInUp 2s ease-in-out;
}

#menu h2 {
    color: #4CAF50;
    margin-bottom: 40px;
}

#menu .card {
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    animation: fadeInUp 1.5s ease-in-out;
}

#menu .card-title {
    color: #333;
}

#menu .card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .carousel-caption {
        bottom: 15%;
    }

    header .carousel-caption h1 {
        font-size: 1.75rem;
    }

    header .carousel-caption p {
        font-size: 1rem;
    }

    header .carousel-caption .btn {
        font-size: 0.875rem;
    }

    /* Adjusting padding for mobile screens */
    section {
        padding: 30px 0;
    }

    /* Removing top margin from sections to bring them closer together */
    #about {
        margin-top: 0;
        padding-top: 10px;
    }

    /* Additional spacing adjustments */
    .container {
        padding: 0 15px;
    }

    /* Removing margin from the header */
    header {
        max-height: 12rem;
    }
}
