/* ===================================
   Școala Lumina - Custom Styles
   =================================== */

/* === General Styles === */
:root {
    --primary-green: #28a745;
    --primary-green-dark: #218838;
    --primary-green-light: #34ce57;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

p, li, td {
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-green-dark);
}

.container {
    max-width: 1200px;
}

/* === Navigation === */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    font-size: 2rem;
}

.nav-link {
    font-weight: 400;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(33, 136, 56, 0.9)),
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo i {
    font-size: 5rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons .btn {
    padding: 12px 35px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

/* === Buttons === */
.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-green);
}

/* === Sections === */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* === Service Cards === */
.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 auto;
}

/* === Mission Section === */
.mission-section {
    background-color: var(--bg-light);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.mission-content p {
    margin-bottom: 1rem;
}

.mission-content strong {
    color: var(--primary-green);
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    max-width: 100%;
}

.values-list li i {
    margin-right: 10px;
    margin-top: 5px;
}

/* === Statistics Section === */
.stat-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
}

/* === CTA Section === */
.cta-section {
    background-color: var(--bg-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cta-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-card .btn-light {
    background-color: white;
    color: var(--primary-green);
    border: none;
    font-weight: 600;
}

.cta-card .btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* === Footer === */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    margin-right: 10px;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 100%;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    max-width: 100%;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-green);
}

.footer-contact a {
    color: white;
    opacity: 0.9;
}

.footer-contact a:hover {
    color: var(--primary-green-light);
    opacity: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green-light);
    opacity: 1;
    padding-left: 5px;
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.9;
    max-width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    max-width: 100%;
}

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

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

.cookie-text {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary-green-light);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: white;
}

/* === Blog Cards === */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta .badge {
    margin-right: 10px;
}

.blog-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card .btn {
    margin-top: auto;
}

/* === Blog Article === */
.blog-article {
    padding: 3rem 0;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-article-meta .badge {
    margin-right: 15px;
}

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    max-width: 100%;
}

.blog-content img {
    width: 100%;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-green);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* === Contact Form === */
.contact-section {
    padding: 3rem 0;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item div h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-item div p {
    margin: 0;
    color: var(--text-light);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

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

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

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* === Team Section === */
.team-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-green);
}

.team-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .position {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 auto;
}

/* === FAQ Section === */
.faq-section {
    padding: 3rem 0;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.accordion-body {
    padding: 1.5rem;
}

/* === Gallery === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* === Timeline === */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-green);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* === Responsive Design === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    .footer-tagline,
    .footer-description {
        text-align: center;
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* === Utility Classes === */
.text-green {
    color: var(--primary-green);
}

.bg-green {
    background-color: var(--primary-green);
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-hover-custom {
    box-shadow: var(--shadow-hover);
}

/* === Page-specific Styles === */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0 auto;
}

.content-section {
    padding: 2rem 0;
}

.content-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

.content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-green);
}

.content-card p {
    margin-bottom: 1rem;
    max-width: 100%;
}

.content-card ul {
    padding-left: 1.5rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    max-width: 100%;
}