:root {
    --primary-color: #d4682a;
    --secondary-color: #2a5d67;
    --accent-color: #f4a261;
    --text-dark: #2c1810;
    --text-light: #f5f1e8;
    --bg-cream: #faf7f0;
    --bg-paper: #f5f1e8;
    --border-color: #d4a574;
    --shadow-soft: rgba(44, 24, 16, 0.1);
    --shadow-medium: rgba(44, 24, 16, 0.15);
}

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

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.8rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3d47 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    color: var(--text-light) !important;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border-color: var(--text-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 93, 103, 0.95) 0%, rgba(26, 61, 71, 0.95) 100%),
                url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-family: 'Crimson Text', serif;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.decorative-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 2rem 0;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c05522 100%);
    color: var(--text-light);
    padding: 14px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 104, 42, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 104, 42, 0.4);
    color: var(--text-light);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--text-light);
    padding: 14px 35px;
    font-size: 1.1rem;
    border: 2px solid var(--text-light);
    border-radius: 50px;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

/* Featured Courses Section */
.featured-courses {
    padding: 100px 0;
    background: var(--bg-paper);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-style: italic;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: var(--border-color);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Crimson Text', serif;
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.course-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.course-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.course-duration {
    color: #777;
    font-size: 0.95rem;
}

.course-duration i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3d47 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Preview */
.about-preview {
    padding: 100px 0;
    background: var(--bg-cream);
}

.about-image {
    border-radius: 15px;
    box-shadow: 20px 20px 0 var(--accent-color);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

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

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 5px;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--bg-paper);
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
}

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

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

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 8px;
}

.blog-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    margin-left: 5px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-cream);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 104, 42, 0.15);
}

.contact-info {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3d47 100%);
    color: var(--text-light);
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
}

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

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    margin-top: 5px;
}

.contact-details h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a3d47 0%, #0f2630 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px var(--shadow-medium);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(42, 93, 103, 0.95) 0%, rgba(26, 61, 71, 0.95) 100%),
                url('images/article1.jpg?w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Content Page */
.content-page {
    padding: 80px 0;
    background: var(--bg-cream);
}

.content-wrapper {
    background: white;
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.content-wrapper h2 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.content-wrapper li {
    margin-bottom: 0.8rem;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-soft);
    height: 400px;
}

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

/* Course Detail Page */
.course-detail-header {
    background: linear-gradient(135deg, rgba(42, 93, 103, 0.95) 0%, rgba(26, 61, 71, 0.95) 100%),
                url('images/course1.jpg?w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    color: var(--text-light);
}

.course-sidebar {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Article Page */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-meta {
    color: #777;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.article-meta i {
    margin-right: 5px;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.article-content {
    font-size: 1.2rem;
    line-height: 1.9;
}

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

.article-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
    
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
    display: none;
}



.navbar-brand img{
    max-width: 250px;
    width: 250px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}

.footer-text{
    margin-top: 20px;
}
