/* საბაზისო დაყენებები და ფერები ლოგოდან */
:root {
    --primary-bg: #12233c; /* მუქი ლურჯი ლოგოდან */
    --accent-color: #e5981a; /* ყვითელი/ოქროსფერი ლოგოდან */
    --light-bg: #f4f6f9; /* ნათელი ფერი კონტრასტისთვის */
    --text-dark: #1e293b; /* მუქი ტექსტი */
    --text-light: #ffffff; /* ნათელი ტექსტი */
    --card-bg: #ffffff; /* ბარათების ფონი */
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* --- Header (menu) --- */
/* ==================================================== */
/* 1. General Styles (For all displays)                    */
/* ==================================================== */
header {
    background-color: var(--primary-bg);
    border-bottom: 3px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    text-decoration: none;
}
.logo-shape {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-shape i {
    transform: rotate(45deg);
    color: var(--primary-bg);
    font-size: 1.2rem;
}
.logo-text h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.logo-text h1 span {
    color: var(--accent-color);
}
.logo-text p {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
}
/* Burger icons styles */
.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2500;
}
.burger-menu i {
    color: var(--text-light);
    font-size: 1.5rem;
}
.burger-menu .icon-close {
    display: none;
}
/* ==================================================== */
/* 2. Styles for PC (> 992px)       */
/* ==================================================== */
@media (min-width: 993px) {
    nav ul {
        display: flex;
        list-style: none;
        gap: 25px;
        margin: 0;
        padding: 0;
    }
    nav ul a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: var(--transition);
        padding: 5px 0;
        border-bottom: 2px solid transparent;
    }
    /* Desktop styles */
    nav ul a:hover,
    nav ul a.active {
        color: var(--accent-color);
        border-bottom: 2px solid var(--accent-color);
    }
    .user-actions .btn-login {
        background-color: transparent;
        color: var(--text-light);
        border: 2px solid var(--accent-color);
        padding: 8px 20px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        transition: var(--transition);
    }
    .user-actions .btn-login:hover {
        background-color: var(--accent-color);
        color: var(--primary-bg);
    }
}
/* ==================================================== */
/* 3. Styles for СDynamic monitors (< 992px)  */
/* ==================================================== */
@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }
    .header-container {
        padding: 15px 20px !important;
    }
    .logo-text h1 {
        font-size: 1.2rem !important;
    }
    .logo-text p {
        font-size: 0.65rem !important;
    }
    .logo-area {
        gap: 10px !important;
        max-width: 70%;
    }
    .burger-menu {
        display: block;
    }
    .burger-menu.active {
        position: fixed;
        top: 22px;
        right: 20px;
    }
    .burger-menu.active .icon-bars {
        display: none;
    }
    .burger-menu.active .icon-close {
        display: block;
    }
    header nav#navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-bg);
        border-left: 3px solid var(--accent-color);
        padding: 100px 30px;
        box-sizing: border-box;
        transition: right 0.4s ease;
        z-index: 1500;
    }
    header nav#navMenu.active {
        right: 0;
    }
    header nav#navMenu ul {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    header nav#navMenu ul a {
        display: block;
        width: max-content;
        font-size: 1.1rem;
        color: var(--text-light);
        text-decoration: none;
    }
    header nav#navMenu ul a.active {
        color: var(--accent-color);
    }
    /* Mobile button login */
    header .user-actions#userActions {
        position: fixed;
        bottom: 50px;
        right: -100%;
        width: 220px;
        z-index: 1600;
        transition: right 0.4s ease;
        margin: 0;
    }
    header .user-actions#userActions.active {
        right: 30px;
    }
    header .user-actions#userActions .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        background-color: transparent;
        color: var(--text-light);
        border: 2px solid var(--accent-color);
        padding: 8px 20px;
        border-radius: 4px;
        font-weight: 600;
    }
}
/* Banner (Hero Section) */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1e3a63 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-color);
}
.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero h2 span {
    color: var(--accent-color);
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #cdb5e1;
}
/* Filters (Tabs) */
.filter-section {
    margin: 50px 0 30px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: var(--card-bg);
    color: var(--primary-bg);
    border: 2px solid var(--primary-bg);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-bg);
    color: var(--text-light);
    border-color: var(--primary-bg);
}
.filter-btn.active {
    box-shadow: 0 0 0 3px var(--accent-color);
}
/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.course-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}
.course-header {
    background-color: var(--primary-bg);
    color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}
