/* ================= Root Colors and Animated Background ================= */
:root {
    --color-navy: #002147;
    --color-gold: #FFD700;
    --color-light-grey: #F5F5F5;
    --color-deep-blue: #1f2641;
    --color-white: #fff;
    --color-medium-grey: #222;
    --highlight-gold: #f4b400;
    --shadow-color: rgba(0, 33, 71, 0.4);

    --background-gradient: linear-gradient(290deg, var(--color-navy), var(--color-deep-blue),var(--color-gold));
    --color-accent: linear-gradient(to left, var(--color-navy), var(--highlight-gold));
}

/* Global Styles */
body {
    font-family: 'Pacifico',sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-gradient);
    background-size: 600% 600%;
    animation: gradientMove 20s ease infinite;
    color: var(--color-white);
    transition: background-color 3s, color 3s;
    text-align: center;
}
/* Flash Messages */
.flashes {
    position: fixed; /* Fix it to the top */
    top: 80px; /* Adjust this value based on your header height */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Center it properly */
    list-style: none;
    padding: 10px;
    margin: 10px 0;
    z-index: 1000; /* Ensure it appears above other elements */
}

.flashes .success {
    color: var(--color-gold);
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Add a background for better visibility */
    padding: 10px;
    border-radius: 5px;
}

.flashes .error {
    color: var(--color-deep-blue);
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Add a background for better visibility */
    padding: 10px;
    border-radius: 5px;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.faq {
    padding: 30px 0; /* Reduced padding */
    background-color: var(--color-navy);
    color: var(--color-navy);
}

.faq h2 {
    text-align: center;
    margin-bottom: 20px; /* Reduced margin */
    font-size: 1.5rem; /* Reduced font size */
    color: var(--color-gold);
}

.faq-item {
    border: 1px solid var(--color-medium-grey);
    border-radius: 5px;
    margin-bottom: 10px; /* Reduced margin */
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px var(--shadow-color); /* Reduced shadow size */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px; /* Reduced padding */
    cursor: pointer;
    background-color: var(--color-gold);
    font-size: 1rem; /* Reduced font size */
    color: var(--color-navy);
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--highlight-gold);
    color: var(--color-white);
}

.faq-answer {
    display: none;
    padding: 10px 15px; /* Reduced padding */
    font-size: 0.9rem; /* Reduced font size */
    color: var(--color-medium-grey);
    background-color: var(--color-light-grey);
}

.toggle-icon {
    font-size: 1.2rem; /* Reduced icon size */
    color: var(--color-navy);
    transition: transform 0.3s ease;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--color-white);
}



.contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-medium-grey);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--color-navy);
    background-color: var(--color-white);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--color-gold);
}
.contact-form {
    padding: 50px 0;
    background-color: var(--color-navy);
    color: var(--color-navy);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--color-gold);
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--color-navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-medium-grey);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--color-navy);
    background-color: var(--color-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.contact-form .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: var(--highlight-gold);
}
/* Container */
.container {
    width: 80%;
    margin: auto;
    text-align: center;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-navy); /* Adjust to match your theme */
    z-index: 1000; /* Ensures the header stays above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
}

header .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px; /* Adjust padding as needed */
    margin: 0;
    width: 100%;
}

body {
    padding-top: 80px; /* Add padding to prevent content from being hidden under the fixed header */
}

/* Logo */
.logo img {
    width: 110px;
    height: auto;
}

/* Navbar Links */
header h1 {
    font-size: 24px;
    font-family: Raleway, sans-serif;
    color: var(--highlight-gold);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--highlight-gold);
    text-decoration: none;
    font-size: 19px;
    transition: color 3s;
}

nav ul li a:hover {
    color: var(--highlight-gold);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: var(--color-accent);
    text-align: auto;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--highlight-gold);
    color: var(--color-navy);
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 3s;
}

.btn:hover {
    background-color: var(--color-gold);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--color-navy);
}

.features h2 {
    margin-bottom: 30px;
    color: var(--color-gold)
}

/* Feature Grid */
.feature-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    width: 250px;
    padding: 20px;
    background-color: var(--color-deep-blue);
    border-radius: 10px;
    text-align: center;
    transition: transform 3s;
}

.feature:hover {
    transform: scale(1.05);
}

