
:root {
    --primary: #FF6B00;
    --dark: #202020;
    --gray: #333333;
    --light: #FFFFFF;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

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

header {
    padding: 20px 0;
    background-color: rgba(32, 32, 32, 0.9);
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #E05D00;
}

.hero {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

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

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6px;
    font-size: 36px;
}

.section-title span {
    color: var(--primary);
}

.about {
    background-color: var(--gray);
}

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

.about-text {
    flex: 1;
    font-size: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 463px;
}

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

.feature-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.courses {
    background-color: var(--gray);
}

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

.category {
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-header {
    background-color: var(--primary);
    padding: 15px 20px;
}

.category-header h3 {
    font-size: 22px;
}

.category-links {
    padding: 20px;
}

.category-links > div {
    display: block;
    color: var(--light);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #444;
    transition: color 0.3s;
}

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

.category-links a:last-child {
    border-bottom: none;
}

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

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    object-position: top;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.method {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.method h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

footer {
    background-color: #111;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content {
        flex-direction: column;
    }
}


.gallery-title {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--primary);
}

.gallery {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 390px) {
    .course-categories {
        grid-template-columns: none;
    }
}

.wrap-img {
    position: relative;
}
.two-img {
    position: absolute;
    top: 0px;
    /*max-width: 435px;*/
    left: 0px;
    transition: all 2s ease;
    -webkit-animation: spinner-border 2s linear infinite;
    animation: spinner-border 2s linear infinite;
    opacity: 0.2;

}
.two-img img {
    box-shadow: none;
}
@keyframes spinner-border {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}
.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--primary);
}

.gallery-caption p {
    font-size: 14px;
    margin: 0;
}