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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #aaa;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.btn-secondary {
    background: transparent;
    color: #FFD200;
    border: 2px solid #FFD200;
}

.btn-secondary:hover {
    background: #FFD200;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 20px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.student-world-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.school-info h2 {
    color: #FFD200;
    margin: 0;
    font-size: 1.5rem;
}

.school-info span {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD200;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* E-books Showcase Section - VERSÃO ULTRA SIMPLES */
.ebooks-showcase {
    background: #000;
    padding: 80px 0;
    color: white;
}

.ebooks-header {
    text-align: center;
    margin-bottom: 60px;
}

.ebooks-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.ebooks-table {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 20px;
    table-layout: fixed;
}

.ebook-cell {
    width: 25%;
    vertical-align: top;
    padding: 0;
    height: auto;
}

.ebook-card {
    width: 100%;
    height: auto;
}

.ebook-inner {
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}

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

.ebook-cover {
    height: 280px;
    overflow: hidden;
}

.ebook-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ebook-inner:hover .ebook-img {
    transform: scale(1.05);
}

.ebook-info {
    padding: 20px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ebook-category {
    font-size: 0.8rem;
    color: #ff8c00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

.ebook-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 0px;
}

.ebook-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #22c55e;
    text-align: center;
    margin: 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.ebook-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.ebook-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.ebook-info-btn {
    background: linear-gradient(135deg, #ff8c00, #ff7700);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    margin-bottom: 5px;
    width: 100%;
}

.ebook-info-btn:hover {
    background: linear-gradient(135deg, #ff7700, #ff6600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Modal de Informações do E-book */
.ebook-info-modal {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
}

.ebook-info-modal-content {
    background-color: #ffffff !important;
    margin: 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 900px; /* Increased from 600px to 900px */
    max-height: 90vh; /* Increased from 80vh to 90vh */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ebook-info-modal-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 20px 30px;
    position: relative;
}

.ebook-info-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ebook-info-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.ebook-info-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.ebook-info-modal-body {
    padding: 40px; /* Increased padding from 30px to 40px */
    max-height: 70vh; /* Increased from 60vh to 70vh */
    overflow-y: auto;
    background-color: #ffffff !important; /* Ensure white background */
}

.ebook-info-description {
    font-size: 1.1rem; /* Increased from 1rem to 1.1rem */
    line-height: 1.8; /* Increased from 1.7 to 1.8 */
    color: #374151;
    text-align: left; /* Changed from justify to left for better readability */
    background-color: #ffffff !important; /* Ensure white background */
}

.ebook-info-description p {
    margin-bottom: 1rem;
}

.ebook-info-modal-footer {
    padding: 25px 40px; /* Increased padding to match body */
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    gap: 20px; /* Increased gap from 15px to 20px */
    background-color: #ffffff !important; /* Ensure white background */
}

.ebook-info-modal-footer .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-modal {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
}

.btn-primary-modal:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ebooks-table {
        border-spacing: 15px;
    }
}

@media (max-width: 768px) {
    /* E-books Showcase Mobile Improvements */
    .ebooks-showcase {
        padding: 3rem 0;
        background: #000;
    }
    
    .ebooks-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .ebooks-title {
        font-size: 2rem;
        padding: 0 1rem;
        text-align: center;
        line-height: 1.3;
    }
    
    /* DEFINITIVE SOLUTION: REPLACE TABLE WITH FLEXBOX */
    .ebooks-table {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        gap: 2rem !important;
        border-spacing: 0 !important;
        border-collapse: separate !important;
    }
    
    .ebooks-table tbody {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 2rem !important;
    }
    
    .ebooks-table tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 2rem !important;
    }
    
    .ebook-cell {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: both !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        flex: none !important;
    }
    
    .ebook-card {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        flex: none !important;
    }
    
    .ebook-inner {
        background: #2a2a2a;
        border-radius: 15px;
        overflow: hidden;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .ebook-cover {
        height: 280px;
    }
    
    .ebook-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .ebook-info {
        padding: 1.5rem;
        text-align: center;
    }
    
    .ebook-title {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .ebook-price {
        font-size: 1.6rem;
        margin: 1rem 0;
    }
    
    .ebook-btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 14px 20px;
        margin-bottom: 0.8rem;
    }
    
    .ebook-info-btn {
        width: 100%;
        font-size: 1.2rem; /* Aumentado de 1rem para 1.2rem */
        padding: 12px 18px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/images/hero1.jpeg') center center/cover no-repeat;
    color: white;
    overflow: hidden;
    margin-top: 0;
    transform: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(45deg, #FFD200, #FFE135);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD200;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Partnership Section */
.partnership {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 3px solid #FFD200;
    border-bottom: 3px solid #FFD200;
}

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

.partnership-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bsc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.bsc-logo:hover {
    transform: scale(1.05);
}

.bsc-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}


.partnership-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.partnership-text p {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.website-link {
    margin-bottom: 2rem;
}

.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 210, 0, 0.3);
}

.website-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 210, 0, 0.4);
    background: linear-gradient(135deg, #FFE135 0%, #FFB347 100%);
    color: #1a1a1a;
}

.website-btn i {
    font-size: 1.1rem;
}

.partnership-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateX(10px);
}

.benefit i {
    color: #FFD200;
    font-size: 1.2rem;
    width: 20px;
}

.benefit span {
    color: #333;
    font-weight: 500;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    padding: 6rem 0;
    background: white;
}

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

.course-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    border-color: #FFD200;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 210, 0, 0.2);
}

.course-card.featured {
    border-color: #FFD200;
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
}

.course-card.full-width {
    grid-column: 1 / -1;
    max-width: none;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #1a1a1a;
    border: none;
    box-shadow: 0 8px 30px rgba(255, 210, 0, 0.3);
}

.course-card.full-width h3 {
    color: #1a1a1a;
}

.course-card.full-width p {
    color: #333;
}

.course-card.full-width .course-icon {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
}

.course-card.full-width .course-features li {
    color: #333;
}

.course-card.full-width .course-features i {
    color: #1a1a1a;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 1.8rem;
}

.course-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.course-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.course-features i {
    color: #10b981;
    font-size: 0.8rem;
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

/* What's Not Included Section */
.not-included-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    text-align: center;
}

.not-included-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.not-included-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Guarantee Section */
.guarantee {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(26,26,26,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.guarantee-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.guarantee-header {
    margin-bottom: 3rem;
}

.guarantee-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.guarantee-subtitle {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.guarantee-text {
    margin-bottom: 2rem;
}

.guarantee-text p {
    font-size: 1.3rem;
    color: #888;
    font-weight: 500;
    margin: 0;
}

.guarantee-button {
    margin-bottom: 3rem;
}

.guarantee-button .btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.guarantee-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 41, 59, 0.4);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

.guarantee-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-option {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.guarantee-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.guarantee-option.win {
    border-color: #10b981;
}

.guarantee-option.discount {
    border-color: #3b82f6;
}

.option-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.guarantee-option.win .option-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.guarantee-option.discount .option-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.option-content h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.option-content p {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
}

.experience-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 20px;
}

.experience-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

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

.experience h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.experience p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.experience-feature i {
    font-size: 1.5rem;
    color: #FFD200;
    margin-top: 0.25rem;
}

.experience-feature h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.experience-feature p {
    color: #ccc;
    margin: 0;
}

.experience-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.image-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.single-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.experience-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-image:hover .experience-img {
    transform: scale(1.05);
}

/* Estilos para o vídeo */
.single-video {
    position: relative;
    width: 100%;
    height: 385px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.experience-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.single-video:hover .experience-video {
    transform: scale(1.02);
}

/* Social Programs Section */
.social-programs {
    padding: 6rem 0;
    background: white;
}

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

.social-programs .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.social-programs .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
    justify-items: center;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

/* Photo Gallery Section */
.photo-gallery {
    padding: 6rem 0;
    background: #f8fafc;
}

.photo-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-gallery .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #FFD200;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #FFD200;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    text-align: left;
}

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

.cta-img {
    max-width: 75%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cta-img:hover {
    opacity: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-info {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.info-item i {
    color: #FFD200;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 1.2rem 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.footer-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-tsw-logo {
    max-height: 60px;
    width: auto;
}

.footer-fpp-logo {
    max-height: 54px;
    width: auto;
}

.footer-text {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.privacy-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #ccc;
    text-decoration: underline;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon i {
    font-size: 1.2rem;
}

/* Specific colors for each social media */
.social-icon:hover:nth-child(1) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-icon:hover:nth-child(2) {
    background: #000000;
    border-color: #000000;
}

.social-icon:hover:nth-child(3) {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icon:hover:nth-child(4) {
    background: #1877f2;
    border-color: #1877f2;
}

/* Privacy Policy Modal */
.privacy-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.privacy-content {
    padding: 1rem;
}

.privacy-content h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-content h3 {
    color: #334155;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.privacy-content h4 {
    color: #475569;
    font-size: 1.2rem;
    margin: 1.2rem 0 0.8rem 0;
}

.privacy-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-content ul {
    color: #64748b;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content a {
    color: #3b82f6;
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-content strong {
    color: #334155;
}


.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.badge i {
    color: #FFD200;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #333;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD200;
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .partnership-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .cta-info {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Specific fix for images that might cause overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Increase navbar height by 35% on mobile */
    .nav-container {
        padding: 1.35rem 20px; /* Increased from 1rem to 1.35rem (35% increase) */
    }
    
    /* Force nav-toggle to be visible on mobile */
    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px; /* Aumentar para não sobrepor o logo */
        left: 0;
        width: 100%;
        height: calc(100vh - 100px); /* Ajustar altura proporcional */
        background: #FFD200;
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9998;
        padding-top: 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
        padding-top: 20px; /* Voltar ao padding normal */
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2d3748;
        text-decoration: none;
        padding: 1rem 2.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 1);
        border: 2px solid rgba(45, 55, 72, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 250px;
        text-align: center;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 1);
        color: #2d3748;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        border-color: #2d3748;
    }
    
    .nav-menu .btn {
        font-size: 1.3rem;
        padding: 1.2rem 2.5rem;
        margin-top: 0;
        border-radius: 12px;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
        min-width: 250px;
        text-align: center;
        transition: all 0.3s ease;
        white-space: normal;
        line-height: 1.4;
    }
    
    .nav-menu .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
        background: linear-gradient(135deg, #4ade80, #22c55e);
    }
    
    /* Select de idioma no menu mobile - fundo branco */
    .nav-menu select,
    .nav-menu #languageSelector {
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
        min-width: 150px !important;
        height: auto !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 1) !important;
        border: 2px solid rgba(45, 55, 72, 0.1) !important;
        color: #2d3748 !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-toggle {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .logo-container {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        gap: 0.5rem;
    }
    
    .student-world-logo {
        height: 40px;
    }
    
    .school-info h2 {
        font-size: 1.2rem;
    }
    
    .school-info span {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .partnership {
        padding: 3rem 0;
    }
    
    .bsc-logo {
        max-width: 250px;
        padding: 20px;
    }
    
    
    .website-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Fix partnership benefits alignment on mobile */
    .benefit {
        text-align: left !important;
    }
    
    .benefit span {
        text-align: left !important;
    }
    
    /* Fix button text wrapping and overflow */
    .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
    
    /* Fix long text wrapping */
    .section-subtitle {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Fix modal on small screens */
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .privacy-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .privacy-content {
        padding: 0.8rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content h3 {
        font-size: 1.2rem;
    }
    
    .privacy-content h4 {
        font-size: 1.1rem;
    }
    
    .privacy-content p {
        font-size: 0.9rem;
    }
    
    .partnership-text h2 {
        font-size: 1.5rem;
    }
    
    .partnership-text p {
        font-size: 1rem;
    }
    
    .guarantee {
        padding: 4rem 0;
    }
    
    .guarantee-title {
        font-size: 2.2rem;
    }
    
    .guarantee-subtitle {
        font-size: 1.2rem;
    }
    
    .guarantee-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guarantee-button .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .guarantee-option {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .course-image {
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        gap: 0.8rem;
    }
    
    .single-image {
        height: 300px;
    }
    
    /* Social Programs responsive */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
    }
    
    .program-image {
        height: 150px;
    }
    
    .social-programs .section-title {
        font-size: 2rem;
    }
    
    .social-programs .section-subtitle {
        font-size: 1rem;
    }
    
    .photo-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Hero Section Mobile Improvements */
    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding: 2rem 0;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-image: url('assets/images/hero3.jpeg') !important;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* DEFINITIVE EBOOKS MOBILE LAYOUT */
    .ebooks-grid-clean {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        grid-template-columns: none !important;
    }
    
    .ebook-card-clean {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        float: none !important;
        grid-column: unset !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        margin-top: 8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        font-size: 0.9rem;
        padding: 14px 16px;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .not-included-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .not-included-title {
        font-size: 2rem;
    }
    
    .not-included-text {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-center {
        order: 1;
    }
    
    .footer-left {
        order: 2;
    }
    
    .footer-right {
        order: 3;
    }
    
    .footer-logo {
        max-height: 60px; /* Aumentado de 40px para 60px (50%) */
    }
    
    .footer-tsw-logo {
        max-height: 72px; /* Aumentado de 48px para 72px (50%) */
    }
    
    .footer-fpp-logo {
        max-height: 63px; /* Aumentado de 42px para 63px (50%) */
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    /* Increase navbar height by 35% on small mobile */
    .nav-container {
        padding: 1.35rem 20px; /* Increased from 1rem to 1.35rem (35% increase) */
    }
    
    /* Logo adjustments for mobile */
    .logo-container {
        left: 10px;
        gap: 0.3rem;
    }
    
    .student-world-logo {
        height: 20px;
    }
    
    .school-info h2 {
        font-size: 0.9rem;
    }
    
    .school-info p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    /* Hero Mobile Small */
    .hero {
        min-height: 100vh;
        padding: 1.5rem 0;
        background-image: url('assets/images/hero3.jpeg') !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    /* DEFINITIVE EBOOKS MOBILE LAYOUT SMALL */
    .ebooks-grid-clean {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        grid-template-columns: none !important;
    }
    
    .ebook-card-clean {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        float: none !important;
        grid-column: unset !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-actions {
        margin-bottom: 2rem;
        margin-top: 8rem;
    }
    
    .hero-actions .btn,
    .nav-menu .btn {
        max-width: 300px;
        font-size: 0.85rem !important;
        padding: 12px 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        text-align: center;
        word-wrap: break-word;
    }
    
    /* E-books Mobile Small */
    .ebooks-showcase {
        padding: 2rem 0;
    }
    
    .ebooks-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* DEFINITIVE FLEXBOX SOLUTION FOR SMALL SCREENS */
    .ebooks-table {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
        border-spacing: 0 !important;
    }
    
    .ebooks-table tbody {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }
    
    .ebooks-table tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }
    
    .ebook-cell {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: both !important;
        flex: none !important;
    }
    
    .ebook-inner {
        max-width: 320px;
        margin: 0 auto;
        width: 100% !important;
        display: block !important;
        flex: none !important;
    }
    
    .ebook-cover {
        height: 240px;
    }
    
    .ebook-info {
        padding: 1rem;
    }
    
    .ebook-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .ebook-price {
        font-size: 1.4rem;
    }
    
    .ebook-btn {
        font-size: 1rem;
        padding: 12px 16px;
    }
    
    .ebook-info-btn {
        font-size: 1.2rem; /* Aumentado de 0.9rem para 1.2rem */
        padding: 12px 18px; /* Padding também aumentado */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .course-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .course-image {
        height: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        gap: 0.5rem;
    }
    
    .single-image {
        height: 250px;
    }
    
    /* Social Programs mobile responsive */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
    }
    
    .program-image {
        height: 120px;
    }
    
    .social-programs .section-title {
        font-size: 1.8rem;
    }
    
    .social-programs .section-subtitle {
        font-size: 0.95rem;
    }
    
    .photo-gallery .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Header e Logo mobile 480px - Header 33px + Logo 56px */
    .header {
        display: list-item;
        min-height: 33px;
        z-index: 99999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: white !important;
        border-bottom: 2px solid #e5e7eb !important;
    }
    
    .nav-container {
        padding: 0.3rem 20px;
        min-height: 33px;
    }
    
    .logo-container {
        display: flex !important;
        align-items: center !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 20px !important;
    }
    
    .student-world-logo {
        height: 56px !important;
        max-height: 56px !important;
    }
}

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

.feature-card,
.course-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 220px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.modal-close:focus {
    outline: 2px solid #FFD200;
    outline-offset: 2px;
}

/* Sorteio Info Styles */
.sorteio-info {
    margin: 2rem 0;
    text-align: center;
}

.sorteio-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sorteio-badge i {
    color: #22c55e;
    font-size: 1.2rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive countdown */
@media (max-width: 768px) {
    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* London Experience Section */
.london-experience {
    padding: 6rem 0;
    background: white;
}

.london-table-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.london-table {
    width: 100%;
    border-collapse: collapse;
}

.london-table td {
    padding: 0;
    vertical-align: middle;
}

.london-image-column {
    width: 40%;
}

.london-main-image {
    width: 80%;
    height: 280px;
    object-fit: contain;
    display: block;
}

.london-text-column {
    width: 60%;
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.london-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.london-text-column p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* 3 Reasons Section */
.reasons-section {
    margin-top: 4rem;
}

.reasons-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 700;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reason-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.reason-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reason-card:hover .reason-img {
    transform: scale(1.05);
}

.reason-content {
    padding: 2rem;
}

.reason-content h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.reason-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* BSC Achievements Section */
.bsc-achievements {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.achievements-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievements-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.achievements-img:hover {
    transform: scale(1.02);
}

.achievements-text {
    padding: 2rem 0;
}

.achievements-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.achievements-text p {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.achievements-text p:last-child {
    margin-bottom: 0;
}

.achievements-button {
    margin-top: 2rem;
}

.achievements-button .btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.achievements-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

/* Responsive adjustments for London Experience */
@media (max-width: 768px) {
    .london-table tr {
        display: flex;
        flex-direction: column;
    }
    
    .london-table td {
        width: 100%;
        display: block;
    }
    
    .london-image-column {
        width: 100%;
    }
    
    .london-main-image {
        width: 80%;
        height: 163px;
    }
    
    .london-text-column {
        width: 100%;
        padding: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .london-section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .london-text-column p {
        font-size: 0.99rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reason-content {
        padding: 1.5rem;
    }
    
    /* Fix image containers for mobile */
    .course-image,
    .reason-image,
    .program-image {
        height: 180px;
    }
    
    /* Fix table container for mobile */
    .london-table-container {
        margin: 0 auto 2rem;
        border-radius: 12px;
    }
    
    /* BSC Achievements responsive */
    .achievements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        padding: 0 1rem;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .achievements-title {
        font-size: 2rem;
    }
    
    .achievements-text p {
        font-size: 1rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .achievements-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .achievements-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .achievements-button .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Fix BSC achievements section overflow */
    .bsc-achievements {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .achievements-text {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

/* E-book Information Section */
.ebook-info {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.ebook-header {
    margin-bottom: 3rem;
}

.ebook-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.ebook-content-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ebook-text {
    flex: 1;
}

.ebook-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.ebook-cover {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-cover-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-cover-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-section {
    margin-bottom: 3rem;
}

.pricing-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 2rem;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-option {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 200px;
}

.pricing-option.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.pricing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-option.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-number {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.pricing-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-price {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.pricing-note {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

.cta-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
    background: white;
    color: #3b82f6;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive for e-book section */
@media (max-width: 768px) {
    .ebook-info {
        padding: 3rem 0;
    }
    
    .ebook-title {
        font-size: 2rem;
    }
    
    .ebook-content-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .ebook-cover {
        flex: none;
        order: -1;
    }
    
    .ebook-cover-image {
        max-width: 250px;
    }
    
    .ebook-description {
        font-size: 1.1rem;
    }
    
    .pricing-title {
        font-size: 1.75rem;
    }
    
    .pricing-options {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .pricing-option {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .pricing-option.featured {
        transform: none;
    }
    
    .pricing-option.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-number {
        font-size: 2.5rem;
    }
    
    .cta-section {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-section .btn {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }
}
/* ===== PACKAGE MODAL - PROFESSIONAL DESIGN ===== */

/* TODOS OS ESTILOS DE MODAL FORAM REMOVIDOS PARA EVITAR CONFLITOS */
/* USANDO APENAS OS ESTILOS INLINE NO index.html */

/* Print styles */
@media print {
    .header,
    .modal,
    .btn {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: #333 !important;
    }
    
    .hero-background,
    .hero-overlay {
        display: none !important;
    }
}

