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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #fafaf9 0%, rgba(6, 78, 59, 0.05) 50%, #f5f5f4 100%);
    min-height: 100vh;
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 25% 25%, #6B9B5C 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #6B9B5C 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #065f46;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: #047857;
    letter-spacing: 0.1em;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #065f46;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #047857;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background: #047857;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: #065f46;
}

.mobile-menu-btn:hover {
    background: #d1fae5;
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid #a7f3d0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #065f46;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #d1fae5;
}

.mobile-nav-link.active {
    background: #047857;
    color: white;
}

/* Page Sections */
.page-section {
    display: none;
    padding-top: 80px;
    min-height: 100vh;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-display {
    width: 800px;
    height: 800px;
    margin: 0 auto 2rem;
    box-shadow: none;
    overflow: visible;
    background: transparent;
    transition: transform 0.7s ease;
}

.logo-display:hover {
    transform: scale(1.05);
}

.logo-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h2 {
    font-size: 4rem;
    color: #064e3b;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.5rem;
    color: #047857;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #047857;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #065f46;
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: #065f46;
    border: 2px solid #047857;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #ecfdf5;
    transform: scale(1.05);
}

/* Section Styles */
.section {
    padding: 6rem 1rem;
}

.section-white {
    background: white;
}

.section-emerald {
    background: #ecfdf5;
}

.section-dark {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #064e3b;
    margin-bottom: 1rem;
}

.section-dark .section-header h2 {
    color: white;
}

.section-divider {
    width: 96px;
    height: 4px;
    background: #047857;
    margin: 0 auto 1.5rem;
}

.section-dark .section-divider {
    background: #6ee7b7;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

/* Cards */
.card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #6ee7b7;
    transform: translateY(-4px);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon-emerald {
    background: #d1fae5;
    color: #047857;
}

.card-icon-teal {
    background: #ccfbf1;
    color: #0f766e;
}

.card-icon-amber {
    background: #fef3c7;
    color: #d97706;
}

.card h3 {
    font-size: 1.5rem;
    color: #064e3b;
    margin-bottom: 0.75rem;
}

.card p {
    color: #374151;
    margin-bottom: 1rem;
}

.card-link {
    color: #047857;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.card-link:hover {
    color: #064e3b;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 4rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.service-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.service-icon svg {
    width: 120px;
    height: 120px;
    color: white;
    opacity: 0.8;
}

.service-content {
    padding: 3rem;
}

.service-content h2 {
    font-size: 2.5rem;
    color: #064e3b;
    margin-bottom: 1.5rem;
}

.service-content p {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-content h3 {
    font-size: 1.25rem;
    color: #047857;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

.service-list svg {
    width: 20px;
    height: 20px;
    color: #047857;
    flex-shrink: 0;
    margin-top: 4px;
}

.placeholder-box {
    background: #f3f4f6;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid #d1fae5;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.testimonial-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #d1fae5;
    color: #047857;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #374151;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    border-top: 1px solid #d1fae5;
    padding-top: 1rem;
}

.testimonial-author .name {
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 0.25rem;
}

.testimonial-author .role {
    font-size: 0.875rem;
    color: #047857;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left: 8px solid;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.program-card.emerald {
    border-left-color: #047857;
}

.program-card.teal {
    border-left-color: #0f766e;
}

.program-card.amber {
    border-left-color: #d97706;
}

.program-header {
    padding: 2rem;
    flex: 1;
}

.program-header.emerald {
    background: #ecfdf5;
}

.program-header.teal {
    background: #f0fdfa;
}

.program-header.amber {
    background: #fffbeb;
}

.program-header h3 {
    font-size: 1.5rem;
    color: #064e3b;
    margin-bottom: 1rem;
}

.program-dates {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.program-schedule {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.program-description {
    color: #374151;
    margin-bottom: 1rem;
    min-height: 3em;
}

.program-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0.5rem;
}

.program-hours {
    font-size: 0.875rem;
    font-weight: 600;
    color: #047857;
}

.program-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #064e3b;
}

.program-body {
    padding: 1.5rem;
}

.program-body .btn {
    width: 100%;
}

/* Certification Cards */
.cert-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-year {
    font-size: 0.875rem;
    color: #6ee7b7;
    margin-bottom: 0.5rem;
}

.cert-card h3 {
    font-size: 1.5rem;
    color: #d1fae5;
    margin-bottom: 0.75rem;
}

.cert-card p {
    color: #a7f3d0;
    line-height: 1.8;
}

/* Contact Form */
.contact-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #047857;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.125rem;
}

.contact-details a:hover {
    color: #6ee7b7;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: #a7f3d0;
    margin-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a7f3d0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6ee7b7;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.5);
}

.form-group select option {
    color: #1f2937;
}

.form-hidden {
    display: none;
}

/* Footer */
footer {
    background: #022c22;
    color: #a7f3d0;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.875rem;
    color: #6ee7b7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links button {
    background: none;
    border: none;
    color: #a7f3d0;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.footer-links button:hover {
    color: white;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-contact span,
.footer-contact a {
    color: #ffffff;  /* White for better visibility */
    text-decoration: none;
}

.footer-contact a:hover {
    color: #6ee7b7;  /* Bright emerald on hover */
}

.footer-contact svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid #065f46;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #6ee7b7;
    color: #022c22;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(110, 231, 183, 0.3);
    border-color: #6ee7b7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .logo-display {
        width: 240px;
        height: 240px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-content h2 {
        font-size: 1.875rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}
