/* Global Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

:root {
    --color-green-dark: #116835;
    /* Header Green */
    --color-cream: #F8F7F2;
    /* Main BG */
    --color-gold: #C5A065;
    /* Gold Accents */
    --color-black: #000000;
    --color-red: #D32F2F;
    --color-yellow: #FBC02D;

    --font-main: 'Inter', sans-serif;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-cream);
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Top Banner */
.top-banner {
    background-color: #0d3b23;
    /* Matching header dark green or darker */
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-start-here .section-title {
    text-align: center;
}

/* Header */
.main-header {
    background-color: var(--color-green-dark);
    padding-top: 2rem;
    padding-bottom: 4rem;
    color: white;
}

.header-top {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    font-size: 3.75rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (min-width: 769px) {
    .header-top {
        font-size: 1.875rem;
    }
}

.brand-title-container {
    text-align: center;
}

.brand-title {
    font-size: 12vw;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 5.8vw;
        letter-spacing: -0.05em;
        white-space: nowrap;

    }
}

.hero-image-container {
    width: 90%;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* Sections General */
.section-welcome,
.section-meet-author,
.section-start-here,
.section-footer-cta {
    padding: 6rem 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0d3b23;
    /* Darker green for headings */
    margin-bottom: 2rem;
}

.text-right {
    text-align: right;
}

.grid-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Welcome Section */
.welcome-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333;
}

.amazon-btn-wrapper {
    margin-top: 2rem;
}

.btn-amazon {
    background: #E4C59E;
    /* Beige/Gold-ish from screenshot */
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: black;
}

.gold-frame-container {
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    /* Remove padding for the pre-framed image */
    border: none;
    /* Remove border */
    display: inline-block;
    /* Ensure minimum size for better visibility */
}

.gold-frame-container img {
    border-radius: 0.5rem;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    /* Ensure it has significant height */
    object-fit: cover;
}

/* Meet Author */
.section-meet-author .grid-50-50 {
    grid-template-columns: 4fr 6fr;
    /* Give more width to text */
    gap: 3rem;
    align-items: stretch;
    /* Ensure both columns stretch to same height */
}


.author-portrait {
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    /* constrain width of the wrapper */
    max-width: 500px;
    margin: 0 auto;
    height: 97%;
    /* Stretch to fill grid cell */
    display: flex;
    /* Fix for inner div spacing */
    flex-direction: column;
}

.dark-overlay-container {
    height: 100%;
    width: 100%;
}

.author-bw-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, cropping if needed */
    filter: grayscale(100%) contrast(1.2);
    display: block;
}

.section-meet-author .section-title {
    text-align: left;
    /* Force left alignment */
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.5rem;
    z-index: 2;
    /* Stylized overlay if needed, or simple text */
}

.bio-text {
    font-size: 1rem;
    color: #444;
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* Start Here */
.mb-large {
    margin-bottom: 4rem;
}

.blueprint-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
}

.blueprint-subtext {
    font-size: 1rem;
    font-weight: 700;
    color: #0d3b23;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.start-card h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #0d3b23;
}

.start-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.card-viz {
    height: 180px;
    /* Taller */
    background: #eee;
    margin-bottom: 2rem;
    border-radius: 1rem;
    /* More rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.red-viz {
    background-color: #F8E7E7;
    color: var(--color-red);
}

/* Red Viz - Abstract Geometric Shapes */
.red-viz::after {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--color-red);
    border-radius: 50%;
    position: absolute;
    top: -10%;
    right: -10%;
    opacity: 0.1;
}

.red-viz::before {
    content: '';
    width: 40px;
    height: 120px;
    background: var(--color-red);
    position: absolute;
    bottom: -20px;
    left: 30px;
    transform: rotate(25deg);
    border-radius: 20px;
    opacity: 0.8;
}

.yellow-viz {
    background-color: #FEF3C7;
}

.yellow-viz::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 20px solid var(--color-yellow);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    /* Half circle arc */
}

.beige-viz {
    background-color: #FDF6E3;
}

.dots-circle {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#C5A065 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    position: absolute;
}


/* Library Footer */
.section-library-footer {
    padding: 0;
    height: 900px;
    overflow: hidden;
    position: relative;
}

.library-img {
    width: 100%;
    height: 900px;
    object-fit: cover;
    object-position: center;
}


/* FAQ Section */
.section-faq {
    padding: 6rem 0;
    background-color: var(--color-cream);
}

.text-center {
    text-align: center;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d3b23;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #444;
    line-height: 1.6;
}

/* Footer CTA */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-title h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #0d3b23;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
}

.btn-black {
    background: black;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-black:hover,
.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.section-welcome,
.section-meet-author,
.section-start-here,
.section-footer-cta,
.main-header {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations for cleanliness */
.section-welcome {
    animation-delay: 0.1s;
}

.section-meet-author {
    animation-delay: 0.2s;
}

.section-start-here {
    animation-delay: 0.3s;
}

.section-footer-cta {
    animation-delay: 0.4s;
}

/* Enhanced Interactions */
.start-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
    border-radius: 1rem;
}

.start-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
    /* subtle highlight on hover */
}

.btn-amazon {
    background: #E4C59E;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: black;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 197, 158, 0.5);
    background: #eccc9f;
}



