/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #2E4057;
    --accent-color: #4ECDC4;
    --dark-color: #1F2A44;
    --light-color: #F7F9FC;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(255, 107, 53, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-course {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-course:hover {
    transform: translateX(5px);
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.btn-nav {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
}

.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 35px;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    margin: 0;
}

.courses-section {
    background: var(--light-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 10px;
}

.course-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.stats-section {
    background: var(--gradient);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-content p {
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
}

.cta-section {
    background: linear-gradient(rgba(31, 42, 68, 0.9), rgba(31, 42, 68, 0.9)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.vision-mission-section {
    background: var(--white);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-box,
.mission-box {
    padding: 40px;
    border-radius: 20px;
    background: var(--light-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vision-box h3,
.mission-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.vision-box p,
.mission-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.social-groups {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-groups h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.group-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.group-link.whatsapp {
    background: #25D366;
    color: white;
}

.group-link.telegram {
    background: #0088cc;
    color: white;
}

.group-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.group-link i {
    font-size: 1.2rem;
}

.group-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a[href*="facebook"]:hover { background: #1877f2; }
.social-links a[href*="twitter"]:hover { background: #1da1f2; }
.social-links a[href*="instagram"]:hover { background: #e4405f; }
.social-links a[href*="linkedin"]:hover { background: #0077b5; }
.social-links a[href*="youtube"]:hover { background: #ff0000; }
.social-links a[href*="tiktok"]:hover { background: #000000; }

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.phone-label:first-of-type {
    margin-top: 0;
}

.phone-numbers a {
    color: #FFD700 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.phone-numbers a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.contact-detail a[href^="mailto"] {
    color: #87CEEB !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    word-break: break-all;
}

.contact-detail a[href^="mailto"]:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.location, 
.contact-detail span:not(.phone-label) {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-buttons {
    margin-top: 15px;
}

.contact-wa-btn, 
.contact-tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    width: 100%;
    border: none;
    color: white !important;
}

.contact-wa-btn {
    background: #25D366;
}

.contact-tg-btn {
    background: #0088cc;
}

.contact-wa-btn:hover, 
.contact-tg-btn:hover {
    transform: translateX(5px);
    filter: brightness(1.1);
    color: white !important;
}

.contact-wa-btn i, 
.contact-tg-btn i {
    color: white !important;
    width: auto;
    margin-top: 0;
}

.phone-numbers a[href*="260"] {
    border-left: 2px solid #4CAF50;
    padding-left: 8px;
}

.phone-numbers a[href*="254"] {
    border-left: 2px solid #FFD700;
    padding-left: 8px;
}

.phone-numbers a[href*="265"] {
    border-left: 2px solid #FF6B35;
    padding-left: 8px;
}

.phone-numbers a[href*="256"] {
    border-left: 2px solid #4ECDC4;
    padding-left: 8px;
}

.footer-contact .phone-numbers a {
    display: block;
    margin-bottom: 5px;
    padding: 3px 0 3px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.footer-contact .phone-numbers a:hover {
    background: rgba(255, 107, 53, 0.2);
}

.contact-detail a[href^="mailto"] {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border-left: 2px solid var(--primary-color);
}

.contact-detail a[href^="mailto"]:hover {
    background: rgba(255, 107, 53, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.tagline {
    font-style: italic;
}

.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chat-toggle i {
    color: white;
    font-size: 24px;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.chat-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.floating-chat:hover .chat-options {
    display: flex;
    animation: slideIn 0.3s ease;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.chat-option i {
    font-size: 1.2rem;
}

.chat-option.whatsapp-float {
    background: #25D366;
    color: white;
}

.chat-option.telegram-float {
    background: #0088cc;
    color: white;
}

.chat-option:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        margin: 0;
        padding: 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .floating-chat {
        bottom: 20px;
        right: 20px;
    }
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    .chat-toggle i {
        font-size: 20px;
    }
    .chat-options {
        bottom: 70px;
        min-width: 180px;
    }
    .group-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .group-link {
        flex: 1;
        justify-content: center;
    }
    .contact-item {
        flex-wrap: wrap;
    }
    .phone-numbers a {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}