
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-regular/GolosText-Regular.woff2") format("woff2"), url("fonts/golfont/golos/golos-regular/GolosText-Regular.woff") format("woff");
    font-weight: 400; /* normal */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-medium/GolosText-Medium.woff2") format("woff2"), url("fonts/golfont/golos/golos-medium/GolosText-Medium.woff") format("woff");
    font-weight: 500; /* medium */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-semibold/GolosText-SemiBold.woff2") format("woff2"), url("fonts/golfont/golos/golos-semibold/GolosText-SemiBold.woff") format("woff");
    font-weight: 600; /* semibold */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-bold/GolosText-Bold.woff2") format("woff2"), url("fonts/golfont/golos/golos-bold/GolosText-Bold.woff") format("woff");
    font-weight: 700; /* bold */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-extrabold/GolosText-ExtraBold.woff2") format("woff2"), url("fonts/golfont/golos/golos-extrabold/GolosText-ExtraBold.woff") format("woff");
    font-weight: 800; /* extrabold */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("fonts/golfont/golos/golos-black/GolosText-Black.woff2") format("woff2"), url("fonts/golfont/golos/golos-black/GolosText-Black.woff") format("woff");
    font-weight: 900; /* black */
    font-style: normal;
    font-display: swap;
}


/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-red: #DF2935;
    --accent-green: #86BA90;
    --bg-light: #F5F3BB;
    --crust-brown: #DFA06E;
    --text-dark: #2c2c2c;
    --text-light: #fefefe;
    --bg-white: #FFFFFF;
    --bg-off-white: #f9f9f9;
    --bg-dark: #252525;
    --border-color: #e0e0e0;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --header-height: 80px;
    --banner-height: 100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Golos Text', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--banner-height); /* Space for download banner */
    transition: padding-top 0.4s ease; /* Smoothly adjust padding */
}
body.nav-open {
    overflow: hidden;
}
body.banner-is-hidden {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary-red); transition: color 0.3s ease; }
a:hover { color: #b0202a; }
ul { list-style: none; }

section
{
    overflow-x: hidden;
}

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

.section-padding { padding: 80px 0; }
.dark-section { background: var(--bg-dark); color: var(--text-light); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--text-light); }
.dark-section p { color: rgba(255, 255, 255, 0.8); }
.off-white-section { background-color: var(--bg-off-white); }
.text-center { text-align: center; }
.section-title { margin-bottom: 1rem; }
.section-subtitle { max-width: 600px; margin: 0 auto 3rem auto; color: #666; }
.dark-section .section-subtitle { color: rgba(255, 255, 255, 0.7); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary { background-color: var(--primary-red); color: var(--text-light); }
.btn-primary:hover { background-color: #b0202a; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(223, 41, 53, 0.4); }
.btn-secondary { background-color: transparent; color: var(--primary-red); border-color: var(--primary-red); }
.btn-secondary:hover { background-color: var(--primary-red); color: var(--text-light); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-small { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* --- DOWNLOAD BANNER --- */
.download-banner {
    background-image: url('images/banner-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 47%;
    color: var(--text-dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1001;
    transition: all 0.4s ease; /* Use the same timing */
}
.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 1.5rem;
}
.banner-content p { margin: 0; font-weight: 500; background-color: #fff;
padding: 10px; border-radius: 7px; }
.banner-buttons { display: flex; gap: 0.5rem; }
.download-banner .btn-secondary { color: var(--text-dark); border-color: var(--text-dark); }
.download-banner .btn-secondary:hover { background: var(--text-dark); color: var(--text-light); }
.close-banner-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.banner-hidden { transform: translateY(-100%); }

/* --- HEADER --- */
/* --- HEADER --- */
#main-header {
    position: sticky;
    top: 0; /* Default to 0 */
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: top 0.4s ease; /* Make this match body padding transition */
}
#main-header.banner-is-open {
    top: var(--banner-height);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo { font-size: 1.8rem; font-weight: 800; color: var(--primary-red); }
#main-header nav ul { display: flex; gap: 2rem; }
#main-header nav a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}
#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}
#main-header nav a:hover::after,
#main-header nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.mobile-nav-toggle { display: none; }

/* --- HERO SECTION --- */
#hero {
    height: calc(100vh - var(--header-height) - var(--banner-height));
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}
#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #434343 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 {
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem auto;
    color: rgba(255, 255, 255, 0.9);
}
.hero-cta { display: flex; justify-content: center; gap: 1rem; }
.hero-cta .btn-secondary { color: var(--text-light); border-color: var(--text-light); }
.hero-cta .btn-secondary:hover { background-color: var(--text-light); color: var(--text-dark); }

/* --- GRID LAYOUTS --- */
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2-col-dynamic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- ACHIEVEMENT CARDS --- */
.achievement-card {
    background: var(--bg-white);
    padding: 2.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.achievement-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); }
.achievement-card h3 { color: var(--primary-red); font-size: 3rem; margin-bottom: 0.5rem; }
.achievement-card p { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.achievement-card span { font-size: 0.9rem; color: #666; }

/* --- PROCESS SECTION --- */
.process-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}
.process-wrapper::before { /* Dashed line */
    content: '';
    position: absolute;
    top: 35px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background-image: linear-gradient(to right, var(--crust-brown) 50%, transparent 50%);
    background-size: 20px 2px;
    z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--crust-brown);
    color: var(--text-dark);
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    font-weight: 700;
    border: 4px solid var(--bg-dark);
}
.process-step h3 { margin-bottom: 1rem; color: var(--bg-light); }

/* --- WHO WE ARE SECTION --- */
.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--crust-brown);
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.image-placeholder img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.who-we-are-text p {
    color: #555;
    font-size: 1.1rem;
}

/* --- WHY CHOOSE US / FEATURE CARDS --- */
.feature-card {
    padding: 2rem;
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 1rem; }
.feature-card p { font-size: 0.95rem; color: #666; }

/* --- REVIEWS SLIDER --- */
.slider-container { position: relative; }
.slider-wrapper {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory; /* This is still good for accessibility */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    cursor: grab; /* Add this to indicate it's draggable */
    user-select: none; /* Add this to prevent text selection */
}
.slider-wrapper::-webkit-scrollbar { display: none; /* Safari and Chrome */ }
.review-card {
    flex: 0 0 100%;
    padding: 2.5rem;
    background: var(--bg-off-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    transition: transform 0.5s ease-in-out;
}
.review-text { font-size: 1.2rem; font-style: italic; color: #555; margin-bottom: 2rem; }
.review-author { display: flex; align-items: center; gap: 1rem; }
.author-info h4 { margin: 0; }
.author-info span { color: var(--crust-brown); font-size: 1.2rem; }
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-btn {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--crust-brown);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-btn:hover { background: var(--crust-brown); color: var(--text-light); }

/* --- FEATS & BENEFITS --- */
.feat-item h3 { color: var(--accent-green); margin-bottom: 1rem; }
.benefits-content { max-width: 900px; margin: 0 auto; text-align: justify; column-count: 2; column-gap: 3rem; }


/* --- STORE PAGE SPECIFIC STYLES --- */

/* Full-page Three.js Canvas Container */
#page-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: var(--bg-white);
}

/* Page Hero (for non-home pages) */
#page-hero {
    padding: 60px 0;
    background-color: var(--bg-dark);
    text-align: center;
}
#page-hero h1, #page-hero p {
    color: var(--text-light);
}
#page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Menu Grid & Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}
.pizza-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pizza-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}
.pizza-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.pizza-card p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1; /* Pushes price/button to the bottom */
    margin-bottom: 1rem;
}
.pizza-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}
.pizza-card .btn {
    width: 100%;
}
.pizza-image-placeholder {
    height: 180px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 50%, #e0e0e0 50%, #e0e0e0 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
.pizza-image-placeholder img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Way of Cooking Section */
.cooking-image .image-placeholder {
    height: 100%;
    min-height: 400px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 2.5rem 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--accent-green);
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.4s ease;
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}
.faq-answer p {
    padding: 0 1rem 0 0;
    margin-bottom: 0; /* remove default p margin */
}
.faq-item.active .faq-answer {
    /* JS will set max-height dynamically */
    padding-bottom: 1.5rem;
}

