/* ===== GENERAL STYLES ===== */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #dfe6e9;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Sections that need dark background */
.services-section,
.why-choose-section,
.team-section,
.contact-section {
    background-color: #2c3e50;
}

/* Page transition animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Page exit animation class */
body.page-exit {
    animation: fadeOut 0.3s ease-in-out forwards;
}

/* Loading spinner for page transitions */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #ff4757;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Better mobile touch targets */
a, button, .btn, .whatsapp-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: #ff4757;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #8395a7;
}

/* Buttons */
.btn-primary {
    background: #ff4757;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ff3742;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ff4757;
    padding: 12px 24px;
    border: 2px solid #ff4757;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ff4757;
    color: white;
}

/* Navigation */
.main-header {
    background: #0a223e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Remove all link styling from nav-container links */
.nav-container a:not(.nav-menu a) {
    text-decoration: none !important;
    color: inherit !important;
    border: none !important;
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1,
.logo-text h1 {
    color: #ff4757;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    color: #bdc3c7;
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1;
}

/* Logo link styles - make it look like plain text */
.nav-container > a {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    display: block;
}

.nav-container > a:hover,
.nav-container > a:visited,
.nav-container > a:active,
.nav-container > a:focus {
    text-decoration: none !important;
    color: inherit;
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
}

.nav-container > a .logo h1,
.nav-container > a .logo-text h1  {
    color: #ff4757;
    text-decoration: none;
}
.nav-container > a .logo .tagline  {
    color: #bdc3c7;
    text-decoration: none;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #dfe6e9;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff4757;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #dfe6e9;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle span:nth-child(1) {
    top: 12px;
}

.menu-toggle span:nth-child(2) {
    top: 18px;
}

.menu-toggle span:nth-child(3) {
    top: 24px;
}

.menu-toggle.active span:nth-child(1) {
    top: 18px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.menu-toggle.active span:nth-child(3) {
    top: 18px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Contact button styles removed - no longer needed */

/* Desktop styles - reset mobile overrides */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        left: auto;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        transition: none;
        padding: 0;
        gap: 2rem;
        box-shadow: none;
        z-index: auto;
        overflow: visible;
    }

    .menu-title {
        display: none;
    }

    .nav-menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        border: none;
        transition: color 0.3s ease;
        width: auto;
        text-align: left;
        margin: 0;
        color: #dfe6e9;
        text-decoration: none;
        box-shadow: none;
        position: relative;
        overflow: visible;
    }

    .nav-menu a::before {
        display: none;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #ff4757;
        transition: width 0.3s ease;
    }

    .nav-menu a:hover {
        background: none;
        border: none;
        transform: none;
        box-shadow: none;
        color: #ff4757;
    }

    .nav-menu a:hover::after {
        width: 100%;
    }

    .nav-menu a:active {
        transform: none;
    }

    .nav-menu a.active {
        background: none;
        border: none;
        color: #ff4757;
        box-shadow: none;
    }

    .nav-menu a.active::after {
        width: 100%;
    }

    /* Contact button styles removed */
}

/* Grid Systems */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #dae9f7 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.15);
    transition: all 0.3s ease;
    border-left: 5px solid #1e3a5f;
    border: 1px solid rgba(30, 58, 95, 0.15);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.25);
    border-color: rgba(30, 58, 95, 0.3);
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #ff6b7d);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 50px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Service card icons - usando SVG profesionales */
.service-card h3::before {
    content: '';
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover h3::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Iconos específicos para cada servicio usando CSS masks */
.service-card:nth-child(1) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(2) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(3) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(4) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(5) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(6) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(7) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(8) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(9) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(10) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.service-card:nth-child(11) h3::before {
    background: #ff4757;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

/* Efecto de entrada escalonada para las tarjetas */
.service-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1.0s; }
.service-card:nth-child(11) { animation-delay: 1.1s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    background: #1c3a56;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #ff4757;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #ff4757;
}

.team-member h3 {
    color: #dfe6e9;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #ff4757;
    font-weight: 600;
}

/* Footer */
.main-footer {
    background: #0a223e;
    color: #dfe6e9;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid #ff4757;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ff4757;
    margin-bottom: 1rem;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: #ff4757;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
}

.footer-tagline {
    color: #bdc3c7;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff4757;
}

.footer-section p {
    color: #bdc3c7;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 50%;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.social-links a svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
    color: white;
}

.social-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-links a:active {
    transform: translateY(-1px) scale(1.05);
}

/* Specific social media colors on hover */
.social-links a[aria-label="Facebook"]:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-links a[aria-label="Facebook"]:hover::before {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.social-links a[aria-label="Instagram"]:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.3);
}

