html, body {
    font-size: 20px;
    font-weight: 500;
    overflow-x: hidden;
}




html, body, #mainNav {
    font-family: "Arima", system-ui !important;
}
body h1, body h2, body h3, body h4, body h5 {
    /* font-family: "Unna", serif !important; */
    font-family: "Arima", system-ui !important;
}
.lead {
    font-weight: 700 !important;
    color: #000000 !important;
}
.text-uppercase {
    text-transform: capitalize !important;
}

p {
    text-align: justify;
}

.timetable-schedule {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #dddddd;
    margin: 0;
    padding: 0;
}
.timetable-schedule .table {
    width: 100%;
    margin: 0;
}

form label {
    margin-bottom: 5px;
}

body.homepage {
    padding-top: 130px;
}

body {
    padding-top: 100px;
}

/* Ensure content is not hidden behind fixed navbar */
main, .main-content, .content-wrapper {
    position: relative;
    z-index: 1;
}

/* Additional spacing for logged-in users (but not on homepage) */
body.logged-in:not(.homepage) {
    padding-top: 120px;
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1440px;
    }
}

@media (min-width: 992px) {
    .page-section .page-section-heading {
        font-size: 50px !important;
        font-weight: 700 !important;
    }
}


/* Bubble Slider */
#testimonials {
    width: 100%;
}

.bubble blockquote {
	margin: 10px 10px 0;
	background: #d6c3cd;
	padding: 60px;
	position: relative;
	border: none;
	border-radius: 8px;
	font-size: 1.25em;
}
.bubble blockquote:before, .bubble blockquote:after {
	content: "\201C";
	position: absolute;
	font-size: 80px;
	padding: 10px;
	line-height: 1;
}
.bubble blockquote:before {
	top: 0;
	left: 10px;
}
.bubble blockquote:after {
	content: "\201D";
	right: 10px;
	bottom: -.5em;
}
.bubble div {
	width: 0;
	height: 0;
	border-left: 0 solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #d6c3cd;
	margin: 0 0 0 60px;
	margin-bottom: 10px;
}
.bubble cite {
	padding-left: 20px;
	font-size: 1.1em; /*1.25em*/
    color:#984C75;
}

.slick-prev:before, .slick-next:before {
    color: #984C75;
}
/**********************************************/
body {
    margin: 0;
    padding: 0;
    padding-top: 72px;
    
}

hr {
    border-width: 0.5px;
    border-color: #d6c3cd;
}

.ml-auto {
    margin-left: auto;
    float: right;
}

.size-150 {
    width: 100%;
    max-width: 150px;
}

.size-320 {
    width: 100%;
    max-width: 320px;
}

.w-100p {
    max-width: 100%;
    width: 100%;
}

.modal .close {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.text-icon {
    position: relative;
    padding-left: 30px;
}
.text-icon i, .text-icon svg {
    position: absolute;
    top: 4px;
    left: 0;
}

.footer {
    background-image: url('../assets/pattern-chakras-white.webp');
}

.copyright-text {
    border-top: 1px solid #d6c3cd;
}

p a {
    color: #984C75;
}

p a:hover {
    color: #d6c3cd;
}

.loginUser {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}
.loginUser svg {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid;
    padding: 9px;
    margin-right: 6px;
}

.gallery a img {
    width: 33%;
    height: 16vw;
}

.link-list ul {
    list-style: none;
    padding-left: 0;
}
.link-list ul a {
    text-decoration: none;
    transition: 0.15s linear;
}
.link-list ul a:hover {
    opacity: 0.5;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

#mainNav .navbar-nav li.nav-item .dropdown-menu a.nav-link {
    color: #984C75;
}

.table > :not(caption) > tr th {
    background-color: #984C75;
    color: #ffffff;
}
.table tr td, .delete-item {
    cursor: pointer;
}
.table tr td input {
    display: none;
}
/* Teacher color legend - always keep text visible */
.teacher-legend .d-flex,
.teacher-legend .d-flex:hover,
.teacher-legend span,
.teacher-legend span:hover {
    color: #000000 !important;
    background-color: transparent !important;
}

/* Timetable teacher names - allow dynamic colors from backend */
.timetable-schedule .table td .teacher-name,
.timetable-schedule .table td .teacher-name:hover {
    background-color: transparent !important;
    font-size: 0.8rem !important;
}

/* Only apply hover effect to clickable table cells, not all table cells */
.table tr td.clickable:hover, 
.table tr td.checked,
.table tr td[onclick]:hover,
.table tr td[data-toggle]:hover {
    color: #ffffff;
    background-color: #984C75;
}

/* Ensure teacher color legend and other important text remains visible */
.teacher-legend .d-flex,
.timetable-schedule .table td:not(.clickable):hover,
.table tr td:not(.clickable):hover {
    color: inherit !important;
    background-color: inherit !important;
}

.btn {
    padding: 14px 15px !important;
    font-weight: 600;
}

.btn-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn-group a {
    text-decoration: none;
    padding: 14px 15px;
    color: #984C75;
    border: 1px solid #984C75;
    font-weight: 600;
}
.btn-group a:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.btn-group a:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.btn-group a:hover, .btn-group a.active {
    color: #ffffff;
    background-color: #984C75;
}

.iti.iti--allow-dropdown {
    display: block;
}

#registerForm {
    max-width: 1024px;
    margin: 0 auto;
}