/* Tribute Section */
.tribute-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.tribute-content p {
    text-align: justify;
    color: #555;
    font-size: 1.1rem;
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* Core Values Section */
.value-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}
.value-card h3 {
    margin-bottom: 1rem;
}
.value-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Philosophy Section */
.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}
.philosophy-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 3D Visual Break Section */
#three-visual-break {
    height: 400px;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#dough-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.visual-break-text {
    position: relative;
    z-index: 1;
    text-align: center;
}
.visual-break-text h2 {
    color: var(--text-light);
    font-size: 3rem;
    opacity: 0.8;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Team Section */
.team-member-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}
.team-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--crust-brown);
    margin: 0 auto 1.5rem auto;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 30px 30px;
}
.team-photo-placeholder img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.team-member-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}
.team-member-card span {
    display: block;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
}
.team-member-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Goals/Vision Section */
.goals-content {
    max-width: 800px;
    margin: 0 auto;
}
.goals-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .value-card:last-child {
        grid-column: 1 / -1; /* Center last card if grid becomes 2x2 */
    }
    .team-member-card:last-child {
        grid-column: 1 / -1;
    }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */

#contact-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #fdfdfd 0%, #f5f5f5 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info column, Form column */
    gap: 4rem;
    align-items: flex-start;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-info h3, .contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-info p, .contact-form-wrapper p {
    color: #666;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: #666;
}

