@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Noto+Sans:wght@400;600;700&display=swap');

:root {
    --primary-color: #61138b;
    --secondary-color: #2d44a0;
    --accent-color: #ff6b35;
    --bg-color: #fdf5e6;
    --text-color: #2c1810;
    --container-bg: #ffffff;
    --border-color: #1158fd;
    --success-color: #28a745;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
    background: linear-gradient(135deg, #fdf5e6 0%, #f5e6d3 100%);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #61138b 0%, #2d44a0 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1em;
    color: var(--text-color);
    margin-top: 10px;
}

/* Container */
.container {
    background-color: var(--container-bg);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width:95vw;
    width: 95%;
    margin: 40px auto;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1,
h2 {
    text-align: center;
    color: var(--primary-color);
    border-bottom: 4px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.2em;
}

h2 {
    font-size: 1.9em;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin: 25px 0 15px;
}

/* Info Section */
.info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 6px solid var(--accent-color);
}

.info-section h2 {
    border: none;
    text-align: left;
    margin-bottom: 20px;
}

/* Dosha Cards */
.dosha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.dosha-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.dosha-card:nth-child(1) {
    border-top-color: #9c27b0;
}

.dosha-card:nth-child(2) {
    border-top-color: #ff5722;
}

.dosha-card:nth-child(3) {
    border-top-color: #4caf50;
}

.dosha-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dosha-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
}

.dosha-card h3 {
    text-align: center;
    margin-top: 0;
}

.dosha-card ul {
    list-style: none;
    padding: 0;
}

.dosha-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.dosha-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.15em;
    color: var(--text-color);
}

label .required {
    color: red;
    margin-left: 3px;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fffaf0;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(97, 19, 139, 0.1);
}

.submit-btn {
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(97, 19, 139, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(97, 19, 139, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Results Section */
#resultsContainer {
    margin-top: 50px;
    display: none;
    border-top: 4px solid var(--border-color);
    padding-top: 30px;
    animation: fadeInUp 0.8s ease;
}

.result-card {
    background: linear-gradient(135deg, #faf8f2 0%, #fff 100%);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.result-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-card h3::before {
    content: '🔮';
    font-size: 1.2em;
}

.result-card p,
.result-card ul {
    margin: 15px 0;
    line-height: 1.9;
    font-size: 1.1em;
}

.result-card ul {
    padding-left: 25px;
}

.result-card strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 60px 20px;
    margin: 60px 0;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-container h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 40px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: '+';
    font-size: 1.8em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 1.1em;
    line-height: 1.8;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 500px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 60px 20px;
    margin: 60px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5em;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

.testimonial-rating {
    color: #ffa726;
    font-size: 1.2em;
    text-align: right;
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
   
}
.cta-section h1 {
    color: white;
    border: none;
    font-size: 2em;
    margin: 0;
    padding: 0;
}

.cta-section h2 {
    color: white;
    border: none;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}



.footer {
background-color: #333;
color: white;
padding: 20px 15px;
text-align: center;
margin-top: 40px;
width: 100vw;
box-sizing: border-box;
}

.footer-content p {
margin: 0;
font-size: 14px;
}

.footer-links {
list-style: none;
padding: 10px 0 0;
margin: 0;
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}

.footer-links a {
color: white;
text-decoration: none;
font-size: 14px;
}

.footer-links a:hover {
text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdbdbd;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-links a {
    display: inline;
    margin: 0;
}

/* Print Button */
#print-btn {
    margin-top: 30px;
    background: linear-gradient(145deg, var(--accent-color), #e91e63);
    display: none;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(97, 19, 139, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .container {
        padding: 30px 20px;
    }

    h1,
    h2 {
        font-size: 1.8em;
    }

    .stats-section {
        grid-template-columns: 1fr;
        margin-top: -20px;
    }

    .dosha-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }

    #printable-section,
    #printable-section * {
        visibility: visible;
    }

    #printable-section {
        position: absolute;
        left: 0;
        top: 0;
    }

    .submit-btn,
    #print-btn,
    .footer {
        display: none !important;
    }
}


  /* Footer Styles */
  footer {
    background: linear-gradient(135deg, #0d0535 0%, #051557 100%);
    color: white;
    padding: 50px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.8em;
    transition: transform 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffd700;
    transform: translateX(5px);
}



.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

.quick-links-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    flex-wrap: wrap;
}

.quick-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.quick-link:hover {
    background: #ffd700;
    color: #1a472a;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #ff8555;
    transform: translateY(-5px);
}

.back-to-top.show {
    display: block;
    animation: fadeInUp 0.5s;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-btn {
    padding: 12px 30px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn:hover {
    background: #66bb6a;
    transform: scale(1.05);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quick-links-bar {
        flex-direction: column;
        gap: 10px;
    }

    .quick-link {
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
