/* Responsive Styles */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Desktop (1200px to 1399px) */
@media (max-width: 1399.98px) {
    .hero-content h1 {
        font-size: 3.25rem;
    }
    
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 120px;
        height: 120px;
    }
}

/* Tablet Large (992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    /* Timeline adjustments */
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-marker {
        left: 1.5rem !important;
        right: auto !important;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    overflow-x: hidden;
}
    
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .hero-buttons {
        text-align: center;
        margin-top: 2rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Remove hover effects on tablets */
    .card:hover,
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .process-step:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-card:hover {
        transform: none;
    }
    
    /* Hero shapes adjustment */
    .shape {
        display: none;
    }
    
    /* Contact form adjustments */
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Process steps layout */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Team grid adjustments */
    .team-card {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Footer adjustments */
    .footer-section .col-lg-4,
    .footer-section .col-lg-2,
    .footer-section .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content h2 {
        font-size: 1.125rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Card padding adjustments */
    .feature-card,
    .service-card .card-body,
    .price-card .price-header,
    .price-card .price-body,
    .price-card .price-footer,
    .team-card,
    .review-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card .card-body,
    .faq-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Timeline further adjustments */
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-marker {
        left: 0.5rem !important;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    /* Upcoming events layout */
    .upcoming-event {
        flex-direction: column;
        text-align: center;
    }
    
    .upcoming-event .event-date {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    /* Filter options stack */
    .filter-option {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Gallery grid adjustments */
    .gallery-section .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Feature items stack */
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Mobile Small (575px and down) */
@media (max-width: 575.98px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Reduce padding on all cards */
    .feature-card,
    .service-card .card-body,
    .price-card .price-header,
    .price-card .price-body,
    .team-card,
    .review-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card .card-body,
    .faq-card,
    .community-feature,
    .leader-card,
    .group-card,
    .guideline-card,
    .category-card,
    .filter-option,
    .organizer-card {
        padding: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Navbar adjustments */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Service and price card adjustments */
    .service-image {
        height: 150px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    /* Team member images */
    .team-image img {
        width: 80px;
        height: 80px;
    }
    
    .leader-image {
        width: 80px;
        height: 80px;
    }
    
    /* Organizer logos */
    .organizer-logo {
        width: 60px;
        height: 60px;
    }
    
    /* Date box adjustments */
    .date-box {
        padding: 0.75rem;
        min-width: 60px;
    }
    
    .date-box .month {
        font-size: 0.75rem;
    }
    
    .date-box .day {
        font-size: 1.25rem;
    }
    
    /* Timeline further mobile adjustments */
    .timeline::before {
        left: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .timeline-marker {
        left: 0.25rem !important;
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .timeline-content {
        padding: 0.75rem;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-year {
        font-size: 0.75rem;
    }
    
    /* Career card header adjustments */
    .career-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .career-type {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    /* Gallery images */
    .gallery-section .row {
        margin: 0 -0.5rem;
    }
    
    .gallery-section .col-md-4,
    .gallery-section .col-lg-3 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Footer newsletter */
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: var(--border-radius-md);
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius-md);
    }
    
    /* Contact info spacing */
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-item:last-child {
        margin-bottom: 0;
    }
    
    /* Blog grid spacing */
    .blog-card {
        margin-bottom: 2rem;
    }
    
    /* FAQ cards spacing */
    .faq-card {
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.875rem;
    }
}

/* Extra Small Mobile (480px and down) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    /* Further reduce padding */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .feature-card,
    .service-card .card-body,
    .price-card .price-header,
    .price-card .price-body,
    .team-card,
    .review-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card .card-body,
    .faq-card,
    .community-feature,
    .leader-card,
    .group-card,
    .guideline-card,
    .category-card,
    .filter-option,
    .organizer-card {
        padding: 0.75rem;
    }
    
    .contact-form-wrapper {
        padding: 0.75rem;
    }
    
    /* Minimize hero section */
    .hero-section {
        min-height: 80vh;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    /* Service features list */
    .service-features,
    .plan-features {
        font-size: 0.875rem;
    }
    
    .service-features li,
    .plan-features li {
        padding: 0.5rem 0;
    }
}

/* Animation Adjustments for Mobile */
@media (max-width: 767.98px) {
    /* Disable complex animations on mobile for performance */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Keep only simple transitions */
    .card,
    .btn {
        transition: box-shadow 0.2s ease;
    }
    
    /* Remove transform animations on mobile */
    .card:hover,
    .btn:hover {
        transform: none;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Remove floating animations */
    .shape-1,
    .shape-2,
    .shape-3 {
        animation: none;
    }
    
    /* Remove hover transforms */
    .card:hover,
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .process-step:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-card:hover,
    .btn:hover {
        transform: none;
    }
    
    /* Keep only essential visual feedback */
    .btn:hover {
        box-shadow: var(--shadow-sm);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-muted: #333;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
    
    .card,
    .feature-card,
    .service-card,
    .price-card {
        border-width: 2px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer-section,
    .btn,
    .hero-shapes {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .card,
    .feature-card {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    a {
        text-decoration: underline;
    }
    
    .gallery-section {
        display: none;
    }
} 