.btn-green {
    background: var(--color-green-dark);
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}

/* What's Inside Section */
.section-whats-inside {
    padding: 6rem 0;
    background-color: white;
    /* distinct bg */
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.inside-card {
    padding: 2rem 1.5rem;
    background: #F8F7F2;
    /* Cream Light */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.inside-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.inside-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(17, 104, 53, 0.1);
    /* Very light green */
    margin-bottom: 0.5rem;
    line-height: 1;
}

.inside-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-green-dark);
}

.inside-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.section-photo-ticker {
    padding: 3rem 0;
    background-color: white;
    overflow: hidden;
    width: 100%;
}

.photo-ticker {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.photo-ticker::before,
.photo-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}

.photo-ticker::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.photo-ticker::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.photo-ticker-track {
    display: flex;
    gap: 1.25rem;
    animation: scroll 14s linear infinite;
    width: fit-content;
    align-items: center;
}

.photo-ticker-track:hover {
    animation-play-state: paused;
}

.photo-ticker-img {
    flex: 0 0 auto;
    height: 250px;
    width: auto;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .photo-ticker-img {
        height: 120px;
    }

    .photo-ticker::before,
    .photo-ticker::after {
        width: 48px;
    }
}

/* Testimonials Section */
.section-testimonials {
    padding: 6rem 0;
    background-color: white;
    overflow: hidden;
    width: 100%;
}

.testimonials-ticker {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid rgba(17, 104, 53, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold);
}

.stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-green-dark);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Order Now Section */
.section-order-now {
    padding: 4rem 0;
    background-color: var(--color-cream);
    text-align: center;
}

/* Inline Order Icons Sections */
.section-order-icons-inline {
    padding: 3rem 0;
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.order-title {
    font-size: 3rem;
    font-weight: 900;
    color: #0d3b23;
    margin-bottom: 3rem;
    text-align: center;
}

.order-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.order-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    /* font-size: 4rem; Removed for image logos */
}

.order-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* Logo Images */
.vendor-logo {
    height: 48px;
    /* Fixed height for consistency */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    /* Removes weird spacing */
}

/* Specific Adjustments per logo if needed */
.amazon-icon .vendor-logo {
    height: 38px;
    /* Amazon text logo usually needs less height to match visual weight */
}



.order-icon i,
.order-icon svg {
    display: none;
    /* Ensure no old icons show up */
}

.amazon-icon {
    color: #FF9900;
}

.flipkart-icon {
    color: #2874F0;
}

.flipkart-logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-main);
    text-transform: lowercase;
    color: #2874F0;
}



@media (max-width: 768px) {

    /* Header */
    .brand-title {
        font-size: 3rem;
    }

    .header-top {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    /* .header-center {
        display: none;
    } Removed to show Build on mobile */

    /* Sections */
    .section-welcome,
    .section-meet-author,
    .section-start-here,
    .section-testimonials,
    .section-footer-cta {
        padding: 3rem 0;
    }

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

    .order-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .top-banner {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    /* Grid Layouts */
    .grid-50-50 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

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

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

    /* Images */
    .gold-frame-container {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }

    .gold-frame-container img {
        width: 100%;
        height: auto;
    }

    .section-library-footer {
        height: 300px;
    }

    .library-img {
        height: 300px;
    }

    /* Welcome Section */
    .welcome-desc {
        font-size: 1rem;
    }

    .btn-amazon {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    /* Blueprint Section */
    .blueprint-intro {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .blueprint-subtext {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        min-height: auto;
    }

    .ticker-track {
        animation: scroll 30s linear infinite;
    }

    /* Order Icons */
    .order-icons {
        gap: 2rem;
        justify-content: center;
        width: 100%;
    }

    .order-icon {
        font-size: 3rem;
    }

    .vendor-logo {
        height: 36px;
    }

    .amazon-icon .vendor-logo {
        height: 28px;
    }



    .flipkart-logo-text {
        font-size: 2rem;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-title h2 {
        font-size: 2.5rem;
    }

    .footer-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
        /* Center horizontally */
    }

    .btn-black,
    .btn-green {
        width: 100%;
        max-width: 300px;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }

    /* Container */
    .container {
        padding: 0 1.5rem;
    }
}

.available-on-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

/* Modal Styles - Force redeploy */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: #0d3b23;
    font-size: 2rem;
    text-align: center;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d3b23;
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* Blueprint Section Refactor */
.blueprint-container {
    display: flex;
    flex-direction: row;
    /* Enforce row */
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
}

.blueprint-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.blueprint-book-img {
    max-width: 100%;
    width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.blueprint-book-img:hover {
    transform: scale(1.05);
    /* Zoom effect */
}

.blueprint-list-header {
    color: #1a4d2e;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: -1rem;
    padding-left: 2rem;
}

.blueprint-content-list {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blueprint-item {
    padding-left: 2rem;
    border-left: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

.blueprint-item:hover {
    border-left-color: var(--color-green-dark);
}

.blueprint-item h3 {
    color: var(--color-green-dark);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blueprint-item p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .blueprint-container {
        flex-direction: column;
        gap: 3rem;
    }

    .blueprint-book-img {
        width: 250px;
        transform: rotate(0deg);
    }

    .blueprint-item {
        padding-left: 1.5rem;
    }
}