:root {
    --primary-color: #1e3a5f; /* Deep Petrol Blue */
    --secondary-color: #0a192f; /* Darker Blue for accents */
    --accent-color: #fca311; /* Orange/Yellow for highlights */
    --text-color: #333; /* Dark gray for general text */
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --baby-blue: #ADD8E6; /* Light Blue */
    --petrol-blue: #005F6B; /* A distinct petrol blue */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* Transparent by default for home */
    color: var(--white);
    padding: 1rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--primary-color); /* Solid color when scrolled */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo h2 {
    font-size: 1.8rem;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('rio-de-janeiro.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    background-attachment: scroll; /* Ensure image is not blurred by parallax */
}

.hero-content {
    z-index: 1;
    padding: 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e09000;
}

/* Section Styling */
section {
    padding: 5rem 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Alternating Section Colors */
#why-brazil {
    background-color: var(--white);
}

#destinations {
    background-color: var(--baby-blue);
}

#treatments {
    background-color: var(--petrol-blue);
    color: var(--white);
}

#treatments .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

#journey {
    background-color: var(--white);
}

#testimonials {
    background-color: var(--baby-blue);
}

#contact {
    background-color: var(--petrol-blue);
    color: var(--white);
}

#contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.destination-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

#treatments .destination-card {
    background-color: var(--primary-color); /* Darker background for cards in treatments section */
    color: var(--white);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.destination-image.rio {
    background-image: url('rio-de-janeiro.jpg');
}

.destination-image.belo-horizonte {
    background-image: url('belo-horizonte.jpg');
}

.destination-image.sao-paulo {
    background-image: url('sao-paulo.jpg');
}

.treatment-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.treatment-image.bariatric-surgery {
    background-image: url('bariatric-surgery-new.jpg');
}

.treatment-image.cosmetic-surgery {
    background-image: url('cosmetic-surgery-new.jpg');
}

.treatment-image.orthopaedic-surgery {
    background-image: url('orthopaedic-surgery-new.jpg');
}

.treatment-image.recovery-in-paradise {
    background-image: url('recovery-in-paradise.webp');
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.destination-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.learn-more-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #e09000;
}

/* Journey Section */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
}

/* Contact Section */
.contact-content {
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center horizontally */
    gap: 2rem; /* Space between items */
}

.contact-item {
    text-align: center;
    color: var(--white);
}

.contact-item strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-family: 'Roboto Mono', monospace;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Roboto Mono', monospace;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem 0;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-grid,
    .destinations-grid,
    .journey-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
    }
}


