/* Global Styles */
:root {
    --primary-color: #4169e1; /* Royal Blue */
    --primary-gradient-start: #4169e1;
    --primary-gradient-end: #8a2be2; /* Blue-Violet */
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

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

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

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-gradient-end);
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Header */
header {
    background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--text-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    margin-bottom: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-white);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--text-white);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-image: url('./img/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.primary-btn:hover {
    background-color: var(--primary-gradient-end);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.benefit-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.benefit-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.8;
}

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

/* No App Section */
.no-app {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.no-app-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.no-app-image {
    flex: 1;
}

.no-app-text {
    flex: 1;
}

.no-app-text h2 {
    text-align: left;
}

.no-app-text .highlight {
    font-weight: 600;
    color: var(--primary-color);
}

.no-app-text ul {
    margin: 20px 0;
}

.no-app-text ul li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

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

.course-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.course-card h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-description {
    margin-bottom: 15px;
}

.course-details {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-target {
    margin-top: 15px;
    font-style: italic;
}

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.philosophy .container {
    max-width: 800px;
}

.philosophy h2 {
    margin-bottom: 30px;
}

.philosophy .highlight {
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.philosophy ul {
    margin: 20px 0;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h2 {
    text-align: left;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
}

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

/* Legal Pages */
.legal {
    padding: 60px 0;
}

.legal h1 {
    text-align: center;
    margin-bottom: 30px;
}

.legal-meta {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.contact-info {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

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

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 50px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-white);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-links a.active {
    opacity: 1;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content,
    .no-app-content {
        flex-direction: column;
    }
    
    .about-image,
    .no-app-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Adjusting Sections */
    .hero {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .benefits-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .about, .benefits, .no-app, .courses, .philosophy, .contact {
        padding: 50px 0;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}