/* Global Variables - Combined from all CSS files */
:root {
    /* Primary Colors */
    --primary-color: #ff6b35;
    --primary-gradient: linear-gradient(135deg, #ff6b35, #f7931e);
    --primary-dark: #e05a2b;
    --gold-color: #ff6b35;
    
    /* Secondary Colors */
    --secondary-color: #222c22;
    --text-color: #333;
    --light-text: #777;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --off-white: #f5f5f5;
    
    /* Effects */
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Layout */
    --section-padding: 80px 0;
    --border-radius: 12px;
    
    /* Donation specific */
    --donation-primary: #ff6b35;
    --donation-accent: linear-gradient(135deg, #ff6b35, #f7931e);
    --donation-light: #f9f9f9;
    --donation-dark: #212121;
    --donation-gray: #757575;
    --donation-border-radius: 12px;
    --donation-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --donation-transition: all 0.3s ease;
    --donation-secondary: #ff6b35;
    --donation-success: #48bb78;
    
    /* Additional variables from provided CSS */
    --primary: #ff6b35;
    --accent: linear-gradient(135deg, #ff6b35, #f7931e);
    --dark: #212121;
    --gray: #757575;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Section Styles */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 15px auto 30px;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 192, 23, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.sectionbg {
    background-color: #FFEFE5;
}

.sectionwhite {
    background-color: #fff;
}

/* Navigation Styles - ENHANCED MOBILE */
.navbar {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: rgb(14, 13, 13);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.logoimg {
    width: 60px;
    height: 60px;
    border-radius: 50px;
}

.nav-live {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-live:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-live i {
    margin-right: 8px;
}

/* Mobile Menu Toggle - ENHANCED */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 15px;
    z-index: 1001;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 220px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid #f1f1f1;
}

.logobfbg {
    display: flex;
    align-items: center;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #333;
    padding: 10px 15px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: #e87800;
    padding-left: 20px;
}

.nav-link i.fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Hero Section - ENHANCED MOBILE */
.hero-section {
    position: relative;
    width: auto;
    margin-top: 80px;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.8s ease-in-out;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-text {
    color: #fff;
    padding: 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-navigation {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slide-indicator {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    z-index: 3;
}

/* Feature Cards */
.features-section {
    position: relative;
    margin-top: -111px;
    z-index: 10;
    padding: 0 20px 60px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    margin-top: 43px;
    background: white;
    padding: 30px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b35;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e87800;
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Info Section */
.card.full-width {
    max-width: 100%;
}

.timing-section {
    margin-top: 20px;
}

.timing-section h4 {
    margin-top: 25px;
    font-size: 1.2rem;
    color: #e87800;
}

.horizontal-table {
    overflow-x: auto;
    margin-top: 10px;
}

.horizontal-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.horizontal-table th,
.horizontal-table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    font-size: 0.95rem;
}

.horizontal-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.horizontal-table td:first-child {
    font-weight: 600;
    background-color: #fafafa;
}

.info-section {
    padding: 60px 0;
}

.info-section .container {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.darshancard {
    margin: auto;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 360px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card {
    margin: auto;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 360px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e87800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    font-size: 1.5rem;
}

.youtubcard {
    margin: auto;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtubcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.youtubcard h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e87800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.youtubcard h3 i {
    font-size: 1.5rem;
}

.donationcard {
    margin: auto;
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donationcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.donationcard h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e87800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donationcard h3 i {
    font-size: 1.5rem;
}

.schedule {
    list-style: none;
}

.schedule li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.schedule li:last-child {
    border-bottom: none;
}

.schedule li strong {
    font-weight: 600;
    color: #333;
}

.video-box {
    height: 500px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-box:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.play-button::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.live-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

.viewers-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 12px 8px;
    font-size: 13px;
    text-align: center;
}

.temple-title {
    font-weight: bold;
    margin-bottom: 3px;
}

.open-tab {
    text-align: right;
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

/* Donation Card */
.donation-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 360px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.donation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.donation-header span {
    font-size: 1.8rem;
    color: #e87800;
}

.donation-header h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

hr {
    border: none;
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-options button {
    flex: 1 1 100px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-options button:hover {
    background: #eee;
}

.amount-options button.active {
    background: #e87800;
    color: white;
    border-color: #e87800;
}

.donate-btn {
    width: 100%;
    padding: 12px;
    background: #e87800;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.donate-btn:hover {
    background: #d46b00;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #fff;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e87800;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: #e87800;
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.service-btn:hover {
    background: #d46b00;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 44, 34, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

.gallery-caption {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 90vw;
    border-radius: 5px;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links a[href^="mailto:"]:empty {
    display: none;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.link {
    color: #ff6b35;
    font-weight: 500;
    font-size: 15px;
    text-decoration: underline;
}

/* Additional Card Styles from Provided CSS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: white;
    background: var(--primary);
    padding: 1.5rem;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.card-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    text-decoration: none;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.card-link:hover {
    background: var(--primary);
}

/* About Temple Page Styles */
.temple-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    margin-left: 10px;
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: #ff6b35;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: #ff6b35;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hirotxt {
    color: #fff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Temple Introduction Section */
.temple-intro {
    padding: var(--section-padding);
    background-color: var(--white);
}

.intro-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.intro-content {
    flex: 1 1 600px;
}

.intro-image {
    flex: 1 1 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform: perspective(1000px);
}

.intro-image img {
    width: 100%;
    height: 550px;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
}

.intro-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 15px 0 25px;
    border-radius: 2px;
}

.intro-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-text);
}

.highlight-box {
    background: var(--off-white);
    border-left: 4px solid var(--gold-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Temple History Section */
.temple-history {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.history-container {
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gold-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    top: 30px;
    transform: rotate(45deg);
    box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.timeline-date i {
    margin-right: 8px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Temple Architecture Section */
.temple-architecture {
    padding: var(--section-padding);
    background-color: var(--white);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.architecture-card {
    background: var(--off-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.architecture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.architecture-image {
    height: 200px;
    overflow: hidden;
}

.architecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.architecture-card:hover .architecture-image img {
    transform: scale(1.1);
}

.architecture-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.architecture-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.architecture-content p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Temple Significance Section */
.temple-significance {
    padding: var(--section-padding);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.significance-container {
    max-width: 800px;
    margin: 0 auto;
}

.significance-item {
    margin-bottom: 40px;
}

.significance-icon {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.significance-item h3 {
    color: #161515;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.significance-item p {
    color: #858482;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Temple Gallery Preview */
.temple-gallery {
    padding: var(--section-padding);
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* About Trust Section */
.about-trust-section {
    padding: var(--section-padding);
    background-color: var(--white);
    margin-top: 70px;
}

.trust-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.trust-content {
    flex: 1 1 600px;
}

.trust-image {
    flex: 1 1 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px);
}

.trust-image img {
    width: 100%;
    height: 450px;
    display: block;
    transition: transform 0.5s ease;
}

.trust-image:hover img {
    transform: scale(1.05) rotate(1deg);
}

.trust-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.trust-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-text);
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.trust-mission {
    margin-top: 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('image/trustee.png');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.7;
    z-index: 0;
}

.trust-mission h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.trust-mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Trust Committee Section - 3D Effect */
.trust-committee-section {
    padding: var(--section-padding);
    position: relative;
}

.trust-committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('image/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.committee-container {
    position: relative;
    z-index: 1;
}

.committee-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.member-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}

.member-overlay h3 {
    color: #fbb375;
}

.member-info {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.member-info p.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.member-info p.description {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Us Page Styles */
/* Contact Section Fixes */
/* Contact Section Fixes */
/* Contact Section - Equal Width and Height Containers */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-top: 40px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    /* padding-bottom: 15px; */
    font-family: 'Playfair Display', serif;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    left: 40%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    text-align: center !important;
    margin-bottom:2px !important;
}

/* Get in Touch Content Alignment */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0;
    border-bottom: none;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* Icon Size Adjustments */
.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-text p,
.contact-text a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.5;
    margin: 0;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Social links positioning */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.form-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 147, 30, 0.3);
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .contact-container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
        padding: 25px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .contact-icon {
        margin-bottom: 5px;
    }
    
    .social-links {
        justify-content: flex-start;
        padding-top: 15px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.4rem;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-text p,
    .contact-text a {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Icon Size Adjustments for Different Screen Sizes */
@media (max-width: 768px) {
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Prevent iOS zoom on input focus */
@media (max-width: 576px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
}
/* Hours Section */
.hours-section {
    padding: 60px 0;
    background: var(--white);
}

.hours-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hours-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hour-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(5px);
    padding: 15px;
    background: #fff;
    border-radius: 15px;
}

.hour-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hour-item p {
    font-weight: 500;
}

.special-note {
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

/* Donation Page Styles */
.donation-page {
    margin-top: 60px;
    padding: 20px 0;
    background-color: #f9f9f9;
}

.donation-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.donation-page-header {
    margin-bottom: 15px;
    text-align: center;
}

.donation-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--donation-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

/* .donation-page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--donation-accent);
    margin: 10px auto 0;
    border-radius: 2px;
} */

.donation-page-subtitle {
    color: var(--donation-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Donation Form Wrapper */
.donation-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--donation-box-shadow);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Progress Section */
.donation-progress-bar {
    padding: 5px;
    color: white;
    position: relative;
    background: var(--donation-accent);
}

.donation-progress-content {
    position: relative;
    z-index: 1;
}

.donation-progress-content h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* Form Styles */
.donation-form {
    padding: 10px;
}

/* Combined container for both sections */
.donation-form-sections-container {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #fff;
}

.donation-form-section {
    margin-bottom: 10px;
}

.donation-form-section:last-child {
    margin-bottom: 0;
}

.donation-form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--donation-dark);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.donation-form-section-title::after {
  
}

/* Form Layout - Custom Grid System */
.donation-form-row {
    display: flex;
    flex-wrap: wrap;
}

.donation-form-col {
    flex: 1;
    padding: 0 5px;
    min-width: 200px;
}

.donation-form-col.full-width {
    flex: 100%;
}

/* Form Groups */
.donation-form-group {
    margin-bottom: 10px;
}

.donation-form-label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif;
}

.donation-form-control {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
    transition: var(--donation-transition);
    background-color: #f7fafc;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    height: 36px;
}

.donation-form-control:focus {
    outline: none;
    border-color: var(--donation-primary);
    background-color: white;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.donation-form-control.is-invalid {
    border-color: #dc3545;
}

.donation-form-control::placeholder {
    font-size: 12px;
    color: #718096;
    /* font-style: italic; */
}

/* Textarea Styles for Address */
.donation-form-control.textarea {
    width: 100%;
    min-height: 80px;
    resize: vertical;
    padding: 8px 10px;
    font-size: 12px;
    height: auto;
    font-family: 'Poppins', sans-serif;
}

/* Select2 Styles for Searchable Dropdowns */
.select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    height: 36px;
    padding: 6px 10px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    transition: var(--donation-transition);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
    color: #4a5568;
    padding-left: 0;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

.select2-container--default .select2-selection--single:focus {
    outline: none;
    border-color: var(--donation-primary);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    width: 20px;
}

/* Submit Button */
.donation-form-submit {
    margin-top: 10px;
    text-align: center;
}

.donation-submit-btn {
    padding: 10px 25px;
    background: var(--donation-accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--donation-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(74, 109, 229, 0.3);
    font-family: 'Poppins', sans-serif;
}

.donation-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(74, 109, 229, 0.4);
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background: white;
    border-radius: var(--donation-border-radius);
    box-shadow: var(--donation-box-shadow);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--donation-dark);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--donation-gray);
    transition: var(--donation-transition);
    font-family: 'Poppins', sans-serif;
}

.custom-modal-close:hover {
    color: var(--donation-primary);
}

.custom-modal-body {
    padding: 20px;
    font-size: 12px;
    color: #4a5568;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-body h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--donation-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-body p {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-footer {
    padding: 10px 20px;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.custom-modal-btn {
    padding: 8px 20px;
    background: var(--donation-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--donation-transition);
    font-family: 'Poppins', sans-serif;
}

.custom-modal-btn:hover {
    background: var(--donation-secondary);
    transform: translateY(-1px);
}

/* Improved error message styling */
.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 3px;
    display: block;
    min-height: 18px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.donation-form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Field alert notifications */
.field-alert {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Terms checkbox styling */
.form-check {
    display: flex;
    align-items: flex-start;
    margin: 15px 0 10px 0;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: 1%;
    transition: none;
    position: static;
    overflow: visible;
}

.form-check::before {
    content: none;
}

.form-check:hover {
    background-color: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.form-check:hover::before {
    width: 0;
}

.terms-checkbox-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* CHECKBOX STYLING */
.form-check-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-input:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

.form-check-input:hover {
    border-color: #007bff;
}

.form-check-label {
    margin-bottom: 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    display: flex;
    align-self: center;
}

.terms-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
}

.terms-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Error states */
.form-check-input.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-check.is-invalid {
    background-color: transparent;
    border-color: transparent;
}

.form-check.is-invalid::before {
    background-color: transparent;
}

/* How to Reach Page Styles - Updated */
.how-to-reach-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.transport-tabs {
    margin-top: 87px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.transport-tab {
    padding: 12px 25px;
    background: var(--light-bg);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-tab i {
    font-size: 1.2rem;
}

.transport-tab.active,
.transport-tab:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.transport-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.transport-content.active {
    display: block;
}

.transport-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.transport-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.transport-card h3 i {
    color: var(--primary-color);
}

.route-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    flex-grow: 1;
}

.route-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.route-item p {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.route-item .distance {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.route-item .view-btn {
    margin-top: auto;
    align-self: flex-start;
}

.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
}

.map-overlay h3 {
    margin-bottom: 10px;
}

.map-overlay p {
    opacity: 0.9;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    /* margin-top: 50px; */
}
/* 联系卡片样式优化 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    /* margin-top: 50px; */
    align-items: stretch;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto; 
    font-size: 1.8rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px !important;
    margin-top: 8px !important;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--light-text);
    margin-bottom: 0px !important;
    flex-grow: 1;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none !important;
    font-weight: 500;
    transition: var(--transition);
    margin-top:0% !important;
    display: inline-block;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        min-height: auto;
        height: auto;
    }
}
/* Nearby Attractions */
.nearby-attractions {
    margin-top: 60px;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.attraction-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    height: 180px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.05);
}

.attraction-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.attraction-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.attraction-info p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.attraction-distance {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.attraction-distance i {
    margin-right: 5px;
}

/* Live Darshan Page Styles */
.live-darshan-section {
    background: linear-gradient(to bottom, #f9f3ee, #fff);
    padding: 3rem 0;
    font-family: 'Poppins', sans-serif;
}

.section-header {
    /* margin-top: 122px; */
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #5e2d15;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-header .subtitle {
    color: #7a4a2a;
    font-size: 1.1rem;
}

/* Main Video Player */
.video-container {
    max-width: 900px;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.main-player {
    position: relative;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-controls {
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 0, 0, 0.7);
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-left: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.external-link {
    text-decoration: none;
}

/* Stream Options */
.stream-options {
    padding: 1.5rem;
    background: white;
}

.stream-options h4 {
    color: #5e2d15;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stream-option {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.stream-option:hover {
    transform: translateY(-5px);
}

.stream-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.option-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(94, 45, 21, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stream-option:hover .option-overlay {
    opacity: 1;
}

.option-overlay i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Darshan Info */
.darshan-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card i {
    font-size: 2rem;
    color: #d17a29;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: #5e2d15;
    margin-bottom: 1rem;
}

.info-card p {
    color: #7a4a2a;
    line-height: 1.6;
    flex-grow: 1;
}

.notify-btn {
    background: #d17a29;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.notify-btn:hover {
    background: #b3661f;
    transform: translateY(-2px);
}

.live-status {
    color: #e74c3c;
    font-weight: 600;
}

/* Nearby Places Page Styles */
/* Nearby Places Page Styles - Updated */
.nearby-places-section {
    padding: var(--section-padding);
    background-color: var(--white);
    position: relative;
}

.places-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    font-size: 18px;
    padding: 15px 50px;
    background: var(--light-bg);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}
/* Container for consistent grid layout */
.places-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Ensure all cards have identical dimensions */
.place-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 540px; /* Increased height to accommodate more content */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Fixed height for image section */
.place-image {
    height: 200px; /* Slightly reduced image height */
    position: relative;
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.place-card:hover .place-image img {
    transform: scale(1.05);
}

/* Content section that fills remaining space */
.place-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    height: calc(100% - 200px); /* Remaining height after image */
}

/* Title and location */
.place-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.place-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Description with flexible height */
.place-description {
    color: var(--light-text);
    font-size: 0.9rem; /* Slightly smaller font */
    line-height: 1.4; /* Reduced line height */
    margin-bottom: 12px;
    flex-grow: 1; /* This makes description expand to fill space */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Show up to 5 lines */
    -webkit-box-orient: vertical;
}

/* Features section */
.place-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    max-height: 40px; /* Limit height */
    overflow: hidden;
}

.feature-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem; /* Slightly smaller */
    font-weight: 500;
    white-space: nowrap;
}

/* Button container at bottom center */
.place-actions {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-top: auto; /* Push to bottom */
    padding-top: 8px;
    height: 45px; /* Fixed height for button container */
}

/* Consistent button styling */
.view-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px; /* Slightly smaller padding */
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px; /* Slightly smaller font */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 140px; /* Slightly smaller */
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.2);
}

.view-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
}

/* Distance and category badges */
.place-distance {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
}

.place-distance i {
    color: var(--primary-color);
}

.place-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

/* Privacy */
.privacy-section {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.privacy-header::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.privacy-header h1 {
    margin-top: 70px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #080808;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-header h1 i {
    color: #706d6a;
    margin-right: 15px;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Navigation */
.privacy-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(209, 122, 41, 0.1);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-header h3 {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-header i {
    color: #f7931e;
    transition: transform 0.3s ease;
}

.toc-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toc-menu.active {
    max-height: 500px;
}

.toc-menu ul {
    list-style: none;
}

.toc-menu li {
    margin-bottom: 8px;
}

.toc-menu a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transition: width 0.3s ease;
    z-index: -1;
}

.toc-menu a:hover,
.toc-menu a.active {
    color: white;
    transform: translateX(5px);
}

.toc-menu a:hover::before,
.toc-menu a.active::before {
    width: 100%;
}

/* Main Content */
.privacy-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(209, 122, 41, 0.1);
}

.privacy-content article {
    margin-bottom: 50px;
    scroll-margin-top: 120px;
}

.privacy-content h2 {
    color: #0a0a0a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f7931e;
    position: relative;
    display: flex;
    align-items: center;
}

.privacy-content h2::before {
    content: '';
    width: 6px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    margin-right: 15px;
    border-radius: 3px;
}

.privacy-content h3 {
    color: #ff6b35;
    font-size: 1.3rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

.privacy-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.privacy-content ul,
.privacy-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.privacy-content li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #dbd1cd3d, #d5cfc8);
    border-left: 5px solid #f7931e;
    padding: 20px;
    margin: 25px 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(209,122,41,0.1)"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: 40px;
    opacity: 0.3;
}

.highlight-box h4 {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.highlight-box h4 i {
    color: #f7931e;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Contact Card
.contact-card {
    background: #e8780012;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(94, 45, 21, 0.3);
}

.contact-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 10px;
    color: #0a0a0a;
}

.contact-card a {
    color: #ff9900;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
} */

/* Terms & Conditions Page Styles */
.terms-section {
    padding: 4rem 0;
    min-height: 100vh;
}

.terms-header {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.terms-header::before {
    /* content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px; */
}

.terms-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: #333;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

/* Progress Indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    z-index: 10000;
    transition: width 0.3s ease;
}

/* Content Styling */
.terms-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.terms-content article {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    scroll-margin-top: 150px;
}

.terms-content article:last-of-type {
    border-bottom: none;
}

.terms-content h2 {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.terms-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.terms-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.terms-content ul {
    margin: 1rem 0 1rem 2rem;
}

.terms-content li {
    margin-bottom: 0.8rem;
    color: #555;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(209, 122, 41, 0.1), rgba(184, 97, 30, 0.1));
    border-left: 4px solid #ff6b35;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper input:checked~.checkmark:after {
    display: block;
}

.checkbox-container label {
    font-weight: 500;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(209, 122, 41, 0.4);
}

.btn-primary:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled::before {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d17a29, #b8611e);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(209, 122, 41, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    z-index: 9999;
    transition: width 0.25s ease;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* api-loader 24-09-2025 */
html {
    scroll-behavior: smooth;
}

.api_loader {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('assets/image/logo.gif') 50% 50% no-repeat;
    background-size: 180px;
}

body.loading .api_loader {
    overflow: hidden;
}

body.loading .api_loader {
    display: block;
}

/* Temple section fixes */
.temple-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
}

.temple-section .section-title {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.temple-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card consistency fixes */
.card, .feature-card, .service-card, .donation-card, .contact-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Button alignment fixes */
.card .btn, .feature-card .btn, .service-card .btn, .donation-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

/* Equal height for cards in a grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cards-grid .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Contact page first card fix */
.contact-section .contact-info .contact-item:first-child {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.contact-section .contact-info .contact-item:first-child .contact-icon {
    background: var(--primary-gradient);
}

/* Enhanced mobile menu for Live View */
@media (max-width: 768px) {
    .live-view-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    .live-view-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 24px;
        cursor: pointer;
    }
}

/* Admit card heading fix */
.admit-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.admit-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Slider button fixes */
.hero-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Ensure buttons are visible and functional */
.hero-navigation {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

/* Button alignment and card width fixes */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    margin-top: auto;
    padding: 0 20px 20px;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--primary-dark);
}
/* 
/* Remove lines from contact cards */
/* .contact-card {
    border: none;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
}

.contact-card hr {
    display: none;
}

.contact-item {
    border-bottom: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
} */ */

/* Contact page UI improvements */
/* .contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
} */

.contact-info, .contact-form {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h3, .contact-form h3 {
    color: var(--secondary-color);
    /* margin-bottom: 10px; */
    position: relative;
    padding-bottom: 12px;
}

/* .contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
} */

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

/* .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
} */

.contact-text h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--light-text);
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin-top: auto;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Button consistency fixes */
.btn, .card-btn, .submit-btn, .donate-btn, .service-btn, .view-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn:hover, .card-btn:hover, .submit-btn:hover, .donate-btn:hover, 
.service-btn:hover, .view-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Button alignment in cards */
.card .btn, .feature-card .btn, .service-card .btn {
    display: block;
    width: 100%;
    margin-top: auto;
}

/* Center alignment for standalone buttons */
.text-center .btn {
    margin: 0 auto;
}

/* Mobile Responsive Styles - ENHANCED */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .privacy-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .privacy-sidebar {
        padding: 20px;
    }
    
    .places-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-container,
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-container,
    .trust-container {
        flex-direction: column;
    }
    
    .intro-content,
    .intro-image,
    .trust-content,
    .trust-image {
        flex: 1 1 100%;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-content::after {
        left: -10px !important;
        right: auto;
    }
    
    .transport-tabs {
        gap: 10px;
    }
    
    .transport-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 400px;
    }
    
    /* Enhanced Mobile Menu Styles */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        padding: 15px 20px;
        color: var(--text-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link:hover {
        background-color: rgba(255, 107, 53, 0.05);
        color: var(--primary-color);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin-top: 0;
        display: none;
        background-color: rgba(255, 107, 53, 0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.show {
        display: block;
        max-height: 300px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        color: var(--text-color);
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255, 107, 53, 0.1);
        color: var(--primary-color);
        padding-left: 45px;
    }
    
    .nav-item.dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-live {
        display: none;
    }
    
    .terms-content {
        padding: 2rem;
    }
    
    .toc-menu ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .temple-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    /* Enhanced Mobile Menu Styles */
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: left;
    }
    
    .nav-link {
        padding: 15px 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-live {
        margin: 15px auto 0;
        width: fit-content;
    }
    
    /* Hero Section Mobile Enhancements */
    .hero-section {
        margin-top: 70px;
        height: 350px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-navigation {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-indicator {
        position: static;
        text-align: center;
        margin-top: 15px;
        font-size: 1rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-section {
        margin-top: -50px;
        padding: 0 15px 40px;
    }
    
    .info-section .container {
        flex-direction: column;
        align-items: center;
    }
    
    .card,
    .donation-card {
        max-width: 100%;
        width: 100%;
    }
    
    .trust-mission {
        padding: 60px 20px;
    }
    
    .trust-mission h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .member-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .transport-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .transport-card {
        padding: 20px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .stream-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .places-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .place-image {
        height: 250px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .terms-header h1 {
        font-size: 2.2rem;
    }
    
    .terms-navigation {
        top: 80px;
        margin-bottom: 1rem;
    }
    
    .toc-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .toc-menu ul {
        display: none;
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }
    
    .toc-menu.active ul {
        display: grid;
    }
    
    .toc-toggle.active i {
        transform: rotate(180deg);
    }
    
    .terms-content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .terms-content h2 {
        font-size: 1.5rem;
    }
    
    .acceptance-box {
        padding: 1.5rem;
    }
    
    .checkbox-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 10px 25px;
    }
    
    .architecture-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .trust-content h2 {
        font-size: 1.6rem;
    }
    
    .trust-mission {
        padding: 50px 15px;
    }
    
    .trust-mission h2 {
        font-size: 1.5rem;
    }
    
    .trust-mission p {
        font-size: 1rem;
    }
    
    .committee-members {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .hours-card {
        padding: 25px;
    }
    
    .donation-page-title {
        font-size: 1.8rem;
    }
    
    .donation-form-col {
        min-width: 100%;
    }
    
    .donation-form-col.proof-details-col {
        max-width: 100%;
    }
    
    .custom-modal-content {
        width: 95%;
    }
    
    .donation-form {
        padding: 10px;
    }
    
    .donation-progress-bar {
        padding: 4px;
    }
    
    .donation-page-title {
        font-size: 1.5rem;
    }
    
    .donation-form-col {
        min-width: 100%;
    }
    
    .donation-form-control {
        font-size: 12px;
        padding: 5px 8px;
        height: 30px;
    }
    
    .select2-container--default .select2-selection--single {
        height: 30px;
        padding: 5px 8px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 20px;
        font-size: 12px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 30px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        font-size: 10px;
    }
    
    .donation-form-control.textarea {
        min-height: 60px;
        width: 100%;
        font-size: 12px;
    }
    
    .donation-form-sections-container {
        padding: 8px;
    }
    
    .donation-form-row {
        margin-bottom: 2px;
    }
    
    .donation-form-group {
        margin-bottom: 2px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .transport-tab {
        padding: 8px 15px;
    }
    
    .route-info {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .darshan-info {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .terms-header h1 {
        font-size: 1.8rem;
    }
    
    .terms-content {
        padding: 1rem;
    }
    
    .toc-menu li a {
        padding: 0.8rem 1rem;
    }
    
    .form-check {
        margin: 10px 0;
    }
    
    .terms-checkbox-container {
        gap: 6px;
    }
    
    .form-check-input {
        width: 18px;
        height: 18px;
    }
    
    .form-check-input:checked::before {
        font-size: 12px;
    }
    
    .form-check-label {
        font-size: 13px;
    }
    
    .form-check {
        margin: 8px 0;
    }
    
    .terms-checkbox-container {
        gap: 5px;
        align-items: flex-start;
    }
    
    .form-check-input {
        width: 16px;
        height: 16px;
    }
    
    .form-check-input:checked::before {
        font-size: 10px;
    }
    
    .form-check-label {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* Enhanced Mobile Menu Styles */
    .navbar {
        padding: 8px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logoimg {
        width: 50px;
        height: 50px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo i {
        font-size: 24px;
        margin-right: 8px;
    }
    
    .mobile-toggle {
        padding: 3px 8px;
        font-size: 20px;
    }
    
    .nav-menu {
        top: 66px;
        height: calc(100vh - 66px);
    }
    
    .hero-section {
        margin-top: 66px;
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        padding: 12px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .card-icon {
        font-size: 1.8rem;
        padding: 1.2rem;
    }
    
    .card-content {
        padding: 1.2rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-desc {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .card-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .terms-navigation,
    .acceptance-box,
    .back-to-top {
        display: none;
    }
    
    .terms-content {
        box-shadow: none;
        border-radius: 0;
    }
}

/* How to Reach Page Fixes */
.transport-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    flex-grow: 1;
}

.route-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.route-item p {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.route-item .distance {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.route-item .view-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Gallery Section Fixes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 44, 34, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

.gallery-caption {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Support Programs Section Fixes */
.cards-grid .card-icon {
    background: var(--primary-color);
}

.cards-grid .card-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cards-grid .card-link {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    display: block;
    margin-top: auto;
    transition: var(--transition);
}

.cards-grid .card-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* About Temple Page Styles - Updated */
.temple-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    margin-left: 10px;
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.0rem;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: #ff6b35;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: #ff6b35;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hirotxt {
    color: #fff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Temple Introduction Section */
.temple-intro {
    padding: var(--section-padding);
    background-color: var(--white);
}

.intro-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.intro-content {
    flex: 1 1 600px;
}

.intro-image {
    flex: 1 1 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform: perspective(1000px);
}

.intro-image img {
    width: 100%;
    height: 550px;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
}

.intro-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 15px 0 25px;
    border-radius: 2px;
}

.intro-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-text);
}

.highlight-box {
    background: var(--off-white);
    border-left: 4px solid var(--gold-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
/* Temple History Section - 修复响应式问题 */
.temple-history {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.history-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gold-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    top: 30px;
    transform: rotate(45deg);
    box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.timeline-date i {
    margin-right: 8px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.timeline-text {
    color: var(--light-text);
    line-height: 1.6;
    flex-grow: 1;
}

/* responsiveness*/
@media (max-width: 992px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-content::after {
        left: -10px !important;
        right: auto;
    }
    
    .timeline-content {
        min-height: 120px;
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .temple-history {
        padding: 60px 0;
    }
    
    .timeline {
        padding: 30px 0;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .timeline-content {
        padding: 15px;
        min-height: 100px;
    }
    
    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .timeline-date {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .timeline-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
        padding-right: 10px;
    }
    
    .timeline-content {
        padding: 12px;
        min-height: 90px;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 0.85rem;
    }
    
    .timeline-text {
        font-size: 0.85rem;
    }
}
/* Fix for bullet lists in timeline content */
.timeline-content ul,
.timeline-content ol {
    margin: 10px 0;
    padding-left: 20px;
    list-style-position: inside;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.timeline-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
}

/* Ensure nested lists are contained */
.timeline-content ul ul,
.timeline-content ol ol,
.timeline-content ul ol,
.timeline-content ol ul {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
}

/* Add padding to timeline content to accommodate lists */
.timeline-content {
    padding: 26px 26px 26px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure content doesn't overflow */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .timeline-content {
        padding: 20px 20px 20px 25px;
    }
    
    .timeline-content ul,
    .timeline-content ol {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .timeline-content {
        padding: 15px 15px 15px 20px;
    }
    
    .timeline-content ul,
    .timeline-content ol {
        padding-left: 12px;
    }
    
    .timeline-content li {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .timeline-content {
        padding: 12px 12px 12px 15px;
    }
    
    .timeline-content ul,
    .timeline-content ol {
        padding-left: 10px;
    }
    
    .timeline-content li {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }
}
/* Temple Architecture Section */
.temple-architecture {
    padding: var(--section-padding);
    background-color: var(--white);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.architecture-card {
    background: var(--off-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.architecture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.architecture-image {
    height: 200px;
    overflow: hidden;
}

.architecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.architecture-card:hover .architecture-image img {
    transform: scale(1.1);
}

.architecture-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.architecture-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.architecture-content p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Temple Significance Section */
.temple-significance {
    padding: var(--section-padding);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.significance-container {
    max-width: 800px;
    margin: 0 auto;
}

.significance-item {
    margin-bottom: 40px;
}

.significance-icon {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.significance-item h3 {
    color: #161515;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.significance-item p {
    color: #858482;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* How to Reach Page Fixes */
.transport-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    flex-grow: 1;
}

.route-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.route-item p {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.route-item .distance {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.route-item .view-btn {
    margin-top: auto;
    align-self: flex-start;
}/* Support Programs Section Fixes */
.cards-grid .card-icon {
    background: var(--primary-color);
}

.cards-grid .card-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cards-grid .card-link {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    display: block;
    margin-top: auto;
    transition: var(--transition);
}

.cards-grid .card-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Nearby Places Mobile Fixes */
@media (max-width: 768px) {
    .places-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .place-card {
        height: auto !important; /* Remove fixed height */
        min-height: 450px; /* Set minimum height instead */
        margin-bottom: 20px;
    }
    
    .place-info {
        height: auto !important; /* Allow natural height */
        padding: 15px !important;
    }
    
    .place-description {
        -webkit-line-clamp: 3 !important; /* Show fewer lines on mobile */
        margin-bottom: 15px !important;
    }
    
    .place-features {
        max-height: none !important; /* Remove height limit */
        margin-bottom: 15px !important;
    }
    
    .place-actions {
        height: auto !important; /* Allow button to have natural height */
        padding-top: 10px !important;
        margin-top: 10px !important;
    }
    
    .view-btn {
        width: 100% !important; /* Make button full width on mobile */
        min-width: auto !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    /* Fix filter buttons for mobile */
    .places-filter {
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        margin-bottom: 20px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .place-card {
        min-height: 400px;
    }
    
    .place-image {
        height: 180px !important;
    }
    
    .place-info h3 {
        font-size: 1.2rem !important;
    }
    
    .place-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .feature-tag {
        font-size: 0.7rem !important;
        padding: 2px 8px !important;
    }
    
    .view-btn {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
    
    /* Ensure button is always visible */
    .place-actions {
        position: relative !important;
        z-index: 10 !important;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 375px) {
    .place-card {
        min-height: 480px;
    }
    
    .place-image {
        height: 160px !important;
    }
    
    .place-info {
        padding: 12px !important;
    }
    
    .view-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .place-card {
        height: auto !important;
    }
}

/* Ensure button contrast and visibility */
.view-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.view-btn:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

/* Fix for button text alignment */
.view-btn i {
    margin-right: 5px !important;
}

/* Footer Links Grid Layout */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.footer-links-grid .footer-links {
    margin: 0;
    padding: 0;
}

.footer-links-grid .footer-links li {
    margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-links-grid .footer-links li {
        margin-bottom: 6px;
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        gap: 10px;
    }
    
    .footer-links-grid .footer-links li {
        margin-bottom: 5px;
    }
    
    .footer-links-grid .footer-links li a {
        font-size: 0.9rem;
    }
}