* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* General Styling */
html, body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    box-sizing: border-box;
}

/* Wrapper Styling */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styling */
header {
    position: fixed;
    width: 100%;
    height: 160px;
    background: #f8f9fa;
    z-index: 1100;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    width: 120px;
    height: auto;
    transition: width 0.4s ease, height 0.4s ease;
    margin-top: 30px;
    margin-right: 30px;
}

.WeddingInns {
    font-size: 40px;
    margin-left: -140px;
    margin-top: 50px;
    color: #d4af37;
}

/* Hide menu toggler checkbox */
input#menu-toggler {
    display: none;
}

/* Show menu when toggled */
input#menu-toggler:checked ~ nav .all-links {
    display: flex;
    opacity: 1;
    visibility: visible;
}


/* Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Navigation Links Styling */
.all-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 60px;
    margin-right: 150px;
}

/* Styling for Each Link */
.all-links a {
    text-decoration: none;
    color: #555;
    font-weight: 800;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 25px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease, padding 0.4s ease;
}

/* Hover Effect for Links */
.all-links a:hover {
    color: #000;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Mobile-specific Styles */
@media (max-width: 768px) {
    #hamburger-btn {
        display: flex; /* Show the hamburger button */
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 10000;
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }

    .WeddingInns {
        display: none;
    }

    /* Adjust the header for dynamic height */
    header {
        height: auto;
    }

    /* Hide the logo */
    .logo {
        display: none;
    }

    /* Full-screen navigation menu */
    .all-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        visibility: hidden;
    }

    /* Show menu when toggled */
    input#menu-toggler:checked ~ .all-links {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    /* Adjust the links */
    .all-links a {
        font-size: 22px;
        padding: 15px 20px;
        border-radius: 5px;
        transition: color 0.3s, background-color 0.3s, text-shadow 0.3s ease, padding 0.4s ease;
    }

    .all-links a:hover {
        color: white;
        background-color: rgba(255, 255, 255, 0.2);
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1), 
            0 0 40px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(255, 0, 255, 0.6),
            0 0 80px rgba(255, 0, 255, 0.4);
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* For large screens (desktops) */
@media (min-width: 1201px) {
    #hamburger-btn {
        display: none;
    }

    .all-links {
        gap: 40px;
    }

    .all-links a {
        font-size: 20px;
        padding: 10px 25px;
    }
}

