/* Core Design System based on Style Guide (Orange Theme) */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #FFF3E8;
  --text-primary: #2c2318;
  --text-muted: #6b5f4c;
  --gold-primary: #FF6A00;
  --gold-navbar: #FF6A00;
  --gold-gradient: #FF6A00;
  --border-gold: rgba(255, 106, 0, 0.3);
  --maroon-primary: #2c0006;
  --maroon-hover: #1a0003;
  --btn-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

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

/* Contact Top Bar */
.contact-bar {
    background: var(--maroon-primary);
    color: #fff;
    font-size: 16px; /* Increased from 13px */
    border-bottom: 2px solid var(--gold-primary);
    font-weight: 500;
}
.contact-container { padding: 8px 0 !important; } /* More vertical space */
.contact-info span i { color: var(--gold-primary); margin-right: 5px; }
.social-mini a { color: #fff; margin-left: 15px; transition: color 0.3s; font-size: 18px; }
.social-mini a:hover { color: var(--gold-primary); }

@media (max-width: 576px) {
    .contact-container { flex-direction: column; text-align: center; gap: 5px; }
    .social-mini { display: none; }
}

/* Language Switcher */
.lang-switch { display: inline-flex; gap: 8px; align-items: center; margin-right: 15px; }
.btn-lang {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-lang:hover, .btn-lang.active {
  background: var(--gold-primary);
  color: #fff;
}

/* Global Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-premium {
  background: #FF6A00;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: var(--btn-shadow);
}

.btn-premium:hover {
  background: #E65C00;
  box-shadow: 0 6px 15px rgba(230, 92, 0, 0.4);
  transform: translateY(-1px);
}

.btn-maroon {
  background: #FF6A00;
  color: #ffffff;
  border: 1px solid #FF6A00;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: var(--btn-shadow);
}

.btn-maroon:hover {
  background: #E65C00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 92, 0, 0.4);
}

.btn-maroon-outline {
  background: transparent;
  color: #FF6A00;
  border: 2px solid #FF6A00;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-maroon-outline:hover {
  background: #FF6A00;
  color: #fff;
  box-shadow: var(--btn-shadow);
}

/* Homepage Styles */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-secondary); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    color: var(--gold-primary);
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Hero Slider / Banner */
.hero-banner {
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('https://images.unsplash.com/photo-1519750157654-b3d4f404435f?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: left;
}
.hero-content h1 {
    font-size: 42px;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.hero-content .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.video-placeholder {
    background: #e0e0e0;
    aspect-ratio: 16/9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    background-image: url('https://images.unsplash.com/photo-1610374792793-f016b77ca51a?ixlib=rb-4.0.3');
    background-size: cover;
}
.play-btn {
    width: 60px; height: 60px;
    background: var(--gold-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(229,178,63,0.5);
    transition: transform 0.3s;
}
.video-placeholder:hover .play-btn { transform: scale(1.1); }

/* Grid for Services / Products */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229,178,63,0.15);
    border-color: var(--gold-primary);
}
.service-icon {
    font-size: 40px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}
.service-card h3 { color: var(--text-primary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 5px;
}
.why-item i {
    color: var(--gold-primary);
    font-size: 20px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .about-grid, .card-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

/* Horoscope Grid Section */
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.horoscope-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(229,178,63,0.1);
}
.horoscope-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(229,178,63,0.15);
    border-color: var(--gold-primary);
}
.horoscope-icon {
    width: 65px; height: 65px;
    background: #FFF9E6; /* Light Gold cream background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    color: var(--gold-primary);
    border: 3px solid var(--gold-primary); /* Bolder filled silhouette border */
    box-shadow: 0 4px 8px rgba(229,178,63,0.1);
}
#custom-group input { color: #fff; background: #000; } 
.horoscope-icon i { font-size: 32px;  } /* Will add size in inline style to support weight */
.horoscope-item h4 { margin: 0 0 5px 0; color: var(--text-primary); font-size: 16px; }
.horoscope-item span { font-size: 12px; color: var(--text-muted); }

/* Testimonials Carousel / Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.testimonial-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: relative;
    border-top: 3px solid var(--gold-primary);
}
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.testimonial-avatar {
    width: 45px; height: 45px;
    background: var(--gold-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}
.testimonial-meta h4 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 5px; }
.testimonial-meta span { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #f39c12; font-size: 12px; margin-top: 3px; }
.testimonial-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Popular Videos Slider grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.video-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-thumb .play-btn-small {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: rgba(229,178,63,0.9);
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.video-title { padding: 15px; font-size: 14px; font-weight: bold; color: var(--text-primary); }

@media (max-width: 900px) {
    .horoscope-grid { grid-template-columns: repeat(4, 1fr); }
    .testimonial-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .horoscope-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid, .video-grid { grid-template-columns: 1fr; }
}

/* AI Floating Chatbot */
.ai-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
}

.ai-floating-btn {
    width: 65px;
    height: 65px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--maroon-primary);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(229, 178, 63, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid #fff;
}

.ai-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.ai-floating-btn::after {
    content: 'Guruji AI';
    position: absolute;
    right: 75px;
    background: var(--maroon-primary);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ai-floating-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-floating-btn {
    animation: pulse-gold 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    background: #20b858;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

.ai-floating-btn i {
    animation: rotateClockwise 15s linear infinite;
    display: inline-block;
}

.ai-floating-btn:hover i {
    animation-duration: 3s;
}

/* Chat Window */
.ai-chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(229, 178, 63, 0.2);
}

.ai-chat-window.active {
    transform: scale(1);
}

.chat-header {
    background: var(--maroon-primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold-primary);
}

.chat-header h4 { margin: 0; font-size: 16px; color: var(--gold-primary); }

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeInAI 0.3s;
}

.msg-ai {
    align-self: flex-start;
    background: #f1f0f0;
    color: #333;
    border-bottom-left-radius: 2px;
}

.msg-user {
    align-self: flex-end;
    background: var(--gold-gradient);
    color: var(--maroon-primary);
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chat-footer {
    padding: 15px;
    background: #fff;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.chat-input:focus { border-color: var(--gold-primary); }

.chat-send {
    background: var(--maroon-primary);
    color: var(--gold-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.chat-send:hover { background: var(--maroon-hover); transform: scale(1.1); }

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

.typing-indicator {
    font-style: italic;
    color: #888;
    font-size: 11px;
    margin-bottom: 5px;
    display: none;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

/* New Horoscope Section Styling */
.horoscope-section {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, #2c0006 0%, #0d0002 100%);
    color: #fff;
}
.horoscope-section h2 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.horoscope-section p {
    color: #a0aab8;
    margin-bottom: 50px;
}
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.zodiac-item {
    transition: transform 0.3s;
}
.zodiac-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.zodiac-item img {
    width: 100px;
    height: 100px;
    background: #fdfaf5;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    padding: 15px;
    object-fit: contain;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    transition: all 0.3s;
}
.zodiac-item:hover img {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 35px rgba(229, 178, 63, 0.6);
    border-color: #fff;
    background: #fff;
}
.zodiac-item h3 {
    font-size: 14px;
    font-weight: bold;
    color: var(--gold-primary);
    letter-spacing: 1px;
    margin: 0;
}
@media (max-width: 992px) { .zodiac-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .zodiac-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .zodiac-grid { grid-template-columns: repeat(2, 1fr); } }

/* Popular Videos Slider */
.video-slider-wrapper {
    position: relative;
    padding: 0 40px;
}
.video-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 5px 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.video-slider::-webkit-scrollbar { display: none; }
.video-item-slide {
    flex: 0 0 calc(33.333% - 14px);
    transition: transform 0.3s;
}
.video-item-slide:hover { transform: translateY(-5px); }
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gold-primary);
    border: none;
    border-radius: 50%;
    color: var(--maroon-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
.slider-nav-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.slider-nav-btn.prev { left: -10px; }
.slider-nav-btn.next { right: -10px; }

@media (max-width: 992px) { .video-item-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 600px) { .video-item-slide { flex: 0 0 85%; } .video-slider-wrapper { padding: 0; } }
/* Premium Dynamic Pages Styles */
.page-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: -50px; /* Overlap with content card */
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(44, 0, 6, 0.4), rgba(44, 0, 6, 0.8));
    z-index: 1;
}

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

.page-hero-content h1 {
    font-size: 48px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.breadcrumb {
    margin-top: 15px;
    font-size: 14px;
    color: var(--gold-primary);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold-primary); }

.page-body-container {
    background: #fdfaf5;
    padding: 80px 0;
    position: relative;
    z-index: 3;
}

.page-content-card {
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(44, 0, 6, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 0, 0.1);
}

.page-content-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0; width: 100px; height: 100px;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.05), transparent);
}

.page-text {
    line-height: 1.8;
    font-size: 17px;
    color: #333;
}

.page-text h2 { color: var(--maroon-primary); margin: 30px 0 15px; border-left: 4px solid var(--gold-primary); padding-left: 15px; }
.page-text p { margin-bottom: 20px; }
.page-text ul { margin-bottom: 20px; padding-left: 20px; }
.page-text li { margin-bottom: 10px; }

@media (max-width: 768px) {
    .page-hero { height: 250px; margin-bottom: -30px; }
    .page-hero-content h1 { font-size: 32px; }
    .page-content-card { padding: 30px 20px; }
}
/* Specialized About & Contact Styles */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(44, 0, 6, 0.2);
    border: 5px solid #fff;
}

