/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

/* Global Styles */
:root {
    --primary-color: #4169E1; /* royal blue */
    --secondary-color: #2E8B57; /* green */
    --light-color: #FFFFFF;
    --dark-color: #333333;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* Updated Background Overlay with Black */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    z-index: -1;
}

.content-container {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.85);
    min-height: 100vh;
}

.bg-light-transparent {
    background-color: rgba(248, 249, 250, 0.8) !important;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.95), rgba(46, 139, 87, 0.95));
    border-bottom: 2px solid rgba(46, 139, 87, 0.3);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(65, 105, 225, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo {
    height: 40px;
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(46, 139, 87, 0.3);
}

.dropdown-menu {
    border: none;
    border-top: 2px solid rgba(46, 139, 87, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(46, 139, 87, 0.8);
    color: white;
}

/* Hero Sections */
.hero, .about-hero, .services-hero, .contact-hero {
    height: 100vh;
    min-height: 600px;
    padding-top: 80px;
    position: relative;
}

.hero h1,
.about-hero h1,
.services-hero h1,
.contact-hero h1 {
    color: var(--primary-color); /* Royal blue color */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid white; /* White border instead of reflection */
    margin-bottom: 20px;
}

.hero h2,
.about-hero p,
.services-hero p,
.contact-hero p {
    color: var(--dark-color); /* Black color for description */
}

.cta-buttons {
    margin-top: 30px;
}

.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a5bc7;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.4);
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #267445;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(65, 105, 225, 0.4);
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    color: var(--gray-color);
    border-color: var(--gray-color);
}

.btn-outline-secondary:hover {
    background-color: var(--gray-color);
    color: white;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card {
    border-top: 4px solid rgba(46, 139, 87, 0.7);
}

.service-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.service-card:nth-child(3) {
    border-top-color: #17a2b8;
}

.pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.pricing-card:hover {
    transform: scale(1.03);
}

.team-card {
    border-top: 4px solid var(--primary-color);
}

.team-card .text-primary {
    color: var(--primary-color) !important;
}

.team-card .text-success {
    color: var(--secondary-color) !important;
}

.team-card .text-info {
    color: #17a2b8 !important;
}

/* Sections */
section {
    padding: 80px 0;
}

.mission {
    background-color: rgba(65, 105, 225, 0.8);
    color: white;
}

.mission h3 {
    font-weight: 700;
    font-size: 2rem;
}

.cta {
    background-color: var(--primary-color) !important;
}

/* Testimonials */
.testimonial-item {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    border-left: 4px solid rgba(46, 139, 87, 0.7);
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

/* Contact Form */
.contact-info-card {
    background-color: rgba(248, 249, 250, 0.8);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus, .form-select:focus {
    border-color: rgba(46, 139, 87, 0.7);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.95), rgba(46, 139, 87, 0.95));
    border-top: 2px solid rgba(46, 139, 87, 0.5);
    color: white;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--light-color);
    opacity: 0.8;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--light-color);
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 139, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

.cta-buttons .btn {
    animation: pulse-green 2s infinite;
}

.cta-buttons .btn:nth-child(2) {
    animation-delay: 0.5s;
}

.cta-buttons .btn:nth-child(3) {
    animation-delay: 1s;
}

/* Events & News Section */
.events-news {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Optional blur effect */
}

.featured-event {
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
}

.featured-event .card-body {
    padding: 2rem;
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-highlights {
    list-style-type: none;
    padding-left: 0;
}

.event-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.event-highlights li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.event-meta {
    background-color: rgba(65, 105, 225, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.event-meta p {
    margin-bottom: 5px;
}

.event-meta i {
    color: var(--primary-color);
}

.countdown-timer {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.countdown-timer h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.timer span {
    display: inline-block;
    min-width: 50px;
    padding: 5px;
    background-color: rgba(65, 105, 225, 0.1);
    border-radius: 5px;
    margin: 0 3px;
}

.event-actions {
    margin-top: 20px;
}

/* News Cards */
.news-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.9);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-card .card-footer {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Social Integration */
.social-integration {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subscribe-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(65, 105, 225, 0.05);
    border-radius: 10px;
}

/* Share Buttons */
.share-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero, .about-hero, .services-hero, .contact-hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .featured-event .row {
        flex-direction: column;
    }
    
    .featured-event .col-md-6 {
        width: 100%;
    }
    
    .featured-event img {
        height: 250px;
        object-fit: cover;
    }
    
    .event-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .event-actions .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .hero h1,
    .about-hero h1,
    .services-hero h1,
    .contact-hero h1 {
        border-bottom: none;
    }
}

/* Services Navigation */
.nav-pills .nav-link {
    padding: 12px 24px;
    margin: 0 10px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: white;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
    transform: translateY(-2px);
}

.nav-pills .nav-link:not(.active) {
    background-color: white;
    color: var(--dark-color);
    border: 2px solid var(--light-gray);
}

.nav-pills .nav-link:not(.active):hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* Service Sections */
.service-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;
}

#masterclasses .service-description {
    border-left-color: var(--secondary-color);
}

#workshop .service-description {
    border-left-color: #17a2b8;
}

.process-section {
    border-left: 4px solid var(--primary-color);
}

.process-steps li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.process-steps li:before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Accordion Improvements */
.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(65, 105, 225, 0.1);
    color: var(--primary-color);
}

.accordion-body {
    padding: 20px;
    background-color: rgba(248, 249, 250, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        margin: 5px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .service-description, .process-section {
        padding: 15px;
    }
}

/* Contact Page Styles */
.contact-info-card {
    background-color: rgba(248, 249, 250, 0.8);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-links .btn {
    transition: all 0.3s ease;
}

.quick-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-icon {
    margin-top: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}