/* Alex Sandro Portfolio - CSS Styles */

/* CSS Variables - Design System */
:root {
    /* Colors */
    --primary: hsl(123, 39%, 33%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(123, 43%, 58%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --background: hsl(0, 0%, 97.6%);
    --foreground: hsl(0, 0%, 12.9%);
    --muted: hsl(210, 20%, 98%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --card: hsl(0, 0%, 100%);
    --border: hsl(214.3, 31.8%, 91.4%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(123, 39%, 33%), hsl(123, 39%, 28%));
    --gradient-accent: linear-gradient(135deg, hsl(123, 43%, 58%), hsl(123, 43%, 52%));
    --gradient-subtle: linear-gradient(180deg, hsl(0, 0%, 97.6%), hsl(210, 20%, 98%));
    
    /* Shadows */
    --shadow-hero: 0 20px 40px -10px hsl(123, 39%, 33%, 0.3);
    --shadow-card: 0 4px 20px -2px hsl(123, 39%, 33%, 0.1);
    --shadow-elegant: 0 10px 30px -10px hsl(123, 39%, 33%, 0.15);
    
    /* Spacing */
    --container-padding: 1.5rem;
    --section-padding: 5rem 0;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Border radius */
    --radius: 0.5rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    min-width: 180px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-primary:hover {
    background-color: hsl(123, 43%, 52%);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-white:hover {
    background-color: var(--primary);
    color: white;
}

.btn-cta {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: hsl(123, 43%, 52%);
    transform: translateY(-2px);
}

/* Responsive button text */
.btn-text-full {
    display: none;
}

.btn-text-short {
    display: inline;
}

@media (min-width: 640px) {
    .btn-text-full {
        display: inline;
    }
    
    .btn-text-short {
        display: none;
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: var(--muted);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
}

.badge-current {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
}

.badge-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
}

.badge-highlight {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
}

.badge-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Cards */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-5px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--foreground);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle.white {
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg-green.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-photo {
    display: flex;
    justify-content: center;
    order: 2;
}

@media (min-width: 1024px) {
    .hero-photo {
        justify-content: flex-start;
        order: 1;
    }
}

.photo-container {
    position: relative;
}

.photo-frame {
    width: 10rem;
    height: 10rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

@media (min-width: 768px) {
    .photo-frame {
        width: 12rem;
        height: 12rem;
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-element-1 {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.floating-element-2 {
    position: absolute;
    bottom: -0.75rem;
    left: -0.75rem;
    width: 1rem;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.hero-text {
    text-align: center;
    order: 1;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
        order: 2;
    }
}

.hero-title h1 {
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 0.125rem;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: none;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
}

.about-text p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.highlight {
    font-weight: 600;
    color: var(--foreground);
}

.highlight-secondary {
    font-weight: 700;
    color: var(--secondary);
}

.quote {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.quote p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
    text-align: center;
}

/* Experience Section */
.experience-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    display: none;
}

@media (min-width: 768px) {
    .timeline-line {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-accent);
        transform: translateY(-50%);
    }
}

.timeline-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .timeline-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.timeline-item:nth-child(even) {
    margin-top: 0;
}

@media (min-width: 768px) {
    .timeline-item:nth-child(even) {
        margin-top: 4rem;
    }
    
    .timeline-item:nth-child(odd) {
        margin-bottom: 4rem;
    }
}

.experience-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}

.experience-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.company-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    border-radius: var(--radius);
    background-color: white;
    padding: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.company-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    word-break: break-words;
}

@media (min-width: 768px) {
    .company-info h3 {
        font-size: 1.125rem;
    }
}

.period {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .period {
        font-size: 0.875rem;
    }
}

.role {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .role {
        font-size: 1rem;
    }
}

.description {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .description {
        font-size: 0.875rem;
    }
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid rgba(123, 99, 84, 0.2);
    border-radius: 9999px;
    transition: var(--transition);
}

.tag:hover {
    background-color: rgba(123, 99, 84, 0.1);
}

/* Education Section */
.education-section {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .education-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.column-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.education-items,
.certification-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-card,
.certification-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.education-card:hover,
.certification-card:hover {
    box-shadow: var(--shadow-elegant);
}

.certification-card.highlight {
    border: 2px solid rgba(123, 99, 84, 0.2);
}

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.institution-logo,
.certification-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    border-radius: var(--radius);
    background-color: white;
    padding: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .institution-logo,
    .certification-logo {
        width: 3rem;
        height: 3rem;
    }
}

.education-info,
.certification-info {
    flex: 1;
    min-width: 0;
}

.education-info h4,
.certification-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0.5rem 0;
    word-break: break-words;
}

@media (min-width: 768px) {
    .education-info h4,
    .certification-info h4 {
        font-size: 1.125rem;
    }
}

.education-info p,
.certification-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

@media (min-width: 768px) {
    .education-info p,
    .certification-info p {
        font-size: 1rem;
    }
}

.education-highlight {
    margin-top: 4rem;
    text-align: center;
}

.highlight-card {
    background: var(--gradient-subtle);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    max-width: 768px;
    margin: 0 auto;
}

.highlight-card p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Mentoria Section */
.mentoria-section {
    padding: var(--section-padding);
    background: var(--gradient-hero);
}

.mentoria-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.mentoria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .mentoria-grid {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    
    .mentoria-grid .mentoria-card:only-child {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

.mentoria-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    transition: var(--transition);
}

.mentoria-card.primary {
    border: 2px solid var(--secondary);
}

.mentoria-card.secondary {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.mentoria-card.secondary .card-icon {
    background: var(--gradient-hero);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.feature i {
    color: var(--secondary);
    width: 1rem;
    height: 1rem;
}

.mentoria-card.secondary .feature i {
    color: var(--primary);
}

.mentoria-highlight {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    max-width: 768px;
    margin: 0 auto;
}

.highlight-content {
    text-align: center;
}

.highlight-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.highlight-quote {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.quote-icon {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.star.filled {
    fill: currentColor;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.read-more {
    text-align: center;
    padding-top: 0.5rem;
}

.read-more span {
    font-size: 0.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.testimonial-card:hover .read-more span {
    color: rgba(123, 99, 84, 0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: white;
}

.carousel-btn.prev {
    left: -1.5rem;
}

.carousel-btn.next {
    right: -1.5rem;
}

.carousel-btn {
    display: none;
}

@media (min-width: 640px) {
    .carousel-btn {
        display: flex;
    }
}

.testimonials-cta {
    text-align: center;
}

.cta-card {
    background: var(--gradient-hero);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    max-width: 600px;
    margin: 0 auto;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Articles Section */
.articles-section {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: var(--shadow-hero);
    transform: translateY(-5px);
}

.article-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.external-icon {
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    transition: var(--transition);
}

.article-card:hover .external-icon {
    color: var(--primary);
}

.article-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    padding-top: 0.5rem;
}

.read-more {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.article-card:hover .read-more {
    text-decoration: underline;
}

.articles-cta {
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card);
    transition: var(--transition);
}

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

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    background-color: var(--card);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: hsl(0, 0%, 12.9%);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-start;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: var(--secondary);
    fill: currentColor;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin: 0;
}

/* PM3 Badge */
.pm3-badge {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    transition: var(--transition);
}

.pm3-badge:hover {
    transform: scale(1.1);
}

.pm3-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--card);
    margin: 15% auto;
    padding: 0;
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--muted-foreground);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: var(--foreground);
}

.modal-body {
    padding: 1.5rem;
}

.modal-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.modal-rating .star {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    fill: currentColor;
}

.modal-testimonial {
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    white-space: pre-line;
    margin: 0;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-container {
        gap: 1rem;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
