/* ValenShiftor Academy - Custom Styles */

/* Root Variables */
:root {
    --color-white: #ffffff;
    --color-navy: #1d3557;
    --color-green: #2ca58d;
    --color-light-green: #77dd77;
    --color-gray: #f8f9fa;
    --font-light: 300;
    --font-regular: 400;
    --font-bold: 600;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-weight: var(--font-light);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
}

p {
    font-weight: var(--font-regular);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.bg-navy {
    background-color: var(--color-navy) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
}

.nav-link {
    margin: 0 0.5rem;
    font-weight: var(--font-regular);
    transition: color 0.3s ease;
}

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

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

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

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2c5282 100%);
    background-image: url('https://images.unsplash.com/photo-1501504905252-473c47e087f8?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9) 0%, rgba(44, 165, 141, 0.7) 100%);
}

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

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

/* Feature Cards */
.features-section {
    background-color: var(--color-white);
}

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-green);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    color: var(--color-navy);
    margin-bottom: 1rem;
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
}

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

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-light-green) 100%);
    color: white;
}

.stat-item {
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--color-white);
    font-weight: var(--font-regular);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2c5282 100%);
    padding: 80px 0;
}

/* Buttons */
.btn-success {
    background-color: var(--color-green);
    border-color: var(--color-green);
    font-weight: var(--font-bold);
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #248f7a;
    border-color: #248f7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 165, 141, 0.3);
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: white;
}

.footer h5 {
    font-weight: var(--font-bold);
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-light-green) !important;
}

.social-links a {
    font-size: 1.5rem;
}

.bg-white-50 {
    background-color: rgba(255,255,255,0.1);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 12px !important;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Blog Cards */
.blog-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.blog-card-body {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Course Cards */
.course-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.course-card-body {
    padding: 1.5rem;
}

.course-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-green);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 0.2rem rgba(44, 165, 141, 0.25);
}

.contact-info-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

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

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--color-green);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Google Maps */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: var(--font-bold);
    color: var(--color-navy);
}

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

.accordion-button:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 0.2rem rgba(44, 165, 141, 0.25);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2c5282 100%);
    color: white;
    padding: 120px 0 60px;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.team-member h4 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
}

/* Legal Pages */
.legal-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-content h2 {
    color: var(--color-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--color-green);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .hero-section {
        min-height: 500px;
        padding: 100px 0 40px;
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        min-height: 550px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Desktop (> 992px) */
@media (min-width: 992px) {
    .container {
        max-width: 1200px;
    }
}

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

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

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

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

.text-white-50 {
    color: rgba(255,255,255,0.65);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Header (for sub-pages) */
.page-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2c5282 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--color-green);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

/* Article Content */
.article-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.article-meta i {
    color: var(--color-green);
}

.article-content h2 {
    color: var(--color-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--color-green);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-content img {
    margin: 2rem 0;
    border-radius: 12px;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--color-green);
    text-decoration: none;
    font-weight: var(--font-bold);
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #248f7a;
    transform: translateX(-5px);
}