.course-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.course-header h3 {
    font-size: 1.4rem;
}
.course-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.course-badge {
    align-self: flex-start;
    background-color: #f1f5f9;
    color: var(--primary-bg);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-left: 3px solid var(--accent-color);
}
.course-body p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}
.lessons-count {
    color: #94a3b8;
    font-size: 0.9rem;
}
.btn-start {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}
.btn-start:hover {
    background-color: var(--primary-bg);
    color: var(--text-light);
}
/* --- Responcive for mobile --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        gap: 15px;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
/* Styles for footer GPALAB */
.footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 60px 0 0 0;
    margin-top: 60px;
    font-family: sans-serif;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-info, .footer-links, .footer-contacts {
    flex: 1;
    min-width: 250px;
}
.footer-description {
    margin-top: 20px;
    color: #a0aec0;
    line-height: 1.6;
    font-size: 14px;
}
.footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}
.footer-links ul li a:hover {
    color: #007bff;
}
.footer-contacts p {
    color: #a0aec0;
    margin-bottom: 15px;
    font-size: 15px;
}
.footer-contacts p i {
    margin-right: 10px;
    color: #007bff;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: #a0aec0;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
    color: #007bff;
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #111621;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #2d3748;
    font-size: 14px;
    color: #718096;
}
/* Main page: Categories section */
.main-categories {
    padding: 60px 0;
}
.main-categories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #2d3748;
}
.main-categories .section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.category-card:hover {
    border-color: #007bff;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}
.category-card i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.category-card span {
    font-weight: 600;
    font-size: 16px;
}
.category-card.all-courses-btn {
    background: #007bff;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.category-card.all-courses-btn:hover {
    background: #0056b3;
}
/* Main page: News and staties block */
.main-news {
    padding: 60px 0;
    background-color: #fafafa;
}
.main-news h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2d3748;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-image {
    height: 180px;
    background-color: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}
.news-content {
    padding: 20px;
}
.news-date {
    font-size: 12px;
    color: #a0aec0;
    display: block;
    margin-bottom: 8px;
}
.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2d3748;
}
.news-content p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.news-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.news-link:hover {
    text-decoration: underline;
}
/* --- Section 1: Categories (White background color) --- */
.main-categories {
    padding: 80px 0 60px 0;
    background-color: #ffffff;
}
.main-categories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #2d3748;
}
.main-categories .section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.category-card:hover {
    border-color: #007bff;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}
.category-card i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.category-card span {
    font-weight: 600;
    font-size: 16px;
}
.category-card.all-courses-btn {
    background: #007bff;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.category-card.all-courses-btn:hover {
    background: #0056b3;
}
/* --- Section 2: Road map (light gray background) --- */
.main-roadmap {
    padding: 80px 0;
}
.main-roadmap h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #2d3748;
}
.roadmap-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 50px;
}
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 3px dashed #e2e8f0;
}
.roadmap-step {
    position: relative;
    margin-bottom: 40px;
}
.roadmap-step:last-child {
    margin-bottom: 0;
}
.roadmap-badge {
    position: absolute;
    left: -42px;
    top: 0;
    background: #007bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 0 5px #fafafa;
}
.roadmap-content {
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.roadmap-content h4 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 8px;
}
.roadmap-content p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}
/* --- Section 3: News (Again white background) --- */
.main-news {
    padding: 80px 0;
}
.main-news h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2d3748;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-image {
    height: 180px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    border-bottom: 1px solid #edf2f7;
}
.news-content {
    padding: 20px;
}
.news-date {
    font-size: 12px;
    color: #a0aec0;
    display: block;
    margin-bottom: 8px;
}
.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2d3748;
}
.news-content p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.news-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.news-link:hover {
    text-decoration: underline;
}
/* ==================================================== */
/* About us page styles                                 */
/* ==================================================== */
.about-hero {
    background-color: var(--primary-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #2d3748;
}
.about-hero h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.about-hero .subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
    align-items: center;
}
.about-text h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.about-text p {
    color: #1e3a8a;
    line-height: 1.6;
    margin-bottom: 30px;
}
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    background: #1a202c;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #2d3748;
}
.feature-item h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}
.feature-item p {
    color: #1e3a8a;
    margin-bottom: 0;
}
.about-image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: var(--primary-bg);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    outline: none;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    .about-hero h2 {
        font-size: 2rem;
    }
}
/* Контейнер для позиционирования */
.auth-dropdown {
    position: relative;
    display: inline-block;
}

/* Стили твоей кнопки (можешь подогнать под свой дизайн) */
.auth-btn {
    background-color: #2563eb;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Сам выпадающий блок (изначально скрыт) */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0; /* Выравнивание по правому краю кнопки */
    top: calc(100% + 5px);
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    z-index: 1000;
    overflow: hidden;
}

/* Элементы списка */
.dropdown-item {
    color: #1f2937;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background 0.2s;
}

/* Эффект при наведении на пункт списка */
.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

/* Класс, который добавляет JS для показа меню */
.dropdown-menu.show {
    display: block;
}
