@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

* {
    font-family: 'Montserrat', sans-serif !important;
}


body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('/images/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none; /* so it doesn't block clicks */
}


main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

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

.nav-item, .navbar-brand{
      font-size: 1.2rem;
}


/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}


/* Increase space between all nav items */
.navbar-nav .nav-item {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

/* Or for each link */
.navbar-nav .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin: 0 5px !important;
}

/* Specific spacing */
.navbar-nav > li > a {
    padding: 10px 10px !important; /* Top/Bottom: 10px, Left/Right: 25px */
}

/* .navbar-nav .nav-link:hover {
    color: #ff6b6b !important; /* Red hover */
/*    background-color: rgba(255, 107, 107, 0.1) !important;
} */

.navbar.navbar-custom .navbar-nav .nav-link {
    position: relative;
    margin: 0 15px;
}

.navbar.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #3a3a3a;
    transition: all 0.3s ease;
}

.navbar.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffd700;
}

.navbar.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-custom {
    min-height:70px;
}


    .navbar-nav .dropdown-menu .dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 15px !important;
    background-color: transparent !important;
    }

    .navbar-nav .dropdown-menu .dropdown-toggle::after {
        display: none !important;
    }




.bg-custom{
    background-color: #F6F1EB;
}


/* Break out of Bootstrap container */
.home-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Optional: for better image fitting */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); Adjust opacity as needed */
}

.hero-text {
    position: absolute;
    top: 65%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


@media (max-width: 768px) {
    .hero-text {
        display: none !important;
    }
}

.hero-text h1 {
    
    font-weight: 400; /* or try 300, 500, 600 for different looks */
    /* font-size: 2.5rem; */
    font-size: clamp(12px, 2vw, 35px);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.hero-author {
    font-size: clamp(12px, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    
}

/* Offer section styling */
.offer-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #d4c4b0;
    min-height: 600px;
    align-items: center;
    padding: 10vh 0;
    color:white;
    font-size: 1.3rem;
}

.offer-section .row {
    width: 90%;
    margin: 0 auto;
    max-width: 1170px; /* Bootstrap container width */
    display: flex;
    align-items: center;
}

.offer-section .col-sm-6 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.offer-text {
    
    font-weight: 300; /* or try 300, 500, 600 for different looks */
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 50px;
    color: white;

}

.offer-text h2 {
    font-size: 1.5rem;
    line-height: 1.6;
    color: white;
}

.btn-offer-section {
    font-size:1rem;
    color:white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    overflow: hidden;

}

.btn-course-section {
    font-size:1rem;
    color:white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    overflow: hidden;

}

.btn-article-section {
    font-size:1rem;
    color:white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    overflow: hidden;

}

.btn-offer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 60%;
    height: 200%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.15) 40%,
        rgba(255,255,255,0.25) 45%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0.25) 55%,
        rgba(255,255,255,0.15) 60%,
        transparent 100%
    );
    filter: blur(8px); /* ✨ THIS IS THE MAGIC */
    transform: skewX(-20deg);
}

