:root {
    --animation-duration: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Touch device optimizations */
.touch-device {
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
}

.touch-device button,
.touch-device .btn-primary,
.touch-device .btn-secondary {
    min-height: 44px; /* iOS recommended touch target */
    min-width: 44px;
}

/* Prevent zoom on iOS */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-size: 16px !important;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ffd700;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-short {
    display: none;
}

.logo-full {
    display: inline;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffd700;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: var(--animation-duration);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: #fff;
    color: #333;
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 5px solid #ffd700;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

.service-item i {
    font-size: 2rem;
    color: #333;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #ffd700;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #333;
    color: #ffd700;
}

.btn-secondary {
    background: transparent;
    color: #333;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #333;
}

/* WhatsApp Button */
.btn-secondary[href*="wa.me"] {
    background: #25d366;
    color: white;
    border-color: #25d366;
    animation: pulse-whatsapp 2s infinite;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-secondary[href*="wa.me"]:hover {
    background: #128c7e;
    color: white;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    animation: none;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #666;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #ffd700;
}

.credential i {
    font-size: 2rem;
    color: #333;
}

.credential h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform var(--animation-duration), border-color var(--animation-duration);
    border: 2px solid #f8f9fa;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.service-card i {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: #666;
}

.service-card li:before {
    content: "✓";
    color: #ffd700;
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-service {
    background: #333;
    color: #ffd700;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #333;
}

.btn-service:hover {
    background: #ffd700;
    color: #333;
}

/* Services Carousel */
.services-carousel {
    padding: 80px 0;
    background: #333;
    color: white;
    overflow: hidden;
}

.services-carousel h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
}

.services-carousel h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll-left 50s linear infinite;
    gap: 2rem;
    width: max-content;
}

.carousel-track .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 200px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
    border: 3px solid #ffd700;
}

.carousel-track .service-item:hover {
    transform: translateY(-5px);
    background: #ffd700;
}

.carousel-track .service-item i {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.carousel-track .service-item span {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #f8f9fa;
    transition: border-color 0.3s;
}

.portfolio-item:hover {
    border-color: #ffd700;
}

.portfolio-image {
    margin-bottom: 1.5rem;
}

.portfolio-image i {
    font-size: 4rem;
    color: #333;
}

.portfolio-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #333;
    width: 30px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #ffd700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #f8f9fa;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-contact h4 {
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact .contact-item i {
    color: #ffd700;
    width: 20px;
    font-size: 1.2rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-contact p {
    color: #ccc;
    margin: 0;
}

.contact-footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-notification 1.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    animation: none;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: bounce-notification 2s infinite;
}

@keyframes pulse-notification {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes bounce-notification {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* About Page Styles */
.hero-about {
    background: #fff;
    color: #333;
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 5px solid #ffd700;
}

.hero-about h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.hero-about p {
    font-size: 1.2rem;
    color: #666;
}

.about-detailed {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 0;
}

.about-text h3 {
    color: #333;
    margin: 2rem 0 1rem 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #ffd700;
}

.image-placeholder i {
    font-size: 4rem;
    color: #333;
    margin-bottom: 1rem;
}

.values {
    padding: 80px 0;
    background: #fff;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.values h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #f8f9fa;
    transition: border-color 0.3s;
}

.value-item:hover {
    border-color: #ffd700;
}

.value-item i {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #f8f9fa;
    transition: border-color 0.3s;
}

.team-member:hover {
    border-color: #ffd700;
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-photo i {
    font-size: 4rem;
    color: #333;
}

.team-member h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.member-skills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.member-skills span {
    background: #ffd700;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.certifications {
    padding: 80px 0;
    background: #fff;
}

.certifications h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.certifications h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: #ffd700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #f8f9fa;
    transition: border-color 0.3s;
}

.cert-item:hover {
    border-color: #ffd700;
}

.cert-item i {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.cert-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.cta-section {
    padding: 80px 0;
    background: #333;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a.active {
    color: #ffd700;
}

/* Responsive Design */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        border-top: 3px solid #ffd700;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        display: grid;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-about h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    
    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }
    
    .carousel-track .service-item {
        min-width: 160px;
        padding: 1.2rem;
    }
    
    .carousel-track .service-item i {
        font-size: 2rem;
    }
    
    .carousel-track .service-item span {
        font-size: 0.85rem;
    }
    
    .services, .portfolio, .about {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2.2rem !important;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero-services {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }
    
    .carousel-track .service-item {
        min-width: 140px;
        padding: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-contact h4,
    .footer-form h4 {
        text-align: center;
    }
    

}

/* Mobile button fix */
@media (max-width: 768px) {
    .footer-form .btn-primary {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .logo-full {
        display: none;
    }
    
    .logo-short {
        display: inline;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-services {
        margin: 2rem 0;
    }
    
    .service-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .service-item i {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .services, .portfolio, .about {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .portfolio-item {
        padding: 1.5rem;
    }
    
    .portfolio-image i {
        font-size: 3rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.5rem;
    }
    
    .contact-item i {
        align-self: center;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        right: 10px;
    }
    
    .carousel-track .service-item {
        min-width: 120px;
        padding: 0.8rem;
    }
    
    .carousel-track .service-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-track .service-item span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .footer-contact-content {
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .contact-form .btn-primary {
        width: 100% !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .carousel-track .service-item {
        min-width: 100px;
        padding: 0.6rem;
    }
    
    .carousel-track .service-item span {
        font-size: 0.7rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        margin-bottom: 1rem;
    }
    
    .hero-services {
        margin: 1rem 0;
    }
    
    .services, .portfolio, .about {
        padding: 30px 0;
    }
}