:root {
    --primary: #FF6B00;
    --secondary: #F7F2E7;
    --dark: #333333;
    --light: #ffffff;
    --text: #444444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Enhanced touch targets for mobile */
button, 
.cta-button, 
.newsletter-button,
.menu-toggle,
.testimonial-dot {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Improved focus states for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Header/Navigation with Logo and Dropdown */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--secondary);
    box-shadow: var(--shadow);
    padding: 15px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-image {
    height: 200px;
    width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-image {
    height: 70px;
    width: 70px;
}

.logo-orange {
    display: none;
    height: 200px;
    width: 200px;
    object-fit: contain;
}

.logo-white {
    display: block;
    height: 150px;
    width: 150px;
    object-fit: contain;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-orange {
    display: block;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle i {
    font-size: 24px;
    color: var(--light);
    transition: var(--transition);
}

header.scrolled .menu-toggle i {
    color: var(--dark);
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: var(--transition);
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
}

header.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Services Dropdown */
.dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    pointer-events: none;
}

/* Keep dropdown open when hovering over the dropdown itself or the trigger */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--light);
    padding-left: 30px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-top: 100px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    z-index: 100;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: var(--light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #fef3e6 0%, #ffffff 100%);
    padding: 80px 5% 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.footer-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.footer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 107, 0, 0.12) 0%, rgba(59, 130, 246, 0.08) 45%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.footer-card:hover::after {
    opacity: 1;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-about p {
    margin: 0;
    line-height: 1.6;
}

.footer-card.footer-about .social-icons {
    margin-top: auto;
}

.footer-links h3,
.footer-contact h3,
.footer-apps h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.footer-links a:hover {
    color: var(--primary);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 14px 28px rgba(255, 107, 0, 0.15);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text);
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-app-text {
    color: var(--text);
    line-height: 1.6;
}

.footer-card.footer-apps .app-buttons {
    margin-top: auto;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: var(--light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-button:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #e05d00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
}

.app-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.footer-divider {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    margin: 10px auto 30px;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0) 0%, rgba(255, 107, 0, 0.35) 50%, rgba(255, 107, 0, 0) 100%);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
    border-top: none;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: var(--dark);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
}

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

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 50px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.btn:hover {
    background: #e05d00;
    transform: translateY(-2px);
    color: var(--light);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-control::placeholder {
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo-image {
        height: 100px;
        width: 100px;
    }
    
    .logo-white, .logo-orange {
        height: 100px;
        width: 100px;
    }
    
    header.scrolled .logo-image {
        height: 60px;
        width: 60px;
    }
    
    header.scrolled .logo-white,
    header.scrolled .logo-orange {
        height: 60px;
        width: 60px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        padding: 170px 0 20px 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        color: var(--dark);
        font-size: 1.1rem;
        padding: 18px 25px;
        display: flex;
        align-items: center;
        width: 100%;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
    }
    
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active {
        background: rgba(255, 107, 0, 0.1);
        color: var(--primary);
        border-left-color: var(--primary);
        transform: translateX(5px);
    }
    
    .nav-links a:after {
        display: none;
    }

    /* Touch-friendly dropdown for mobile */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 15px;
        border-radius: 8px;
        min-width: auto;
        width: calc(100% - 30px);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        margin: 10px 15px;
        pointer-events: auto;
    }
    
    .dropdown-menu a {
        padding: 12px 15px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 107, 0, 0.2);
        padding-left: 15px;
    }
    
    .logo-image {
        height: 80px;
        width: 80px;
    }
    
    .logo-white, .logo-orange {
        height: 80px;
        width: 80px;
    }
    
    header.scrolled .logo-image {
        height: 50px;
        width: 50px;
    }
    
    header.scrolled .logo-white,
    header.scrolled .logo-orange {
        height: 80px;
        width: 80px;
    }
    
    header {
        padding: 15px 4%;
    }
    
    header.scrolled {
        padding: 12px 4%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    .footer {
        padding: 60px 3% 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .footer-card {
        padding: 24px;
    }

    .footer-links h3,
    .footer-contact h3,
    .footer-apps h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-list {
        gap: 16px;
    }

    .footer-contact-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact-list li div {
        text-align: center;
    }

    .app-buttons {
        align-items: center;
    }

    .footer-divider {
        margin-bottom: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 70px;
    }
    
    header {
        padding: 10px 3%;
    }

    .logo-image {
        height: 60px;
        width: 60px;
    }
    
    header.scrolled .logo-image {
        height: 40px;
        width: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .footer {
        padding: 48px 3% 18px;
    }

    .footer-content {
        gap: 22px;
    }

    .footer-card {
        padding: 22px;
    }

    .footer-links a {
        padding: 11px 14px;
    }

    .app-button {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 16px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}