@keyframes shineMove {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.btn-offer-section::before {
    animation: shineMove 4s infinite;
}

.hero-offer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-offer-frame {
    padding: 8px; /* thickness of the glass frame */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    display: block;
    width: fit-content;
    margin: 0 auto; /* centers the frame */
}
.brace-divider {
  width: 100%;
  text-align: center;
  margin: 40px 0;
}

.brace-img {
  width: 85%;
  max-width: 1000px;
  height: 20px;      /* thinner */
  object-fit: fill;
  /* opacity: 0.6; */
}



.offer-img {
    border-radius: 14px; /* slightly less than frame's border-radius */
    display: block;
    width: 100%;
}


@media (max-width: 768px) {
    .offer-img {
        display: none !important;
    }
}


/* instagram */

.instagram-section {
    padding: 80px 0;
    background: #fafafa;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 5px;
}

.section-header p {
    color: #888;
    margin-bottom: 40px;
}

/* Articles Section */

.articles-section h2,
.articles-section h3,
.articles-section h4,
.articles-section h5 {
    
    text-align: center;
}

/* Adjust weights for hierarchy */
.articles-section h2 {
    font-weight: 600;
}

.articles-section h3 {
    font-weight: 600;
}

.articles-section h4 {
    font-weight: 500;
}

.articles-section h5 {
    font-weight: 400;
}

.articles-section p {
    font-weight: 300;
}

.btn-view-all {
    font-weight: 500;
}
.articles-section {
    /* background-color: #f5f5f5; */
    padding: 60px 0;
}

.articles-wrapper {
    position: relative;
}

/* Article Cards */
.article-card {
    min-width: 560px;
    max-width: 55%;
    height: 350px;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}

    /* Left */
.scroll-btn.left {
    left: -20px;
}

    /* Right */
.scroll-btn.right {
    right: -20px;
}

.scroll-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* Tablet */
@media (max-width: 992px) {
    .article-card {
        min-width: 420px;
        max-width: 420px;
        height: 460px;
    }
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .articles-scroll {
        padding-left: 16px;
    }
    .scroll-btn {
        display: none !important;
    }
    .article-card {
        min-width: 85%;
        max-width: 85%;
        height: 280px;
    }
}


.article-card:hover {
    transform: translateY(-5px);
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* display: block; */
}

/* Featured Article */
.article-featured {
    height: 600px;
}

.article-featured .article-img {
    min-height: 600px;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.article-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
    color:white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.article-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
}

/* Small Articles */
.article-small {
    height: 290px;
}

.article-small .article-img {
    min-height: 290px;
}

.article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px;
}

.article-content h4 {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.articles-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar (optional clean look) */
.articles-scroll::-webkit-scrollbar {
    height: 6px;
}
.articles-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Search Box */
.search-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.search-box h5 {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.search-form {
    position: relative;
}

.search-input {
    padding: 15px 50px 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
}

/* View All Button */
.btn-view-all {
    border: 2px solid #8B7355;
    color: #8B7355;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #8B7355;
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .article-featured {
        height: 400px;
    }
    
    .article-small {
        height: 250px;
    }
}
/* Mobile Articles Layout */
.mobile-articles-layout {
    padding: 0 15px;
}

.featured-article-mobile {
    margin-bottom: 40px;
}

.article-featured-mobile {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-featured-mobile .article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-featured-mobile .article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 25px 20px;
}

.article-featured-mobile .article-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Carousel Wrapper */
.articles-carousel-wrapper {
    position: relative;
    padding: 0 30px; /* Space for peeking edges */
}

.carousel-title {
    
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

/* Carousel with Peeking Edges */
#mobileArticlesCarousel {
    position: relative;
}

.carousel-inner {
    overflow: visible !important; /* Allow items to peek */
    padding: 0 5px;
}

.carousel-item {
    transition: transform 0.6s ease;
}

/* Make carousel items smaller than container to show edges */
.article-small-mobile {
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.carousel-item.active .article-small-mobile {
    transform: scale(1); /* Active item is normal size */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.article-small-mobile .article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-small-mobile .article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 20px 15px;
}

.article-small-mobile .article-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.article-small-mobile .article-excerpt {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    display: none; /* Hide on mobile, show on tablet maybe */
}

/* Custom Carousel Controls */
#mobileArticlesCarousel .carousel-control-prev,
#mobileArticlesCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileArticlesCarousel .carousel-control-prev {
    left: -20px;
}

#mobileArticlesCarousel .carousel-control-next {
    right: -20px;
}

#mobileArticlesCarousel .carousel-control-prev-icon,
#mobileArticlesCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

#mobileArticlesCarousel .carousel-control-prev:hover,
#mobileArticlesCarousel .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Carousel Indicators */
.carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 25px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    margin: 0 4px;
}

.carousel-indicators button.active {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .article-featured-mobile {
        height: 250px;
    }
    
    .article-small-mobile {
        height: 180px;
    }
    
    .articles-carousel-wrapper {
        padding: 0 25px;
    }
}

@media (min-width: 376px) and (max-width: 480px) {
    .article-featured-mobile {
        height: 280px;
    }
    
    .article-small-mobile {
        height: 200px;
    }
}
/* Courses Section - Full Width */
.courses-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #D4C4B0;
    padding: 80px 0;
}

.courses-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header */
.courses-header {
    text-align: center;
    margin-bottom: 60px;
    
}

