@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #00e5ff;
    --secondary-color: #0066ff;
    --accent-color: #ffffff;
    --dark-bg: #000b1a;
    --dark-surface: #001529;
    --dark-text: #ffffff;
    --dark-text-secondary: #7aa3cc;
    --dark-border: #002952;
    --gradient-blue: linear-gradient(135deg, #00e5ff 0%, #0066ff 100%);
    --gradient-bg: linear-gradient(135deg, rgba(0, 11, 26, 0.95) 0%, rgba(0, 21, 41, 0.95) 100%);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 102, 255, 0.03) 0%, transparent 20%),
        linear-gradient(135deg, rgba(0, 11, 26, 0.97) 0%, rgba(0, 21, 41, 0.97) 100%);
    background-attachment: fixed;
    line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1, h2, h3 {
    font-family: 'Tektur', sans-serif;
}

.hero-content p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: normal;
}

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

.nav-links a:hover {
    color: var(--dark-text);
    opacity: 1;
}

.login-btn, .cta-button {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: normal;
}

.feature-card p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: normal;
}

.footer-content {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: normal;
}

.course-description,
.course-details,
.price,
.enroll-btn {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: normal;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(0, 21, 41, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    height: 70px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-text);
    margin: 0;
}

.logo h1 span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.login-btn, .cta-button {
    background: var(--gradient-blue);
    color: var(--dark-text) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.login-btn:hover, .cta-button:hover {
    background: linear-gradient(135deg, #0066ff 0%, #00e5ff 100%);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.login-btn::before, .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-btn:hover::before, .cta-button:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 5%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 229, 255, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    animation: fadeInUp 1s ease;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0.9;
    animation-fill-mode: forwards;
}

.hero-image {
    flex: 1;
    animation: float 6s ease-in-out infinite;
    margin-top: 50px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: -30px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 229, 255, 0.02) 0%, rgba(0, 102, 255, 0.02) 100%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    font-weight: normal;
}

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

.feature-card {
    background: rgba(0, 21, 41, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 192, 233, 0.1) 0%, rgba(57, 205, 239, 0.1) 100%);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-size: 2.2rem;
    font-weight: normal;
}

.feature-card p {
    color: var(--dark-text);
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-surface);
    color: var(--dark-text);
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.footer-section p {
    color: var(--dark-text);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--dark-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    color: var(--dark-text);
    opacity: 0.9;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        height: 70px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-surface);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        border-top: 1px solid var(--dark-border);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--dark-text);
        background: none;
        border: none;
        cursor: pointer;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        padding: 0;
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding-top: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        width: 100%;
        margin-top: 2rem;
    }

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

    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card i {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        font-size: 1.2rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.2rem;
    }
}

/* Add hexagon network effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M25 2.5L43.3 14.5V38.5L25 47.5L6.7 38.5V14.5L25 2.5Z" fill="none" stroke="rgba(0,229,255,0.1)" /></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    font-size: 3.5rem;
    font-weight: normal;
}

.course-description,
.course-details {
    font-family: 'Tektur', sans-serif;
}

/* Courses Page Styles */
.courses-header {
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, rgba(21, 192, 233, 0.1) 0%, rgba(57, 205, 239, 0.1) 100%);
    text-align: center;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.course-card {
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 400px;
    margin: 0 auto;
}

.course-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.course-description {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.course-details span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.course-details span i {
    margin-right: 5px;
}

.course-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.enroll-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-blue);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #0066ff 0%, #00e5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

/* About Page Styles */
.about-header {
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, rgba(21, 192, 233, 0.1) 0%, rgba(57, 205, 239, 0.1) 100%);
    text-align: center;
}

.about-header h1 {
    font-size: 4rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--dark-text);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: forwards;
}

.about-content {
    padding: 4rem 5%;
    background: var(--dark-surface);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
}

.about-text p {
    color: var(--dark-text);
    opacity: 0.9;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.values-list i {
    color: var(--primary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(0, 21, 41, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
    border-color: var(--primary-color);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--dark-text);
    opacity: 0.9;
}

.team-section {
    padding: 4rem 5%;
    background: var(--dark-bg);
    text-align: center;
}

.team-section h2 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--dark-surface);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
    border-color: var(--primary-color);
}

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

.team-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin: 1.5rem 0 0.5rem;
}

.team-card p {
    color: var(--dark-text);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.team-description {
    color: var(--primary-color) !important;
    font-size: 0.9rem;
    padding-bottom: 1.5rem;
}

.contact-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-blue);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #0066ff 0%, #00e5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

@media (max-width: 768px) {
    .about-content {
        padding: 2rem 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-header h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

header {
    background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 11, 26, 0.8) 0%, rgba(0, 21, 41, 0.8) 100%);
    z-index: 1;
}

header > * {
    position: relative;
    z-index: 2;
}

/* Команда мүшелерінің стильдері */
.team-member {
    position: relative;
    transition: all 0.3s ease;
}

.team-member.nazerke {
    margin-top: 50px;
    transform: translateY(20px);
}

.team-member.nazerke:hover {
    transform: translateY(10px);
}

.team-member.nurislam {
    margin-top: -30px;
    transform: translateY(-20px);
}

.team-member.nurislam:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.team-member.nazerke img {
    border: 3px solid #00e5ff;
}

.team-member.nurislam img {
    border: 3px solid #0066ff;
}

.team-member:hover img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
} 