/* =================================== */
/* CTA TICKER STYLES                   */
/* =================================== */
.cta-ticker {
    background-image: var(--gradient-main); /* UPDATED */
    color: var(--text-primary); /* Changed to variable for consistency */
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cta-ticker p {
    display: inline-block;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    padding-left: 100%;
    
    animation-name: ticker-scroll;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.cta-ticker a {
    color: var(--text-primary);
    font-weight: 700; /* Increased weight for emphasis */
    text-decoration: underline;
    margin-left: 0.5rem;
}
.cta-ticker:hover p {
    animation-play-state: paused;
}

/* Keyframe animation for the scroll effect */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* =================================== */
/* HERO SECTION STYLES                 */
/* =================================== */
.hero-section-revised {
    position: relative;
    min-height: 90vh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-primary); /* Ensures all text inside defaults to white */
    
    /* New background with dark navy overlay (85% opacity) */
    background-image: linear-gradient(rgba(16, 23, 49, 0.75), rgba(16, 23, 49, 0.75)), url('jai-mataji-astrology-hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the cool parallax effect */
}

.hero-content-revised {
    position: relative;
    max-width: 800px;
}

.hero-content-revised h1 {
    /* The main font is now handled by the global h1 style */
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content-revised h1 span {
    background-image: var(--gradient-main);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent; /* Orange accent text */
}

.hero-content-revised p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9; /* Makes the paragraph slightly softer than the headline */
    color: var(--text-secondary);
}

.hero-image {
    text-align: center; /* Centers the image within its column */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem; /* 16px */
    box-shadow: 0 10px 40px rgba(44, 62, 80, 0.15);
    border: 4px solid #fff;
}

/* =================================== */
/* RESPONSIVE STYLES (for Hero)     */
/* =================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center;
    }

    .hero-image {
        grid-row: 1; /* Moves image to the top on mobile */
        margin-bottom: 3rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}
/* =================================== */
/* COMMITMENT SECTION STYLES           */
/* =================================== */
.commitment-section-revised {
    padding: 4rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    transition: transform 0.3s ease;
    /* NOTE: Card background, shadow, and gloss have been removed for a cleaner look */
}

.trust-item:hover {
    transform: translateY(-5px); /* Keep the subtle lift effect */
}

.promise-icon i { 
    background-image: var(--gradient-main);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.trust-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive styles for the Trust Bar */
@media (max-width: 992px) {
    .trust-bar {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem;
    }
}

@media (max-width: 576px) {
    .trust-bar {
        grid-template-columns: 1fr;
    }
}

/* =================================== */
/* ABOUT SECTION STYLES                */
/* =================================== */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 2rem;
}

.about-image-wrapper {
    grid-column: 6 / 13;
    grid-row: 1;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); /* Darker shadow for the new theme */
    object-fit: cover;
}

.about-content-card {
    grid-column: 1 / 8;
    grid-row: 1;
    position: relative;
    z-index: 2;
    
    background-color: var(--bg-card); /* Lighter navy card background */
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-content-card .section-subtitle,
.about-content-card .section-title {
    text-align: left;
}

.about-content-card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary); /* Off-white paragraph text */
}

.about-content-card p:last-of-type {
    margin-bottom: 2rem;
}


/* =================================== */
/* RESPONSIVE STYLES (for About)       */
/* =================================== */
@media (max-width: 992px) {
    .about-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .about-image-wrapper {
        margin-bottom: -4rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-content-card {
        width: 100%;
        padding: 2rem;
        text-align: center;
    }
    
    .about-content-card .section-subtitle,
    .about-content-card .section-title {
        text-align: center;
    }
}
/* =================================== */
/* PRICING SECTION STYLES              */
/* =================================== */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--bg-primary); /* Dark background */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background-color: var(--bg-card); /* Lighter navy card */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* --- The Popular Card Styling --- */
.pricing-card.popular {
    border: 2px solid transparent; /* Border must be solid and transparent */
    border-image: var(--gradient-main) 1;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(243, 156, 18, 0.15);
}
.pricing-card.popular:hover {
    transform: scale(1.08);
}

/* --- Badges --- */
.pricing-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-primary); /* Dark text for contrast */
    background-color: var(--color-accent); /* Orange badge */
    text-transform: uppercase;
}
/* Reposition the discount badge */
.pricing-badge.discount {
    top: 20px; right: 20px; left: auto; transform: none;
}

/* --- Header and Price --- */
.pricing-header {
    margin-bottom: 1.5rem;
}
.pricing-header h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.pricing-header p {
    color: var(--text-secondary);
}

.price {
    margin-bottom: 2rem;
}
.original-price {
    color: #889;
    text-decoration: line-through;
    margin-right: 0.5rem;
}
.final-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Features List --- */
.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    padding: 0;
}
.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}
.features-list li i.fa-check {
    color: var(--color-accent); /* Orange checkmarks */
}
.features-list li.disabled {
    color: #667;
}
.features-list li.disabled i.fa-times {
    color: #667;
}

/* --- Buttons --- */
.pricing-card .header-cta,
.pricing-card .cta-primary {
    width: 100%;
}

/* =================================== */
/* RESPONSIVE STYLES (for Pricing)     */
/* =================================== */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem; /* Add more space when stacked */
    }
    .pricing-card.popular {
        transform: scale(1);
    }
     .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}
