:root {
    /* Color Palette */
    --color-primary: #2c7a7b; /* Soft Teal */
    --color-secondary: #e0ac69; /* Warm Gold */
    --color-accent: #6b8e23; /* Earthy Green */
    --color-dark-text: #2d3748; /* Sophisticated Dark Grey */
    --color-light-text: #4a5568; /* Medium Grey */
    --color-bg-light: #f8f8f8; /* Off-White Background */
    --color-bg-dark: #202a33; /* Dark Footer/Header */
    --color-white: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;

    /* Box Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-light-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

p {
    margin-bottom: var(--spacing-sm);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.max-width-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.site-header {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
    background-color: rgba(32, 42, 51, 0.95);
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.brand-logo a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-logo a:hover {
    color: var(--color-secondary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

.main-nav a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1.05rem;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.nav-toggle span:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    background: url('images/image_11.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
    animation: fadeIn 1.5s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
    opacity: 1;
    animation: slideInUp 1s ease-out forwards 0.5s;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    opacity: 1;
    animation: slideInUp 1s ease-out forwards 0.8s;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
    opacity: 1;
    animation: slideInUp 1s ease-out forwards 1.1s;
}

/* About Section */
.grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.about-content .section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

/* Pricing/Experiences Section */
.pricing-grid, .team-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card, .team-member-card, .testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover, .team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card .card-image-wrapper {
    position: relative;
    height: 200px;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.pricing-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pricing-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.pricing-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}


.pricing-card h4 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.pricing-card .card-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
    padding: 0;
    text-align: left;
    color: var(--color-light-text);
}

.features-list li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.features-list li::before {
    content: '✓'; /* Checkmark */
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Team Section */
.team-member-card {
    padding: var(--spacing-md);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.team-member-card:hover img {
    transform: scale(1.05);
}

.team-member-card h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark-text);
}

.team-member-card .member-role {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.team-member-card .member-bio {
    font-size: 0.9rem;
    color: var(--color-light-text);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(to right, #f8f8f8, #e0f2f2);
}

.testimonial-card {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark-text);
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 500;
    color: var(--color-secondary);
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
}

/* Section Titles & Descriptions */
.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark-text);
}

.section-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-light-text);
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 1; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 1;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Reveal on Scroll Animations (for JavaScript) */
.reveal {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Specific reveal animations */
.reveal.fade-left {
    transform: translateX(-50px);
}
.reveal.fade-left.active {
    transform: translateX(0);
}

.reveal.fade-right {
    transform: translateX(50px);
}
.reveal.fade-right.active {
    transform: translateX(0);
}

/* Staggered reveal for grids */
.reveal-group .reveal:nth-child(2) {
    transition-delay: 0.1s;
}
.reveal-group .reveal:nth-child(3) {
    transition-delay: 0.2s;
}
.reveal-group .reveal:nth-child(4) {
    transition-delay: 0.3s;
}
.reveal-group .reveal:nth-child(5) {
    transition-delay: 0.4s;
}
.reveal-group .reveal:nth-child(6) {
    transition-delay: 0.5s;
}


/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul {
        gap: var(--spacing-md);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .grid-2-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-content {
        text-align: center;
    }

    .pricing-grid, .team-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand-logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: var(--spacing-sm);
    }

    .main-nav {
        order: 3; /* Push nav to the end */
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.active {
        max-height: 300px; /* Max height to reveal content */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: var(--spacing-sm);
    }

    .nav-toggle {
        display: block;
        position: absolute; /* Position relative to header */
        right: var(--spacing-md);
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 1;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }

    .pricing-grid, .team-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Stack to 1 column on mobile */
    }

    .pricing-card h4 {
        font-size: 1.5rem;
    }

    .pricing-card .card-description,
    .team-member-card .member-bio,
    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-section {
        height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
