/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Hawaii-inspired professional color palette */
    --ocean-blue: #0077be;
    --ocean-dark: #004d7a;
    --tropical-teal: #00b8b8;
    --tropical-light: #5ae3ff;
    --sunset-coral: #ff6b6b;
    --sunset-orange: #ff9f1c;
    --palm-green: #2d6a4f;
    --sand-beige: #f9f7f4;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5e;
    --text-light: #8d99ae;
    --border-light: #e8e8e8;
}

body {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header and Navigation */
header {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-light);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ocean-blue);
    margin-bottom: 0.15rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--tropical-teal);
    font-weight: 400;
    font-style: normal;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.nav-links a:hover {
    color: var(--tropical-teal);
}

/* Portal Login Button */
.nav-links a.portal-button {
    background: linear-gradient(135deg, var(--ocean-blue), var(--tropical-teal));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
}

.nav-links a.portal-button:hover {
    background: linear-gradient(135deg, var(--tropical-teal), var(--ocean-blue));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--ocean-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--tropical-teal) 100%);
    color: var(--white);
    padding: 140px 40px 200px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--tropical-light);
    color: var(--text-dark);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(90, 227, 255, 0.3);
    border: 2px solid var(--tropical-light);
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--ocean-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(90, 227, 255, 0.4);
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-path {
    fill: var(--white);
}

/* Services Section */
.services {
    padding: 100px 40px;
    background-color: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--tropical-light);
    box-shadow: 0 12px 30px rgba(0, 184, 184, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1rem;
}

/* Portal Info Section */
.portal-info {
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(240, 250, 255, 0.5) 0%, rgba(200, 240, 255, 0.3) 50%, rgba(90, 227, 255, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.portal-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 119, 190, 0.15);
    border: 3px solid var(--tropical-light);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.portal-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.portal-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        var(--tropical-light),
        var(--tropical-teal),
        var(--ocean-blue),
        var(--tropical-teal),
        var(--tropical-light)
    );
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: -1;
    animation: glowBorder 10s ease-in-out infinite;
    filter: blur(8px);
    opacity: 0.7;
}

@keyframes glowBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.portal-card h2 {
    font-size: 2.8rem;
    color: #003d5e;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.portal-card h3 {
    font-size: 1.6rem;
    color: #0077be;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.portal-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portal-features {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portal-features li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.portal-features li.animate {
    opacity: 1;
    transform: translateX(0);
}

.portal-features li:before {
    content: "🌺";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.portal-features li strong {
    color: #003d5e;
    font-weight: 700;
}

.portal-cta {
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease 0.4s;
}

.portal-cta.animate {
    opacity: 1;
    transform: scale(1);
}

.portal-button {
    display: inline-block;
    background: var(--tropical-light);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(90, 227, 255, 0.3);
    border: 2px solid var(--tropical-light);
    position: relative;
    overflow: hidden;
}

.portal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.portal-button:hover::before {
    left: 100%;
}

.portal-button:hover {
    background: var(--tropical-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(90, 227, 255, 0.5);
    border-color: var(--tropical-teal);
}

.portal-button span {
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 40px;
    background: var(--sand-beige);
}

.about h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.about-content {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.8rem;
    text-align: left;
}

/* Contact Section */
.contact {
    padding: 100px 40px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.8px;
}

.contact-content {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--ocean-blue);
    font-weight: 600;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.contact-info a {
    color: var(--tropical-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--ocean-blue);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--sand-beige);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: 'Lexend Deca', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tropical-teal);
    box-shadow: 0 0 0 3px rgba(0, 184, 184, 0.1);
}

.submit-button {
    width: 100%;
    padding: 16px;
    background-color: var(--ocean-blue);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lexend Deca', sans-serif;
}

.submit-button:hover {
    background-color: var(--tropical-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 184, 0.3);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2.5rem 40px;
}

footer p {
    font-size: 0.95rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    nav {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 85px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid var(--border-light);
    }

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

    .nav-links li {
        padding: 1rem 0;
    }

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

    .nav-links a.portal-button {
        display: inline-block;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 100px 20px 160px;
    }

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

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

    .services,
    .portal-info,
    .about,
    .contact {
        padding: 80px 20px;
    }

    .services h2,
    .portal-info h2,
    .about h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .portal-card {
        padding: 3rem 2rem;
    }

    .portal-card h2 {
        font-size: 2.2rem;
    }

    .portal-card h3 {
        font-size: 1.4rem;
    }

    .portal-description {
        font-size: 1.05rem;
    }

    .portal-features li {
        font-size: 1rem;
        padding-left: 2rem;
    }

    .portal-features li:before {
        font-size: 1.3rem;
    }

    .portal-button {
        padding: 16px 40px;
        font-size: 1.05rem;
    }

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

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

    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

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

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

    .services h2,
    .portal-info h2,
    .about h2,
    .contact h2 {
        font-size: 1.9rem;
    }

    .portal-card {
        padding: 2.5rem 1.5rem;
    }

    .portal-card h2 {
        font-size: 1.9rem;
    }

    .portal-card h3 {
        font-size: 1.2rem;
    }

    .portal-description {
        font-size: 1rem;
    }

    .portal-features li {
        font-size: 0.95rem;
        padding-left: 1.8rem;
    }

    .portal-features li:before {
        font-size: 1.2rem;
    }

    .portal-button {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}