.about-image img { width: 100%; display: block; }

.about-image::after {
    content: "";
    position: absolute;
    bottom: -10px; right: -10px;
    width: 100px; height: 100px;
    background: var(--gold-primary);
    z-index: -1;
    border-radius: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.premium-icon-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.premium-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.15);
    border-color: var(--gold-primary);
}

.premium-icon-card i {
    font-size: 36px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: block;
}

.premium-icon-card h3 {
    font-size: 18px;
    color: var(--maroon-primary);
    margin-bottom: 10px;
}

.premium-icon-card p, .premium-icon-card a {
    font-size: 15px;
    color: #666;
    text-decoration: none;
}

@media (max-width: 900px) {
    .about-split { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

.content-ornament {
    text-align: center;
    margin: 30px 0;
    color: var(--gold-primary);
    font-size: 24px;
    opacity: 0.5;
}

/* Global Page Styles - Premium */
.page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(44,0,6,0.7), rgba(44,0,6,0.9));
}

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

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
    color: var(--gold-primary);
}

.breadcrumb {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--gold-primary);
    opacity: 1;
}

.breadcrumb span {
    color: var(--gold-primary);
}

.page-body-container {
    padding: 100px 0;
    background: #fdfaf5;
    position: relative;
}

.page-body-container.contact-page-mode {
    padding-top: 0;
    background: #fff;
}