/* For screens between 1020px and 1200px */
@media (min-width: 1020px) and (max-width: 1200px) {
    #hamburger-btn {
        display: none;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo img {
        width: 140px;
    }

    .all-links {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .all-links a {
        font-size: 18px;
        padding: 10px 20px;
    }
}


/* General Section Styling */
section {
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove padding */
    width: 100vw; /* Set the section width to 100% of the viewport width */
    height: 100vh; /* Set the section height to 100% of the viewport height */
    text-align: center;
    position: relative; /* Allow absolute positioning of elements inside */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Styling */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    transition: all 0.8s ease;
    opacity: 0;
}

.carousel-slide.active {
    left: 0;
    opacity: 1;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Updated Caption Styling */
.carousel-caption {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Perfect centering */
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: #fff; /* White text */
    padding: 40px; /* Add padding for spaciousness */
    border-radius: 15px; /* Rounded corners */
    text-align: center;
    max-width: 80%; /* Restrict width for larger screens */
    width: 60%; /* Default width */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Add a subtle shadow */
}

/* Larger Text for Headings and Paragraphs */
.carousel-caption h2 {
    font-size: 3em; /* Larger font size for headings */
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.5em; /* Larger font size for paragraphs */
    line-height: 1.8; /* Better readability */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Hide Carousel on Mobile */
@media (max-width: 768px) {
    .carousel {
        display: none; /* Hide carousel on smaller screens */
    }

/* Mobile Header Styling with Overlay */
.mobile-header {
    display: block;
    background-size: cover;
    background-image: url(./_assets/image00016.jpeg);
    background-color: #333;
    background-position: center;
    color: rgb(255, 255, 255);
    padding: 60px 20px;
    text-align: center;
    position: absolute; /* Ensures it's placed on top of the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* For overlay positioning */
}

/* Overlay for darker effect */
.mobile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

/* Ensure content is above the overlay */
.mobile-header * {
    position: relative;
    z-index: 2;
}

.mobile-header h1 {
    font-size: 2.5em; /* Increased font size */
    margin-bottom: 10px;
}

.mobile-header p {
    font-size: 1.5em; /* Slightly increased font size */
    margin-bottom: 20px;
}

/* Call-to-Action Button Styling */
.cta-btn {
    display: inline-block;
    background-color: gold;
    color: black;
    padding: 12px 20px;
    font-size: 1.3em; /* Increased font size */
    text-decoration: none;
    font-weight: 800;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Add a right arrow */
.cta-btn::after {
    content: '➔'; /* Right arrow character */
    font-size: 1.2em;
    margin-left: 5px;
}

.cta-btn:hover {
    background-color: darkgoldenrod;
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Button Animation (Initial State) */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Apply Animation to Button */
.bounce {
    animation: bounce 2s infinite;
}

/* Adjust carousel caption for smaller screens */
.carousel-caption {
    width: 90%; /* Make the caption width larger for smaller screens */
    padding: 20px; /* Reduce padding for mobile */
    top: 60%; /* Adjust vertical alignment */
}

.carousel-caption h2 {
    font-size: 2.5em; /* Larger font size for headings */
}

.carousel-caption p {
    font-size: 1.5em; /* Larger font size for paragraphs */
}

}


/* For larger screens (Desktops and up) */
@media (min-width: 769px) {
    .mobile-header {
        display: none; /* Hide mobile header on larger screens */
    }
}

/* About Us Section */
#about {
    background: #f9f9f9;
    color: #333;
    padding: 120px 20px;
    font-family: 'Montserrat', sans-serif;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.about-text {
    flex: 1;
    max-width: 700px;
    text-align: left;
    background: white;
    border-radius: 10px;
    padding: 40px;
}

.about-text h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    max-width: 450px;
    text-align: center;
}

.about-image img {
    width: 100%;
    height: 600px;  /* Increased image height */
    object-fit: cover;  /* Ensures the image fills the container */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);  /* Hover effect for image */
}

/* Responsive for Tablets and Smaller Screens */
@media (max-width: 1024px) {
    #about {
        padding: 80px 20px; /* Reduce padding for smaller screens */
    }

    .about-container {
        flex-direction: column; /* Stack content vertically */
        gap: 20px; /* Reduce gap between text and image */
    }

    .about-text {
        max-width: 100%; /* Allow the text to take full width */
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .about-image {
        display: none;
    }

    .about-image img {
    display: none;
    }

    .about-text h2 {
        font-size: 2.5em; /* Reduce font size */
    }

    .about-text p {
        font-size: 1.1em; /* Adjust paragraph font size */
    }
}

/* Mobile View - Screens below 768px */
@media (max-width: 768px) {
    #about {
        padding: 60px 15px; /* Further reduce padding for mobile */
    }

    .about-container {
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center the content */
    }

    .about-text {
        padding: 20px;
        text-align: center; /* Center-align text for mobile view */
    }

    .about-image img {
        display: none;
    }

    .about-text h2 {
        font-size: 2em; /* Reduce font size */
        margin-bottom: 10px;
    }

    .about-text p {
        font-size: 1em; /* Adjust font size for mobile */
    }
}

/* Extra Small Screens (Small Phones) */
@media (max-width: 480px) {
    #about {
        padding: 40px 10px; /* Adjust padding for very small screens */
    }

    .about-text h2 {
        font-size: 1.8em; /* Further reduce the heading size */
    }

    .about-text p {
        font-size: 0.95em; /* Adjust paragraph font size for readability */
    }

    .about-image img {
        display: none;
    }

    .carousel-caption {
        width: 95%; /* Almost full width for very small screens */
        padding: 15px;
    }

    .carousel-caption h2 {
        font-size: 1.8em;
    }

    .carousel-caption p {
        font-size: 1em;
    }
}

/* Gallery Section */
#gallery {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    height: 120vh;
}

