@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-cream: #F5F1E8;
    --bg-white: #FFFFFF;
    --accent-navy: #1E2A38;
    --accent-gold: #C6A75E;
    --accent-gold-hover: #b5954a;
    --text-gray: #5B5B5B;
    --text-dark: #1E2A38;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;
    --space-16: 128px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-soft: 0 10px 30px rgba(30, 42, 56, 0.05);
    --shadow-hover: 0 20px 40px rgba(30, 42, 56, 0.1);
    --shadow-glow: 0 0 20px rgba(198, 167, 94, 0.4);

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section {
    padding: var(--space-12) 0;
}

.section-light {
    background-color: var(--bg-white);
}

.section-navy {
    background-color: var(--accent-navy);
    color: var(--bg-white);
}

.section-navy h2,
.section-navy h3 {
    color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-2);
}

.section-header p {
    font-size: 1.125rem;
}

/* =========================================
   Typography & Elements
   ========================================= */
.accent-text {
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: var(--space-2);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1.5px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-navy);
    color: var(--accent-navy);
}

.btn-outline:hover {
    background-color: var(--accent-navy);
    color: var(--bg-white);
}

.btn-outline.text-white {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-outline.text-white:hover {
    background-color: var(--bg-white);
    color: var(--accent-navy);
}

/* =========================================
   Header & Nav
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-4) 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    padding: var(--space-2) 0;
    background-color: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.navbar.navbar-dark:not(.scrolled) {
    color: var(--bg-white);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: var(--space-4);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

.navbar-dark:not(.scrolled) .menu-toggle span {
    background-color: var(--bg-white);
}

/* =========================================
   Hero Slider (Home Page)
   ========================================= */
.hero-slider-wrap {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.slide-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--bg-white);
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.hero-slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--bg-white);
    margin-bottom: var(--space-5);
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.hero-slide.active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.slide-cta {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.7s, transform 1s ease 0.7s;
}

.hero-slide.active .slide-cta {
    opacity: 1;
    transform: translateY(0);
}

.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    z-index: 10;
    pointer-events: none;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-fast);
    font-size: 1.25rem;
}

.hero-btn:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

.hero-dots {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    padding: 0;
}

.hero-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* =========================================
   Secondary Page Hero
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* For parallax */
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 42, 56, 0.4), rgba(30, 42, 56, 0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding-top: var(--space-12);
    z-index: 1;
}

.hero-page {
    min-height: 50vh;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--bg-white);
    margin-bottom: var(--space-3);
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--space-5);
    font-weight: 300;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    opacity: 0;
}

/* =========================================
   Animations (Classes)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fade-in.visible {
    opacity: 1;
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   Cards (Services, Ministries, Events)
   ========================================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    align-items: center;
}

.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img {
    transform: scale(1.05);
    /* Image zoom effect */
}

.card-content {
    padding: var(--space-4);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.card-meta {
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-2);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-desc {
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.card-link {
    color: var(--accent-navy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Leader Card Specific */
.leader-card {
    text-align: center;
    background: transparent;
    box-shadow: none;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.leader-card .card-img-wrap {
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin-bottom: var(--space-3);
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* =========================================
   Testimonials Slider
   ========================================= */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: var(--space-4);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-2);
    opacity: 0.3;
}

.testimonial-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-family: var(--font-heading);
    color: var(--accent-navy);
    margin-bottom: var(--space-4);
    font-style: italic;
}

.section-navy .testimonial-text {
    color: var(--bg-white);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.section-navy .testimonial-author {
    color: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-4);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(30, 42, 56, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.section-navy .dot {
    background-color: rgba(255, 255, 255, 0.2);
}

.dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.2);
}

/* =========================================
   Forms (Contact & Donate)
   ========================================= */
.form-card {
    background-color: var(--bg-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    position: relative;
    margin-bottom: var(--space-4);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.1);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.floating-label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: #999;
    transition: var(--transition-fast);
    pointer-events: none;
    background-color: var(--bg-white);
    padding: 0 4px;
}

.form-input:focus~.floating-label,
.form-input:not(:placeholder-shown)~.floating-label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.amount-btn {
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.amount-btn.active,
.amount-btn:hover {
    background-color: var(--accent-navy);
    color: var(--bg-white);
    border-color: var(--accent-navy);
}

/* =========================================
   Sermon Grid & Filters
   ========================================= */
.filters {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--accent-navy);
    color: var(--bg-white);
    border-color: var(--accent-navy);
}

.sermon-item {
    transition: opacity 0.3s ease;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    opacity: 0;
    transition: var(--transition-smooth);
}

.play-btn-overlay::after {
    content: '▶';
    font-size: 20px;
    margin-left: 4px;
}

.card:hover .play-btn-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* =========================================
   Timeline (About Page)
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgba(30, 42, 56, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-6);
    width: 50%;
    padding-right: var(--space-6);
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: var(--space-6);
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    border: 4px solid var(--bg-cream);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.timeline-content {
    background-color: var(--bg-white);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.timeline-year {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* =========================================
   FAQ Accordion
   ========================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-3) var(--space-4);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

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

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

.faq-answer-inner {
    padding: 0 var(--space-4) var(--space-4);
    color: var(--text-gray);
}

/* =========================================
   Live Timer
   ========================================= */
.timer-container {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-4);
}

.time-block {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    min-width: 80px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.time-block span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--accent-navy);
}

.time-block small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* =========================================
   Modals
   ========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 42, 56, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-cream);
    width: 90%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-info {
    padding: var(--space-4);
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-12) 0 var(--space-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.footer-brand {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--space-2);
    display: block;
}

.footer-title {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-4);
    text-align: center;
    font-size: 0.875rem;
}

.nav-mobile {
    display: none;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0;
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-4);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-mobile.open {
        transform: translateX(0);
    }

    .nav-mobile a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        color: var(--accent-navy);
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}