.page-content-card {
    background: #fff;
    padding: 70px;
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(44,0,6,0.08);
    border: 1px solid rgba(255,106,0,0.1);
    position: relative;
    z-index: 2;
}

.about-split {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 450px;
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(44,0,6,0.15);
    border: 8px solid #fff;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.page-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.page-text h2 {
    font-size: 36px;
    color: var(--maroon-primary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-text h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 80px; height: 4px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.content-ornament {
    text-align: center;
    margin-top: 50px;
    color: var(--gold-primary);
    font-size: 28px;
    opacity: 0.6;
}

@media (max-width: 1100px) {
    .about-split {
        flex-direction: column;
        gap: 40px;
    }
    .about-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        position: static;
    }
    .page-hero h1 {
        font-size: 38px;
    }
}

/* Premium Contact Page Redesign - Expanded */
.contact-hero-banner {
    background: linear-gradient(135deg, #1a0003 0%, #2c0006 100%);
    padding: 100px 0 140px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/pinstriped-suit.png');
    opacity: 0.1;
}

.contact-hero-banner .hero-inner {
    position: relative;
    z-index: 2;
}

.contact-hero-banner h1 {
    font-size: 48px;
    margin: 0 0 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
}

.contact-hero-banner p {
    color: #ffd8c0;
    margin: 0;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-split-container {
    display: flex;
    gap: 0;
    max-width: 1100px;
    margin: -100px auto 60px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(44,0,6,0.15);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,106,0,0.1);
}

.contact-info-side {
    flex: 0 0 42%;
    background: linear-gradient(135deg, #2c0006 0%, #4a000a 100%);
    color: #fff;
    padding: 60px 50px;
    position: relative;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 70%);
    z-index: 0;
}

.contact-info-side h2 {
    font-size: 28px;
    margin-bottom: 40px;
    border: none;
    padding: 0;
    color: var(--gold-primary);
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.info-item i {
    font-size: 22px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--gold-primary);
    border: 1px solid rgba(255,106,0,0.2);
    transition: 0.3s;
}

.info-item:hover i {
    background: var(--gold-primary);
    color: #fff;
    transform: scale(1.1);
}

.info-item div h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.info-item div p {
    margin: 0;
    font-size: 15px;
    color: #ffd8c0;
    line-height: 1.6;
}

.contact-form-side {
    flex: 1;
    padding: 60px 70px;
    background: #fff;
}

.contact-form-side h2 {
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--maroon-primary);
    border: none;
    padding: 0;
    font-weight: 800;
}

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

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--maroon-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row input, .form-row textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #f8f9fb;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
    font-size: 15px;
    color: #333;
}