#gallery h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
    justify-items: center;  /* Center images within their grid cells */
    max-width: 1200px; /* Set a max width to avoid stretching */
    margin: 0 auto; /* Center the grid */
}

.gallery img {
    width: 100%; /* Full width within its grid cell */
    height: 200px;  /* Set initial height */
    object-fit: cover; /* Ensures images maintain aspect ratio and cover the area */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, object-position 0.3s ease; /* Smooth transition for hover effects */
}

.gallery img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    object-position: center center; /* Ensures the image is centered on hover */
}

/* Responsive for Tablets and Smaller Screens (1024px max-width) */
@media (max-width: 1024px) {
    #gallery {
        padding: 40px 20px; /* Reduce padding for smaller devices */
    }

    #gallery h2 {
        font-size: 2.2em; /* Slightly smaller font size */
        margin-bottom: 20px; /* Less margin at the bottom */
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
        gap: 15px; /* Reduced gap between images */
    }

    .gallery img {
        height: 250px;  /* Adjust image height */
    }
}

/* Mobile View (768px max-width) */
@media (max-width: 768px) {
    #gallery {
        padding: 30px 15px; /* Further reduced padding for mobile */
    }

    #gallery h2 {
        font-size: 2em; /* Smaller font size for mobile */
        margin-bottom: 15px; /* Reduced margin */
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr); /* Show 3 images per row on mobile */
        gap: 10px; /* Smaller gap between images */
    }

    /* Show only the first 3 images on mobile */
    .gallery img:nth-child(n+4) {
        display: none; /* Hide images from 4th to 9th */
    }

    .gallery img {
        height: 200px; /* Further adjust image height */
    }
}

/* Extra Small Screens (480px max-width) */
@media (max-width: 480px) {
    #gallery {
        padding: 20px 10px; /* Minimal padding for extra small screens */
    }

    #gallery h2 {
        font-size: 1.8em; /* Reduce font size further */
        margin-bottom: 10px; /* Small margin at the bottom */
    }

    .gallery {
        grid-template-columns: 1fr; /* Maintain single column layout */
        gap: 5px; /* Further reduced gap for extra small screens */
    }

    .gallery img {
        height: 180px; /* Reduce image height for tiny screens */
    }
}

/* Contact Us Section */
#contact {
    padding: 80px 20px;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    justify-content: space-between;
    width: 90%; /* Increased width to make it wider */
    height: 600px;
    max-width: 1400px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.05); /* Slight scale on hover */
}

/* Left Side (Contact Info) */
.contact-info {
    width: 55%; /* Slightly increased to make it wider */
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #333; /* Black background */
    color: white; /* White text */
    padding: 30px;
}