.info-item a {
    font-weight: 600;
}

/* Floating Label Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-off-white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: var(--bg-white);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #888;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.7rem;
    left: 0.75rem;
    font-size: 0.8rem;
    background-color: var(--bg-white);
    padding: 0 0.5rem;
    color: var(--primary-red);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.form-check label {
    font-size: 0.9rem;
    color: #666;
}

.contact-form-wrapper .btn {
    width: 100%;
}

/* Responsive adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
}


/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-logo
{
    color: #DF2935 !important;
    font-size: 24px;
    font-weight: 700;
}
.footer-col h3, .footer-col h4 { color: var(--text-light); margin-bottom: 1rem; }
.footer-col h3 { font-size: 1.5rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--text-light); }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: background-color 0.3s ease;
}
.social-links a:hover { background-color: var(--primary-red); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in { transform: translateY(20px); }
.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .grid-3-col { grid-template-columns: 1fr 1fr; }
    .achievement-card:last-child { grid-column: 1 / -1; }
    .process-wrapper { grid-template-columns: 1fr 1fr; }
    .process-wrapper::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .benefits-content { column-count: 1; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    #main-header .btn { display: none; }
    
    /* UPDATE THIS RULE */
    #main-header nav {
        position: fixed;
        top: 70px;
        right: 0%;
        width: 70%;
        max-width: 300px; /* Added for better control */
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.4s ease-in-out;
        z-index: 1001; /* ADD THIS: Ensure nav is on top */
        opacity: 0;
        visibility: hidden;
    }
    #main-header nav.active 
    {
         right: 0;
         opacity: 1;
         visibility: visible; 
    }
    #main-header nav ul { flex-direction: column; text-align: center; gap: 2.5rem; }
    #main-header nav a { font-size: 1.2rem; }

    /* UPDATE THIS RULE */
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1002; /* CHANGE THIS: Ensure toggle is above the nav */
        position: relative; /* ADD THIS: For z-index to work reliably */
        color: var(--text-dark); /* Ensure it's always visible */
    }
    .grid-3-col, .grid-2-col-dynamic {display: block; grid-template-columns: 1fr; gap: 2rem; }
    .achievement-card
    {
        margin-bottom: 20px;
    }
    .achievement-card h3
    {
        font-size: 1.7rem;
    }
    .feature-card
    {
        margin-bottom: 20px;
    }
    .value-card
    {
        margin-bottom: 20px;
    }
    .team-member-card
    {
        margin-bottom: 20px;
    }
    .image-placeholder { height: 300px; }
    .process-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul { padding-left: 0; }
    .social-links { justify-content: center; }
    .banner-content { flex-direction: column; text-align: center; gap: 0.5rem; padding: 5px 0;}
    .download-banner { height: auto; padding: 0.5rem 0;}
    body { padding-top: 100px; } /* Adjust for taller banner */
}



@media (max-width: 580px) {
    .download-banner
    {
        height: 100vh;
        background-position-x: 50%;
    }
    .banner-content p 
    {
        font-size: 24px;
        font-weight: 700;
    }
    
}
@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    
}

/* --- THANKS PAGE SPECIFIC STYLES --- */

#thanks-section {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Calculate height to fill viewport minus the header */
    min-height: calc(100vh - var(--header-height));
    background-color: var(--bg-off-white);
    padding: 4rem 0;
}

.thanks-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.thanks-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thanks-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.thanks-card .btn {
    margin-top: 1rem;
}

/* Animated Checkmark CSS */
.animated-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 0 auto 2rem auto;
    box-shadow: inset 0px 0px 0px var(--accent-green);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.animated-checkmark .checkmark-stem,
.animated-checkmark .checkmark-kick {
    background-color: white; /* The checkmark lines are white */
    position: absolute;
    height: 5px;
    width: 0;
    border-radius: 2px;
}

.animated-checkmark .checkmark-stem {
    top: 48px;
    left: 21px;
    width: 25px;
    transform: rotate(45deg);
    animation: draw-stem 0.2s linear 0.5s forwards;
}

.animated-checkmark .checkmark-kick {
    top: 42px;
    left: 40px;
    width: 47px;
    transform: rotate(-45deg);
    animation: draw-kick 0.2s linear 0.7s forwards;
}

/* Keyframe animations for the checkmark */
@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 80px var(--accent-green);
    }
}

@keyframes draw-stem {
    100% {
        width: 25px;
    }
}

@keyframes draw-kick {
    100% {
        width: 47px;
    }
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .thanks-card {
        padding: 2rem;
    }
    .thanks-card h1 {
        font-size: 2rem;
    }
}