.form-row input:focus, .form-row textarea:focus {
    border-color: var(--gold-primary);
    outline: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.1);
    transform: translateY(-2px);
}

.btn-send-message {
    background: var(--maroon-primary);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 10px 20px rgba(44,0,6,0.2);
}

.btn-send-message:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.3);
}

@media (max-width: 991px) {
    .contact-split-container {
        flex-direction: column;
        margin-top: -60px;
        width: 90%;
    }
    .contact-info-side {
        flex: none;
        padding: 50px 40px;
    }
    .contact-form-side {
        padding: 50px 40px;
    }
}

/* Mobile Premium Optimization */
@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .page-body-container {
        padding: 50px 0;
    }

    .page-content-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .about-split {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
        position: static;
    }

    .contact-split-container {
        flex-direction: column !important;
        margin-top: -40px !important;
        width: 95% !important;
    }

    .contact-info-side, .contact-form-side {
        flex: none !important;
        width: 100% !important;
        padding: 40px 25px !important;
    }

    /* Hide redundant content titles in specialized layouts with maximum priority */
    .page-special-layout .page-text h1:first-of-type,
    .page-special-layout .page-text h2:first-of-type,
    .about-split .page-text h1:first-of-type,
    .about-split .page-text h2:first-of-type,
    .premium-about-layout .page-text h1:first-of-type,
    .premium-about-layout .page-text h2:first-of-type {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Premium About Layout Enhancements */
    .premium-about-layout {
        gap: 50px;
        align-items: flex-start;
    }

    .premium-about-layout .about-image {
        position: relative;
        padding: 15px;
        background: #fff;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border: 1px solid rgba(189, 166, 133, 0.3);
    }

    .premium-about-layout .about-image img {
        width: 100%;
        display: block;
        border: 1px solid #eee;
    }

    .premium-about-layout .image-accent {
        position: absolute;
        bottom: -15px;
        right: -15px;
        width: 100px;
        height: 100px;
        border-right: 5px solid var(--gold-primary);
        border-bottom: 5px solid var(--gold-primary);
        z-index: -1;
    }

    .content-om-header {
        font-size: 2.5rem;
        color: var(--gold-primary);
        margin-bottom: 20px;
        text-align: center;
        opacity: 0.6;
    }

    .about-commitment-card {
        background: rgba(44, 0, 6, 0.03);
        border-left: 5px solid var(--gold-primary);
        padding: 30px;
        border-radius: 0 15px 15px 0;
        margin-top: 40px;
        box-shadow: 5px 5px 15px rgba(0,0,0,0.02);
    }

    .about-commitment-card h3 {
        color: var(--maroon-primary);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.4rem;
    }

    .about-commitment-card p {
        font-style: italic;
        color: #555;
        line-height: 1.6;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 28px;
    }
    
    .top-actions .btn-premium {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .main-static-logo {
        width: 70px;
        height: 70px;
    }
}

/* Online Puja Module Styles */
.puja-hero {
    background: linear-gradient(rgba(44, 0, 6, 0.7), rgba(44, 0, 6, 0.7)), url('https://images.unsplash.com/photo-1545061930-bc29150162f8?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    border-bottom: 3px solid var(--gold-primary);
}

.puja-hero h1 { font-size: 42px; color: var(--gold-primary); text-transform: uppercase; margin-bottom: 10px; }

/* Tabs */
.puja-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    background: #fff;
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--gold-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.2);
}

