/* Responsive Design */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title-main {
        font-size: 4rem;
    }
    
    .hero-title-sub {
        font-size: 3rem;
    }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) {
    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Header */
    .contact-bar {
        display: none;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 4rem 0;
        min-height: 80vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    /* Achievements */
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Utility */
    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 3rem;
        height: 3rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 3rem 0;
        min-height: 70vh;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Services */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .service-icon i {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    /* Process */
    .process-step {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    /* Achievements */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievement-item {
        padding: 1.5rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .member-image img {
        height: 250px;
    }
    
    .member-info {
        padding: 1.25rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Mobile Menu */
    .mobile-menu-content {
        width: 280px;
        padding: 1.5rem;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header */
    .navbar .container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero-title-main {
        font-size: 1.75rem;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Services */
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    /* Process */
    .process-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    /* Achievements */
    .achievement-item {
        padding: 1.25rem;
    }
    
    .achievement-number {
        font-size: 1.75rem;
    }
    
    .achievement-label {
        font-size: 1rem;
    }
    
    /* Team */
    .member-image img {
        height: 450px;
    }
    
    .member-info {
        padding: 1rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    /* Footer */
    .main-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.125rem;
    }
    
    /* Utility */
    .whatsapp-float {
        width: 2.5rem;
        height: 2.5rem;
        bottom: 1rem;
        left: 1rem;
    }
    
    .back-to-top {
        width: 2rem;
        height: 2rem;
        bottom: 1rem;
        right: 1rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-content {
        width: 100%;
        padding: 1rem;
    }
    
    .mobile-nav-link {
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: auto;
    }
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .whatsapp-float {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: light) {
    /* Light mode overrides can be added here if needed */
}

/* Print Styles */
@media print {
    .contact-bar,
    .main-header,
    .mobile-menu-overlay,
    .back-to-top,
    .whatsapp-float,
    .hero-particles,
    .floating-card {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section,
    .services-section,
    .process-section,
    .achievements-section,
    .team-section,
    .cta-section {
        background: white;
        color: black;
    }
    
    .service-card,
    .process-step,
    .achievement-item,
    .team-member {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

