/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #374151;
    background-color: #f9fafb;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    z-index: 40;
    top: 0;
    left: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    min-height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.company-name {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

.company-tagline {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.2;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #4f46e5;
}

.header-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.email-btn, .whatsapp-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    white-space: nowrap;
}

.email-btn {
    border: 1px solid #e5e7eb;
    color: #4f46e5;
    transition: all 0.2s;
}

.whatsapp-btn {
    background-color: #10b981;
    color: white;
    transition: background-color 0.2s;
}

.whatsapp-btn:hover {
    background-color: #059669;
}

.mobile-menu-toggle {
    display: block;
}

.menu-btn {
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    padding: 0.75rem 0;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-buttons {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-email-btn, .mobile-whatsapp-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.8rem;
}

.mobile-email-btn {
    border: 1px solid #e5e7eb;
    color: #374151;
}

.mobile-whatsapp-btn {
    background-color: #10b981;
    color: white;
}

/* Main Content */
.main-content {
    padding-top: 5rem;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section - Mobile First */
.hero-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Hero Content - Comes First on Mobile */
.hero-content {
    order: 1;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f2937;
}

.highlight {
    color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.3);
}

.secondary-btn {
    border: 2px solid #4f46e5;
    color: #4f46e5;
    background: transparent;
}

.secondary-btn:hover {
    background-color: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 300px;
    margin: 0 auto;
}

.feature-card {
    padding: 1rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Hero Image - Comes After Content on Mobile */
.hero-image {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height:auto;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Section Common Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    background-color: white;
    padding: 2.5rem 0;
}

.services-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    padding: 1.25rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.service-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.service-features {
    font-size: 0.8rem;
    list-style: none;
}

.service-features li {
    margin-bottom: 0.25rem;
    color: #374151;
}

/* Portfolio Section */
.portfolio-section {
    padding: 2.5rem 0;
}

.portfolio-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.portfolio-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.portfolio-content {
    padding: 1rem;
}

.portfolio-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.portfolio-buttons {
    display: flex;
    gap: 0.5rem;
}

.preview-btn, .buy-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.preview-btn {
    border: 1px solid #e5e7eb;
    color: #374151;
}

.buy-btn {
    background-color: #4f46e5;
    color: white;
}

/* Pricing Section */
.pricing-section {
    background-color: white;
    padding: 2.5rem 0;
}

.pricing-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pricing-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid #4f46e5;
    background-color: #eef2ff;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-name {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.plan-features {
    font-size: 0.85rem;
    text-align: left;
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-features li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.pricing-button {
    margin-top: 1rem;
}

.order-btn {
    padding: 0.75rem 1.5rem;
    background-color: #4f46e5;
    color: white;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

/* About Section */
.about-section {
    padding: 2.5rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.about-features {
    font-size: 0.85rem;
    list-style: none;
}

.about-features li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.about-img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    background-color: white;
    padding: 2.5rem 0;
}

.contact-container {
    max-width: 100%;
}

.contact-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-control, .form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-control {
    height: 45px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 0.75rem 1.25rem;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #4338ca;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-info {
    padding: 1.25rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.contact-info-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.office-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.office-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.office-address {
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-button {
    margin-top: 1.5rem;
}

.whatsapp-contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #10b981;
    color: white;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

/* Social Media Styles */
.social-media {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.social-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #374151;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link:nth-child(1) { background-color: #1877f2; } /* Facebook */
.social-link:nth-child(2) { background-color: #e4405f; } /* Instagram */
.social-link:nth-child(3) { background-color: #0a66c2; } /* LinkedIn */
.social-link:nth-child(4) { background-color: #ff0000; } /* YouTube */

/* Small Map Section */
.map-section {
    padding: 2rem 0;
    background-color: #f8fafc;
}

.map-container {
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
}

/* Footer Social Media */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #374151;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.footer-social-link:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    background-color: #1f2937;
    color: white;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-company {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #d1d5db;
}

.footer-credit {
    font-size: 0.8rem;
    color: #d1d5db;
}

/* Mobile First Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .hero-img {
        max-width: 300px;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .desktop-nav {
        display: flex;
    }
    
    .header-buttons {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Hero Section Desktop Layout */
    .hero-container {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }
    
    .hero-content {
        order: 1;
        text-align: left;
        flex: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .hero-description {
        text-align: left;
        font-size: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }
    
    .hero-img {
        max-width: 500px;
    }
    
    .features-grid {
        margin-left: 0;
        margin-right: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-container {
        flex-direction: row;
        text-align: left;
    }
    
    .section-title, .section-subtitle {
        text-align: left;
    }
    
    .social-title {
        text-align: left;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 4rem;
    }
}