.social-links a[aria-label="Instagram"]:hover::before {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 50%, #f77737 100%);
}

.social-links a[aria-label="LinkedIn"]:hover {
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.3);
}

.social-links a[aria-label="LinkedIn"]:hover::before {
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

.footer-bottom {
    border-top: 1px solid #0a223e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

.developer-credit {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.developer-credit a {
    color: #ff4757;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: #ff3742;
    text-decoration: underline;
}

/* Responsive Design */
/* Breadcrumbs */
.breadcrumb-nav {
    background: #34495e;
    padding: 1rem 0;
    margin-top: 80px; /* Account for fixed header */
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #bdc3c7;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin: 0 0.5rem;
    color: #7f8c8d;
}

.breadcrumb-item a {
    color: #ff4757;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff3742;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #ecf0f1;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .main-header {
        z-index: 1001;
        position: fixed;
    }

    .logo-image {
        height: 2.5rem;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        width: 100%;
        background: linear-gradient(180deg, rgba(44, 62, 80, 0.98) 0%, rgba(52, 73, 94, 0.95) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 3rem 1rem 2rem;
        gap: 0.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
        /* Height and top will be set by JavaScript */
    }

    .menu-title {
        color: #ff4757;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        opacity: 0.8;
        list-style: none;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 200px;
        max-width: 85%;
        text-align: center;
        margin: 0.4rem auto;
        color: #dfe6e9;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        display: block;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.2), transparent);
        transition: left 0.6s;
    }

    .nav-menu a:hover {
        background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.05));
        border-color: rgba(255, 71, 87, 0.3);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 71, 87, 0.2);
        color: #ffffff;
    }

    .nav-menu a:hover::before {
        left: 100%;
    }

    .nav-menu a:active {
        transform: translateY(-1px) scale(1.01);
        transition: transform 0.1s;
    }

    .nav-menu a.active {
        background: linear-gradient(135deg, rgba(255, 71, 87, 0.25), rgba(255, 71, 87, 0.1));
        border-color: rgba(255, 71, 87, 0.5);
        color: #ffffff;
        box-shadow: 0 6px 20px rgba(255, 71, 87, 0.25);
    }

    .nav-container {
        padding: 1rem;
        position: relative;
    }

    /* Contact button styles removed */

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .main-header {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.75rem;
    }

    .logo {
        gap: 8px;
    }

    .logo-image {
        height: 2rem;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    /* Contact button styles removed */

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .service-card,
    .team-member {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 2rem 0;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }
}

/* ===== SUBTLE ELEGANT ANIMATIONS ===== */

/* Simple, smooth transitions */
.service-card,
.btn-primary,
.btn-secondary,
.team-member {
    transition: all 0.3s ease;
}

/* Clean button styling */
.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Subtle service card hover */
.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth page load */
body {
    opacity: 0;
    animation: pageLoad 0.5s ease-out forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Performance optimization */
.service-card,
.btn-primary,
.team-member {
    will-change: transform;
}

/* Individual card color themes for more variety */
.service-card:nth-child(1) {
    border-left-color: #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.service-card:nth-child(2) {
    border-left-color: #2ecc71;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.service-card:nth-child(3) {
    border-left-color: #e67e22;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
}

.service-card:nth-child(4) {
    border-left-color: #9b59b6;
    background: linear-gradient(135deg, #ffffff 0%, #f8f0ff 100%);
}

.service-card:nth-child(5) {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffffff 0%, #fff0f0 100%);
}

.service-card:nth-child(6) {
    border-left-color: #f39c12;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
}

.service-card:nth-child(7) {
    border-left-color: #1abc9c;
    background: linear-gradient(135deg, #ffffff 0%, #f0fffc 100%);
}

.service-card:nth-child(8) {
    border-left-color: #34495e;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card:nth-child(9) {
    border-left-color: #8e44ad;
    background: linear-gradient(135deg, #ffffff 0%, #f5f0ff 100%);
}

.service-card:nth-child(10) {
    border-left-color: #16a085;
    background: linear-gradient(135deg, #ffffff 0%, #f0fffe 100%);
}

.service-card:nth-child(11) {
    border-left-color: #c0392b;
    background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
}

/* Enhanced hover effects for colored cards */
.service-card:nth-child(1):hover { 
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.25);
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
}
.service-card:nth-child(2):hover { 
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.25);
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}
.service-card:nth-child(3):hover { 
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.25);
    background: linear-gradient(135deg, #fffcf8 0%, #f5efe8 100%);
}
.service-card:nth-child(4):hover { 
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.25);
    background: linear-gradient(135deg, #fcf8ff 0%, #f0e8f5 100%);
}
.service-card:nth-child(5):hover { 
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.25);
    background: linear-gradient(135deg, #fff8f8 0%, #f5e8e8 100%);
}
.service-card:nth-child(6):hover { 
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.25);
    background: linear-gradient(135deg, #fffef8 0%, #f5f2e8 100%);
}
.service-card:nth-child(7):hover { 
    box-shadow: 0 15px 40px rgba(26, 188, 156, 0.25);
    background: linear-gradient(135deg, #f8fffc 0%, #e8f5f2 100%);
}
.service-card:nth-child(8):hover { 
    box-shadow: 0 15px 40px rgba(52, 73, 94, 0.25);
    background: linear-gradient(135deg, #f9fafa 0%, #eef0f1 100%);
}
.service-card:nth-child(9):hover { 
    box-shadow: 0 15px 40px rgba(142, 68, 173, 0.25);
    background: linear-gradient(135deg, #faf8ff 0%, #efe8f5 100%);
}
.service-card:nth-child(10):hover { 
    box-shadow: 0 15px 40px rgba(22, 160, 133, 0.25);
    background: linear-gradient(135deg, #f8fffe 0%, #e8f2f1 100%);
}
.service-card:nth-child(11):hover { 
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.25);
    background: linear-gradient(135deg, #fef9f9 0%, #f2e9e9 100%);
}

/* ===== SUBTLE PARALLAX BACKGROUND ===== */

/* Services parallax background */
.services-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    will-change: transform;
}

.parallax-layer-1 {
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 58, 95, 0.06) 0%, transparent 50%);
    z-index: -3;
}

.parallax-layer-2 {
    background: 
        linear-gradient(45deg, transparent 46%, rgba(52, 152, 219, 0.04) 48%, rgba(52, 152, 219, 0.04) 52%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, rgba(30, 58, 95, 0.05) 48%, rgba(30, 58, 95, 0.05) 52%, transparent 54%);
    background-size: 60px 60px, 80px 80px;
    z-index: -2;
}

.parallax-layer-3 {
    background: 
        radial-gradient(circle at 60% 20%, rgba(52, 152, 219, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(30, 58, 95, 0.04) 0%, transparent 40%);
    z-index: -1;
}

/* Ensure services section has proper positioning */
.services-section {
    overflow: hidden;
}

/* Debug indicator for parallax */
.parallax-debug {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(52, 152, 219, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10;
    pointer-events: none;
}

/* Additional animation enhancements */
.service-card,
.btn-primary,
.btn-secondary,
.team-member {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    opacity: 0;
    animation: pageLoad 0.5s ease-out forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-card,
.btn-primary,
.team-member {
    will-change: transform;
}

/* Accessibility - respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .particles-container,
    .gradient-overlay,
    .geometric-pattern {
        display: none !important;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
