/* ========================================
   PROFESSIONAL MOBILE-FIRST DESIGN
   Based on Apple, Google, Amazon patterns
   ======================================== */

/* ===== MOBILE-FIRST BASE (ALL DEVICES) ===== */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(48, 213, 200, 0.2);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== MOBILE STYLES (Default - 320px+) ===== */
@media (max-width: 1024px) {
    
    /* Container */
    .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Sections */
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    /* ===== HEADER ===== */
    header {
        padding: 12px 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    
    header .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .logo-img {
        height: 56px !important;
        width: 56px !important;
        object-fit: contain !important;
    }
    
    /* ===== NAVIGATION ===== */
    nav {
        position: relative !important;
    }
    
    .nav-links {
        display: flex !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none !important;
    }
    
    .nav-links li {
        flex-shrink: 0 !important;
    }
    
    .nav-links li a {
        display: block !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
    }
    
    .nav-links li a.active,
    .nav-links li a:hover {
        background: rgba(48, 213, 200, 0.1) !important;
        color: #30D5C8 !important;
    }
    
    /* ===== HERO ===== */
    .hero {
        padding: 60px 20px 40px !important;
        text-align: center !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .hero h1 {
        font-size: 32px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        margin: 0 0 16px !important;
        color: #1a1a1a !important;
    }
    
    .hero-description {
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: #666 !important;
        margin: 0 0 28px !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-width: 400px !important;
        margin: 0 auto 20px !important;
    }
    
    .btn,
    .btn-primary,
    .btn-secondary {
        display: block !important;
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        border: none !important;
        cursor: pointer !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
        min-height: 52px !important;
        text-decoration: none !important;
    }
    
    .btn-primary {
        background: #30D5C8 !important;
        color: #ffffff !important;
    }
    
    .btn-secondary {
        background: #ffffff !important;
        color: #30D5C8 !important;
        border: 2px solid #30D5C8 !important;
    }
    
    .btn:active {
        transform: scale(0.97) !important;
    }
    
    /* ===== SECTION HEADERS ===== */
    .section-header {
        text-align: center !important;
        margin-bottom: 28px !important;
        padding: 0 16px !important;
    }
    
    .section-header h2 {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin: 0 0 12px !important;
        line-height: 1.3 !important;
    }
    
    .section-subtitle {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #30D5C8 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 0 8px !important;
        display: block !important;
    }
    
    .section-header p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: #666 !important;
        margin: 0 !important;
    }
    
    /* ===== SERVICES GRID (SINGLE COLUMN) ===== */
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .service-card {
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 20px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
        border: 1px solid #f0f0f0 !important;
        transition: all 0.2s ease !important;
    }
    
    .service-card:active {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    }
    
    .service-icon {
        width: 56px !important;
        height: 56px !important;
        background: linear-gradient(135deg, #30D5C8, #40E0D0) !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 16px !important;
    }
    
    .service-icon i {
        font-size: 24px !important;
        color: #ffffff !important;
    }
    
    .service-card h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin: 0 0 8px !important;
        line-height: 1.3 !important;
    }
    
    .service-card p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        color: #666 !important;
        margin: 0 0 16px !important;
    }
    
    .service-features {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 0 20px !important;
    }
    
    .service-features li {
        font-size: 14px !important;
        color: #666 !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .service-features li i {
        color: #30D5C8 !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }
    
    .service-card .btn {
        margin-top: auto !important;
    }
    
    /* ===== SERVICE AREAS ===== */
    .areas-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .area-card {
        background: #f9f9f9 !important;
        border-radius: 16px !important;
        padding: 24px !important;
        text-align: center !important;
        border: 1px solid #f0f0f0 !important;
    }
    
    .area-icon {
        width: 56px !important;
        height: 56px !important;
        background: linear-gradient(135deg, #30D5C8, #40E0D0) !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 12px !important;
    }
    
    .area-icon i {
        font-size: 24px !important;
        color: #ffffff !important;
    }
    
    .area-card h3 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin: 0 0 8px !important;
    }
    
    .area-card p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: #666 !important;
        margin: 0 !important;
    }
    
    /* ===== ABOUT SECTION ===== */
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .about-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 24px !important;
    }
    
    .about-image img {
        max-width: 200px !important;
        height: auto !important;
        border-radius: 16px !important;
    }
    
    .about-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .about-features .feature {
        background: #ffffff !important;
        padding: 16px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border: 1px solid #f0f0f0 !important;
    }
    
    .about-features .feature i {
        font-size: 20px !important;
        color: #30D5C8 !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(48, 213, 200, 0.1) !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .about-features .feature span {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
    }
    
    /* ===== CONTACT FORM ===== */
    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .contact-form {
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 24px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
        border: 1px solid #f0f0f0 !important;
    }
    
    .form-group {
        margin-bottom: 20px !important;
    }
    
    .form-group label {
        display: block !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        margin-bottom: 8px !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 16px !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        transition: all 0.2s ease !important;
        font-family: inherit !important;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none !important;
        border-color: #30D5C8 !important;
        box-shadow: 0 0 0 4px rgba(48, 213, 200, 0.1) !important;
    }
    
    .form-group textarea {
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    button[type="submit"] {
        width: 100% !important;
    }
    
    .contact-info {
        background: #30D5C8 !important;
        border-radius: 16px !important;
        padding: 24px !important;
        border: 1px solid #30D5C8 !important;
        color: #ffffff !important;
    }
    
    .contact-info h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin: 0 0 20px !important;
    }
    
    .contact-item {
        padding: 12px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .contact-item:last-child {
        border-bottom: none !important;
    }
    
    .contact-item i {
        font-size: 18px !important;
        color: #ffffff !important;
        width: 32px !important;
        flex-shrink: 0 !important;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 15px !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    .contact-details .label {
        display: block !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 4px !important;
    }
    
    .social-links h4 {
        color: #ffffff !important;
        font-size: 18px !important;
        margin: 24px 0 16px !important;
        font-weight: 700 !important;
    }
    
    .social-icon {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* ===== FOOTER ===== */
    footer {
        background: #1a1a1a !important;
        color: #ffffff !important;
        padding: 32px 0 20px !important;
    }
    
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .footer-logo-img {
        height: 80px !important;
        width: 80px !important;
        object-fit: contain !important;
        margin-bottom: 12px !important;
    }
    
    .footer-column h3,
    .footer-column h4 {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin: 0 0 16px !important;
    }
    
    .footer-column p,
    .footer-column a {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #cccccc !important;
    }
    
    .footer-column ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-column ul li {
        margin-bottom: 10px !important;
    }
    
    .footer-column ul li a {
        display: inline-block !important;
        padding: 4px 0 !important;
        transition: color 0.2s ease !important;
    }
    
    .footer-column ul li a:hover {
        color: #30D5C8 !important;
    }
    
    .footer-bottom {
        margin-top: 32px !important;
        padding-top: 20px !important;
        border-top: 1px solid #333 !important;
        text-align: center !important;
    }
    
    .footer-bottom p {
        font-size: 13px !important;
        color: #999 !important;
        margin: 0 !important;
    }
    
    /* ===== MAP ===== */
    .map-container {
        margin-top: 32px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }
    
    .map-container iframe {
        width: 100% !important;
        height: 350px !important;
        border: none !important;
    }
    
    /* ===== BACK TO TOP ===== */
    .back-to-top {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 52px !important;
        height: 52px !important;
        background: #30D5C8 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(48, 213, 200, 0.4) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        z-index: 999 !important;
    }
    
    .back-to-top:active {
        transform: scale(0.95) !important;
    }
}

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    
    .hero h1 {
        font-size: 40px !important;
    }
    
    .hero-description {
        font-size: 20px !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        max-width: 500px !important;
    }
    
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== DESKTOP (1025px+) ===== */
@media (min-width: 1025px) {
    /* Desktop styles are handled by main styles.css */
    /* This file only handles mobile/tablet */
}
