@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #004851;
    --accent: #E27D3F;
    --gold: #E9B711;
    --bg-light: #F8FAFB;
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo-container {
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.logo-container img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #00363d;
}

/* Parallax Sections */
section.parallax {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 10%;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.content-card {
    background: var(--glass);
    backdrop-filter: blur(8px);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.content-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-card h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.content-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Services Grid */
#services {
    padding: 8rem 10%;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.service-item {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Pricing Section */
#pricing {
    padding: 8rem 10%;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    background: white;
    box-shadow: 0 20px 40px rgba(0,72,81,0.15);
}

.pricing-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card:hover {
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.setup-fee {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--gold);
    margin-right: 10px;
}

/* CTA Footer */
.final-cta {
    padding: 6rem 10%;
    background: linear-gradient(135deg, var(--primary) 0%, #002D33 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

footer {
    background: #001A1E;
    color: rgba(255,255,255,0.6);
    padding: 2rem 4rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        height: 80px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    #navbar .cta-btn {
        display: none; /* Hide top CTA on small screens to save space */
    }

    .logo-container {
        padding: 5px 10px;
    }

    .logo-container img {
        height: 40px;
    }

    .content-card {
        padding: 2.5rem 1.5rem;
        margin: 2rem 5%;
        width: 90%;
    }

    .content-card h1 {
        font-size: 2.2rem;
    }

    section.parallax {
        height: auto;
        min-height: 100vh;
        padding: 100px 5% 4rem 5%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: visible;
    }

    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
        position: absolute;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Fix for Button Wrapping in Final CTA */
.final-cta .cta-btn {
    display: inline-block;
    white-space: normal;
    overflow-wrap: break-word; /* Modern equivalent of word-wrap */
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.4;
    padding: 1.2rem 2rem;
}

@media (max-width: 480px) {
    .final-cta .cta-btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Founder Portraits Grid */
.founders-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.founder-portrait {
    text-align: center;
    width: 140px;
    transition: transform 0.3s ease;
}

.founder-portrait:hover {
    transform: translateY(-5px);
}

.founder-portrait img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow);
    margin-bottom: 0.8rem;
}

.founder-portrait span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.founder-portrait small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Contact Form Section */
#contact {
    padding: 8rem 10%;
    background: var(--white);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    padding-left: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(226, 125, 63, 0.1);
}

.contact-form .cta-btn {
    align-self: flex-start;
    padding: 1.2rem 3rem;
    margin-top: 1rem;
    width: auto;
}

@media (max-width: 768px) {
    #contact {
        padding: 5rem 5%;
    }
    
    .contact-container {
        padding: 2.5rem 1.5rem;
    }

    .contact-form .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* Professional Footer */
footer {
    background: #002b30; /* Deeper version of primary */
    color: var(--white);
    padding: 5rem 10% 2rem 10%;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    height: 40px;
}

.footer-about .footer-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.7;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-section:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 4rem 5% 2rem 5%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        grid-column: span 1;
    }
    
    .footer-section {
        text-align: center;
    }

    .footer-about .footer-logo {
        justify-content: center;
    }

    .footer-about p {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
