/*
* AdSphere Dynamics - Digital Marketing Agency Website
* Responsive Stylesheet
* Copyright 2023
*/

/* ==========================================
   Responsive Styles
========================================== */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199px) {
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .service-card,
    .testimonial-card,
    .team-member,
    .choose-card,
    .value-card,
    .approach-step,
    .pricing-card {
        padding: 25px;
    }
    
    .service-icon,
    .info-icon,
    .value-icon,
    .choose-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .stat-box h3 {
        font-size: 32px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    .hero-section {
        padding: 150px 0 70px;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        margin: 0 auto 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        margin-bottom: 40px;
    }
    
    .mission-box,
    .vision-box {
        margin-bottom: 30px;
    }
    
    .contact-heading {
        margin-bottom: 40px;
    }
    
    .nav-item {
        margin: 0 5px;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .navbar .btn-primary {
        margin-left: 5px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 130px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .page-banner {
        padding: 130px 0 50px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-links,
    .footer-contact {
        margin-top: 30px;
    }
    
    .copyright .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    p {
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .service-icon,
    .info-icon,
    .value-icon,
    .choose-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-box h3 {
        font-size: 28px;
    }
    
    .stat-box p {
        font-size: 14px;
    }
    
    .copyright p {
        font-size: 12px;
    }
}

/* Navigation Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 999;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }
    
    .navbar .btn-primary {
        margin: 10px 0 0;
        width: 100%;
        text-align: center;
    }
}
