/* === Variables & Reset === */
:root {
    --primary-yellow: #FFB606;
    --primary-hover: #e5a300;
    --text-dark: #1A1A1A;
    --text-grey: #666666;
    --light-bg: #F9F9F9;
    --border-color: #E5E5E5;
    --success-green: #2ECC71;
    --font-main: 'Noto Sans Georgian', sans-serif;
    --container-width: 1240px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { font-family: var(--font-main); cursor: pointer; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Top Bar === */
.top-bar {
    background-color: var(--primary-yellow);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-links a { margin-right: 20px; display: inline-flex; align-items: center; gap: 6px; color: #000; }
.social-links a { margin-left: 15px; font-size: 16px; color: #000; }

/* === Header === */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; color: #000; }
.logo-icon i { font-size: 32px; color: #000; position: relative; }
/* Owl Cap Effect */
.logo-icon i::after {
    content: '\f19d'; font-family: "Font Awesome 6 Free"; position: absolute;
    left: 0; top: -2px; color: var(--primary-yellow); clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.logo-text { font-size: 20px; line-height: 1.1; font-weight: 400; }
.logo-text span { font-weight: 800; display: block; }

.nav-menu ul { display: flex; gap: 25px; }
.nav-menu a { font-size: 14px; font-weight: 700; color: #333; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-yellow); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.search-btn { background: none; border: none; font-size: 18px; cursor: pointer; }
.btn { padding: 10px 25px; border-radius: 5px; font-weight: 700; font-size: 14px; border: none; transition: 0.3s; }
.btn-primary { background-color: var(--primary-yellow); color: #000; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-block { width: 100%; display: block; padding: 12px; font-size: 16px; }
.btn-outline { background: #fff; border: 1px solid #ddd; color: #333; }
.burger-menu { display: none; background: none; border: none; font-size: 24px; }

/* === Page Hero === */
.page-hero {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    position: relative; padding: 60px 0; color: #fff;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.breadcrumbs { font-size: 14px; opacity: 0.9; }
.breadcrumbs i { font-size: 10px; margin: 0 8px; }
.breadcrumbs span { opacity: 0.7; }

/* === Layout === */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 50px 20px;
    align-items: start;
}

/* === Tabs === */
.tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 1px;
}
.tab-btn {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 25px;
    border-radius: 5px 5px 0 0; /* Only top corners optional, but image shows full pill or rounded */
    border-radius: 5px; /* Based on image looks like separate buttons */
    font-weight: 700;
    font-size: 14px;
    color: #555;
    transition: 0.3s;
}
.tab-btn:hover { background: #f9f9f9; }
.tab-btn.active {
    background: var(--primary-yellow);
    color: #000;
    border-color: var(--primary-yellow);
}

.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* === Content Styles (Overview) === */
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.text-block { margin-bottom: 20px; color: var(--text-grey); font-size: 14px; text-align: justify; }

.learning-box {
    background: #FFF8E1; /* Light yellow bg */
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}
.learning-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 15px; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}
.check-list i {
    background: var(--primary-yellow);
    color: #fff;
    width: 20px; height: 20px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 3px;
    font-size: 12px;
}

.registration-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 15px; }

/* === Content Styles (Syllabus) === */
.syllabus-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    text-align: center;
}
.meta-item { display: flex; flex-direction: column; align-items: center; }
.icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px;
    margin-bottom: 10px;
}
.bg-yellow { background: #FFF8E1; color: var(--primary-yellow); }
.bg-pink { background: #FCE4EC; color: #E91E63; }
.bg-purple { background: #EDE7F6; color: #673AB7; }
.meta-item h4 { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.meta-item span { font-size: 12px; color: #777; }

.lecture-item {
    background: #FFF8E1;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}
.lecture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 700;
}
.lecture-header h4 { font-size: 15px; }
.lecture-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.check-list-small li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #444;
}
.check-list-small i {
    background: var(--primary-yellow);
    color: #fff;
    min-width: 16px; height: 16px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 2px;
    font-size: 10px;
    margin-top: 3px;
}
.view-more-container { text-align: center; margin-top: 20px; }

/* === Content Styles (Lecturer) === */
.lecturer-profile {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: start;
}
.lecturer-img img {
    width: 150px; height: 150px;
    object-fit: cover;
    border-radius: 10px;
}
.lecturer-bio h2 { font-size: 22px; font-weight: 800; margin-bottom: 5px; }
.bio-subtitle { font-size: 12px; font-weight: 700; color: #555; margin-bottom: 15px; }
.bio-text { font-size: 13px; color: #666; line-height: 1.6; text-align: justify; }

.lecturer-offers { margin-bottom: 40px; }
.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.offers-header h3 { font-size: 18px; font-weight: 800; }
.btn-green-coupon {
    background: #00C853;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.gift-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.gift-card {
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    color: #000;
    overflow: hidden;
}
.gift-icon {
    font-size: 30px;
    color: #D35400; /* Darker orange for icon */
    margin-bottom: 10px;
    opacity: 0.7;
}
.bg-orange-gradient {
    background: linear-gradient(135deg, #FFB74D, #FF9800);
}
.bg-yellow-gradient {
    background: linear-gradient(135deg, #FFF176, #FFD54F);
}
.gift-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.gift-card p { font-size: 12px; margin-bottom: 15px; font-weight: 500; }
.gift-price { font-weight: 800; font-size: 20px; }
.gift-price .old { text-decoration: line-through; color: #555; font-size: 14px; margin-right: 5px; }
.gift-price .new { color: #00C853; font-size: 24px; }

.popular-courses h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.course-card-small-wrapper { width: 300px; } /* Constraint for the example card */

/* === Sidebar (Sticky Card) === */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.course-main-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.main-card-img {
    position: relative;
    height: 200px;
}
.main-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.badge-orange { background: #FDEBD0; color: #E67E22; }
.badge.top-left { top: 15px; left: 15px; }

.main-card-body {
    padding: 20px;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.label { font-weight: 700; font-size: 14px; color: #333; display: flex; align-items: center; gap: 8px;}
.prices .old-p { text-decoration: line-through; color: #999; margin-right: 8px; font-weight: 600; }
.prices .new-p { color: var(--primary-yellow); font-weight: 800; font-size: 22px; }

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    font-size: 13px;
}
.info-row .value { color: var(--primary-yellow); font-weight: 700; }

.share-row { margin-top: 10px; cursor: pointer; color: #666; font-size: 13px; font-weight: 600; }

/* === Newsletter & Footer (Same as previous) === */
.newsletter-section { padding: 60px 0; border-top: 1px solid var(--border-color); margin-top: 60px; }
.newsletter-content { display: flex; justify-content: space-between; align-items: center; }
.news-text h2 { font-size: 28px; font-weight: 800; }
.news-text h2 span { color: var(--primary-yellow); }
.news-text p { color: var(--text-grey); margin-top: 5px; font-size: 14px; }
.news-form { display: flex; gap: 10px; }
.news-form input { padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; width: 300px; outline: none; }

.main-footer { padding: 60px 0 20px; background-color: #fff; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #000; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: #333; }
.footer-col a:hover { color: var(--primary-yellow); }
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--primary-yellow); font-weight: 700; }
.contact-item span { color: #333; font-weight: 500; }
.mt-4 { margin-top: 25px; }
.copyright { border-top: 1px solid var(--border-color); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #888; }
.socials { font-size: 18px; color: #000; }
.socials i { margin-left: 15px; }

/* Course Card General (for popular list) */
.course-card { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.card-img { height: 180px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 15px; }
.card-body h3 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.card-body p { font-size: 12px; color: #666; margin-bottom: 10px; line-height: 1.4; }
.price-row { display: flex; justify-content: flex-end; gap: 10px; font-weight: 700; }
.old-price { text-decoration: line-through; color: #999; }
.new-price { color: var(--primary-yellow); font-size: 20px; }
.card-footer { border-top: 1px solid #eee; padding: 10px 15px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar { order: -1; position: static; margin-bottom: 30px; }
    .gift-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar, .search-btn { display: none; }
    .nav-menu { display: none; }
    .burger-menu { display: block; font-size: 24px; border: none; background: none; }
    .header-actions .btn-primary { display: none; }
    .newsletter-content { flex-direction: column; text-align: center; gap: 20px; }
    .news-form { flex-direction: column; width: 100%; }
    .news-form input { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .lecturer-profile { flex-direction: column; text-align: center; }
    .lecturer-img { margin: 0 auto; }
}