:root {
    --primary-blue: #003399;
    --primary-red: #ff0000;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --pink-bg: #fff5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Header */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    text-align: center;
}

.logo {
    height: 60px;
}

/* Hero Section */
.hero-section {
    background-color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    right: -20%;
    top: 0;
    width: 60%;
    height: 100%;
    background: var(--pink-bg);
    border-radius: 0 0 0 70%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.2;
}

.director-info {
    position: relative;
    display: inline-block;
}

.director-info::after {
    content: '';
    position: absolute;
    margin-bottom: 120px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; 
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none; 
}


.director-image {
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.director-shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--pink-bg);
    border-radius: 50%;
    z-index: -1;
}

.cta-button {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cta-button:hover {
    background: #002266;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-shape {
    position: absolute;
    left: -5%;
    bottom: -20%;
    width: 300px;
    height: 300px;
    background: var(--pink-bg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.about-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
    opacity: 0;
}

.about-section.animate h2 {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.about-section.animate .stat-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-shape {
    position: absolute;
    right: -10%;
    top: 20%;
    width: 400px;
    height: 400px;
    background: var(--pink-bg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 50px;
    opacity: 0;
}

.services-section.animate h2 {
    animation: fadeInUp 0.6s ease-out forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.services-section.animate .service-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-icon {
    width: 100px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-features li:before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.benefits-shape {
    position: absolute;
    left: -5%;
    bottom: -10%;
    width: 350px;
    height: 350px;
    background: var(--pink-bg);
    border-radius: 50% 50% 50% 70% / 50% 50% 70% 60%;
    z-index: 1;
}

.benefits-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 50px;
    opacity: 0;
}

.benefits-section.animate h2 {
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.benefits-section.animate .benefit-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-card img {
    width: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.benefit-card:hover img {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 18px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 400px;
    height: 400px;
    background: var(--pink-bg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-blue);
    opacity: 0;
}

.contact-section.animate h2 {
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.form-group {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.contact-section.animate .form-group {
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group:nth-child(4) {
    animation-delay: 0.3s;
}

.form-group.full-width {
    grid-column: 1 / -1;
    animation-delay: 0.4s;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(0, 51, 153, 0.1);
    outline: none;
}

select {
    background: white;
}

.submit-button {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.contact-section.animate .submit-button {
    animation: fadeInUp 0.6s ease-out forwards 0.5s;
}

.submit-button:hover {
    background: #002266;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}



/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 39px;
    right: 20px;
    margin-right:6%;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 1000;
    outline: none; 
    width: 56px;
    height: 56px; 
    min-width: 56px; 
    min-height: 56px; 
    overflow: hidden; 
    padding: 0; 
    vertical-align: middle; 
    color: #fff; 
    background-color: #25D366; 
    border-color: #22c38e; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Redes Sociales */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-social a i {
    font-size: 26px;
    color: white;
    transition: transform 0.3s ease;
}

.footer-social a:hover i {
    transform: scale(1.2);
}

/* Texto final */
.footer-info {
    font-size: 14px;
}

/* Responsive extra opcional */
@media (max-width: 600px) {
    .footer-social a i {
        font-size: 22px;
    }

    .footer-info {
        font-size: 12px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-shape {
        width: 100%;
        right: -50%;
        margin-top: -50%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .about-shape,
    .services-shape,
    .benefits-shape {
        width: 200px;
        height: 200px;
    }

    .contact-shape {
        visibility: hidden;
    }

    .whatsapp-button {
        position: fixed;
        margin-right: 80px;
    }
}

@media (max-width: 1536px) {
    .whatsapp-button {
        position: fixed;
        margin-right: 80px;
    }
}