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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 50%, #e8f5e8 100%);
    background-attachment: fixed; 
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 300;
    color: #2c5530;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #1a3d1f;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    background: rgba(44, 85, 48, 0.05);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    position: static;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2c5530 0%, #4c7b52 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 85, 48, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(44, 85, 48, 0.1);
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.mobile-menu-btn:hover {
    background: rgba(44, 85, 48, 0.2);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c5530;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), 
                url('portada.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: 100;
    letter-spacing: 4px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-style: normal;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: 200;
    letter-spacing: 2px;
    opacity: 0.95;
    text-transform: lowercase;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 30px;
    border-radius: 8px;
    backdrop-filter: blur(3px);
}

.hero-quote {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 500px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    line-height: 1.8;
    font-weight: 200;
    background: rgba(0, 0, 0, 0.25);
    padding: 25px 35px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    letter-spacing: 1px;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2c5530;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #ffffff;
    text-shadow: none;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #2c5530;
    margin: 1rem auto;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(44, 85, 48, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 123, 82, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(44, 85, 48, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.carolina-image {
    width: 100%;
    max-width: 350px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(44, 85, 48, 0.25);
    object-fit: cover;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    padding: 8px;
    border: 3px solid rgba(44, 85, 48, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carolina-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 60px rgba(44, 85, 48, 0.3);
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #2c5530;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

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

/* Formation Section */
.formation {
    background: white;
}

.formation-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2c5530;
    position: relative;
}

.timeline-year {
    color: #2c5530;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: #2c5530;
    color: white;
}




.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    text-align: right;
}

.testimonials-cta {
	text-align: center;
	margin-top: 3rem;
	padding: 2.5rem;
	background: rgba(255,255,255,0.1);
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.2);
}

.testimonials-cta h3 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	color: #a8e6cf;
}


.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: right;
}

/* Contact Section */
.contact {
    background: white;
    text-align: center;
}

.contact p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.contact-offer {
	background: rgba(44, 85, 48, 0.1);
	padding: 1.5rem;
	border-radius: 15px;
	margin: 2rem auto;
	max-width: 500px;
	border: 2px solid rgba(44, 85, 48, 0.2);
}
.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2c5530;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2c5530;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #2c5530;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* WhatsApp Button Styles */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    margin-top: 2rem;
}

.whatsapp-button:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 8px;
        text-align: center;
        transform: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        transform: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-whatsapp svg {
        width: 25px;
        height: 25px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* WhatsApp floating animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}