/* Variables de color y tipografía */
:root {
    --primary-color: #0066cc;
    --primary-light: #3385d6;
    --primary-dark: #004d99;
    --secondary-color: #ff6600;
    --secondary-light: #ff8533;
    --secondary-dark: #e65c00;
    --accent-color: #00cc99;
    --light-color: #f8f9fa;
    --light-gray: #f0f2f5;
    --medium-gray: #e1e4e8;
    --dark-gray: #6c757d;
    --dark-color: #212529;
    --text-color: #333333;
    --text-light: #6c757d;
    --white: #ffffff;
    --black: #000000;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset y estilos base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--dark-gray);
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition-bounce);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-normal);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}


/* Hero Section */
.contact-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/ciudad_de_noche.jpg') no-repeat center center/cover;
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Capa negra con 60% de opacidad */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.scroll-icon {
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info */
.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(0,102,204,0.02) 100%);
    z-index: -1;
}

.info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.info-card:hover .card-icon {
    transform: rotateY(180deg);
    background-color: rgba(0, 102, 204, 0.2);
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.phone-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.phone-link:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateX(5px);
}

.phone-link:hover::before {
    width: 100%;
    opacity: 0.1;
}

.phone-link i {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.phone-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

.phone-label {
    font-weight: 500;
    color: var(--dark-color);
    min-width: 90px;
    display: inline-block;
}

.phone-number {
    color: var(--primary-color);
    font-weight: 500;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

.email-link i {
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-normal);
}

.email-link:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateX(5px);
}

.email-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item {
    display: flex;
    gap: 10px;
}

.days {
    font-weight: 500;
    color: var(--dark-color);
}

.hours {
    color: var(--text-color);
}

/* Social Links */
.social-links {
    margin-top: 50px;
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition-bounce);
}

.social-icon i {
    font-size: 1.1rem;
}

.social-icon span {
    transition: var(--transition-normal);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover span {
    color: var(--primary-color);
}

.social-icon:nth-child(1):hover {
    background-color: #3b5998;
    color: var(--white);
}

.social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: var(--white);
}

.social-icon:nth-child(3):hover {
    background-color: #25D366;
    color: var(--white);
}

.social-icon:nth-child(4):hover {
    background-color: #0077B5;
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid var(--medium-gray);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,102,0,0.05) 0%, rgba(255,102,0,0.02) 100%);
    z-index: -1;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

/* Floating Labels */
.form-group.floating {
    position: relative;
    margin-bottom: 30px;
}

.form-group.floating label {
    position: absolute;
    top: 18px;
    left: 15px;
    color: var(--dark-gray);
    pointer-events: none;
    transition: var(--transition-normal);
    background-color: var(--white);
    padding: 0 5px;
    transform-origin: left center;
}

.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating textarea:focus + label,
.form-group.floating textarea:not(:placeholder-shown) + label {
    transform: translateY(-28px) scale(0.9);
    color: var(--primary-color);
    background-color: var(--white);
}

.form-group.floating .focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.form-group.floating input:focus ~ .focus-border,
.form-group.floating textarea:focus ~ .focus-border {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Custom Select */
.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none;
    width: 100%;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.custom-select select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--dark-gray);
    transition: var(--transition-normal);
}

.custom-select:hover .select-arrow {
    color: var(--primary-color);
}

/* Submit Button */
.btn-submit {
    position: relative;
    overflow: hidden;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-bounce);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.btn-submit i {
    transition: var(--transition-normal);
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.submit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-submit.sending .submit-overlay {
    opacity: 1;
}

.btn-submit.sending .btn-text,
.btn-submit.sending i {
    opacity: 0;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-circle);
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 70px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-normal);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition-bounce);
    z-index: 1;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: var(--border-radius-circle);
    z-index: -1;
    transition: var(--transition-normal);
}

.feature-card:hover .card-icon {
    transform: rotateY(180deg);
    color: var(--white);
}

.feature-card:hover .icon-bg {
    background-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    max-width: 300px;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 1px solid var(--medium-gray);
}

.map-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.map-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.map-info p i {
    color: var(--secondary-color);
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition-bounce);
}

.btn-map:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-secondary);
}

.footer-logo .logo-main {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-logo .logo-sub {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.links-column ul li {
    margin-bottom: 12px;
}

.links-column ul li a {
    color: var(--dark-gray);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.links-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-circle);
    color: var(--white);
    transition: var(--transition-bounce);
}

.footer-social a:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

.copyright {
    text-align: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
    100% {
        transform: translateY(10px) translateX(-50%);
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 30px;
    }
    
    .feature-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin-top: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header .container {
        padding: 10px 15px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 25px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}