/* Course Forme - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #6C5CE7;
    --secondary-color: #00B894;
    --accent-color: #FDCB6E;
    --dark-color: #2D3436;
    --light-color: #DFE6E9;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-2: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-3: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Animated Background Elements */
.bg-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 2s;
}

.shape-3 {
    bottom: 10%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: var(--gradient-3);
    border-radius: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.btn-primary-custom {
    background: var(--gradient-1);
    border: none;
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-secondary-custom {
    background: var(--gradient-2);
    border: none;
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.dropdown-toggle::after{
    display: none!important;
    content: none;
}

.nav-link.btn{
    color: #fff!important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-image {
    animation: fadeInRight 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    position: relative;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
    position: relative;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

.course-content {
    padding: 1.5rem;
}

.course-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-3);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-color);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.slick-dots li button:before {
    color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    position: relative;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-period {
    color: #777;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
}

.pricing-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.accordion-button {
    background: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-body {
    background: var(--white);
    padding: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--gradient-1);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.newsletter-input {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 1rem 1.5rem;
}

.newsletter-btn {
    border-radius: 0 50px 50px 0;
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #FFA502;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-links h5 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links ul li a:hover {
    color: var(--white);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 52, 54, 0.98);
    color: var(--white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

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

/* About Page */
.page-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}

.team-section {
    padding: 5rem 0;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--primary-color);
}

.team-member h4 {
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
    border-radius: 10px;
    border: 2px solid var(--light-color);
    padding: 0.8rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

.btn.position-fixed{
    display: flex!important;
    justify-content: center;
    align-items: center;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

/* Policy Pages */
.policy-content {
    padding: 3rem 0;
}

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

.policy-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

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

.policy-content ul {
    margin-bottom: 1rem;
}

/* Course Detail Page */
.course-hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 5rem 0;
}

.course-detail-section {
    padding: 5rem 0;
}

.course-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.course-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.course-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-color);
}

.course-features i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
}

/* Article Page */
.article-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.article-meta {
    color: #777;
    margin-bottom: 1.5rem;
}

.article-content {
    padding: 3rem 0;
}

.article-content img {
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

.error-message {
    background: #D63031;
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    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;
}