/**
 * AstroGyan - Premium Astrology Website Styles
 * Theme: Yellow-Red Premium Design
 * Mobile Responsive
 */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #FF6B00;
    --primary-dark: #E65100;
    --primary-light: #FF9800;
    --secondary-color: #FFD700;
    --secondary-dark: #FFA000;
    --accent-color: #DC143C;
    --accent-light: #FF1744;
    --gold-color: #D4AF37;
    --gold-light: #F4D03F;
    --dark-bg: #1A1A2E;
    --darker-bg: #0F0F1A;
    --light-bg: #FFF8E7;
    --cream-bg: #FFFBF0;
    --text-dark: #2C1810;
    --text-light: #FFFFFF;
    --text-muted: #6B5B4F;
    --border-color: #E8D5B7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #FF6B00 0%, #FFD700 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #0F0F1A 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    --font-primary: 'Poppins', sans-serif;
    --font-hindi: 'Hind', 'Noto Sans Devanagari', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

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

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

/* ==================== Preloader ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.preloader-om {
    font-size: 80px;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.preloader-text {
    color: var(--text-light);
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 3px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==================== Top Bar ==================== */
.top-bar {
    background: var(--gradient-dark);
    padding: 8px 0;
    border-bottom: 2px solid var(--gold-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}

.top-bar-item i {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ==================== Main Header ==================== */
.main-header {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--cream-bg) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.logo-text h1 {
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 0;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== Navigation ==================== */
.main-nav {
    background: var(--gradient-primary);
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.6) 50%, rgba(26, 26, 46, 0.8) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
    z-index: 10;
}

.slide-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

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

.slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

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

.slide-title span {
    color: var(--secondary-color);
}

.slide-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

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

.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.9s, transform 0.3s ease;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

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

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

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

.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* ==================== Section Styles ==================== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title span {
    color: var(--primary-color);
}

.section-desc {
    max-width: 600px;
    margin: 30px auto 0;
    color: var(--text-muted);
}

.section-dark .section-title {
    color: var(--text-light);
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Panchang Card ==================== */
.panchang-section {
    background: var(--light-bg);
    padding: 60px 0;
    border-top: 3px solid var(--gold-color);
    border-bottom: 3px solid var(--gold-color);
}

.panchang-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panchang-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    text-align: center;
}

.panchang-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.panchang-date {
    font-size: 16px;
    opacity: 0.9;
}

.panchang-body {
    padding: 30px;
}

.panchang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.panchang-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--cream-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.panchang-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.panchang-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.panchang-info h4 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.panchang-info p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ==================== Rashifal Section ==================== */
.rashifal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.rashifal-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.rashifal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

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

.rashifal-header {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFFFF 100%);
}

.rashifal-symbol {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.rashifal-title h4 {
    font-size: 20px;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.rashifal-title span {
    font-size: 14px;
    color: var(--text-muted);
}

.rashifal-body {
    padding: 20px 25px;
}

.rashifal-prediction {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.rashifal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rashifal-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.rashifal-tag i {
    color: var(--primary-color);
}

.rashifal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rashifal-lucky {
    display: flex;
    gap: 15px;
}

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

.lucky-item span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.lucky-item strong {
    color: var(--primary-color);
    font-size: 16px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ==================== Services Section ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: white;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-price {
    color: white;
}

.service-price span {
    font-size: 14px;
    font-weight: 400;
}

.service-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.service-card:hover .service-btn {
    background: white;
    color: var(--primary-color);
}

/* ==================== Festivals Section ==================== */
.festivals-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.festivals-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
}

.festival-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.festival-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.festival-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.festival-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 350px;
    margin: 0 20px;
    position: relative;
}

.festival-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.festival-item:nth-child(odd) .festival-content::before {
    right: -20px;
    border-left-color: white;
}

.festival-item:nth-child(even) .festival-content::before {
    left: -20px;
    border-right-color: white;
}

.festival-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.festival-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.festival-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== Blog Section ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-dark);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-link:hover {
    gap: 12px;
}

/* ==================== Testimonials ==================== */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.rating {
    margin-top: 15px;
}

.rating i {
    color: var(--secondary-color);
    margin: 0 2px;
}

/* ==================== Contact Section ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background: var(--gradient-dark);
    padding: 50px;
    border-radius: 20px;
    color: white;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    background: var(--cream-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

/* ==================== Footer ==================== */
.main-footer {
    background: var(--gradient-dark);
    color: white;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
    margin-bottom: 25px;
}

.footer-about .logo-text h1 {
    color: white;
    font-size: 24px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ==================== Page Header ==================== */
.page-header {
    background: var(--gradient-dark);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li a {
    color: var(--secondary-color);
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== Rashifal Detail Page ==================== */
.rashifal-detail-section {
    padding: 60px 0;
}

.rashifal-detail-header {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.rashifal-detail-symbol {
    font-size: 80px;
    margin-bottom: 20px;
}

.rashifal-detail-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.rashifal-detail-header p {
    font-size: 18px;
    opacity: 0.9;
}

.rashifal-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.rashifal-detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.rashifal-detail-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rashifal-detail-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.rashifal-detail-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== Panchang Page ==================== */
.panchang-full-section {
    padding: 60px 0;
}

.panchang-full-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panchang-full-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    text-align: center;
}

.panchang-full-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.panchang-full-body {
    padding: 40px;
}

.panchang-table {
    width: 100%;
    border-collapse: collapse;
}

.panchang-table tr {
    border-bottom: 1px solid var(--border-color);
}

.panchang-table tr:last-child {
    border-bottom: none;
}

.panchang-table td {
    padding: 20px;
}

.panchang-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.panchang-table td:first-child i {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.panchang-table td:last-child {
    color: var(--text-muted);
    text-align: right;
}

/* ==================== Blog Page ==================== */
.blog-sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--cream-bg);
    border-radius: 8px;
    color: var(--text-dark);
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--primary-color);
    color: white;
}

.category-list a span {
    background: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.category-list a:hover span {
    background: white;
    color: var(--primary-color);
}

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h5 {
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content h5 a {
    color: var(--text-dark);
}

.recent-post-content h5 a:hover {
    color: var(--primary-color);
}

.recent-post-content span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==================== Festival Page ==================== */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.festival-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.festival-card-image {
    height: 200px;
    position: relative;
}

.festival-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-card-date {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
}

.festival-card-date .day {
    font-size: 28px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.festival-card-date .month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.festival-card-content {
    padding: 40px 25px 25px;
}

.festival-card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.festival-card-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.festival-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.festival-card-btn:hover {
    gap: 12px;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--gradient-dark);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 9998;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        display: none;
    }
    
    .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar-layout {
        grid-template-columns: 1fr;
    }
    
    .festivals-timeline::before {
        left: 20px;
    }
    
    .festival-item,
    .festival-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .festival-dot {
        left: 20px;
        transform: none;
    }
    
    .festival-content::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-desc {
        font-size: 14px;
    }
    
    .slider-arrow {
        display: none;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .rashifal-detail-header {
        padding: 25px;
    }
    
    .rashifal-detail-symbol {
        font-size: 50px;
    }
    
    .panchang-full-header,
    .panchang-full-body {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slide-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .rashifal-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .panchang-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-primary {
    color: var(--primary-color);
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
    box-shadow: var(--shadow);
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}