.contact-info h3 {
    font-size: 3.0em;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-info .subheading {
    font-size: 1.1em;
    font-weight: 400;
    max-width: 500px;
    text-align: center;
    align-items: center;
    align-self: center;
    color: #ddd;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 15px;
}

hr.divider {
    border: 1px solid #d4af37;
    margin: 20px 0;
    width: 50%; /* Smaller divider */
    align-self: center; /* Center the divider */
}

.contact-info h4 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.socials {
    display: flex;
    justify-content: center; /* Center the social icons */
    gap: 25px;
    margin-top: 20px;
}

.socials .social-icon img {
    width: 50px;
    height: 50px;
    margin-top: -30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.socials .social-icon img:hover {
    transform: scale(1.1);
    opacity: 0.8;
    

}

/* Right Side (Contact Form) */
.contact-form {
    width: 45%; /* Slightly decreased to make it wider */
    background: #d4af37; /* Gold background */
    color: white;
    padding: 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.form-placeholders {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.placeholder-input {
    padding: 12px;
    font-size: 1.0em;
    border: 2px solid #fff;
    border-radius: 15px; /* Larger border radius */
    width: 90%; /* Smaller width for placeholders */
    background-color: transparent;
    color: #fff;
    transition: border-color 0.3s ease;
    margin: 0 auto; /* Center the inputs */
}

.placeholder-input:focus {
    outline: none;
    border-color: #333; /* Darker border on focus */
}

.placeholder-input::placeholder {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

/* Placeholder Hover Effect */
.placeholder-input:hover::placeholder {
    opacity: 1;
    color: #d4af37; /* Change placeholder text color on hover */
}

/* Submit Button */
.submit-button {
    background: #333;
    color: white;
    padding: 6px 25px; /* Smaller padding for the button */
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 50%; /* Smaller width for the button */
    margin-left: auto; /* Center the button */
    margin-right: auto;
}

.submit-button:hover {
    background: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

.submit-button:active {
    transform: translateY(1px); /* Slight press effect */
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .contact-card {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info, .contact-form {
        width: 100%; /* Full width for both sections */
    }

    .contact-form {
        background-color: #d4af37;
    }
}

/* Mobile View (768px max-width) */
@media (max-width: 768px) {
    #contact {
        padding: 50px 15px; /* Adjusted padding */
    }

    .contact-card {
        flex-direction: column;
        gap: 30px;
        
    }

    .contact-info, .contact-form {
        width: 100%; /* Full width for both sections */
    }

    .contact-info h3 {
        font-size: 2.5em; /* Adjusted font size */
    }

    .contact-info .subheading {
        font-size: 1em; /* Adjusted font size for subheading */
    }

    .contact-form h2 {
        font-size: 2em; /* Reduced heading size */
    }

    .placeholder-input {
        font-size: 0.9em; /* Smaller font size for input */
        width: 90%; /* Smaller input width */
    }

    .submit-button {
        width: 60%; /* Slightly larger button width */
    }
}

/* Small Mobile (480px max-width) */
@media (max-width: 480px) {
    #contact {
        padding: 10px 0px; /* Further reduce padding */
    }

    .contact-card {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .contact-info h3 {
        font-size: 2.2em; /* Reduced font size for very small screens */
    }

    .contact-info .subheading {
        font-size: 0.9em; /* Reduced subheading font size */
    }

    .contact-form h2 {
        font-size: 1.8em; /* Smaller heading for very small screens */
    }

    .placeholder-input {
        font-size: 0.9em; /* Smaller input font size */
    }

    .submit-button {
        width: 70%; /* Larger button width on small screens */
    }

    .socials .social-icon img {
        width: 40px; /* Smaller social icons */
        height: 40px;
    }
}

/* Adjust FAQ Section */
#faq {
    padding: 60px 20px;
    margin-bottom: 30px; /* Add space between FAQ and Footer */
    background: #f9f9f9; /* Light background for better readability */

}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 2.5em; /* Larger font size for emphasis */
    font-weight: 700;
    color: #333; /* Darker color for better contrast */
    text-transform: uppercase; /* For a more formal look */
    letter-spacing: 2px; /* Slight letter spacing */
}

/* FAQ Container */
.faq-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns on larger screens */
    gap: 40px; /* Reduced gap for better spacing */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for better mobile alignment */
}

/* FAQ Item */
.faq-item {
    padding: 20px;
    background: white; /* Card-like appearance */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-weight: 700;
    font-size: 1.4em; /* Adjusted for clarity */
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}

.faq-item p {
    font-size: 1em; /* Readable size */
    color: #555;
    text-align: left;
    line-height: 1.6;
}

/* Tablet View */
@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr 1fr; /* Two columns for tablets */
        gap: 30px; /* Adjust gap for smaller screens */
    }

    .faq-header h2 {
        font-size: 2.2em; /* Slightly smaller header for tablets */
    }

    .faq-item {
        padding: 15px; /* Reduce padding for smaller screens */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    #faq {
        padding: 40px 15px; /* Adjust padding for mobile */
        margin-bottom: 80vh; /* Ensure space between FAQ and Footer when adjacent */

    }

    .faq-container {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px; /* Reduce gap */
    }

    .faq-header h2 {
        font-size: 2em; /* Smaller font size */
    }

    .faq-item {
        padding: 15px; /* Further reduce padding */
    }

    .faq-item h3 {
        font-size: 1.2em; /* Reduce heading size */
    }

    .faq-item p {
        font-size: 0.9em; /* Reduce paragraph font size */
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    #faq {
        padding: 30px 10px; /* Further reduce padding */
        margin-bottom: 130vh; /* Ensure space between FAQ and Footer when adjacent */

    }

    .faq-container {
        grid-template-columns: 1fr; /* One column for very small screens */
        gap: 15px;
    }

    .faq-header h2 {
        font-size: 1.8em; /* Smaller header for small screens */
    }

    .faq-item h3 {
        font-size: 1.1em; /* Further reduce heading size */
    }

    .faq-item p {
        font-size: 0.85em; /* Smaller paragraph text */
    }
}
/* Prevent Overlap */
#faq + .footer {
    margin-top: 200px; /* Ensure space between FAQ and Footer when adjacent */
}

