/* General Styling */
:root {
    --primary-dark-blue: #2A2A72;   /* Dark blue from top of the icon gradient */
    --primary-light-blue: #009FFD; /* Light blue from bottom of the icon gradient */
    --dark-color: #212121;
    --light-gray-color: #f8f9fa;
    --white-color: #ffffff;
    --text-color: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--light-gray-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header and Navigation */
header {
    /* --- NEW GRADIENT BACKGROUND --- */
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--primary-light-blue));
    color: var(--white-color);
    padding-bottom: 50px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.logo {
    width: 180px;
}

.cta-button {
    /* --- NEW BUTTON COLOR --- */
    background-color: var(--white-color);
    color: var(--primary-dark-blue);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: backwards;
}

.hero .tagline {
    font-size: 1.6em;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out 0.8s;
    animation-fill-mode: backwards;
}

.hero p {
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 1.1s;
    animation-fill-mode: backwards;
}

.hero-cta {
    font-size: 1.1em;
    padding: 15px 35px;
    animation: fadeInUp 1s ease-out 1.4s;
    animation-fill-mode: backwards;
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--dark-color);
    animation: fadeInUp 1s ease-out;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    /* --- NEW ACCENT COLOR --- */
    color: var(--primary-light-blue);
}

/* Showcase Section */
.showcase {
    background-color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.showcase h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 30%; /* Tells each of the 3 items to take up about a third of the container */
    min-width: 280px; /* Ensures they don't get too small on smaller screens */
    text-align: center;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%; /* CRITICAL: Makes the image fill the container we just sized */
    height: auto; /* Keeps the image from stretching or squishing */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.gallery-item p {
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--dark-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark-blue);
    color: var(--white-color);
    padding: 20px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    margin: 0;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

.faq {
    padding: 80px 0;
    background-color: var(--white-color);
}

.faq h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--light-gray-color);
    border-radius: 8px;
    border: 1px solid #eef0f2;
    overflow: hidden;
    transition: background-color 0.3s;
}

.faq-item:hover {
    background-color: #e9ecef;
}

.faq-item summary {
    font-size: 1.2em;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    outline: none;
    display: block;
    position: relative;
    color: var(--dark-color);
    list-style: none; /* Removes the default disclosure triangle */
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Hides the default marker in Chrome/Safari */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6em;
    line-height: 1;
    color: var(--primary-light-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] > summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] > summary {
    font-weight: 700;
}

.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.7;
    color: #555;
}