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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fafafa;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 3rem);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .nav-menu a {
    color: rgba(26, 26, 26, 0.9);
    text-shadow: none;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: rgba(26, 26, 26, 0.9);
    box-shadow: none;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:active {
    transform: translateY(0);
}

.nav-menu a span {
    position: relative;
    z-index: 1;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    left: 1rem;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: block; /* Changed from flex to allow sticky positioning */
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: visible; /* Required for sticky positioning */
    padding-bottom: 64px;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-glass-container {
    position: sticky;
    top: 20vh;
    margin-left: 5vw;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    width: 700px;
    max-width: 90vw;
    opacity: 1;
    visibility: visible;
    color: white;
}

.hero-glass-container.scrolled-past {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-glass-container:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: white;
}

.hero-tagline {
    font-size: 1.15rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    color: white;
}

.hero-location {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #0D5649;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0a4339;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #1a1a1a;
    text-align: center;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.about-logo {
    margin-top: 3rem;
}

.about-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.philosophy-list {
    list-style: none;
    padding-left: 0;
}

.philosophy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.philosophy-list li:last-child {
    border-bottom: none;
}

.philosophy-list strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.5rem;
}

.award-notice {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: #f7fafc;
    border-left: 4px solid #0D5649;
    border-radius: 4px;
}

.award-notice p {
    margin-bottom: 0;
    color: #1a1a1a;
    font-size: 1rem;
}

/* Strategies Section */
.services-section {
    background-color: #f7fafc;
}

.services-content {
    max-width: 1100px;
    margin: 0 auto;
}

.services-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.services-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.strategy-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.strategy-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.strategy-item p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Approach Section */
.approach-section {
    background-color: white;
}

.approach-image-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.approach-image {
    width: 100%;
    height: auto;
    display: block;
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.approach-item {
    padding: 2rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #0D5649;
}

.approach-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.approach-item p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background-color: #f7fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D5649;
    box-shadow: 0 0 0 3px rgba(13, 86, 73, 0.1);
}

.form-group textarea {
    resize: vertical;
}

#form-status {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
}

#form-status:not([style*="display: none"]) {
    background-color: #f0f9f7;
    border: 1px solid #0D5649;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-disclaimer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 0;
        left: auto;
        right: 0;
        transform: none;
        width: auto;
        max-width: none;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
    }

    .navbar.scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
    }

    .nav-container {
        justify-content: flex-end;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        left: auto;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: calc(1rem + 50px);
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding-bottom: 32px;
    }

    .hero-glass-container {
        top: 20vh;
        margin-left: 5vw;
        width: calc(90% - 5vw);
        max-width: 500px;
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-location {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .strategy-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 0;
        left: auto;
        right: 0;
        transform: none;
        width: auto;
        max-width: none;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-container {
        padding: 0.75rem;
    }

    .mobile-menu-toggle {
        top: 0.75rem;
        right: 0.75rem;
    }

    .nav-menu {
        top: calc(0.75rem + 50px);
        left: 0.75rem;
        right: 0.75rem;
        border-radius: 16px;
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-bottom: 24px;
    }

    .hero-glass-container {
        top: 18vh;
        margin-left: 5vw;
        width: calc(90% - 5vw);
        max-width: 400px;
        padding: 1rem 0.875rem;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cta-button {
        border-radius: 16px;
    }
}