.courses-header h2 {
    font-size: 3rem;
    color: white;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
   
}

.courses-header h3 {
    font-size: 1.75rem;
    color: white;
    font-weight: 250;
    font-style:italic;
    margin-bottom: 20px;
    line-height: 1.3;
}

.courses-subtitle {
    font-size: 1.2rem;
    color: white;
    font-weight: 300;
    
}

/* Course Cards Row */
.course-cards-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.course-cards-row .col-md-3 {
    padding: 0 10px;
}

/* Course Card */
.course-card {
    position: relative;
    height: auto;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.course-card:hover .course-img {
    filter: contrast(1.1) saturate(1.2) brightness(1);
    transform: scale(1.03);
}
.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.1) brightness(0.95);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Course Overlay */
.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 20px;
    color: white;
}

.course-title {
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
    
}

/* Course Button */
.course-btn {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 3px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: capitalize;
    
}

.course-btn:hover {
    background: white;
    color: #D4C4B0;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .courses-header h2 {
        font-size: 2.2rem;
    }
    
    .course-card {
        height: 400px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .courses-header h2 {
        font-size: 1.8rem;
    }
    
    .courses-subtitle {
        font-size: 1rem;
    }
    
    .course-card {
        height: 350px;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
}


/* Team Section - Full Width */
.team-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px 0;
}

.team-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header */
.team-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Amsterdam', sans-serif;
}

.team-header h2 {
    font-size: 3rem;
    color: white;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.3;
    
    padding-bottom: 2rem;
    text-shadow: 1px 1px 2px #000;
}

.team-subtitle {
    font-size: 1.7rem;
    color: #3a3a3a;
    font-weight: 300;
    
    /* text-shadow: 1px 1px 1px #000; */
}

.team-text {
    font-size: 1.2rem;
    color: #3a3a3a;
    font-weight: 300;
    
    /* text-shadow: 1px 1px 1px #000; */
}

/* Team Cards Row */
.team-cards-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-cards-row .col-md-3 {
    padding: 0 10px;
}

/* team Card */
.team-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding-bottom: 3rem;
}

/* Course Overlay */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 20px;
    color: white;
}

.team-title {
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
    
}

/* Course Button */
.team-btn {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 3px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: capitalize;
    
}