/* Base Footer Styling */
.footer {
    background-color: #333333; /* Deep charcoal background */
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Space between sections */
    background-color: #333333; /* Deep charcoal background */
    padding: 40px 20px;
    clear: both; /* Ensure footer clears any floating content above */
    margin-bottom: 500vh; /* Ensure space between FAQ and Footer when adjacent */


}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Wrap items to the next row on smaller screens */
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
}

/* Logo Section */
.footer-logo {
    flex: 1;
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo a {
    text-decoration: none;
}

.footer-logo{
    font-size: 40px;
    text-align: left;
    margin-top: -25px;
}

.footer-logo h1,
.footer-logo h2 {
    color: #FFB300; /* Warm gold */
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    font-size: 2em;
}

/* Links Section */
.footer-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    flex-wrap: wrap; /* Stack items on smaller screens */
}

.footer-column {
    text-align: center;
}

.footer-column h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFB300; /* Gold */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #F9F9F9; /* Soft white */
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-column a:hover {
    color: #FFB300;
    text-shadow: 0 0 10px #FFB300; /* Soft gold glow */
}

/* CTA Section */
.footer-cta {
    flex: 1;
    text-align: center;
}

.footer-cta h3 {
    color: #FFB300; /* Gold */
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #FFB300, #f5c0f9);
    color: #333333; /* Dark text for contrast */
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: linear-gradient(45deg, #f5c0f9, #FFB300);
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Socials Section */
.footer-socials {
    text-align: left;
    margin-left: 150px;
    margin-top: -100px;
}

.footer-socials h3 {
    color: #FFB300;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.social-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-image:hover {
    transform: scale(1.1);
}

/* Credit Section */
.footer-credit {
    text-align: center;
    font-size: 0.9em;
    color: #fff;
}

.footer-credit strong {
    color: #FFB300;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    

    .footer-logo {
        margin-bottom: 20px;
        font-size: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 10px; /* Smaller gap for compact layout */
    }

    .footer-column {
        width: 100%; /* Full-width for each column */
    }

    .cta-button {
        width: 100%; /* Full-width button for better usability */
    }


    .footer-socials {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .footer-logo h1,
    .footer-logo h2 {
        font-size: 1.5em; /* Adjust font size for smaller screens */
    }

    .footer-column h3 {
        font-size: 1em; /* Smaller headers */
    }

    .footer-column a {
        font-size: 0.9em; /* Smaller links */
    }

    .cta-button {
        font-size: 0.9em; /* Adjust button size */
        padding: 10px 15px;
    }

    .social-image {
        width: 35px;
        height: 35px;
    }
}
