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

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero h1 {
        font-size: 2.25rem;
    }
    
    #hero p.lead {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-btns .btn {
        margin-bottom: 1rem;
    }
    
    #about-summary, 
    #platforms, 
    #services-overview, 
    #testimonials,
    #cta {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .platform-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-item {
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.75rem;
    }
    
    #hero p.lead {
        font-size: 1.25rem;
    }
    
    #about-summary, 
    #platforms, 
    #services-overview, 
    #testimonials,
    #cta {
        padding: 4rem 0;
    }
    
    .platform-card {
        height: auto;
        margin-bottom: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    .services-img {
        margin-bottom: 2rem;
    }
    
    .platform-card {
        height: auto;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .platform-card {
        padding: 1.5rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Navbar Responsiveness */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(18, 18, 18, 0.95);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
    }
    
    .nav-link:after {
        display: none;
    }
}

/* About Section Responsiveness */
@media (max-width: 991.98px) {
    #about-summary .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .about-img-container:after {
        display: none;
    }
}

/* Services Overview Responsiveness */
@media (max-width: 991.98px) {
    .services-img {
        margin-bottom: 2rem;
    }
}

/* Platform Cards Responsiveness */
@media (max-width: 767.98px) {
    .platform-card {
        margin-bottom: 1.5rem;
    }
}

/* CTA Section Responsiveness */
@media (max-width: 767.98px) {
    #cta {
        text-align: center;
    }
    
    #cta .btn {
        margin-bottom: 1rem;
    }
}

/* Footer Responsiveness */
@media (max-width: 991.98px) {
    .footer h4, .footer h5 {
        margin-top: 1.5rem;
    }
}
