/* Base Styles & Variables */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #f1c40f;
    --accent-color: #e67e22;
    --dark-blue: #161e2e;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --white: #fff;
    
    /* Skill card colors */
    --red: #e74c3c;
    --green: #27ae60;
    --yellow: #f1c40f;
    --brown: #d35400;
    --purple: #9b59b6;
    --teal: #16a085;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2ecc71, #16a085);
    --gradient-secondary: linear-gradient(135deg, #e74c3c, #c0392b);
    --gradient-contact: linear-gradient(90deg, #2ecc71 0%, #e74c3c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Utility Classes */
.highlight {
    color: var(--secondary-color);
}

.highlight-red {
    color: var(--primary-color);
}

.highlight-orange {
    color: var(--accent-color);
}

.highlight-yellow {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    background-color: #2c3e50;
    color: var(--white);
    width: 100%;
}

.btn-submit:hover {
    background-color: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
}

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

.join-link {
    font-weight: 600;
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./img/1.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

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

.scroll-indicator i {
    font-size: 30px;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.learning-approach {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Skills Section */
.skills {
    background-color: var(--light-gray);
    text-align: center;
}

.skills h2 {
    font-size: 2.5rem;
}

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

.skill-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.skill-card.red {
    border-top: 5px solid var(--red);
}

.skill-card.green {
    border-top: 5px solid var(--green);
}

.skill-card.yellow {
    border-top: 5px solid var(--yellow);
}

.skill-card.brown {
    border-top: 5px solid var(--brown);
}

.skill-card.purple {
    border-top: 5px solid var(--purple);
}

.skill-card.teal {
    border-top: 5px solid var(--teal);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.red .skill-icon {
    background-color: var(--red);
}

.green .skill-icon {
    background-color: var(--green);
}

.yellow .skill-icon {
    background-color: var(--yellow);
}

.brown .skill-icon {
    background-color: var(--brown);
}

.purple .skill-icon {
    background-color: var(--purple);
}

.teal .skill-icon {
    background-color: var(--teal);
}

.skill-icon i {
    font-size: 24px;
}

.skill-card h3 {
    margin-bottom: 15px;
}

/* Success Stories Section */
.success-stories {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
}

.success-stories h2 {
    font-size: 2.5rem;
}

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

.story-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 20px;
    text-align: left;
}

.story-content h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.quote::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 30px;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background: var(--gradient-contact);
    color: var(--white);
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    margin-bottom: 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    flex: 1;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--light-gray);
    font-size: 1rem;
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.footer-contact h4,
.footer-programs h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-list li,
.programs-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-list i {
    margin-right: 10px;
    color: var(--primary-color);
}

.programs-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Legal Pages Styles */
.legal-section {
    padding: 120px 0;
    margin-top: 70px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.policy-header {
    margin-bottom: 30px;
}

.policy-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.effective-date {
    font-style: italic;
    color: #777;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-section ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-text h2,
    .skills h2,
    .success-stories h2,
    .thank-you-content h1,
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}