/* CSS Design System for lienGenie */
:root {
    --primary-color: #ee6d00;
    /* Updated from logo orange */
    --secondary-color: #f9f4f0;
    /* Soft cream background */
    --accent-color: #333333;
    /* Dark grey for text elegance */
    --white: #ffffff;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}



header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 90px;
    transition: height 0.3s ease;
}

header nav {
    display: flex;
    align-items: center;
}

header ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

header ul li a {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-color);
    z-index: 1001;
    /* Above the overlay */
}

header ul li a:hover {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.5s;
}

.hero-content p {
    font-size: 1.5rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1.2s forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.concept-images-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}

.concept-img-main {
    width: 75%;
    border-radius: 30px 30px 0 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.concept-img-sub {
    width: 60%;
    border-radius: 30px 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -10%;
    left: 0;
    z-index: 1;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Table styling for Price */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.plan-card {
    display: flex;
    flex-direction: column;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.price-table th,
.price-table td {
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.price-table th {
    background: var(--primary-color);
    color: var(--white);
    width: 30%;
}

/* Q&A */
.qa-item {
    margin-bottom: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
}

.qa-item .question {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

/* Footer */
footer {
    background: var(--accent-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
    height: 50px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Counselor Card */
.counselor-card {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.counselor-image-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.counselor-info {
    flex: 2;
    min-width: 280px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .concept-grid,
    .features-grid,
    .contact-grid,
    .plans-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.4rem;
        /* 20% smaller than 3rem */
    }

    .hamburger {
        display: block;
    }

    header .logo img {
        height: 60px;
    }

    .header-contact-info {
        display: none !important; /* Hide complicated contact info in mobile header to prevent overflow */
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0;
    }

    header nav ul li a {
        font-size: 1.5rem;
    }

    .counselor-card {
        padding: 30px 20px;
        gap: 30px;
        flex-direction: column;
    }

    .counselor-image-wrapper, .counselor-info {
        min-width: 0;
        width: 100%;
    }

    .zoom-plan-card {
        padding: 40px 15px !important;
    }

    .curriculum-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

}
