/* Custom CSS for EduBridge */

:root {
    --bg-main: #f5f2f5;
    --accent-color: #9614b9;
    --bg-header-footer: #111111;
    --text-headings: #303030;
    --text-body: #4b4b4b;
    --bg-soft: #edd6f8;
    --bg-white: #ffffff;
    --transition: 0.3s ease;
}

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

body {
    font-family: "Montserrat Alternates", serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    background-color: var(--bg-header-footer) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

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

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 2rem;
    position: relative;
}



/* Content Text */
.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

/* Directions Section */
.direction-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

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

.direction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.direction-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
}

/* Advantages Section */
.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.advantage-icon:hover {
    background-color: var(--accent-color);
    color: white;
}

.advantage-icon .material-icons-outlined {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.advantage-icon:hover .material-icons-outlined {
    color: white;
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
}

/* Courses Section */
.course-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.course-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
    background-color: var(--bg-soft);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: var(--bg-white);
    color: var(--text-headings);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-soft);
    color: var(--text-headings);
    box-shadow: none;
}

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

.accordion-body {
    padding: 1.5rem;
    background-color: var(--bg-white);
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

.testimonial-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-header-footer);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contact-info .material-icons-outlined {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

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

.cookie-buttons .btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #7a0f94;
    border-color: #7a0f94;
}

/* Background Variations */
.bg-light {
    background-color: var(--bg-main) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-image,
    .testimonial-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .direction-image {
        height: 150px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 80px;
    background-color: var(--bg-main);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-headings);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-body);
    font-weight: 300;
}

/* Value Cards */
.value-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-icon:hover {
    background-color: var(--accent-color);
    color: white;
}

.value-icon .material-icons-outlined {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.value-icon:hover .material-icons-outlined {
    color: white;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
}

/* Direction Icons */
.direction-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.direction-icon .material-icons-outlined {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.direction-icon:hover {
    background-color: var(--accent-color);
}

.direction-icon:hover .material-icons-outlined {
    color: white;
}

/* Course Example Cards */
.course-example-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.course-example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.course-example-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
    background-color: var(--bg-soft);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.course-example-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Article Styles */
.article-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1.5rem;
    background-color: var(--bg-soft);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.article-content {
    font-size: 1rem;
    line-height: 1.7;
}

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

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* Method Cards */
.method-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

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

.method-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.method-icon:hover {
    background-color: var(--accent-color);
    color: white;
}

.method-icon .material-icons-outlined {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.method-icon:hover .material-icons-outlined {
    color: white;
}

.method-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-headings);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(150, 20, 185, 0.25);
}

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

.contact-form .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Contact Info Detailed */
.contact-info-detailed {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon .material-icons-outlined {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-details h5 {
    color: var(--text-headings);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-body);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    text-decoration: underline;
}

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

/* Thank You Page */
.thankyou-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
    width: 100px;
    height: 100px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thankyou-icon .material-icons-outlined {
    font-size: 3rem;
    color: var(--accent-color);
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-headings);
    margin-bottom: 1.5rem;
}

.thankyou-message {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.thankyou-note {
    font-size: 1rem;
    color: rgba(75, 75, 75, 0.8);
    margin-bottom: 2rem;
}

/* Policy Content */
.policy-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

.policy-content h2 {
    color: var(--text-headings);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    background-color: var(--bg-soft);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.policy-content h3 {
    color: var(--text-headings);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

/* Rounded Custom Images */
.rounded-custom {
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Error Styles */
.error-message {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-image,
    .testimonial-image,
    .course-example-image,
    .article-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .direction-image {
        height: 150px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .contact-form-wrapper,
    .thankyou-card {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .direction-card,
    .course-card,
    .testimonial-card,
    .value-card,
    .course-example-card,
    .article-card,
    .method-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper,
    .thankyou-card {
        padding: 1.5rem;
    }
    
    .thankyou-title {
        font-size: 2rem;
    }
    
    .thankyou-message {
        font-size: 1.1rem;
    }
}
