/* ===================================
   NEET ONLINE CRASH COURSE STYLES
   Reference Implementation
   =================================== */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.simple-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.simple-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin: 0;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    color: white;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    color: white;
}

.header-phone i {
    color: #ffffff;
    font-size: 18px;
}

/* Registration Form Styles */
.static-registration {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-label.text-start {
    text-align: left !important;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Hero Section Specific Styles */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffd700;
}

.hero-section h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Countdown Timer Styles */
.countdown-timer {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24) !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(238, 90, 36, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.timer-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timer-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.timer-block {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.timer-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Purchase Section Styles */
.static-registration {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Features List */
.feature-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-tag {
    background: #ffffff;
    padding: 15px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.feature-tag i {
    color: #2b6edc;
    font-size: 18px;
}

.features-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1.3rem;
    color: #28a745;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Price Section */
.price-section {
    text-align: center;
    padding: 25px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 25px;
}

.original-price {
    font-size: 1.8rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-right: 20px;
    font-weight: 400;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: #28a745;
    text-shadow: 2px 2px 4px rgba(40, 167, 69, 0.2);
}

/* Urgency Bar */
.urgency-bar {
    background: linear-gradient(45deg, #e6a800, #d4a017) !important;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.urgency-bar i {
    margin-right: 8px;
    color: #d32f2f;
}

/* Urgency Bar Animation */
.urgency-slider {
    display: flex;
    animation: scrollText 15s linear infinite;
    white-space: nowrap;
}

.urgency-slide {
    display: inline-flex;
    align-items: center;
    padding: 0 50px;
    white-space: nowrap;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Course Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 30px;
}

.card-body i {
    margin-bottom: 20px;
    color: #007bff;
}

/* Step Cards */
.step-card {
    padding: 35px;
    border: 3px solid #e9ecef;
    border-radius: 20px;
    background: white;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #007bff 0%, #667eea 100%);
}

.step-card:hover {
    border-color: #007bff;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.step-number {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1;
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.step-card p {
    color: #666;
    font-size: 1rem;
}

/* Audience Items */
.audience-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.audience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.audience-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-right: 20px;
    flex-shrink: 0;
}

.audience-item span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Course Features Table */
.table-bordered {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-bordered td {
    border-color: #dee2e6;
    padding: 15px;
}

.table-bordered td:first-child {
    font-weight: 600;
    background: #f8f9fa;
    width: 40%;
}

.table-bordered td strong {
    color: #007bff;
}

/* Special Offer Section */
.special-offer-section {
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.special-offer-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 4s ease-in-out infinite;
}

.special-offer-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.special-offer-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* FAQ Accordion Styles */
.accordion {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #007bff 0%, #667eea 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    font-size: 1rem;
    color: #666;
    background: white;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #667eea 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #5563d1 100%);
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.3rem;
}

/* Final CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #667eea 100%) !important;
}

.bg-primary h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-primary h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

.bg-primary h4 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.bg-primary .btn-light {
    background: white;
    color: #007bff;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bg-primary .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section h3 {
        font-size: 1.5rem;
    }

    .timer-block {
        min-width: 60px;
        padding: 10px;
    }

    .timer-number {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2.5rem;
    }

    .original-price {
        font-size: 1.5rem;
    }

    .step-card {
        padding: 25px;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .special-offer-section {
        padding: 30px;
    }

    .special-offer-section h2 {
        font-size: 2rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .sticky-buttons {
        bottom: 20px;
        right: 20px;
    }

    .sticky-whatsapp {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {

    .sticky-buttons,
    .urgency-bar {
        display: none !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
    }

    .btn-primary {
        background: white !important;
        color: black !important;
        border: 1px solid black !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .urgency-slider {
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid black !important;
    }

    .btn-primary {
        background: black !important;
        color: white !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .static-registration {
        background: #2d3748 !important;
        color: white !important;
    }

    .features-list {
        background: #4a5568 !important;
    }

    .table-bordered td:first-child {
        background: #4a5568 !important;
        color: white !important;
    }
}

.course-features {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 80px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.feature-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 11px;
}

.feature-tag {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.feature-tag i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-tag span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Updated scrollToPurchase function compatibility */
.purchase-section,
#quickRegistrationForm {
    scroll-margin-top: 20px;
}

/* Button text sizing for "Buy Now at ₹999" */
.btn-primary.btn-lg {
    min-width: 200px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn-primary.btn-lg {
        min-width: 160px;
        font-size: 1rem;
    }
}

/* Sticky WhatsApp Button */
.sticky-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.sticky-whatsapp {
    display: block;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.required-field>label::after {
    content: " *";
    display: inline-block;
    color: #e74c3c;
    margin-left: 0.5em;
}


.course-features {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 15px;
    padding: 60px 80px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.feature-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 11px;
}

.feature-tag {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.feature-tag i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-tag span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    text-align: left;
}

.required-field>label::after {
    content: " *";
    display: inline-block;
    color: #e74c3c;
    margin-left: 0.5em;
}

/* Registration Card */

.registration-card {
    background: #f3f3f3;
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #2b6edc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Title */

.form-title {
    font-weight: 700;
    color: #2b6edc;
    letter-spacing: 3px;
    font-size: 28px;
}

.form-subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

/* Labels */

.registration-card label {
    font-weight: 500;
    color: #333;
}

/* Inputs */

.registration-card .form-control {
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    background: #f8f8f8;
}

.registration-card .form-control:focus {
    border-color: #2b6edc;
    box-shadow: 0 0 0 3px rgba(43, 110, 220, 0.15);
    background: #fff;
}

/* Register Button */

.registration-card .btn-primary {
    background: linear-gradient(45deg, #1e73e8, #5c7cfa);
    border: none;
    padding: 16px 45px;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.registration-card .btn-primary:hover {
    transform: translateY(-2px);
}

/* .course-features{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
} */

/* Increase content size inside left feature box */

.course-features h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.feature-tag {
    padding: 20px 25px;
    font-size: 1.1rem;
}

.feature-tag span {
    font-size: 1.15rem;
    font-weight: 500;
}

.feature-tag i {
    font-size: 1.8rem;
}

.registration-card label {
    display: block;
    text-align: left;
}

.course-features {
    margin-top: 40px;
}

/* Mobile */
@media(max-width:768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
}

.cta-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.cta-btn {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    /* rectangle instead of capsule */
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.program-card:hover .cta-btn {
    background: #1d4ed8;
}

.syllabus-download-section {
    background: #ffffff;
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.syllabus-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.syllabus-desc {
    color: #555;
    margin-bottom: 8px;
}

.syllabus-btn {
    display: inline-block;
    margin-top: 20px;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.syllabus-btn:hover {
    background: #1d4ed8;
    color: white;
}

.syllabus-download-section {
    background: linear-gradient(135deg, #e11d2e, #c1121f);
    padding: 60px 20px;
    color: white;
}

.syllabus-download-section h3,
.syllabus-download-section p,
.syllabus-download-section span,
.syllabus-download-section a:not(.syllabus-btn) {
    color: white !important;
}

.download-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    position: relative;
    text-align: center;
}

.popup-box input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.popup-box button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.popup-box button:hover {
    background: #1d4ed8;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}