/* Pooja Cards */
.puja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.puja-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,106,0,0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.puja-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(255,106,0,0.12); }
.puja-img-wrapper { position: relative; height: 220px; }
.puja-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.puja-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--gold-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Countdown in Card */
.puja-card-timer {
    background: rgba(44, 0, 6, 0.9);
    padding: 12px;
    display: flex;
    justify-content: space-around;
    color: #fff;
    text-align: center;
}
.timer-unit { flex: 1; }
.timer-unit span { display: block; font-size: 18px; font-weight: bold; color: var(--gold-primary); }
.timer-unit label { font-size: 10px; text-transform: uppercase; opacity: 0.8; }

.puja-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.puja-content h3 { font-size: 20px; color: var(--maroon-primary); margin-bottom: 12px; }
.puja-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

/* Details Page */
.details-section { padding: 60px 0; background: #fafafa; }
.details-header { display: flex; gap: 40px; margin-bottom: 40px; }
.details-main-img { width: 450px; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.details-intro { flex: 1; }
.details-intro h2 { font-size: 36px; color: var(--maroon-primary); margin-top: 0; }

.content-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    gap: 40px;
}
.c-tab-btn {
    padding: 15px 0;
    border: none;
    background: none;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.c-tab-btn.active { color: var(--gold-primary); border-bottom-color: var(--gold-primary); }

.tab-pane { display: none; line-height: 1.8; color: #444; }
.tab-pane.active { display: block; animation: fadeIn 0.5s; }

/* Packages */
.packages-title { text-align: center; margin: 50px 0 30px; color: var(--maroon-primary); font-size: 28px; }
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.package-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #eee;
    transition: 0.3s;
    cursor: pointer;
}
.package-card.active { border-color: var(--gold-primary); background: #fffcf8; box-shadow: 0 10px 30px rgba(255,106,0,0.1); }
.package-card h4 { margin: 0; font-size: 22px; color: var(--maroon-primary); }
.package-price { font-size: 32px; font-weight: 800; color: var(--gold-primary); margin: 20px 0; }
.package-features { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.package-features li { margin-bottom: 15px; padding-left: 25px; position: relative; font-size: 14px; }
.package-features li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: #27ae60;
}

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

@media (max-width: 992px) {
    .details-header { flex-direction: column; }
    .details-main-img { width: 100%; }
}

/* Refined Online Puja Redesign Styles v2 - Brand Themed */
.puja-hero-v3 {
    background: var(--maroon-primary); /* Deep maroon from brand */
    padding: 80px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.puja-hero-v3 h1 {
    font-size: 38px;
    font-family: 'Cinzel', serif;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: #fff;
}
.puja-hero-v3 .subtitle-hi {
    display: block;
    font-size: 16px;
    color: var(--gold-primary);
    margin-bottom: 25px;
    opacity: 0.9;
}
.puja-hero-v3 .btn-participate {
    background: var(--gold-primary); /* Gold from brand */
    color: #fff;
    padding: 12px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 40px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}
.puja-hero-v3 .btn-participate:hover { transform: scale(1.05); background: var(--maroon-hover); }

/* Staggered Collage Logic (5 Images) */
.puja-collage-v3 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.collage-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
    flex: 1;
    border: 1px solid rgba(255,106,0,0.2);
}
.collage-item img { width: 100%; height: 100%; object-fit: cover; }

/* Layered V-formation */
.item-left-2 { max-width: 140px; height: 140px; transform: translateY(-80px); }
.item-left-1 { max-width: 180px; height: 280px; transform: translateY(-40px); }
.item-center { max-width: 220px; height: 400px; z-index: 3; }
.item-right-1 { max-width: 180px; height: 280px; transform: translateY(-40px); }
.item-right-2 { max-width: 140px; height: 140px; transform: translateY(-80px); }

/* Mission Section v3 */
.info-v3 { background: var(--bg-secondary); padding: 100px 0; }
.info-v3-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.portrait-v3-wrapper { position: relative; display: inline-block; }

/* Mandala Background Pattern */
.mandala-bg-v3 {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L60 40 L100 50 L60 60 L50 100 L40 60 L0 50 L40 40 Z" fill="rgba(255, 106, 0, 0.1)"/></svg>');
    background-size: 100px 100px;
    border-radius: 50%;
    z-index: 1;
}
.portrait-v3-wrapper img {
    position: relative;
    z-index: 2;
    max-width: 400px;
    border-radius: 10px;
}
.info-v3-right h2 { font-size: 34px; color: var(--maroon-primary); line-height: 1.3; margin-bottom: 25px; }
.info-v3-list { list-style: none; padding: 0; }
.info-v3-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: #444;
}
.info-v3-list li i { position: absolute; left: 0; top: 3px; color: var(--gold-primary); font-size: 18px; }

/* Puja Card v3 - brand themed */
.puja-card-v3 {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(44,0,6,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 106, 0, 0.1);
}
.p-card-header-v3 {
    background: var(--maroon-primary);
    color: #fff;
    padding: 12px 15px;
    text-align: center;
}
.p-card-header-v3 h3 { margin: 0; font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--gold-primary); }
.p-card-img-v3 { height: 260px; overflow: hidden; position: relative; }
.p-card-img-v3 img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s ease; }
.puja-card-v3:hover .p-card-img-v3 img { transform: scale(1.1) rotate(1deg); }

