/* Qazaq Learning Hub - Main Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: #28a745 !important;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #28a745 !important;
}

.navbar-nav .nav-link.active {
    color: #28a745 !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(33, 136, 56, 0.9)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600&q=80') center/cover;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline-primary {
    color: #28a745;
    border-color: #28a745;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #28a745;
}

footer p, footer a {
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
}

footer a:hover {
    color: #28a745;
    transition: color 0.3s ease;
}

footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background-color: #28a745;
    transform: translateY(-3px);
}

footer .copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    color: #888;
}

/* Disclaimer */
.disclaimer {
    background-color: #dc3545;
    color: #fff;
    padding: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.disclaimer strong {
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    margin: 0 0 10px 0;
}

.cookie-banner button {
    margin-right: 10px;
}

/* Blog Article Styles */
.article-header {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(33, 136, 56, 0.9));
    color: #fff;
    padding: 80px 0 40px;
}

.article-meta {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #555;
}

.article-content img {
    border-radius: 12px;
    margin: 2rem 0;
    width: 100%;
    height: auto;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: #28a745;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.25rem;
    background-color: #fff;
}

/* Contact Form */
.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

textarea.form-control {
    min-height: 150px;
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item div h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item div p {
    margin: 0;
    color: #666;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}
