@import url(variables.css);

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* H2 - Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* H3 - Subsection Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.75rem;
    }
    
    /* H4 - Card Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.4rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199.98px) {
    /* H2 - Section Titles */
    .section-title {
        font-size: 2.25rem;
    }
    
    /* H3 - Subsection Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991.98px) {
    
    /* H2 - Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* H3 - Subsection Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.375rem;
    }
    
    /* H4 - Card Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.25rem;
    }
    
    /* H5 - Subtitles */
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .package-card.featured {
        transform: none;
        margin-top: 0;
    }
    
    .package-card.featured:hover {
        transform: translateY(-0.5rem);
    }
    
    .cta-buttons {
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    /* Swiper Responsive */
    .testimonials-swiper {
        padding: 1rem 0;
    }
    
    .testimonials-swiper-container {
        padding: 0 0.5rem;
    }
    
    /* Testimonial Cards Responsive */
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        min-height: 280px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-image-placeholder {
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    /* Navigation Buttons */
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .testimonials-button-next::after,
    .testimonials-button-prev::after {
        font-size: 1rem;
    }
    
    /* Pagination */
    .testimonials-pagination {
        bottom: -2rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    /* H2 - Section Titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    /* H3 - Subsection Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.25rem;
    }
    
    /* H4 - Card Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.125rem;
    }
    
    /* H5 - Subtitles */
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }
    
    .about-features {
        gap: 0.75rem;
    }

    .about-image{
        width: 100%;
        margin: 0 auto;
    }
    
    .feature-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .feature-item i {
        font-size: 1.25rem;
        width: 1.5rem;
    }
    
    .package-card {
        margin-bottom: 1rem;
    }
    
    .package-content {
        padding: 1.25rem;
    }
    
    .package-price .price {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
        min-height: 260px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        gap: 0.5rem;
    }
    
    .author-image-placeholder {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    /* Navigation Buttons - Hide on small screens */
    .testimonials-button-next,
    .testimonials-button-prev {
        display: none;
    }
    
    /* Pagination - Center and make more visible */
    .testimonials-pagination {
        bottom: -1.5rem;
        position: relative;
        margin-top: 1rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 6px;
        background: var(--bg-primary);
        opacity: 0.6;
    }
    
    .testimonials-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--bg-primary);
        transform: scale(1.2);
    }
    
    /* Swiper Container */
    .testimonials-swiper-container {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-swiper {
        padding: 1rem 0;
    }
    
    .accordion-button {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .form-control {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 0.75rem;
    }
    
    .form-control.textarea {
        min-height: 100px;
    }
    
    .form-control.textarea:focus {
        min-height: 120px;
    }
    
    .contact-form-wrapper .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0.75rem;
    }
    
    /* CTA Section Headings */
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    
    /* H2 - Section Titles */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* H3 - Subsection Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1.125rem;
    }
    
    /* H4 - Card Titles */
    .package-content h3,
    .contact-item h4,
    .author-info h4 {
        font-size: 1rem;
    }
    
    /* H5 - Subtitles */
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        text-align: left;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        max-width: 280px;
    }
    
    .about-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .about-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .feature-item i {
        font-size: 1.125rem;
        width: 1.25rem;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    .package-card {
        margin-bottom: 1rem;
    }
    
    .package-content {
        padding: 1rem;
    }
    
    .package-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .package-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .package-price .price {
        font-size: 1.5rem;
    }
    
    .package-price .duration {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .author-image,
    .author-image-placeholder {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-item img {
        height: 160px;
    }
    
    .contact-form-wrapper {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
    }
    
    .form-control.textarea {
        min-height: 80px;
    }
    
    .form-control.textarea:focus {
        min-height: 100px;
    }
    
    .contact-form-wrapper .btn-primary {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 0.5rem;
    }
    
    .contact-item {
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        width: 2rem;
        height: 2rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }

    .chardham-registration-section .section-subtitle{
        text-align: left;
    }
    
    /* CTA Section Headings */
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-section .btn {
        max-width: 260px;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .section-padding {
        padding: 2.5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-image img,
    .package-image img,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .btn,
    .gallery-overlay,
    .package-badge {
        display: none !important;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        transition: none !important;
    }
    
    .package-card:hover,
    .testimonial-card:hover,
    .gallery-item:hover {
        transform: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-light: #1f2937;
        --bg-white: #111827;
        --border-color: #374151;
    }
    .cta-section {
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-primary: #000000;
        --text-secondary: #000000;
        --border-color: #000000;
    }
    
    .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .btn-outline-primary {
        border: 2px solid #000000;
        color: #000000;
    }
}

/* ===== MODAL RESPONSIVE STYLES ===== */

/* Large Devices (992px to 1199px) */
@media (max-width: 1199.98px) {
    .modal-dialog {
        max-width: 600px;
        margin: 1.5rem auto;
        transform: translate(0, -50px) scale(0.95);
    }
    
    .modal.show .modal-dialog {
        transform: translate(0, 0) scale(1);
    }
    
    .modal-dialog.modal-lg {
        max-width: 700px;
    }
    
    .modal-dialog.modal-xl {
        max-width: 900px;
    }
    
    .modal-header {
        padding: 1.5rem 1.75rem;
    }
    
    .modal-title {
        font-size: 1.625rem;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .modal-footer {
        padding: 1.5rem 1.75rem;
    }
    
    .modal-form .form-control {
        padding: 0.875rem 1.125rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991.98px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1rem auto;
        transform: translate(0, -40px) scale(0.9);
    }
    
    .modal.show .modal-dialog {
        transform: translate(0, 0) scale(1);
    }
    
    .modal-dialog.modal-lg {
        max-width: 600px;
    }
    
    .modal-dialog.modal-xl {
        max-width: 700px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.75rem;
    }
    
    .modal-footer {
        padding: 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
    }
    
    /* Center modal on medium devices */
    .modal-dialog-centered {
        min-height: calc(100% - 2rem);
    }
    
    /* Adjust form spacing */
    .modal-form .form-group {
        margin-bottom: 1.5rem;
    }
    
    .modal-form .form-control {
        padding: 0.875rem 1rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    .modal-dialog {
        max-width: 90%;
        margin: 0.75rem auto;
        transform: translate(0, -30px) scale(0.85);
    }
    
    .modal.show .modal-dialog {
        transform: translate(0, 0) scale(1);
    }
    
    .modal-dialog.modal-lg {
        max-width: 95%;
    }
    
    .modal-dialog.modal-xl {
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 1.375rem;
    }
    
    .modal-header {
        padding: 1.25rem 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.25rem 1.25rem;
    }
    
    .modal-header .btn-close {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
    
    /* Adjust modal height for small devices */
    .modal-dialog-centered {
        min-height: calc(100% - 1.5rem);
    }
    
    /* Stack form elements vertically */
    .modal-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    .modal-form .form-control {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Optimize header for small screens */
    .modal-header::before {
        animation: modal-shine 4s ease-in-out infinite;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
        transform: translate(0, -25px) scale(0.8);
    }
    
    .modal.show .modal-dialog {
        transform: translate(0, 0) scale(1);
    }
    
    .modal-dialog.modal-sm {
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-header {
        padding: 1rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .modal-header .btn-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.125rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-footer {
        padding: 1rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Adjust modal height for extra small devices */
    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
    
    /* Optimize form for small screens */
    .modal-form .form-group {
        margin-bottom: 1rem;
    }
    
    .modal-form .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-form .form-control {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .modal-form .form-text {
        font-size: 0.8rem;
    }
    
    /* Adjust decorative elements */
    .modal-body h3::after {
        width: 2.5rem;
        height: 0.2rem;
    }
    
    .modal-form .form-label::before {
        left: -0.5rem;
        width: 0.2rem;
        height: 0.2rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .modal-dialog {
        margin: 0.5rem auto;
        transform: translate(0, -20px) scale(0.9);
    }
    
    .modal.show .modal-dialog {
        transform: translate(0, 0) scale(1);
    }
    
    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-body {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.25rem;
    }
    
    /* Optimize for landscape */
    .modal-form .form-group {
        margin-bottom: 1rem;
    }
    
    .modal-form .form-control {
        padding: 0.75rem 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .modal-content {
        border-width: 0.5px;
    }
    
    .modal-header .btn-close {
        border-width: 0.5px;
    }
    
    /* Enhanced shadows for high DPI */
    .modal-content {
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(37, 99, 235, 0.15),
            0 0 0 4px rgba(37, 99, 235, 0.08);
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .modal-dialog,
    .modal-content,
    .modal-backdrop {
        transition: none !important;
        animation: none !important;
    }
    
    .modal.show .modal-dialog {
        transform: none !important;
    }
    
    .modal.show .modal-content {
        transform: none !important;
    }
    
    .modal-header::before {
        animation: none !important;
    }
}

/* Dark Mode Support for Modals */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        border-color: var(--border-color);
    }
    
    .modal-header {
        background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
        border-bottom-color: var(--border-color);
    }
    
    .modal-footer {
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
        border-top-color: var(--border-color);
    }
    
    .modal-form .form-control {
        background: #1f2937;
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    .modal-form .form-control::placeholder {
        color: var(--text-light);
    }
    
    .modal-form .form-control:focus {
        background: #1f2937;
        box-shadow: 
            0 0 0 4px rgba(37, 99, 235, 0.2),
            0 4px 12px rgba(37, 99, 235, 0.25);
    }
}

/* Focus Management for Modals */
@media (prefers-reduced-motion: no-preference) {
    .modal:focus-within {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    .modal-header .btn-close:focus {
        outline: 2px solid rgba(255, 255, 255, 0.9);
        outline-offset: 2px;
    }
}

/* High Contrast Mode for Modals */
@media (prefers-contrast: high) {
    .modal-content {
        border: 3px solid var(--border-color);
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.5),
            0 0 0 3px var(--primary-color);
    }
    
    .modal-header {
        border-bottom: 3px solid var(--border-color);
        background: var(--primary-color);
    }
    
    .modal-footer {
        border-top: 3px solid var(--border-color);
        background: var(--bg-light);
    }
    
    .modal-header .btn-close {
        border: 3px solid white;
        background: var(--primary-color);
    }
    
    .modal-form .form-control {
        border: 3px solid var(--border-color);
    }
    
    .modal-form .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--primary-color);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .modal-header .btn-close:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .modal-footer .btn:hover {
        transform: none;
    }
    
    .modal-form .form-control:focus {
        transform: none;
    }
    
    /* Larger touch targets */
    .modal-header .btn-close {
        width: 3rem;
        height: 3rem;
        font-size: 1.75rem;
    }
    
    .modal-footer .btn {
        padding: 1rem 1.75rem;
        min-height: 3rem;
    }
    
    /* Contact Form Touch Optimizations */
    .contact-form-wrapper .btn-primary {
        min-height: 3.5rem;
        padding: 1.25rem 2rem;
    }
    
    .form-control {
        min-height: 3rem;
        padding: 1rem 1.25rem;
    }
    
    .form-control.textarea {
        min-height: 4rem;
    }
    
    .contact-item {
        min-height: 4rem;
        padding: 1.5rem;
    }
    
    .contact-item i {
        min-width: 3rem;
        min-height: 3rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    .testimonial-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
        min-height: 240px;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
        margin-bottom: 0.875rem;
        line-height: 1.4;
    }
    
    .testimonial-author {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-image-placeholder {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .author-info span {
        font-size: 0.75rem;
    }
    
    /* Swiper Container */
    .testimonials-swiper-container {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonials-swiper {
        padding: 0.75rem 0;
    }
    
    /* Pagination */
    .testimonials-pagination {
        bottom: -1.25rem;
        margin-top: 0.75rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* Stars */
    .testimonial-content .stars {
        margin-bottom: 0.75rem;
    }
    
    .testimonial-content .stars i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }
}

/* Very Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonials-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
        min-height: 220px;
        border-radius: 0.75rem;
    }
    
    .testimonial-content p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .testimonial-author {
        gap: 0.375rem;
    }
    
    .author-image-placeholder {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
    
    .author-info h4 {
        font-size: 0.85rem;
        margin-bottom: 0.125rem;
    }
    
    .author-info span {
        font-size: 0.7rem;
    }
    
    /* Swiper Container */
    .testimonials-swiper-container {
        padding: 0 0.25rem;
        margin-bottom: 1.25rem;
    }
    
    .testimonials-swiper {
        padding: 0.5rem 0;
    }
    
    /* Pagination */
    .testimonials-pagination {
        bottom: -1rem;
        margin-top: 0.5rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    /* Stars */
    .testimonial-content .stars {
        margin-bottom: 0.625rem;
    }
    
    .testimonial-content .stars i {
        font-size: 0.75rem;
        margin-right: 0.125rem;
    }
    
    /* Ensure proper spacing */
    .testimonials-section .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Additional Testimonial Responsive Styles from main.css */
@media (max-width: 768px) {
    .testimonials-swiper-container {
        padding: 0 1rem;
    }
    
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .testimonials-button-next {
        right: 0.5rem;
    }
    
    .testimonials-button-prev {
        left: 0.5rem;
    }
    
    .testimonials-pagination {
        margin-top: 2rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 3px;
        background: rgba(255, 255, 255, 0.5);
    }
    
    .testimonials-pagination .swiper-pagination-bullet-active {
        width: 20px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .testimonials-swiper-container {
        padding: 0 0.5rem;
    }
    
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 40px;
        height: 40px;
        display: none; /* Hide on very small screens */
    }
    
    .testimonials-pagination {
        padding: 0.5rem 1rem;
        gap: 0.375rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 2px;
    }
    
    .testimonials-pagination .swiper-pagination-bullet-active {
        width: 16px;
        height: 2px;
    }
}

/* Important Information Section Responsive */
@media (max-width: 1199.98px) {
    .info-highlights {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.75rem;
    }
    
    .highlight-item {
        padding: 1.75rem;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .highlight-icon i {
        font-size: 1.75rem;
    }
    
    .highlight-item h3 {
        font-size: 1.375rem;
    }
    
    .highlight-item p {
        font-size: 0.95rem;
    }
    
    .info-note {
        padding: 1.75rem;
    }
    
    .note-content i {
        font-size: 1.375rem;
    }
}

@media (max-width: 991.98px) {
    .important-info-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .important-info-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .info-highlights {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
    }
    
    .highlight-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    .highlight-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .highlight-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .info-note {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .note-content {
        gap: 0.75rem;
    }
    
    .note-content i {
        font-size: 1.25rem;
    }
    
    .note-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 767.98px) {
    .important-info-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .important-info-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .info-highlights {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .highlight-item {
        padding: 1.25rem;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.875rem;
    }
    
    .highlight-icon i {
        font-size: 1.375rem;
    }
    
    .highlight-item h3 {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }
    
    .highlight-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .info-note {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .note-content {
        gap: 0.625rem;
    }
    
    .note-content i {
        font-size: 1.125rem;
    }
    
    .note-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 575.98px) {
    .important-info-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }
    
    .important-info-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
    }
    
    .info-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.75rem;
    }
    
    .highlight-icon i {
        font-size: 1.25rem;
    }
    
    .highlight-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .highlight-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .info-note {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .note-content {
        gap: 0.5rem;
    }
    
    .note-content i {
        font-size: 1rem;
    }
    
    .note-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Very Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .important-info-section .section-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
    
    .info-highlights {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .highlight-item {
        padding: 0.875rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.625rem;
    }
    
    .highlight-icon i {
        font-size: 1.125rem;
    }
    
    .highlight-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
    }
    
    .highlight-item p {
        font-size: 0.75rem;
        line-height: 1.25;
    }
    
    .info-note {
        padding: 0.875rem;
        margin-top: 0.875rem;
    }
    
    .note-content {
        gap: 0.375rem;
    }
    
    .note-content i {
        font-size: 0.9rem;
    }
    
    .note-content p {
        font-size: 0.75rem;
        line-height: 1.25;
    }
}

/* ===== MEDIA QUERIES MOVED FROM MAIN.CSS ===== */

/* FAQ Section Responsive Adjustments */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .accordion-button::after {
        width: 20px;
        height: 20px;
    }
    
    .accordion-button::before {
        width: 6px;
        height: 6px;
        right: 1.5rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-button::after {
        width: 18px;
        height: 18px;
    }
    
    .accordion-button::before {
        width: 5px;
        height: 5px;
        right: 1.25rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-form-wrapper {
        border: 3px solid var(--bg-primary);
    }
    
    .form-control {
        border-width: 3px;
    }
    
    .form-control:focus {
        border-width: 4px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .form-control,
    .contact-item,
    .contact-form-wrapper .btn-primary {
        transition: none;
    }
    
    .form-control:focus {
        transform: none;
    }
    
    .contact-form-wrapper .btn-primary:hover {
        transform: none;
    }
}

/* Flatpickr Calendar Responsive Adjustments */
@media (max-width: 768px) {
    .flatpickr-calendar {
        border-radius: 12px !important;
    }
    
    .flatpickr-months {
        border-radius: 12px 12px 0 0 !important;
    }
    
    .flatpickr-day {
        height: 35px !important;
        line-height: 35px !important;
        font-size: 0.85rem !important;
    }
    
    .flatpickr-weekday {
        font-size: 0.75rem !important;
    }
}

/* Main Responsive Design */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 0rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    
    .section-title {
        font-size: 1.5rem;
    }

    .heading-md{
        font-size: 1.25rem;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-0.5rem);
    }

    .chardham-registration-section .custom-list li{
        font-size: 1rem;
    }
}

/* Chardham Dates Section Responsive */
@media (max-width: 1199.98px) {
    .temple-illustration {
        width: 280px;
        height: 380px;
    }
    
    .temple-tower {
        width: 110px;
        height: 180px;
    }
    
    .temple-dome {
        width: 35px;
        height: 35px;
        top: -18px;
    }
    
    .temple-flag {
        width: 28px;
        height: 36px;
    }
    
    .temple-base {
        width: 140px;
        height: 55px;
    }
    
    .temple-title {
        font-size: 1.4rem;
    }
    
    .date-card {
        padding: 1.25rem;
    }
    
    .date-icon {
        width: 55px;
        height: 55px;
    }
    
    .date-icon i {
        font-size: 1.375rem;
    }
}

@media (max-width: 991.98px) {
    .chardham-dates-section .section-title {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .chardham-dates-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .chardham-illustration {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .temple-illustration {
        width: 260px;
        height: 350px;
    }
    
    .temple-tower {
        width: 100px;
        height: 160px;
    }
    
    .temple-dome {
        width: 32px;
        height: 32px;
        top: -16px;
    }
    
    .temple-flag {
        width: 25px;
        height: 32px;
    }
    
    .temple-base {
        width: 130px;
        height: 50px;
    }
    
    .temple-title {
        font-size: 1.3rem;
    }
    
    .dates-grid {
        gap: 1.25rem;
    }
    
    .date-card {
        padding: 1.125rem;
    }
    
    .date-icon {
        width: 50px;
        height: 50px;
    }
    
    .date-icon i {
        font-size: 1.25rem;
    }
    
    .date-info h3 {
        font-size: 1rem;
    }
    
    .date-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .chardham-dates-section .section-title {
        font-size: 1.75rem;
    }
    
    .chardham-illustration {
        padding: 1rem;
    }
    
    .temple-illustration {
        width: 240px;
        height: 320px;
    }
    
    .temple-tower {
        width: 90px;
        height: 140px;
    }
    
    .temple-dome {
        width: 28px;
        height: 28px;
        top: -14px;
    }
    
    .temple-flag {
        width: 22px;
        height: 28px;
    }
    
    .temple-base {
        width: 120px;
        height: 45px;
    }
    
    .temple-title {
        font-size: 1.2rem;
    }
    
    .dates-grid {
        gap: 1rem;
    }
    
    .date-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .date-icon {
        width: 45px;
        height: 45px;
    }
    
    .date-icon i {
        font-size: 1.125rem;
    }
    
    .date-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
    }
    
    .date-info p {
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
    }
}

@media (max-width: 575.98px) {
    .chardham-dates-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .chardham-illustration {
        padding: 0.75rem;
    }
    
    .temple-illustration {
        width: 220px;
        height: 300px;
    }
    
    .temple-tower {
        width: 80px;
        height: 120px;
    }
    
    .temple-dome {
        width: 24px;
        height: 24px;
        top: -12px;
    }
    
    .temple-flag {
        width: 20px;
        height: 24px;
    }
    
    .temple-base {
        width: 110px;
        height: 40px;
    }
    
    .temple-title {
        font-size: 1.1rem;
    }
    
    .dates-grid {
        gap: 0.875rem;
    }
    
    .date-card {
        padding: 0.875rem;
        gap: 0.625rem;
    }
    
    .date-icon {
        width: 40px;
        height: 40px;
    }
    
    .date-icon i {
        font-size: 1rem;
    }
    
    .date-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .date-info p {
        font-size: 0.75rem;
        margin-bottom: 0.125rem;
    }
}

/* Why Choose Us Section Responsive */
@media (max-width: 1199.98px) {
    .feature-card {
        padding: 1.75rem 1.25rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-content h3 {
        font-size: 1.125rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 767.98px) {
    .why-choose-us-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .why-choose-us-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.875rem;
    }
    
    .feature-icon i {
        font-size: 1.375rem;
    }
    
    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 575.98px) {
    .why-choose-us-section .section-title {
        font-size: 1.5rem;
    }
    
    .why-choose-us-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .feature-card {
        padding: 1rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .why-choose-us-section .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
    
    .why-choose-us-section .col-lg-3,
    .why-choose-us-section .col-md-6 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* Additional Contact Section Enhancements */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .contact-item:hover {
        transform: none;
    }
    
    .contact-form-wrapper .btn-primary:hover {
        transform: none;
    }
    
    .form-control:focus {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .feature-card:hover .feature-icon {
        transform: none;
    }
    
    .feature-card:hover::before {
        transform: scaleX(0);
    }
    
    .date-card:hover {
        transform: none;
    }
    
    .highlight-item:hover {
        transform: none;
    }
    
    .highlight-item:hover .highlight-icon {
        transform: none;
    }
    
    /* Touch Device Optimizations for Info Highlights */
    .info-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        min-height: 120px;
        padding: 1.5rem;
    }
    
    .highlight-icon {
        min-width: 60px;
        min-height: 60px;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact-form-wrapper {
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.12),
            0 0 0 1px rgba(37, 99, 235, 0.08),
            0 0 0 4px rgba(37, 99, 235, 0.04);
    }
    
    .contact-item {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
}

/* Print Styles for Contact Section */
@media print {
    .contact-section {
        background: white !important;
        color: black !important;
    }
    
    .contact-form-wrapper {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .contact-item {
        box-shadow: none !important;
        border: 1px solid #eee !important;
    }
    
    .btn-primary {
        background: #333 !important;
        color: white !important;
        border: 1px solid #333 !important;
    }
}

/* Print Styles for Why Choose Us Section */
@media print {
    .why-choose-us-section {
        background: white !important;
        color: black !important;
    }
    
    .feature-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .feature-icon {
        background: #333 !important;
        color: white !important;
    }
    
    .feature-card::before {
        display: none !important;
    }
}

/* Print Styles for Chardham Dates Section */
@media print {
    .chardham-dates-section {
        background: white !important;
        color: black !important;
    }
    
    .temple-illustration {
        display: none !important;
    }
    
    .date-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .date-icon {
        background: #333 !important;
        color: white !important;
    }
    
    .date-info h3 {
        color: black !important;
    }
    
    .date-info p {
        color: #333 !important;
    }
}

/* Print Styles for Important Information Section */
@media print {
    .important-info-section {
        background: white !important;
        color: black !important;
    }
    
    .highlight-item {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .highlight-icon {
        background: #333 !important;
        color: white !important;
    }
    
    .highlight-item h3 {
        color: black !important;
    }
    
    .highlight-item p {
        color: #333 !important;
    }
    
    .info-note {
        background: #f5f5f5 !important;
        border: 1px solid #ccc !important;
    }
    
    .note-content i {
        color: #333 !important;
    }
    
    .note-content p {
        color: #333 !important;
    }
}