/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f4f6;
    color: #333;
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffae00;
}

button:focus,
a:focus {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

/* Container Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-banner {
    position: relative;
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
    ), url('../images/hero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    background-attachment: fixed;
    animation: fadeIn 1.5s ease-in-out;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 60vh;
        background-attachment: scroll;
        clip-path: none;
    }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1.5s ease-in-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-transform: uppercase;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
    animation: slideInFromLeft 1.5s ease-in-out;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
    animation: slideInFromRight 1.5s ease-in-out;
    line-height: 1.8;
}

.hero-content .btn-primary {
    padding: 0.8rem 2.5rem;
    background: linear-gradient(45deg, #ffd700, #ffae00);
    color: #333;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5);
    animation: fadeIn 2s ease-in-out;
}

.hero-content .btn-primary:hover {
    background: linear-gradient(45deg, #ffae00, #ffd700);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.7);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-content .btn-primary {
        font-size: 1rem;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Featured Categories Section */
.featured-category {
    padding: 5rem 2rem;
    background: linear-gradient(to right, #ffffff, #f8f9fa); /* Subtle gradient background */
}

.featured-category h2 {
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.featured-category h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #ffd700; /* Gold accent */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.featured-category .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #ffffff; /* Clean card background */
}

.featured-category .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-category .card img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.featured-category .card:hover img {
    transform: scale(1.05); /* Subtle zoom effect */
}

.featured-category .card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.featured-category .card .card-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.featured-category .card .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.featured-category .card .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    background: linear-gradient(45deg, #ffd700, #ffae00);
    color: #333;
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.featured-category .card .btn-primary:hover {
    background: linear-gradient(45deg, #ffae00, #ffd700);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-category {
        padding: 3rem 1rem;
    }

    .featured-category .card img {
        max-height: 150px;
    }

    .featured-category h2 {
        font-size: 2rem;
    }

    .featured-category .card .card-title {
        font-size: 1.3rem;
    }

    .featured-category .card .card-text {
        font-size: 0.9rem;
    }

    .featured-category .card .btn-primary {
        font-size: 0.9rem;
    }
}
/* Countdown Section */
.countdown {
    background: linear-gradient(to right, #495057, #343a40); /* Elegant gradient */
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
}

.countdown h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffd700; /* Highlighted title */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.countdown h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffae00;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

#countdown-timer {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    text-transform: uppercase;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

#countdown-timer p {
    margin: 0;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}

#countdown-timer span {
    display: inline-block;
    padding: 1rem 1.5rem;
    margin: 0.5rem; /* Add margin for better spacing */
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.2); /* Soft gold overlay for digits */
    color: #ffd700;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#countdown-timer span:hover {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.4); /* Brighter on hover */
}

#countdown-timer span:nth-child(odd) {
    background: rgba(255, 215, 0, 0.15); /* Alternating overlay */
}

#countdown-timer span:nth-child(odd):hover {
    background: rgba(255, 215, 0, 0.35);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown {
        padding: 3rem 1rem;
    }

    .countdown h2 {
        font-size: 2rem;
    }

    #countdown-timer {
        flex-direction: column;
        gap: 1rem;
        align-items: center; /* Center-align items */
    }

    #countdown-timer span {
        font-size: 1.8rem;
        padding: 0.8rem 1rem;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .countdown h2 {
        font-size: 1.8rem;
    }

    #countdown-timer span {
        font-size: 1.5rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to right, #ffffff, #f8f9fa); /* Subtle gradient background */
    padding: 5rem 2rem;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonials h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700; /* Gold accent */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.testimonials .card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.testimonials .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonials .card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffd700; /* Gold border */
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .card img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.testimonials .card-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.testimonials .card-body h5 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.testimonials .card-body p {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials .card img {
        width: 80px;
        height: 80px;
    }

    .testimonials .card-body h5 {
        font-size: 1.3rem;
    }

    .testimonials .card-body p {
        font-size: 0.9rem;
    }
}


/* Newsletter Section */
.newsletter {
    background: linear-gradient(to right, #343a40, #495057); /* Sophisticated dark gradient */
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    border-top: 5px solid #ffd700;
    border-bottom: 5px solid #ffd700;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffd700; /* Gold accent for heading */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.newsletter p {
    font-size: 1.2rem;
    color: #ddd; /* Soft white text for readability */
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.newsletter input[type="email"] {
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    outline: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter input[type="email"]:focus {
    transform: scale(1.03); /* Subtle zoom effect */
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5); /* Gold glow on focus */
}

.newsletter button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    background: linear-gradient(45deg, #ffd700, #ffae00); /* Gold gradient button */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    max-width: 150px;
}

.newsletter button:hover {
    transform: translateY(-2px); /* Button lifts slightly */
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #ffae00, #ffd700); /* Reverse gradient on hover */
}

/* Decorative Elements */
.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffd700; /* Gold stripe at the top */
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffd700; /* Gold stripe at the bottom */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .newsletter {
        padding: 3rem 1rem;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1rem;
    }

    .newsletter form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter input[type="email"],
    .newsletter button {
        max-width: 100%;
    }
}