#loginForm, #forgotPwdForm {
    max-width: 600px;
    margin: 0 auto;
}

.email-verify-wrap {
    position: relative;
}
.email-verify-wrap a#sendOTPBtn {
    position: absolute;
    padding: 10px !important;
    font-size: 12px;
    line-height: 14px !important;
    margin: 0;
    right: 6px;
    top: 40px;
}

.cart-details table {
    width: 100%;
    margin-bottom: 20px;
    font-size: 18px;
}
.cart-details table th, .cart-details table td {
    padding: 4px;
}
.cart-details table td {
    border-top: .5px solid #d6c3cd;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 10px;
}
.team-member a {
    text-decoration: none;
}
.team-member p.lead {
    text-align: center;
}

.icon-link a {
    text-decoration: none;
    background-color: #984C75;
    color: #ffffff;
    display: flex;
    padding: 6px;
    margin-bottom: 10px;
    border-radius: 8px;
    align-items: center;
    border: 2px solid #984C75;
    transition: 0.15s linear;
}
.icon-link img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    margin-right: 10px;
}
.icon-link p {
    font-size: 20px;
    margin: 0;
    transition: 0.15s linear;
    font-weight: 600;
}
.icon-link a:hover {
    background-color: transparent;
}
.icon-link a:hover p {
    background-color: transparent;
    color: #984C75;
}

.youtube-video {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    margin-bottom: 20px;
}
.youtube-video::after {
    display: block;
    content: "";
    padding-top: 56.25%; /* 16:9 aspect ratio */
}
.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ensure videos are visible and responsive */
.testimonial-vid {
    margin-bottom: 30px;
}

.testimonial-vid .youtube-video {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Responsive video sizing */
@media (max-width: 768px) {
    .testimonial-vid {
        margin-bottom: 20px;
    }
    
    .youtube-video {
        max-width: 100%;
    }
}

.video-gallery {
    width: 100%;
}
.video-gallery .youtube-video {
    display: inline-block;
    max-width: 49%;
}

.modal-header, .modal-footer {
    border-width: 1px !important;
}

#fix-social-bar {
    position: fixed;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#fix-social-bar a {
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0 !important;
    transition: all 0.3s ease;
    display: flex;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
#fix-social-bar a.fb {
    background-color: #43609C;
}
#fix-social-bar a.ig {
    background: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}
#fix-social-bar a.yt {
    background-color: #FF0000;
}
#fix-social-bar a:hover {
    width: 60px;
    color: #ffffff;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.4);
}
#fix-social-bar a i {
    display: flex;
    align-items: center;
    justify-content: center;
}


/***********************************************/
/**************Responsive Styles****************/

/* Hide fixed social bar on tablets and mobile */
@media (max-width: 1199px) {
    #fix-social-bar {
        display: none;
    }
}

/* Adjust social bar for medium screens */
@media (min-width: 1200px) and (max-width: 1399px) {
    #fix-social-bar a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    #fix-social-bar a:hover {
        width: 55px;
    }
}