/* Feature Images */
.feature img {
    width: 250px ;
    max-width: 250px;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* Call-to-Action */
.cta {
    padding: 80px 0;
    background: var(--color-accent);
}

.cta h2 {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    background: var(--color-deep-blue);
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeInUp 0.5s forwards; 
}

/* Keyframes for the animation */
@keyframes fadeInUp {
    to {
        opacity: 1; 
        transform: translateY(0); 
    }
}

.testimonials h2 {
    font-size: 32px;
    color: var(--highlight-gold);
    margin-bottom: 20px;
}

/* Testimonial Container */
.testimonial-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}
.image-gallery {
    padding: 60px 0;
    background-color: var(--color-navy);
}
.image-gallery .gallery-grid {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-around;
    align-items: auto;
    gap: 30px;
    flex-wrap: wrap;
}
.image-gallery img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 3s;
}
.gallery-item img:hover {
    transform: scale(1.05);
}
/* Testimonial Box */
.testimonial {
    flex: 0 0 auto;
    width: 300px;
    padding: 20px;
    background: var(--color-navy);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px var(--shadow-color);
    scroll-snap-align: center;
    transition: transform 3s;
}

.testimonial:hover {
    transform: scale(1.05);
}

/* User Images */
.testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid var(--highlight-gold);
}

/* Social Media Section */
footer {
    background-color: var(--color-navy);
    color: var(--color-gold); /* Changed text color to gold */
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid var(--color-gold); /* Add a yellow line at the top */
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

footer .footer-links,
footer .social-media,
footer .contact-info {
    flex: 1;
    min-width: 200px;
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-gold); /* Ensure headings are gold */
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin: 5px 0;
}

footer ul li a {
    color: var(--color-gold); /* Changed links to gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--highlight-gold);
}

footer .social-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
}

footer .social-icon:hover {
    color: var(--highlight-gold);
    transform: scale(1.2);
}


footer .contact-info p {
    color: var(--color-gold); /* Changed contact info text to gold */
    margin: 5px 0;
}



.footer-links ul{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }




















/* Social Media Container (optional styling) */
footer .social-media, 
footer .footer-links,
footer .contact-info {
    color: var(--color-gold);
    margin: 5px 0;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* subtle default bg */
}

footer .social-media:hover,
footer .footer-links:hover,
footer .contact-info:hover {
    transform: scale(1.03);
    background-color: rgba(255, 215, 0, 0.1); /* soft gold highlight */
}
/* Social Icons Base Style */
footer .social-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    border-radius: 50%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05); /* default subtle background */
}

/* Hover Effects */
footer .social-icon:hover {
    color: var(--highlight-gold);
    transform: scale(1.2) rotate(5deg);
    background-color: rgba(255, 215, 0, 0.1); /* gold-tinted background on hover */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); /* glowing effect */
    
}

/* Pulse animation for the icon */
footer .social-icon:hover i {
    animation: pulseIcon 0.6s ease;
}

/* Pulse keyframes */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}




/* Contact Info Container */

/* Contact Links */
footer .contact-info p a,
footer .footer-links a {
    color: white;
    margin: 5px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Link Hover Effects */
footer .contact-info p a:hover,
footer .footer-links a:hover {
    color: gold;
    text-shadow: 0 0 5px gold;
}

/* Animated Underline */
footer .contact-info p a::after,
footer .footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: gold;
    transition: width 0.3s ease;
}

footer .contact-info p a:hover::after,
footer .footer-links a:hover::after {
    width: 100%;
}





/* Animation for fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
/* Styling for the App Features Section Heading */
/* App Features Section */
/* App Features Section */
.app-features {
    background-color: var(--color-navy);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--color-gold); /* Yellow line above */
    border-bottom: 5px solid var(--color-gold); /* Yellow line below */
}

.app-features h2 {
    font-size: 2rem;
    color: orange; /* Changed color to orange */
    margin-bottom: 20px;
    text-transform: uppercase; /* Optional: Make the text uppercase */
    font-weight: bold;
}

/* Features Grid */
.features-grid {
    display: flex;
    justify-content: center; /* Center the features */
    align-items: center;
    height: 200px; /* Fixed height for the feature area */
    position: relative;
    overflow: hidden; /* Hide elements outside the container */
}

/* Feature Item */
.feature-item {
    position: absolute; /* Stack all features in one position */
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    animation: none; /* Animation will be triggered dynamically */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-item i {
    font-size: 2rem;
    color: var(--highlight-gold);
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-medium-grey);
}

/* Keyframes for Scatter Animation */
@keyframes scatterOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-100px) rotate(20deg);
    }
}

@keyframes scatterIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(100px) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}