/* ======================================
   IT MSA - Responsive Styles
   ====================================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        padding-right: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Header */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-card {
        padding: 1.5rem;
        margin: 0.75rem 0;
    }
    
    /* Services Section */
    .services-section {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* About Section */
    .about-section {
        padding: 3rem 0;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .about-card {
        padding: 1.5rem;
        margin: 0.75rem 0;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        margin-bottom: 0.75rem;
    }
    
    .social-links {
        margin-top: 1rem;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    /* Header */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem !important;
        margin-right: 0 !important;
    }
    
    .hero-card {
        padding: 1.25rem;
        margin: 0.5rem 0;
    }
    
    /* Services Section */
    .services-section {
        padding: 2.5rem 0;
    }
    
    .service-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* About Section */
    .about-section {
        padding: 2.5rem 0;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .about-card {
        padding: 1.25rem;
        margin: 0.5rem 0;
    }
    
    .about-stats {
        margin-top: 1.5rem;
    }
    
    .stat-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .contact-info {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-form .row {
        margin-bottom: 0;
    }
    
    .contact-form .col-md-6,
    .contact-form .col-12 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-widget {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-copyright {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .footer-copyright p {
        margin-bottom: 0.5rem;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    /* Global Styles */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Header */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 5rem 0 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        margin-top: 1.25rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
        font-size: 0.9rem;
    }
    
    .hero-card {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .hero-card i {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-card h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-card p {
        font-size: 0.85rem;
    }
    
    /* Services Section */
    .services-section {
        padding: 2rem 0;
    }
    
    .service-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .service-price {
        margin: 1rem 0;
    }
    
    .price {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about-section {
        padding: 2rem 0;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .about-content .lead {
        font-size: 1rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    
    .about-card {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .about-card i {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .about-card h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .about-card p {
        font-size: 0.85rem;
    }
    
    .about-stats {
        margin-top: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-info {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 40px;
        height: 40px;
    }
    
    .contact-content h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-content p {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form .row {
        margin-bottom: 0;
    }
    
    .contact-form .col-md-6,
    .contact-form .col-12 {
        margin-bottom: 0.75rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .form-control,
    .form-select {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-widget {
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo-img {
        width: 30px;
        height: 30px;
    }
    
    .footer-brand-text {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        text-align: center !important;
        margin-top: 0.75rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 0.9rem;
    }
}

/* Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .back-to-top,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section,
    .services-section,
    .about-section,
    .contact-section {
        page-break-inside: avoid;
    }
}