.team-btn:hover {
    background: white;
    color: #D4C4B0;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .team-header h2 {
        font-size: 2.2rem;
    }
    
    .team-card {
        height: 400px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .team-header h2 {
        font-size: 1.8rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .team-card {
        height: 350px;
    }
    
    .team-title {
        font-size: 1.3rem;
    }
}
 /* course ist */

 .course-layout {
    display: flex;
    position: relative;
    width: 100vw;
    height: calc(100vh - 80px); /* navbar height */
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #D4C4B0;
    padding: 80px 0;
}

.course-content {
    flex: 1;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Sidebar */
.sidebar {
    width: 450px;
    margin-top:30px;
    background: #f6f1ea;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    transition: width 0.3s ease;
}
.sidebar-inner {
    padding: 30px;
    box-sizing: border-box;
}

.sidebar.collapsed {
    width: 0;
    padding: 0;
}

.sidebar-title {
    cursor: pointer;
    text-align: center;
    margin: 20px 0 10px;
    font-size: 3rem;
    /* color: white; */
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
    
}

/* Toggle button */
.sidebar-toggle {
    position: absolute; /*relative to .course-layout */
    /* top: 20px; */
    /* left: 10px; */

    /* width: 48px; */
    /* height: 48px; */

    border: none;
    background: rgba(0,0,0,0.05);
    backdrop-filter: blur(4px);
    border-radius: 50%;

    font-size: 2rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2000;
    transition: all 0.25s ease;
    margin-left:25px;
    
}

/* iOS-style glass button */
.ios-btn {
    position: absolute;
    top: 20px;
    left: 16px;

    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 3000;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Press effect */
.ios-btn:active {
    transform: scale(0.94);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.2),
        inset 0 2px 6px rgba(0,0,0,0.15);
}

/* Icons */
.ios-btn .icon {
    position: absolute;
    font-size: 20px;
    color: #222;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* Default (sidebar open) */
.ios-btn .icon-open {
    opacity: 0;
    transform: translateX(-6px);
}

.ios-btn .icon-close {
    opacity: 1;
    transform: translateX(0);
}

/* Sidebar collapsed */
.sidebar-collapsed .ios-btn .icon-open {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-collapsed .ios-btn .icon-close {
    opacity: 0;
    transform: translateX(6px);
}

.sidebar-toggle:hover {
    background: rgba(0,0,0,0.12);
}

/* Icons */
.sidebar-toggle .icon {
    position: absolute;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Default: sidebar open */
.sidebar-toggle .icon-close {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-toggle .icon-open {
    opacity: 0;
    transform: translateX(-5px);
}

/* When sidebar collapsed */
.sidebar-collapsed .sidebar-toggle .icon-close {
    opacity: 0;
    transform: translateX(5px);
}

.sidebar-collapsed .sidebar-toggle .icon-open {
    opacity: 1;
    transform: translateX(0);
}


/* Content */
.content {
    flex: 1;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Video */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Seasons */
.season-header {
    cursor: pointer;
    margin: 20px 0 10px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
    
    transition: background 0.25s ease, transform 0.15s ease;
}


.season-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}

.season.open .season-list {
    max-height: 1000px; /* large enough */
    opacity: 1;
}

.lesson-item {
    transition: background 0.25s ease, transform 0.25s ease;
}

.lesson-item.active {
    background: #dfe6ff;
    transform: translateX(6px);
    font-weight: 600;
}

/* Progress */
.progress-container {
    height: 6px;
    background: #ddd;
    margin-top: 15px;
}

#progressBar {
    height: 100%;
    width: 0%;
    background: #6b8e23;
}


/* appointment */

.appointment-form {
    max-width: 350px;
    margin: 0 auto;
    background: #f6f1eb;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    
    padding-top:35px;
}

.appointment-create{
    padding-top: 35px;
    text-align: center;
    
}
.appointment-form h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    padding-top:35px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
}

label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007AFF;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #007AFF;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #0066d6;
}

.btn-submit:active {
    transform: scale(0.97);
}

.form-divider {
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0,0,0,0.15),
        transparent
    );
}



/* Underline hover effect for ALL nav links */
.navbar.navbar-custom .nav-link {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size:0.9rem !important;
    font-weight: 400;
    margin: 0 10px;
    position: relative;
    transition: color 0.8s ease;
}


.site-footer {
    background-color: #3e3533 !important;
    color: #d8d2cf;
    font-family: "Tinos", serif;
}

.footer-logo {
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
}

.footer-tagline {
    font-size: 14px;
    color: #cfc7c3;
    max-width: 320px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #cfc7c3;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social a {
    color: #cfc7c3;
    font-size: 18px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hover - text color change */
.navbar.navbar-custom .nav-link:hover {
    color: #333435 !important;
}

/* Hover - underline animation */
.navbar.navbar-custom .nav-link:hover::after {
    width: 80%; /* How long the underline should be */
    left: 50%;
}

/* Vertical separator between main menu and auth items */
.navbar-separator {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    height: 30px;
    margin: 0 20px;
    align-self: center;
}

/* Alternative: Pipe separator */
.navbar-separator-pipe {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
    align-self: center;
    font-size: 1.2rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar-separator {
        display: none;
    }
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

.insta-row {
    display: flex;
    flex-wrap: nowrap;        /* ONE ROW */
    gap: 20px;
    overflow-x: auto;         /* horizontal scroll */
    padding-bottom: 10px;
}

.insta-card {
    flex: 0 0 280px;          /* card width */
    position: relative;
    display: block;
}

.insta-card video {
    pointer-events: none;
}

.insta-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 12px;
    transition: opacity .3s ease;
    pointer-events: none;
}

.insta-overlay span {
    
    font-size: 14px;
    font-weight: 500;
    color:white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.insta-card:hover .insta-img {
    transform: scale(1.05);
}

.insta-card:hover .insta-overlay {
    opacity: 1;
}

.quote-box {
    position: relative;
    font-size: 22px;
    font-style: italic;
    text-align: center;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

    padding: 40px 30px;
    margin: 50px 0;
}

.quote-box::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 90px;
    opacity: 0.25;
}