/* =================================== */
/* SERVICES PREVIEW SECTION STYLES     */
/* =================================== */
.services-preview-section {
    padding: 6rem 0;
}

.service-featurettes {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-featurette {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex; /* CHANGED to flexbox */
    gap: 3rem;
    align-items: center; /* This now correctly handles vertical alignment */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-featurette:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

/* New, simpler logic for the reversed layout */
.service-featurette.reversed {
    flex-direction: row-reverse;
}

.service-icon {
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

.service-icon i {
    font-size: 3rem;
    color: var(--text-primary);
}

.service-content {
    flex-grow: 1; /* Allows text to take up remaining space */
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Keep text aligned to the right in the reversed desktop view */
.service-featurette.reversed .service-content {
    text-align: right;
}

.learn-more-link {
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: var(--color-accent-hover);
}

.view-all-services-link {
    text-align: center;
    margin-top: 4rem;
}


/* =================================== */
/* RESPONSIVE STYLES (for Services)    */
/* =================================== */
@media (max-width: 768px) {
    .service-featurette,
    .service-featurette.reversed {
        flex-direction: column; /* Stacks icon on top of text */
        text-align: center;     /* Centers both the text and the icon */
    }

    /* Override the right-alignment for the reversed item on mobile */
    .service-featurette.reversed .service-content {
        text-align: center;
    }
}
/* =================================== */
/* TESTIMONIALS SECTION STYLES         */
/* =================================== */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.testimonials-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--bg-card); /* Lighter navy card background */
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--color-accent); /* Orange accent line */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border-color); /* Added for more definition */
}

.testimonial-item:hover {
    transform: translateY(-8px);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary); /* Off-white text */
    font-style: italic;
    position: relative;
    padding-left: 2.5rem;
    margin: 0 0 1.5rem 0;
}

/* Stylish quotation mark */
.testimonial-text::before {
    content: '\201C';
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    color: var(--color-accent); /* Orange quote icon */
    opacity: 0.5;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color); /* Updated border color */
}

.author-details h4 {
    color: var(--text-primary);
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* =================================== */
/* RESPONSIVE STYLES (for Testimonials)*/
/* =================================== */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* =================================== */
/* OUR ETHICAL PROMISE SECTION STYLES  */
/* =================================== */
.promise-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.promise-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.promise-item {
    text-align: center;
}

.promise-icon {
    font-size: 3rem;
    color: var(--color-accent); /* Orange icon for emphasis */
    margin-bottom: 1.5rem;
    display: inline-block;
}

.promise-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.promise-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

/* =================================== */
/* RESPONSIVE STYLES (for Promise)     */
/* =================================== */
@media (max-width: 992px) {
    .promise-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* =================================== */
/* BLOG SECTION STYLES                 */
/* =================================== */
.blog-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.blog-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-post-card {
    background-color: var(--bg-card); /* Lighter navy card background */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.post-image-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .post-image-link img {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content h3 {
    margin-bottom: 1rem;
}

.card-content h3 a {
    font-size: 1.4rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content h3 a:hover {
    color: var(--color-accent);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more-link {
    font-weight: 700;
    color: var(--color-accent); /* Orange link */
    text-decoration: none;
    transition: color 0.3s ease;
}
.read-more-link:hover {
    color: var(--color-accent-hover);
}


/* =================================== */
/* RESPONSIVE STYLES (for Blog)        */
/* =================================== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* =================================== */
/* CONTACT SECTION STYLES              */
/* =================================== */
.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.contact-layout {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--bg-card); /* Lighter navy card */
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.contact-form-wrapper p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Dark Theme Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary); /* Darkest navy for fields */
    color: var(--text-primary); /* White text input */
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent); /* Orange focus border */
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2); /* Orange focus glow */
}

.contact-form button {
    width: 100%;
}

/* Info List Styles */
.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.info-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.info-list i {
    font-size: 1.5rem;
    color: var(--color-accent); /* Orange icons */
}
.info-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.info-list a:hover {
    color: var(--color-accent);
}

/* Map Styles */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
    /* This filter helps the default map style blend with a dark theme */
    filter: invert(100%) grayscale(80%);
}

/* =================================== */
/* RESPONSIVE STYLES (for Contact)     */
/* =================================== */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
/* =================================== */
/* CONTACT WHATSAPP BUTTON SPACING     */
/* =================================== */
.contact-whatsapp-btn {
    display: block; /* Make it a block to control margin */
    text-align: center;
    margin-bottom: 2rem;
}

/* =================================== */
/* FAQ TEASER SECTION STYLES           */
/* =================================== */
.faq-teaser-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.faq-teaser-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.faq-teaser-intro .section-title,
.faq-teaser-intro .section-subtitle {
    text-align: left;
}
.faq-teaser-intro p {
    margin: 1.5rem 0 2rem 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Accordion Styles */
.faq-accordion {
    border-top: 1px solid var(--border-color);
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-accent); /* Orange icon */
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Active state toggled by JavaScript */
.faq-item.active .faq-question {
    color: var(--color-accent);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 200px;
}


/* =================================== */
/* RESPONSIVE STYLES (for FAQ Teaser)  */
/* =================================== */
@media (max-width: 992px) {
    .faq-teaser-layout {
        grid-template-columns: 1fr;
    }
    .faq-teaser-intro {
        text-align: center;
        margin-bottom: 3rem;
    }
    .faq-teaser-intro .section-title,
    .faq-teaser-intro .section-subtitle {
        text-align: center;
    }
}