/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-item, 
    .about-feature, 
    .feature-item, 
    .core-info-item,
    .team-member,
    .blog-item,
    .price-item {
        padding: 25px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-item, 
    .about-feature, 
    .feature-item,
    .core-info-item,
    .team-member,
    .blog-item,
    .price-item,
    .review-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
    
    .contact-info {
        margin-top: 30px;
    }
    
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-image,
    .contact-info {
        margin-bottom: 30px;
    }
    
    .service-item, 
    .about-feature, 
    .feature-item,
    .core-info-item,
    .team-member,
    .blog-item,
    .price-item,
    .review-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .review-author {
        left: 20px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
    
    footer {
        padding: 60px 0 20px;
        text-align: center;
    }
    
    footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .about-image,
    .contact-info {
        margin-bottom: 30px;
    }
    
    .service-item, 
    .about-feature, 
    .feature-item,
    .core-info-item,
    .team-member,
    .blog-item,
    .price-item,
    .review-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .service-price {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .price-header {
        padding: 20px;
    }
    
    .price-body {
        padding: 20px;
    }
    
    .review-author {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 15px;
    }
    
    .review-text {
        margin-top: 0;
    }
    
    .contact-form,
    .contact-info {
        padding: 20px;
    }
    
    footer {
        padding: 50px 0 20px;
        text-align: center;
    }
    
    footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    #site-copyright {
        font-size: 0.8rem;
    }
}

/* For mobile devices in landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }
}

/* Specific fixes for phones */
@media (max-width: 350px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .accordion-button {
        padding: 15px;
        font-size: 0.9rem;
    }
} 