/* Segmented Countdown Block */
.countdown-block-v3 {
    background: #fff;
    margin: -30px 15px 0;
    position: relative;
    z-index: 5;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--bg-secondary);
}
.cd-unit-v3 span { display: block; font-size: 18px; font-weight: 800; color: var(--maroon-primary); }
.cd-unit-v3 label { font-size: 9px; text-transform: uppercase; color: #777; font-weight: bold; }

.p-card-body-v3 { padding: 40px 20px 20px; text-align: center; }
.p-card-meta { font-size: 12px; color: #666; margin-bottom: 20px; display: flex; flex-direction: column; gap: 5px; }

.btn-p-v3 {
    background: var(--maroon-primary);
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    padding: 12px;
    border-radius: 5px;
    display: block;
    text-transform: uppercase;
    transition: 0.3s;
    border: 1px solid var(--gold-primary);
}
.btn-p-v3:hover { background: var(--maroon-hover); color: #fff; transform: translateY(-2px); }

@media (max-width: 900px) {
    .puja-collage-v3 { flex-wrap: wrap; }
    .item-left-2, .item-left-1, .item-center, .item-right-1, .item-right-2 { transform: none; max-width: calc(33% - 10px); height: 200px; }
    .info-v3-grid { grid-template-columns: 1fr; text-align: center; }
    .portrait-v3-wrapper img { max-width: 100%; }
}

/* ==========================================================================
   Task 8: Mobile Responsiveness Overhaul (iPhone SE, iPhone 12/13/14/Pro Max)
   ========================================================================== */

/* Defaults for Desktop (Hidden) */
.hamburger-menu { display: none !important; }
.mobile-menu-header { display: none !important; visibility: hidden !important; }
.logo a:hover .main-static-logo { transform: scale(1.05); }

/* Standardize Card Grid for all service pages */
.card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    width: 100%;
}

@media (max-width: 991px) {
    .container { width: 95%; }
    .nav-container { justify-content: space-between; position: relative; height: 60px; }
    
    .main-navbar {
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* Hide top logo on mobile to fix 'Double Logo' issue */
    .top-header .logo { display: none !important; }
    .logo a:hover .main-static-logo { transform: none; }
    .hamburger-menu {
        display: block !important;
        cursor: pointer;
        font-size: 24px;
        color: #fff;
        padding: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--maroon-primary);
        z-index: 10000;
        transition: 0.4s ease;
        padding: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        display: block !important;
    }

    .nav-menu.active { left: 0 !important; }

    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background: #fff;
        border-bottom: 2px solid var(--gold-primary);
    }

    #hamburger-close { font-size: 24px; color: var(--maroon-primary); cursor: pointer; }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px 0;
        overflow-y: auto;
        height: calc(100% - 80px);
    }

    .nav-menu ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-menu ul li a { padding: 15px 25px; display: block; width: 100%; }

    /* Dropdowns on Mobile */
    .nav-menu .dropdown-content {
        position: static;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        display: none;
        width: 100% !important;
        min-width: 0 !important;
    }
    .nav-menu .dropdown:hover .dropdown-content { display: block; }
    .nav-menu .dropdown-content li a { padding-left: 45px; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,0.05); }

    /* Hide redundant desktop elements */
    .top-actions { gap: 5px; }
    .btn-login, .btn-register { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 768px) {
    /* Header Mobile Flow Fixes */
    .top-container {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        text-align: center;
    }
    .top-actions {
        width: 100%;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo {
        text-align: center;
    }
    .main-static-logo {
        max-width: 80vw;
    }

    /* Section Spacing */
    .section-padding { padding: 40px 0; }
    .section-header h2 { font-size: 24px; }
    
    /* Hero Slider */
    .hero-banner { padding: 60px 0; text-align: center; }
    .hero-content h1 { font-size: 28px; }
    .hero-content .subtitle { font-size: 15px; margin: 0 auto 20px; }

    /* Grids to 1 Column (Except Zodiac) */
    .about-grid, .card-grid, .testimonial-grid, .video-grid, .why-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
    }

    /* Inspired Services Grid */
    .inspired-grid { display: flex; flex-direction: column; }
    .inspired-left { display: none; } /* Hide the orbit on mobile to save space */
    .services-subgrid { grid-template-columns: 1fr !important; }

    /* Consultation Root Grid */
    .root-grid { grid-template-columns: 1fr !important; }
    .root-card { height: 250px; }

    /* E-commerce */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { margin-bottom: 15px; border: 1px solid #eee; padding: 10px; border-radius: 10px; }
    .cart-table td { text-align: right; padding-left: 50%; position: relative; border: none; }
    .cart-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        text-align: left;
        font-weight: bold;
    }

    /* Checkout Layout */
    .checkout-layout { grid-template-columns: 1fr !important; }
    .product-card-premium { position: static; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .btn-premium, .btn-maroon { width: 100%; text-align: center; }
    .contact-info { font-size: 11px; }
    .contact-info span { margin: 0 5px; }
}
