/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #f1f5f9;
    --accent-color: #ec4899;
    --dark-color: #1e293b;
    --text-color: #334155;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 14px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

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

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

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 40px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background-color: var(--light-gray);
}

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

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

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

.about-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-card h3 {
    font-size: 22px;
    color: var(--dark-color);
    padding: 20px 20px 10px;
}

.about-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: white;
}

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

.service-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-item:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    font-size: 20px;
    color: var(--dark-color);
    padding: 15px 15px 10px;
}

.service-item p {
    padding: 0 15px 15px;
    color: var(--text-color);
    font-size: 14px;
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages {
    background-color: var(--light-gray);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    overflow: hidden;
}

.package-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

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

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.package-header h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin: 0;
}

.badge-popular {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.package-description {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.package-duration {
    background: var(--light-gray);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.package-price {
    display: flex;
    align-items: baseline;
    margin: 20px 0;
    gap: 5px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.currency {
    font-size: 16px;
    color: var(--text-color);
}

.package-card .btn {
    width: 100%;
    margin-top: 15px;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-box {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s;
}

.info-box:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.info-box:hover h4 {
    color: white;
}

.info-box p {
    color: var(--text-color);
    font-size: 14px;
}

.info-box:hover p {
    color: white;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
    background-color: var(--light-gray);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

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

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    padding: 15px;
}

.article-card p {
    padding: 0 15px 15px;
    color: var(--text-color);
    font-size: 14px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: white;
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: var(--dark-color);
    font-weight: bold;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

.form-note {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    margin-top: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #404854;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 25px;
    }
}

/* ============================================
   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);
    padding: 20px;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    width: 100%;
}

.modal-center {
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

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

.modal h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.modal p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 40px 20px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .nav-links {
        gap: 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
}
