/* Responsive CSS for Pharmaceutical Adverse Event Reporting Desk Template
   Created: 2025 */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
    
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .price-box {
        padding: 30px 20px;
    }
    
    .price-value {
        font-size: 36px;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    section {
        padding: var(--section-padding-mobile);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h3 {
        font-size: 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header h3 {
        font-size: 22px;
    }
    
    .about-features {
        margin-top: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item i {
        font-size: 30px;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 30px;
    }
    
    .feature-box {
        padding: 30px 15px;
    }
    
    .price-box.featured {
        transform: scale(1.03);
    }
    
    .price-box.featured:hover {
        transform: scale(1.03) translateY(-10px);
    }
    
    .price-header {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .price-value {
        font-size: 34px;
    }
    
    .timeline:before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 80px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 80px;
    }
    
    .timeline-item:before,
    .timeline-item:nth-child(even):before {
        left: 30px;
        right: auto;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .compliance-item, .benefit-item {
        flex-direction: column;
    }
    
    .compliance-icon, .benefit-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    section {
        padding: var(--section-padding-mobile);
    }
    
    .hero-swiper {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h3 {
        font-size: 18px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header h3 {
        font-size: 20px;
    }
    
    .feature-item, .service-item, .feature-box, .price-box, .team-member, .review-item, .coreinfo-item, .blog-item {
        margin-bottom: 20px;
    }
    
    .price-box.featured {
        transform: none;
    }
    
    .price-box.featured:hover {
        transform: translateY(-10px);
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 70px;
        margin-bottom: 40px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }
    
    .timeline-item:before,
    .timeline-item:nth-child(even):before {
        left: 20px;
        right: auto;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .process-item {
        flex-direction: column;
    }
    
    .process-icon {
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .compliance-item, .benefit-item {
        flex-direction: column;
    }
    
    .compliance-icon, .benefit-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    section {
        padding: 50px 0;
    }
    
    .hero-swiper {
        height: 50vh;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-content h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .feature-item, .service-item, .feature-box, .price-box, .team-member, .review-item, .coreinfo-item, .blog-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .feature-item i, .service-icon i, .feature-icon i, .coreinfo-icon i {
        font-size: 28px;
    }
    
    .service-icon, .tool-icon, .resource-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .price-box.featured {
        transform: none;
        border: 1px solid var(--primary-1);
    }
    
    .price-box.featured:hover {
        transform: translateY(-10px);
    }
    
    .price-header {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 50px;
        margin-bottom: 30px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 50px;
    }
    
    .timeline-item:before,
    .timeline-item:nth-child(even):before {
        left: 10px;
        right: auto;
        width: 15px;
        height: 15px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .contact-info, .contact-form {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    
    .contact-item i {
        font-size: 20px;
        margin-right: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        height: 45px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 10px 25px;
    }
    
    .process-item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .process-icon {
        margin-bottom: 15px;
        margin-right: 0;
        width: 60px;
        height: 60px;
    }
    
    .process-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .process-content {
        padding: 15px;
    }
    
    .compliance-item, .benefit-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .compliance-icon, .benefit-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 10px;
    }
    
    .copyright {
        padding-top: 20px;
        margin-top: 20px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* For devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .swiper-container {
        --swiper-autoplay-delay: 0 !important;
    }
    
    .hero-swiper .swiper-slide-active .hero-content h1,
    .hero-swiper .swiper-slide-active .hero-content h3,
    .hero-swiper .swiper-slide-active .hero-content p {
        animation: none !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .feature-item:hover,
    .service-item:hover,
    .feature-box:hover,
    .price-box:hover,
    .team-member:hover,
    .coreinfo-item:hover,
    .blog-item:hover,
    .timeline-content:hover,
    .training-item:hover,
    .case-study:hover,
    .compliance-item:hover,
    .process-content:hover,
    .tool-item:hover,
    .service-box:hover,
    .benefit-item:hover {
        transform: none !important;
    }
} 