/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a8a;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --light: #f9fafb;
    --text: #374151;
    --border: #e5e7eb;
    --white: #ffffff;
    --whatsapp: #25d366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-icon {
    width: 65px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'MonteCarlo', cursive;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(30,58,138,0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 140px 0 80px;
    margin-top: 90px;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30,58,138,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30,58,138,0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-full {
    width: 100%;
}

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

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Extended subtitle for longer descriptions */
.section-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    line-height: 1.8;
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Optional: responsive adjustments */
@media (max-width: 768px) {
    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

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

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.section-dark .card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-dark .card h3 {
    color: var(--white);
}

.section-dark .card p {
    color: rgba(255,255,255,0.9);
}

/* About Section - Updated for light background */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start; /* Changed from center to flex-start */
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Adjusted shadow for light background */
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text); /* Changed for light background */
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #f97316);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-dark .step h3 {
    color: var(--white);
}

.step p {
    color: var(--text);
}

.section-dark .step p {
    color: rgba(255,255,255,0.9);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.section-dark .faq-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    color: var(--primary);
    transition: background 0.3s;
}

.section-dark .faq-question {
    color: var(--white);
}

.faq-question:hover {
    background: var(--light);
}

.section-dark .faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

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

.section-dark .faq-answer p {
    color: rgba(255,255,255,0.9);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.rodo-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rodo-info input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.rodo-info label {
    color: var(--primary);
    font-weight: normal;
    display: inline;
}

.rodo-info a {
    color: var(--accent);
    text-decoration: none;
}

.rodo-info a:hover {
    text-decoration: underline;
}

/* Contact Info */
.contact-info h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.section-light .contact-info h3 {
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details strong {
    color: var(--white);
}

.section-light .contact-details strong {
    color: var(--primary);
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details small {
    color: rgba(255,255,255,0.8);
}

.section-light .contact-details small {
    color: var(--text);
    opacity: 0.8;
}

/* Social Media */
.social-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.section-light .social-section {
    border-top-color: var(--border);
}

.social-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-light .social-section h4 {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.facebook:hover {
    box-shadow: 0 8px 15px rgba(24,119,242,0.3);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.instagram:hover {
    box-shadow: 0 8px 15px rgba(224,103,60,0.3);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.linkedin:hover {
    box-shadow: 0 8px 15px rgba(0,119,181,0.3);
}

.social-button-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 45px;
    padding: 0 20px;
    background: #25d366;
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-left: 0.5rem;
}

.social-button-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37,211,102,0.3);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.9;
}

/* Succession Section - Updated */
.succession-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start; /* Changed to align items at the top */
}

.succession-text {
    order: 1;
}

.succession-image {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.succession-text .section-subtitle {
    text-align: left; /* Align text to left */
    margin-left: 0;
    margin-right: 0;
}

.succession-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item p {
    line-height: 1.6;
}

.succession-cta {
    margin-top: 2rem;
    text-align: center; /* Center the CTA button */
}

.succession-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text);
    opacity: 0.8;
}

.succession-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Target Groups Section */
.target-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.target-group {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.target-group:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.group-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.target-group h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.target-group p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.group-benefits {
    list-style: none;
    padding-left: 0;
}

.group-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.group-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.target-cta {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.target-cta p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Mobile Responsive for new sections */
@media (max-width: 768px) {
    .succession-content {
        grid-template-columns: 1fr;
    }
    
    .succession-benefits {
        grid-template-columns: 1fr;
    }
    
    .succession-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .succession-text {
        order: 2;
    }
    
    .target-groups-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
    