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

:root {
    /* Ramayana-inspired color palette */
    --primary-saffron: #FF6B35;
    --deep-red: #8B0000;
    --gold: #FFD700;
    --sacred-orange: #FF8C00;
    --dark-maroon: #800020;
    --light-cream: #FFF8DC;
    --pure-white: #FFFFFF;
    --text-dark: #2C1810;
    --text-light: #6B4423;
    --border-gold: #DAA520;
    --shadow-color: rgba(139, 0, 0, 0.1);
}

/* Mobile scroll prevention - applied globally */
html {
    height: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
}

/* Fix for mobile viewport height issues */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
    }
}

body {
    font-family: 'Noto Sans Devanagari', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    height: 100%;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
}


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

/* Page wrapper for mobile scroll prevention */
.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--dark-maroon) 100%);
    color: var(--pure-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav a:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Devanagari', Arial, sans-serif;
}

.lang-btn:hover {
    background: var(--pure-white);
    color: var(--deep-red);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--dark-maroon) 100%);
    color: var(--pure-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="om" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" font-size="12" text-anchor="middle" fill="rgba(255,255,255,0.1)">🕉️</text></pattern></defs><rect width="100" height="100" fill="url(%23om)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: #FFED4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
}

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--deep-red);
    border-color: var(--deep-red);
}

.btn-outline:hover {
    background: var(--deep-red);
    color: var(--pure-white);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.main-content section {
    margin-bottom: 4rem;
}

.main-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-red);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.main-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--sacred-orange));
    border-radius: 2px;
}

.main-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-maroon);
    margin-bottom: 1rem;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Table Section */
.table-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
}

.prashnavali-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    overflow-x: auto;
}

.prashnavali-table {
    border-collapse: collapse;
    background: var(--light-cream);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
}

.prashnavali-table td {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-gold);
    text-align: center;
    vertical-align: middle;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-red);
    background: var(--pure-white);
    transition: all 0.3s ease;
    position: relative;
}

.prashnavali-table td a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prashnavali-table td:hover {
    background: var(--gold);
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.prashnavali-table td:hover a {
    color: var(--text-dark);
}

/* How to Use Section */
.how-to-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--sacred-orange));
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-red);
    margin-bottom: 1rem;
}

/* Result Note */
.result-note {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-red);
    margin-top: 2rem;
    padding: 1rem;
    background: var(--gold);
    border-radius: 10px;
    display: inline-block;
}

/* Author Section */
.author-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--sacred-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.author-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-red);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* New Sections Styles */

/* Ramcharitmanas Section */
.ramcharitmanas-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.tulsidas-info {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--gold);
}

.kandas-section {
    margin-top: 2rem;
}

.kandas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.kanda-item {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--sacred-orange);
    transition: transform 0.3s ease;
}

.kanda-item:hover {
    transform: translateY(-3px);
}