/* Optimal for large screens (1400px+) at 100% zoom */
@media (min-width: 1400px) {
    #fix-social-bar a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    #fix-social-bar a:hover {
        width: 60px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 56px;
    }

    body.homepage {
        padding-top: 96px;
    }

    .navbar-nav .dropdown .dropdown-menu {
        display: block;
    }

    #mainNav .navbar-nav li.nav-item .dropdown-menu a.nav-link {
        color: #FFFFFF;
    }

    #mainNav .navbar-nav li.nav-item .dropdown-menu {
        background-color: transparent;
        border: none;
        padding-left: 15px;
        padding-top: 0;
        padding-bottom: 0;
    }

    #mainNav .navbar-nav li.nav-item .dropdown-menu a.nav-link:hover {
        background-color: transparent;
    }
    
    #mainNav .navbar-nav > li.nav-item > a.nav-link {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .table tr th span {
        display: none;
    }

    .blog-summary img {
        margin-bottom: 20px;
    }

    .contact_details {
        margin-bottom: 32px;
    }

    .testimonial-vid {
        margin: 15px 0;
    }
}

@media (max-width: 767px) {
    html, body, .icon-link p {
        font-size: 16px;
    }

    body {
        padding-top: 72px;
    }

    body.homepage {
        padding-top: 86px;
    }

    .lead {
        font-size: 1.2rem;
    }

    .page-section {
        padding: 4rem 0;
    }

    .timetable-schedule {
        overflow-x: auto;
    }

    .timetable-schedule .table {
        font-size: 13px;
    }

    .cart-details table {
        font-size: 16px;
    }

    .team-member-bio img {
        margin-bottom: 20px;
    }

    .team-member-bio .lead {
        text-align: center;
    }
    
    .gallery a img {
        width: 49%;
        height: 28vw;
    }

    .video-gallery .youtube-video {
        max-width: 100%;
    }

    .email-verify-wrap a#sendOTPBtn {
        padding: 8px !important;
        right: 3px;
        top: 32px;
    }

    .testimonial-vid {
        margin: 5px 0;
    }
}

/* Month Navigation Styling - Same as Class Buttons */
.month-navigation {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-month {
    text-decoration: none;
    padding: 14px 15px;
    color: #984C75;
    border: 1px solid #984C75;
    font-weight: 600;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
}

.btn-month:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.btn-month:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.btn-month:hover, .btn-month.active {
    color: #ffffff;
    background-color: #984C75;
    text-decoration: none;
}

/* Previous Month Button Styling */
.btn-month.btn-prev {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    font-weight: 500;
}

.btn-month.btn-prev:hover {
    background-color: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

.btn-month.btn-prev:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: none;
}

/* Table Styling - Back to Original */
.timetable-schedule .table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.timetable-schedule .table th {
    background-color: #984C75;
    color: white;
    padding: 8px 6px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
    margin: 0;
    vertical-align: middle;
}

.timetable-schedule .table td {
    padding: 6px;
    border: 1px solid #ddd;
    vertical-align: middle;
    background-color: #ffffff;
    margin: 0;
}

.timetable-schedule .table td:hover {
    background-color: #f8f9fa;
}

/* ============================
   Compact Footer Refinements
   ============================ */
.footer {
    font-size: 0.9rem; /* Reduce base font size in footer */
}

.footer h4 {
    font-size: 1.1rem; /* Smaller headings */
}

.footer p, .footer li {
    line-height: 1.5;
}

/* Override global btn padding for footer elements */
.footer .btn {
    padding: 8px 16px !important; /* Reduced from global 14px 15px */
    font-size: 0.9rem;
}

/* Specific fix for newsletter form height alignment */
.footer .newsletter-group .form-control {
    height: auto; 
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem; 
}

.footer .newsletter-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 600;
}

/* Reduce logo size slightly */
.footer .size-150 {
    max-width: 120px;
}

/* Adjust social buttons in footer */
.footer .btn-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important; /* Force no padding for icon centering */
}

.footer .copyright-text {
    font-size: 0.8rem;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .footer {
        text-align: center;
    }
    .footer .col-lg-3, .footer .col-lg-2, .footer .col-lg-4 {
         /* Ensure separation on mobile if margin utility classes are removed/reduced */
         /* But we kept mb-4 in blade so it should be fine. */
    }
}