/*
* @Author: Lalit
* @Date:   2025-11-06 16:29:47
* @Last Modified by:   Lalit
* @Last Modified time: 2025-11-13 17:39:45
*/

 * { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
        }

        .ask-question-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 15px;
        }

        /* Hero Section */
        .hero-section {
            text-align: center;
            padding: 40px 20px;
            background: linear-gradient(135deg, #fde8e9 0%, #fff4e6 100%);
            border-radius: 20px;
            color: #c1272d;
            margin-bottom: 40px;
            box-shadow: 0 10px 40px rgba(193, 39, 45, 0.15);
            position: relative;
            overflow: hidden;
            border: 2px solid #f37110;
        }

        .hero-section::before {
            content: '✨';
            position: absolute;
            font-size: 80px;
            opacity: 0.1;
            top: -20px;
            right: 50px;
            animation: float 3s ease-in-out infinite;
        }

        .hero-section h1 {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }

        .hero-section .price {
            font-size: 56px;
            font-weight: 800;
            color: #c1272d;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            margin: 10px 0;
        }

        .hero-section p {
            font-size: 18px;
            opacity: 0.85;
            margin-top: 10px;
            color: #555;
        }

        /* Banner Section */
        .banner-section {
            background: linear-gradient(135deg, #fff 0%, #fef5f5 100%);
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
            border: 2px solid #fde8e9;
        }

        .banner-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }

        .banner-card {
            background: white;
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s;
            border: 2px solid #f0f0f0;
        }

        .banner-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(193, 39, 45, 0.15);
            border-color: #c1272d;
        }

        .banner-card-icon {
            font-size: 30px;
            color: #c1272d;
        }

        .banner-card h4 {
            color: #333;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .banner-card p {
            color: #666;
            font-size: 14px;
            line-height: 1.6;
        }

        .banner-section > h3 {
            color: #c1272d;
            font-size: 28px;
            text-align: center;
            margin-bottom: 30px;
            font-weight: 700;
        }

        /* Form Section */
        .form-section {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
        }

        .form-section h2 {
            color: #c1272d;
            font-size: 28px;
            margin-bottom: 30px;
            text-align: center;
        }

        .question-for-tab {
            padding: 15px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            background: white;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 16px;
            font-weight: 600;
        }

        .question-for-tab:hover {
            border-color: #c1272d;
            color: #c1272d;
            transform: translateY(-2px);
        }

        .question-for-tab.active {
            background: linear-gradient(135deg, #c1272d 0%, #f37110 100%);
            color: white;
            border-color: #c1272d;
            box-shadow: 0 5px 15px rgba(193, 39, 45, 0.3);
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 15px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s;
            box-sizing: border-box;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #c1272d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.1);
        }

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

        /* Language Tabs */
        .language-tabs {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
            justify-content: flex-start;
            overflow-x: auto;
            padding: 10px 0;
        }

        .language-tabs::-webkit-scrollbar {
            height: 6px;
        }

        .language-tabs::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .language-tabs::-webkit-scrollbar-thumb {
            background: #c1272d;
            border-radius: 10px;
        }

        .language-tab {
            padding: 12px 30px;
            border: 2px solid #e0e0e0;
            border-radius: 25px;
            background: white;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 15px;
            font-weight: 600;
        }

        .language-tab:hover {
            border-color: #c1272d;
            color: #c1272d;
            transform: translateY(-2px);
        }

        .language-tab.active {
            background: linear-gradient(135deg, #c1272d 0%, #f37110 100%);
            color: white;
            border-color: #c1272d;
            box-shadow: 0 5px 15px rgba(193, 39, 45, 0.3);
        }

        /* Partner Details Section */
        .partner-details-section {
            display: none;
            background: #f9f9f9;
            border: 2px solid #fde8e9;
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
        }

        .partner-details-section.show {
            display: block;
            animation: slideIn 0.3s ease-out;
        }

        .partner-details-section h3 {
            color: #c1272d;
            font-size: 20px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 15px;
            cursor: pointer;
        }

        .checkbox-container input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .checkbox-container label {
            cursor: pointer;
            font-weight: 600;
            color: #333;
            margin-bottom: 0;
        }

        /* Astrologer Selection */
        .astrologer-section {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
        }

        .astrologer-section h2 {
            color: #c1272d;
            font-size: 28px;
            margin-bottom: 30px;
            text-align: center;
        }

        .astrologer-slider {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 20px 0;
            scroll-behavior: smooth;
        }

        .astrologer-slider::-webkit-scrollbar {
            height: 8px;
        }

        .astrologer-slider::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .astrologer-slider::-webkit-scrollbar-thumb {
            background: #c1272d;
            border-radius: 10px;
        }

        .astrologer-card {
              min-width: 230px;
              background: linear-gradient(135deg, #fff 0%, #fef5f5 100%);
              border: 3px solid #e0e0e0;
              border-radius: 15px;
              padding: 10px;
              cursor: pointer;
              transition: all 0.4s ease;
              text-align: center;
              width: 230px;
        }

        .astrologer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(193, 39, 45, 0.2);
        }

        .astrologer-card.selected {
            border-color: #c1272d;
            background: linear-gradient(135deg, #c1272d 0%, #f37110 100%);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(193, 39, 45, 0.4);
        }

        .astrologer-card.hidden {
            display: none;
        }

        /* Quick Fade In/Out Animation */
        .astrologer-card.fade-out {
            animation: quickFadeOut 0.3s ease-out forwards;
        }

        .astrologer-card.fade-in {
            animation: quickFadeIn 0.3s ease-in forwards;
        }

        @keyframes quickFadeOut {
            0% {
                opacity: 1;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: scale(0.95);
            }
        }

        @keyframes quickFadeIn {
            0% {
                opacity: 0;
                transform: scale(0.95);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .astrologer-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 10px;
            border: 4px solid white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .astrologer-card.selected .astrologer-image {
            border-color: #fff;
        }

        .astrologer-name {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .astrologer-card.selected .astrologer-name,
        .astrologer-card.selected .astrologer-exp,
        .astrologer-card.selected .astrologer-price {
            color: white;
        }

        .astrologer-exp {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .astrologer-price {
            color: #c1272d;
            font-size: 17px;
            font-weight: 700;
            margin-top: 10px;
        }

        .astrologer-card.selected .astrologer-price {
            color: #fff;
        }

        .astrologer-speciality {
            font-size: 13px;
            color: #888;
            margin-top: 8px;
        }

        .astrologer-card.selected .astrologer-speciality {
            color: rgba(255,255,255,0.9);
        }

        /* Payment Button */
        .payment-section {
              background: transparent;
              border-radius: 15px;
              padding: 40px 0 0 0;
              margin-bottom: 0;
              /*box-shadow: 0 5px 25px rgba(0,0,0,0.08);*/
              text-align: center;
        }

        .pay-button {
            background: linear-gradient(135deg, #c1272d 0%, #f37110 100%);
            color: white;
            border: none;
            padding: 18px 60px;
            font-size: 24px;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 10px 30px rgba(193, 39, 45, 0.3);
            text-transform: uppercase;
        }

        .pay-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(193, 39, 45, 0.4);
        }

        .pay-button:active {
            transform: translateY(0);
        }

        /* Thank You Section */
        .thankyou-section {
            display: block;
            background: white;
            border-radius: 15px;
            padding: 60px 40px;
            margin-bottom: 40px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
            text-align: center;
        }

        .thankyou-section.show {
            display: block;
            animation: slideIn 0.5s ease-out;
        }

        .success-icon {
            font-size: 80px;
            color: #4CAF50;
            margin-bottom: 20px;
        }

        .thankyou-section h2 {
            color: #c1272d;
            font-size: 36px;
            margin-bottom: 20px;
        }

        .delivery-info {
            background: #f9f9f9;
            border-left: 4px solid #c1272d;
            padding: 20px;
            margin: 30px 0;
            text-align: left;
            border-radius: 8px;
        }

        .delivery-info h3 {
            color: #c1272d;
            font-size: 20px;
            margin-bottom: 15px;
        }

        .delivery-info ul {
            list-style: none;
            padding: 0;
        }

        .delivery-info li {
            padding: 10px 0;
            font-size: 16px;
            color: #555;
            border-bottom: 1px solid #e0e0e0;
        }

        .delivery-info li:last-child {
            border-bottom: none;
        }

        .delivery-info li:before {
            content: "📌 ";
            margin-right: 10px;
        }

        .support-box {
            background: linear-gradient(135deg, #fef5f5 0%, #fff9f0 100%);
            color: #333;
            padding: 25px;
            border-radius: 10px;
            margin-top: 30px;
            border: 2px solid #fde8e9;
        }

        .support-box h4 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #c1272d;
        }

        .support-box p {
            color: #666;
            margin-bottom: 10px;
        }

        .support-box a {
            color: #c1272d;
            text-decoration: none;
            font-size: 24px;
            font-weight: 700;
        }

        .support-box a:hover {
            color: #f37110;
        }

        .partner-span{display: block;font-weight: 600;font-size: 14px;}
        .select2-container{margin-bottom:25px;width: 100% !important;}
        .select2-selection__rendered{
              width: 100%;
              padding: 12px 15px;
              border: 2px solid #e0e0e0;
              border-radius: 8px;
              font-size: 15px;
              transition: all 0.3s;
              box-sizing: border-box;
        }

        .select2-container--default .select2-selection--single {
          background-color: #fff;
          border: none;
          border-radius: 4px;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

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

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .note{font-size:15px;}

        @media (max-width: 768px) {
            .hero-section h1 { font-size: 28px; }
            .hero-section .price { font-size: 40px; }
            .form-section, .astrologer-section, .payment-section { padding: 25px; }
            .astrologer-card { min-width: 240px; }

            .language-tabs { 
                gap: 10px; 
                flex-wrap: nowrap;
                justify-content: flex-start;
                overflow-x: scroll;
                -webkit-overflow-scrolling: touch;
            }
            .language-tab { 
                padding: 10px 20px; 
                font-size: 14px;
                flex-shrink: 0;
            }

            /* Mobile Form Fields Fix */
            .form-row {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .form-group {
                margin-bottom: 20px;
                width: 100%;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                width: 100%;
                min-height: 45px;
                padding: 12px 15px;
                box-sizing: border-box;
            }

            .form-group textarea {
                min-height: 100px;
            }
        }

        @media only screen and (max-width:767px) and (min-width:300px){
            .pay-button {padding: 18px 50px;font-size: 20px;}
            .partner-span{font-size: 11px;}
            .note{text-align: center;}
        }