.kanda-item h4 {
    color: var(--deep-red);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Chart Explanation Section */
.chart-explanation-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

/* Question Guidance Section */
.question-guidance-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guidance-item {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
}

.guidance-item h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.guidance-item ul {
    list-style: none;
    padding: 0;
}

.guidance-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.guidance-item li:before {
    content: '•';
    color: var(--sacred-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.guidance-item li:last-child {
    border-bottom: none;
}

/* Astrology Difference Section */
.astrology-difference-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

/* Related Prashnavalis Section */
.related-prashnavalis-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.prashnavalis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.prashnavali-item {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.prashnavali-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.prashnavali-item h3 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Online Usage Section */
.online-usage-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.online-usage-section strong {
    color: var(--deep-red);
    font-size: 1.1rem;
}

/* Authenticity Section */
.authenticity-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
    text-align: center;
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, var(--light-cream) 0%, #FFF5EE 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.conclusion-section p:last-child {
    font-weight: 600;
    color: var(--deep-red);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--dark-maroon) 100%);
    color: var(--pure-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

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

    .header {
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        background: var(--deep-red);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
    }

    .logo p {
        font-size: 0.7rem;
        margin: 0;
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-red);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .nav a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .language-toggle {
        margin: 0;
        order: unset;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .main-content {
        padding: 2rem 0;
    }

    .main-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .main-content h3 {
        font-size: 1.4rem;
    }

    .main-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .prashnavali-table td {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .prashnavali-container {
        overflow-x: auto;
        padding: 0.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .author-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin: 0 auto 1rem;
    }

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

    .guidance-item {
        padding: 1.5rem;
    }

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

    .kanda-item {
        padding: 1.2rem;
    }

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

    .prashnavali-item {
        padding: 1.2rem;
    }

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

    .tip {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        order: unset;
    }

    /* Mobile-specific scroll optimizations */
    html {
        scroll-behavior: smooth;
    }

    /* Ensure proper touch scrolling */
    .main-content {
        position: relative;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent overscroll on all major sections */
    .main-content,
    .hero,
    .table-section,
    .how-to-section,
    .ramcharitmanas-section,
    .chart-explanation-section,
    .question-guidance-section,
    .astrology-difference-section,
    .related-prashnavalis-section,
    .online-usage-section,
    .authenticity-section,
    .conclusion-section,
    .footer {
        overscroll-behavior: none;
        -webkit-overscroll-behavior: none;
        -webkit-overflow-scrolling: touch;
    }

    /* Additional mobile scroll fixes */
    .container {
        -webkit-overflow-scrolling: touch;
    }

    /* Enhanced mobile scroll prevention */
    html, body {
        overscroll-behavior: none;
        -webkit-overscroll-behavior: none;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure smooth scrolling on mobile */
    .page-wrapper {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        -webkit-overscroll-behavior: none;
    }

    /* Section padding adjustments */
    .intro-section,
    .ramcharitmanas-section,
    .chart-explanation-section,
    .question-guidance-section,
    .astrology-difference-section,
    .related-prashnavalis-section,
    .online-usage-section,
    .authenticity-section,
    .conclusion-section,
    .author-section,
    .table-section,
    .how-to-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .tulsidas-info {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .result-note {
        font-size: 1rem;
        padding: 0.8rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 0.3rem 0;
        position: sticky;
        top: 0;
        background: var(--deep-red);
        z-index: 1000;
    }

    .header .container {
        gap: 0.5rem;
        padding: 0.3rem 10px;
    }

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

    .logo p {
        font-size: 0.6rem;
    }

    .nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .lang-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 1.5rem 0;
        margin-top: 0;
    }

    /* Additional mobile scroll fixes */
    .container {
        position: relative;
        z-index: 1;
    }

    /* Prevent scroll momentum issues */
    .header {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* Fix content positioning */
    .main-content {
        position: relative;
        z-index: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn {
        max-width: 250px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 1.5rem 0;
    }

    .main-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .main-content h3 {
        font-size: 1.2rem;
    }

    .main-content p {
        font-size: 0.9rem;
    }

    .prashnavali-table td {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .prashnavali-container {
        padding: 0.3rem;
    }

    .steps-container {
        gap: 1rem;
    }

    .step {
        padding: 1.2rem;
    }

    .step h3 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .author-card {
        padding: 1.5rem 0.8rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .guidance-item {
        padding: 1.2rem;
    }

    .guidance-item h3 {
        font-size: 1.1rem;
    }

    .guidance-item li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .kanda-item {
        padding: 1rem;
    }

    .kanda-item h4 {
        font-size: 1rem;
    }

    .kanda-item p {
        font-size: 0.9rem;
    }

    .prashnavali-item {
        padding: 1rem;
    }

    .prashnavali-item h3 {
        font-size: 1rem;
    }

    .prashnavali-item p {
        font-size: 0.9rem;
    }

    .tip {
        padding: 1.2rem;
    }

    .tip h4 {
        font-size: 1rem;
    }

    .tip p {
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    /* Section padding adjustments for very small screens */
    .intro-section,
    .ramcharitmanas-section,
    .chart-explanation-section,
    .question-guidance-section,
    .astrology-difference-section,
    .related-prashnavalis-section,
    .online-usage-section,
    .authenticity-section,
    .conclusion-section,
    .author-section,
    .table-section,
    .how-to-section {
        padding: 1.5rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .tulsidas-info {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }

    .result-note {
        font-size: 0.9rem;
        padding: 0.6rem;
        margin-top: 1.2rem;
    }

    /* Answer pages for very small screens */
    .answer-header {
        padding: 1.5rem 0.8rem;
    }

    .answer-header h1 {
        font-size: 1.4rem;
    }

    .answer-header p {
        font-size: 0.9rem;
    }

    .chaupai-section {
        padding: 1.5rem 0.8rem;
    }

    .chaupai-box {
        padding: 1.2rem;
    }

    .chaupai-text {
        font-size: 0.8rem;
        padding: 0.8rem;
        line-height: 1.6;
    }

    .chaupai-meaning h3 {
        font-size: 1rem;
    }

    .chaupai-meaning p {
        font-size: 0.8rem;
    }

    .interpretation-section {
        padding: 0 1.5rem 1.5rem;
    }

    .interpretation-content p {
        font-size: 0.8rem;
    }

    .key-points {
        padding: 1.2rem;
    }

    .key-points h3 {
        font-size: 1rem;
    }

    .key-points li {
        font-size: 0.8rem;
    }

    .guidance-section {
        padding: 0 1.5rem 1.5rem;
    }

    .guidance-item {
        padding: 1.2rem;
    }

    .guidance-item h3 {
        font-size: 1rem;
    }

    .guidance-item li {
        font-size: 0.8rem;
    }

    .blessing-section {
        padding: 0 1.5rem 1.5rem;
    }

    .blessing-box {
        padding: 1.2rem;
    }

    .blessing-box h2 {
        font-size: 1.2rem;
    }

    .blessing-box p {
        font-size: 0.8rem;
    }

    .blessing-mantra {
        padding: 0.8rem;
    }

    .blessing-mantra p {
        font-size: 0.9rem;
    }

    .action-buttons {
        padding: 0 1.5rem 1.5rem;
    }

    .related-content {
        padding: 1.5rem 0.8rem;
    }

    .related-content h2 {
        font-size: 1.3rem;
    }

    .related-item {
        padding: 1rem;
    }

    .related-item h3 {
        font-size: 1rem;
    }

    .related-item p {
        font-size: 0.8rem;
    }

    /* Contact form for very small screens */
    .contact-form-section {
        padding: 1.5rem 0.8rem;
    }

    .contact-form-section h2 {
        font-size: 1.4rem;
    }

    .contact-form {
        gap: 1.2rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .contact-info h2 {
        font-size: 1.4rem;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.8rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.8rem;
    }

    .hours-item {
        padding: 1rem;
    }

    .hours-item h3 {
        font-size: 0.9rem;
    }

    .hours-item p {
        font-size: 0.8rem;
    }

    .terms-section h2,
    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .terms-section h3,
    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .terms-section p,
    .privacy-section p {
        font-size: 0.8rem;
    }

    .founder-card {
        padding: 1.5rem 0.8rem;
    }

    .founder-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .founder-info h2 {
        font-size: 1.3rem;
    }

    .founder-info p {
        font-size: 0.8rem;
    }

    .mission-item {
        padding: 1.2rem;
    }

    .mission-item h3 {
        font-size: 1.1rem;
    }

    .mission-item p {
        font-size: 0.8rem;
    }

    .story-content p {
        font-size: 0.8rem;
    }

    .value-item {
        padding: 1.2rem;
    }

    .value-item h3 {
        font-size: 1.1rem;
    }

    .value-item p {
        font-size: 0.8rem;
    }

    .team-member {
        padding: 1rem;
    }

    .team-member h4 {
        font-size: 0.9rem;
    }

    .team-member p {
        font-size: 0.7rem;
    }

    .contact-cta h2 {
        font-size: 1.3rem;
    }

    .contact-cta p {
        font-size: 0.8rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--deep-red);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.scroll-top:hover {
    background: var(--dark-maroon);
    transform: translateY(-3px);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Loading Animation */
.loading {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Answer Page Styles */
.answer-content {
    padding: 2rem 0;
}

.divine-answer {
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    margin-bottom: 3rem;
}

.answer-header {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--dark-maroon) 100%);
    color: var(--pure-white);
    padding: 3rem;
    text-align: center;
}

.om-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.answer-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.answer-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.chaupai-section {
    padding: 3rem;
}

.chaupai-box {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
    margin-bottom: 2rem;
}

.chaupai-box h2 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.chaupai-text {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 1.3rem;
    line-height: 2;
    color: var(--deep-red);
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-gold);
}

.chaupai-meaning h3 {
    color: var(--dark-maroon);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.chaupai-meaning p {
    color: var(--text-light);
    line-height: 1.8;
}

.interpretation-section {
    padding: 0 3rem 3rem;
}

.interpretation-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.key-points {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--sacred-orange);
}

.key-points h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    font-weight: 500;
}

.guidance-section {
    padding: 0 3rem 3rem;
}

.guidance-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guidance-item {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
}

.guidance-item h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.guidance-item ul {
    list-style: none;
    padding: 0;
}

.guidance-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.guidance-item li:before {
    content: '•';
    color: var(--sacred-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.guidance-item li:last-child {
    border-bottom: none;
}

.blessing-section {
    padding: 0 3rem 3rem;
}

.blessing-box {
    background: linear-gradient(135deg, var(--gold), var(--sacred-orange));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--text-dark);
}

.blessing-box h2 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.blessing-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blessing-mantra {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.blessing-mantra p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-red);
    margin: 0;
}

.action-buttons {
    padding: 0 3rem 3rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.related-content {
    padding: 3rem;
    background: var(--light-cream);
}

.related-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-item {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item h3 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.related-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-info {
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--deep-red);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-gold);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sacred-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--light-cream);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--pure-white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pure-white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-cream);
}

.faq-question h3 {
    margin: 0;
    color: var(--deep-red);
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--sacred-orange);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

/* Office Hours */
.office-hours {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.hours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hours-item {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--gold);
}

.hours-item h3 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hours-item p {
    color: var(--text-light);
    margin: 0;
}

/* Terms and Privacy Styles */
.terms-content,
.privacy-content {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    line-height: 1.8;
}

.terms-section,
.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gold);
}

.terms-section:last-child,
.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2,
.privacy-section h2 {
    color: var(--deep-red);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.terms-section h3,
.privacy-section h3 {
    color: var(--dark-maroon);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-section p,
.privacy-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.terms-section ul,
.privacy-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-section li,
.privacy-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.acceptance-section {
    margin-top: 3rem;
}

.acceptance-box {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--gold);
}

.acceptance-box h2 {
    color: var(--deep-red);
    margin-bottom: 1rem;
}

.acceptance-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.acceptance-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.data-protection {
    margin-top: 3rem;
}

.protection-box {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.protection-box h2 {
    color: var(--deep-red);
    margin-bottom: 1rem;
    text-align: center;
}

.protection-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.protection-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.feature span {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h4 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Page Styles */
.about-founder {
    margin-bottom: 3rem;
}

.founder-card {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), var(--sacred-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.founder-info h2 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.founder-title {
    color: var(--sacred-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.founder-info p {
    color: var(--text-light);
    line-height: 1.8;
}

.mission-section {
    background: var(--light-cream);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-item {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-item h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
}

.mission-item p {
    color: var(--text-light);
}

.story-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-section {
    background: var(--light-cream);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.value-item h3 {
    color: var(--deep-red);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
}

.team-section {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.team-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: var(--light-cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-member h4 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-cta {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--dark-maroon) 100%);
    color: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.contact-cta h2 {
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--pure-white);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
    }

    .founder-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .guidance-content {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

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

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

    .mission-content {
        grid-template-columns: 1fr;
    }

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

    .team-members {
        grid-template-columns: 1fr;
    }

    .protection-features {
        grid-template-columns: 1fr;
    }

    .hours-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .acceptance-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Answer page mobile optimizations */
    .answer-header {
        padding: 2rem 1rem;
    }

    .answer-header h1 {
        font-size: 1.8rem;
    }

    .answer-header p {
        font-size: 1rem;
    }

    .chaupai-section {
        padding: 2rem 1rem;
    }

    .chaupai-box {
        padding: 1.5rem;
    }

    .chaupai-text {
        font-size: 0.9rem;
        padding: 1rem;
        line-height: 1.8;
    }

    .chaupai-meaning h3 {
        font-size: 1.1rem;
    }

    .chaupai-meaning p {
        font-size: 0.9rem;
    }

    .interpretation-section {
        padding: 0 2rem 2rem;
    }

    .interpretation-content p {
        font-size: 0.9rem;
    }

    .key-points {
        padding: 1.5rem;
    }

    .key-points h3 {
        font-size: 1.1rem;
    }

    .key-points li {
        font-size: 0.9rem;
    }

    .guidance-section {
        padding: 0 2rem 2rem;
    }

    .guidance-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guidance-item {
        padding: 1.5rem;
    }

    .guidance-item h3 {
        font-size: 1.1rem;
    }

    .guidance-item li {
        font-size: 0.9rem;
    }

    .blessing-section {
        padding: 0 2rem 2rem;
    }

    .blessing-box {
        padding: 1.5rem;
    }

    .blessing-box h2 {
        font-size: 1.4rem;
    }

    .blessing-box p {
        font-size: 0.9rem;
    }

    .blessing-mantra {
        padding: 1rem;
    }

    .blessing-mantra p {
        font-size: 1rem;
    }

    .action-buttons {
        padding: 0 2rem 2rem;
    }

    .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .related-content {
        padding: 2rem 1rem;
    }

    .related-content h2 {
        font-size: 1.5rem;
    }

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

    .related-item {
        padding: 1.2rem;
    }

    .related-item h3 {
        font-size: 1.1rem;
    }

    .related-item p {
        font-size: 0.9rem;
    }

    .divine-answer {
        margin-bottom: 2rem;
    }

    /* Contact form mobile optimizations */
    .contact-form-section {
        padding: 2rem 1rem;
    }

    .contact-form-section h2 {
        font-size: 1.8rem;
    }

    .form-container {
        max-width: 100%;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

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

    .contact-item {
        padding: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.9rem;
    }

    .office-hours {
        padding: 2rem 1rem;
    }

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

    .hours-item {
        padding: 1.2rem;
    }

    .hours-item h3 {
        font-size: 1rem;
    }

    .hours-item p {
        font-size: 0.9rem;
    }

    .terms-content,
    .privacy-content {
        padding: 2rem 1rem;
    }

    .terms-section h2,
    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .terms-section h3,
    .privacy-section h3 {
        font-size: 1.2rem;
    }

    .terms-section p,
    .privacy-section p {
        font-size: 0.9rem;
    }

    .about-founder {
        margin-bottom: 2rem;
    }

    .founder-card {
        padding: 2rem 1rem;
        flex-direction: column;
        text-align: center;
    }

    .founder-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin: 0 auto 1rem;
    }

    .founder-info h2 {
        font-size: 1.5rem;
    }

    .founder-info p {
        font-size: 0.9rem;
    }

    .mission-section {
        padding: 2rem 1rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-item {
        padding: 1.5rem;
    }

    .mission-item h3 {
        font-size: 1.2rem;
    }

    .mission-item p {
        font-size: 0.9rem;
    }

    .story-section {
        padding: 2rem 1rem;
    }

    .story-content p {
        font-size: 0.9rem;
    }

    .values-section {
        padding: 2rem 1rem;
    }

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

    .value-item {
        padding: 1.5rem;
    }

    .value-item h3 {
        font-size: 1.2rem;
    }

    .value-item p {
        font-size: 0.9rem;
    }

    .team-section {
        padding: 2rem 1rem;
    }

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

    .team-member {
        padding: 1.2rem;
    }

    .team-member h4 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.8rem;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }

    .contact-cta h2 {
        font-size: 1.5rem;
    }

    .contact-cta p {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* iOS Safari specific fixes */
    @supports (-webkit-touch-callout: none) {
        html, body {
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: none;
            -webkit-overscroll-behavior: none;
        }
        
        .main-content {
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: none;
            -webkit-overscroll-behavior: none;
        }
    }
} 
