/* ========================================
   HIDS - Premium CSS Styling
   ======================================== */

/* ========= ROOT VARIABLES ========= */
:root {
    --primary-color: #800080;
    --secondary-color: #3c033c;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ========= GLOBAL STYLES ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

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

/* ========= TOP HEADER ========= */
.top-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-img {
    max-height: 60px;
    transition: var(--transition);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-item small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

/* ========= NAVIGATION ========= */
.navbar {
    background: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 4px solid #d4af37;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.btn-apply {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-apply:hover {
    background: #c19b2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: var(--text-dark);
}

.navbar-toggler {
    border: 2px solid var(--white);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 15px 0;
    margin-top: 0;
    min-width: 250px;
}

.navbar .dropdown-item {
    padding: 12px 25px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar .dropdown-item i {
    color: var(--primary-color);
    width: 20px;
    font-size: 14px;
}

.navbar .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 30px;
}

.navbar .dropdown-divider {
    margin: 10px 20px;
    border-color: #e0e0e0;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

/* Desktop dropdown hover */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        pointer-events: none;
    }
    
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Add padding to dropdown toggle to create hover bridge */
    .navbar .dropdown-toggle {
        position: relative;
    }
    
    .navbar .dropdown-toggle::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= HERO SLIDER ========= */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
}

.carousel-caption h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #c19b2a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--text-dark);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-play {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 35px 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.btn-play i {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-color);
    margin-left: -10px;
}

.btn-play:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-play:hover i {
    animation: pulse-play 1s infinite;
}

@keyframes pulse-play {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Video Modal */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.modal-header .btn-close:hover {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(128, 0, 128, 0.8);
    border-radius: 50%;
    padding: 10px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* ========= ABOUT SECTION ========= */
.about-section {
    background: var(--white);
    padding: 100px 0;
}

.section-title .subtitle {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-section .lead {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-box {
    padding: 25px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(128, 0, 128, 0.2);
}

.feature-box i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.feature-box:hover i {
    color: var(--accent-color);
}

.feature-box h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-box p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.feature-box:hover p {
    color: rgba(255,255,255,0.9);
}

/* ========= PARALLAX CTA ========= */
.parallax-cta {
    background: url('assets/images/cta.jpg') center center/cover fixed;
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 0, 128, 0.85);
}

.parallax-cta .container {
    position: relative;
    z-index: 1;
}

.parallax-cta h2 {
    font-size: 48px;
    color: var(--white);
}

.parallax-cta .lead {
    font-size: 18px;
    color: rgba(255,255,255,0.95);
}

/* ========= COURSES SECTION ========= */
.courses-section {
    background: var(--bg-light);
    padding: 100px 0;
}

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

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

.course-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 0, 128, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.course-overlay i {
    font-size: 60px;
    color: var(--accent-color);
}

.course-content {
    padding: 30px;
}

.course-content h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.course-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.course-highlights li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.course-highlights li:last-child {
    border-bottom: none;
}

.course-highlights i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 12px;
}

.btn-view-course {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 14px;
}

.btn-view-course:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

.btn-view-course i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-view-course:hover i {
    margin-left: 12px;
}

/* ========= WHY CHOOSE US ========= */
.why-choose-section {
    background: var(--white);
    padding: 100px 0;
}

.why-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: var(--bg-light);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(128, 0, 128, 0.1);
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

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

.why-icon i {
    font-size: 36px;
    color: var(--white);
}

.why-card:hover .why-icon i {
    color: var(--primary-color);
}

.why-card h5 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* ========= PARTNERS & TRUST BADGES ========= */
.partners-section {
    background: var(--white);
    border-top: 1px solid #e0e0e0;
}

.partner-logo {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
   
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========= STATS SECTION ========= */
.stats-section {
    background: url('assets/images/bus.jpg') center center/cover;
    padding: 80px 0;
    position: relative;
    color: var(--white);
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.95) 0%, rgba(60, 3, 60, 0.9) 100%);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1;
    display: inline-block;
}

.stat-plus,
.stat-percent {
    font-size: 36px;
    color: var(--accent-color);
    font-weight: 700;
    margin-left: 5px;
}

.stat-label {
    font-size: 18px;
    color: var(--white);
    margin: 15px 0 5px;
    font-weight: 600;
}

.stat-suffix {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

/* ========= NEWS & EVENTS ========= */
.news-section {
    background: var(--bg-light);
}

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

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

.news-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: var(--accent-color);
    font-size: 14px;
}

.news-content h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.news-card:hover .news-content h4 {
    color: var(--accent-color);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ========= NEWSLETTER ========= */
.newsletter-section {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--white);
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 16px;
}

.newsletter-form .input-group {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    background: var(--white);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.btn-newsletter {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: #c19b2a;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ========= TESTIMONIALS ========= */
.testimonials-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 60px;
    color: rgba(128, 0, 128, 0.1);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
}

.student-name {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.student-course {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.rating i {
    color: var(--accent-color);
    font-size: 18px;
    margin: 0 2px;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#testimonialsCarousel .carousel-control-prev {
    left: -25px;
}

#testimonialsCarousel .carousel-control-next {
    right: -25px;
}

#testimonialsCarousel .carousel-control-prev i,
#testimonialsCarousel .carousel-control-next i {
    color: var(--white);
    font-size: 20px;
}

/* ========= FOOTER ========= */
.footer {
    background: #1e021e;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-widget h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

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

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-widget .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-widget .contact-info i {
    color: var(--accent-color);
    margin-top: 3px;
    font-size: 16px;
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

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

.footer-bottom a:hover {
    color: #c19b2a;
}

/* ========= STICKY BUTTONS ========= */
.sticky-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-btn {
    background: #25D366;
}

.sticky-btn:hover {
    transform: scale(1.1);
    color: var(--white);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 5px 30px rgba(212, 175, 55, 0.5);
    }
}

/* ========= SCROLL TO TOP ========= */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========= RESPONSIVE STYLES ========= */
@media (max-width: 991px) {
    .carousel-caption h1 {
        font-size: 36px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .parallax-cta h2 {
        font-size: 36px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .quote-icon {
        font-size: 40px;
        top: 20px;
        right: 20px;
    }
    
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        display: none;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .newsletter-content h3 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .newsletter-form .form-control,
    .btn-newsletter {
        border-radius: 10px !important;
    }
    
    .btn-newsletter {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .top-header {
        padding: 15px 0;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .about-section,
    .courses-section,
    .why-choose-section,
    .testimonials-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .parallax-cta {
        padding: 60px 0;
    }
    
    .parallax-cta h2 {
        font-size: 28px;
    }
    
    .sticky-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 15px;
    }
    
    .stats-section,
    .news-section,
    .newsletter-section {
        padding: 60px 0;
    }
    
    .news-content h4 {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 13px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .course-content h4 {
        font-size: 18px;
    }
    
    .why-card {
        padding: 30px 15px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .newsletter-content h3 {
        font-size: 20px;
    }
    
    .newsletter-content p {
        font-size: 14px;
    }
}

/* ========= SMOOTH SCROLL ========= */
html {
    scroll-behavior: smooth;
}

/* ========= LOADING ANIMATION ========= */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

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

/* ========= NOTIFICATION SYSTEM ========= */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    transition: right 0.3s ease-in-out;
}

.notification.show {
    right: 30px;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-success i {
    color: #28a745;
    font-size: 24px;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-error i {
    color: #dc3545;
    font-size: 24px;
}

.notification span {
    color: var(--text-dark);
    font-size: 14px;
    flex: 1;
}

/* ========= PRELOADER ========= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* ========================================
   HIDS - About Page Additional CSS
   ======================================== */

/* ========= PAGE HEADER ========= */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/images/header22.jpg');
    opacity: 0.5;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 0, 128, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
}

.breadcrumb-item {
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
    font-size: 20px;
}

/* ========= ABOUT HIDS SECTION ========= */
.about-hids-section {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper .main-image {
    position: relative;
    z-index: 1;
    border-radius: 15px;
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c19b2a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge-content {
    text-align: center;
    color: var(--primary-color);
}

.badge-content h3 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.badge-content p {
    font-size: 14px;
    font-weight: 700;
    margin: 5px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Value Cards */
.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.value-card:hover {
    background: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(128, 0, 128, 0.1);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
}

.value-icon i {
    font-size: 42px;
    color: var(--accent-color);
}

.value-card h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.values-list li {
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.values-list i {
    color: var(--accent-color);
    font-size: 18px;
}

/* ========= FOUNDER SECTION ========= */
.founder-section {
    background: var(--bg-light);
}

.founder-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.founder-image-wrapper {
    position: relative;
    display: inline-block;
}

.founder-image-wrapper img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.founder-quote-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.founder-quote-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.founder-content h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.founder-title {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.founder-bio .lead {
    font-size: 20px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
}

.founder-bio p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.founder-credentials h5 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.founder-credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.founder-credentials li {
    padding: 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.founder-credentials i {
    color: var(--accent-color);
    font-size: 18px;
}

/* ========= MANAGEMENT TEAM SECTION ========= */
.management-section {
    background: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(128, 0, 128, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(128, 0, 128, 0.95) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
}

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

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--white);
    transform: translateY(-5px);
}

.team-content {
    padding: 30px;
}

.team-content h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-position {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
}

.team-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.team-credentials {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.team-credentials small {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

/* ========= ACCREDITATION SECTION ========= */
.accreditation-section {
    background: var(--bg-light);
}

.accreditation-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accreditation-benefits li {
    padding: 15px 0;
    color: var(--text-dark);
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}

.accreditation-benefits i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 3px;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.accreditation-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.accreditation-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.accreditation-logo img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.accreditation-item:hover .accreditation-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.accreditation-item h5 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.accreditation-item p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Quality Cards */
.quality-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.quality-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(128, 0, 128, 0.2);
}

.quality-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

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

.quality-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.quality-card:hover .quality-icon i {
    color: var(--primary-color);
}

.quality-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quality-card:hover h5 {
    color: var(--white);
}

.quality-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.quality-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========= FACILITIES SECTION ========= */
.facilities-section {
    background: var(--white);
}

.facility-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(128, 0, 128, 0.15);
}

.facility-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    transform: rotate(360deg) scale(1.1);
}

.facility-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.facility-content {
    padding: 30px;
}

.facility-content h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.facility-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* Mini Facilities */
.mini-facility {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.mini-facility:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

.mini-facility i {
    font-size: 42px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.mini-facility h5 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.mini-facility:hover h5 {
    color: var(--white);
}

.mini-facility p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.mini-facility:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========= CTA ABOUT SECTION ========= */
.cta-about-section {
    background: url('https://via.placeholder.com/1920x500/1a472a/ffffff?text=Join+HIDS') center center/cover;
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.9) 0%, rgba(60, 3, 60, 0.85) 100%);
}

.cta-about-section .container {
    position: relative;
    z-index: 1;
}

.cta-about-section h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

/* ========= RESPONSIVE STYLES ========= */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 42px;
    }
    
    .floating-badge {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
    }
    
    .badge-content h3 {
        font-size: 36px;
    }
    
    .badge-content p {
        font-size: 12px;
    }
    
    .founder-card {
        padding: 30px;
    }
    
    .founder-content h3 {
        font-size: 28px;
    }
    
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
    }
    
    .floating-badge {
        width: 120px;
        height: 120px;
        bottom: 10px;
        right: 10px;
    }
    
    .badge-content h3 {
        font-size: 28px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .founder-card {
        padding: 25px;
    }
    
    .founder-content h3 {
        font-size: 24px;
        margin-top: 20px;
    }
    
    .team-image {
        height: 350px;
    }
    
    .facility-image {
        height: 250px;
    }
    
    .cta-about-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon i {
        font-size: 32px;
    }
    
    .founder-quote-icon {
        width: 50px;
        height: 50px;
        top: -15px;
        right: -15px;
    }
    
    .founder-quote-icon i {
        font-size: 22px;
    }
    
    .team-content {
        padding: 20px;
    }
    
    .facility-content {
        padding: 20px;
    }
}


.dropdown-item.active, .dropdown-item:active{
    background-color: var(--primary-color);
}


.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color)
    --bs-btn-focus-shadow-rgb: 128, 0, 128;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-gradient: none;
}


.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(128, 0, 128, 0.9)!important;
}

.page-header .lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #e3cae3;
}



/*3d gallery*/
/* ========= 3D GALLERY SLIDER SECTION ========= */


/* ========= 3D GALLERY SLIDER SECTION ========= */
.gallery-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(128, 0, 128, 0.02) 35px,
            rgba(128, 0, 128, 0.02) 70px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(212, 175, 55, 0.015) 35px,
            rgba(212, 175, 55, 0.015) 70px
        ),
        radial-gradient(circle at 20% 50%, rgba(128, 0, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.025) 0%, transparent 50%),
        #ffffff;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(128, 0, 128, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}


.gallery-3d-container {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1500px;
    overflow: hidden;
}

.gallery-3d-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Gallery Slide Items */
.gallery-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 450px;
    transform-origin: center;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: transform 0.5s ease;
    opacity: 0;
}

.gallery-slide img.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Loading Spinner */
.gallery-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: gallery-spin 1s linear infinite;
}

.gallery-slide img.loaded ~ .gallery-slide::before,
.gallery-slide.has-loaded::before {
    display: none;
}

@keyframes gallery-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Center Slide (Active) */
.gallery-slide.center {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
}

.gallery-slide.center img {
    transform: scale(1);
}

.gallery-slide.center:hover img {
    transform: scale(1.05);
}

/* Left Slide */
.gallery-slide.left {
    transform: translate(-130%, -50%) translateZ(-400px) rotateY(35deg) scale(0.75);
    z-index: 5;
    opacity: 0.6;
    filter: brightness(0.7);
}

/* Right Slide */
.gallery-slide.right {
    transform: translate(30%, -50%) translateZ(-400px) rotateY(-35deg) scale(0.75);
    z-index: 5;
    opacity: 0.6;
    filter: brightness(0.7);
}

/* Hidden Slides (Far Left/Right) */
.gallery-slide.hidden-left {
    transform: translate(-200%, -50%) translateZ(-600px) rotateY(45deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.gallery-slide.hidden-right {
    transform: translate(100%, -50%) translateZ(-600px) rotateY(-45deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(128, 0, 128, 0.3);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-left {
    left: 50px;
}

.gallery-nav-right {
    right: 50px;
}

/* Slide Counter */
.gallery-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(128, 0, 128, 0.9);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    z-index: 20;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.gallery-counter #currentSlide {
    color: var(--accent-color);
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-3d-container {
        height: 500px;
    }
    
    .gallery-slide {
        width: 600px;
        height: 380px;
    }
    
    .gallery-nav-left {
        left: 30px;
    }
    
    .gallery-nav-right {
        right: 30px;
    }
}

@media (max-width: 991px) {
    .gallery-3d-container {
        height: 450px;
    }
    
    .gallery-slide {
        width: 500px;
        height: 320px;
    }
    
    .gallery-slide.left {
        transform: translate(-150%, -50%) translateZ(-350px) rotateY(40deg) scale(0.7);
    }
    
    .gallery-slide.right {
        transform: translate(50%, -50%) translateZ(-350px) rotateY(-40deg) scale(0.7);
    }
}

@media (max-width: 767px) {
    .gallery-3d-container {
        height: 400px;
        perspective: 1000px;
    }
    
    .gallery-slide {
        width: 90%;
        max-width: 400px;
        height: 280px;
    }
    
    .gallery-slide.left {
        transform: translate(-180%, -50%) translateZ(-300px) rotateY(45deg) scale(0.6);
        opacity: 0.3;
    }
    
    .gallery-slide.right {
        transform: translate(80%, -50%) translateZ(-300px) rotateY(-45deg) scale(0.6);
        opacity: 0.3;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery-nav-left {
        left: 10px;
    }
    
    .gallery-nav-right {
        right: 10px;
    }
    
    .gallery-counter {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .gallery-counter #currentSlide {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .gallery-3d-container {
        height: 350px;
    }
    
    .gallery-slide {
        max-width: 320px;
        height: 240px;
    }
    
    .gallery-slide.left,
    .gallery-slide.right {
        opacity: 0;
        pointer-events: none;
    }
}

/* Animation for slide transition */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(-200px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(0) scale(1);
    }
}

.gallery-slide.animating {
    animation: slideIn 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/*3d gallery ends*/


/*short courses card*/
/* ============================================
   SHORT COURSES CARD - HORIZONTAL LAYOUT
   ============================================ */

.short-courses-card {
    background: linear-gradient(135deg, #800080 0%, #530753 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(66, 3, 66, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.short-courses-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.short-courses-card:hover::before {
    opacity: 1;
}

.short-courses-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.short-courses-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.short-courses-card:hover .short-courses-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.short-courses-icon i {
    font-size: 48px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.short-courses-card:hover .short-courses-icon i {
    transform: rotate(-10deg);
}

.short-courses-content {
    flex: 1;
    color: #ffffff;
}

.short-courses-content h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.short-courses-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.btn-view-short-courses {
    background: #ffffff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-view-short-courses:hover {
    background: transparent;
    color: #ffffff;
    transform: translateX(5px);
    border-color: #ffffff;
}

.btn-view-short-courses i {
    transition: transform 0.3s ease;
}

.btn-view-short-courses:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Short Courses Card */
@media (max-width: 992px) {
    .short-courses-card {
        padding: 35px;
        gap: 25px;
    }
    
    .short-courses-icon {
        width: 80px;
        height: 80px;
    }
    
    .short-courses-icon i {
        font-size: 40px;
    }
    
    .short-courses-content h4 {
        font-size: 24px;
    }
    
    .short-courses-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .short-courses-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .short-courses-icon {
        width: 90px;
        height: 90px;
    }
    
    .short-courses-content h4 {
        font-size: 22px;
    }
    
    .short-courses-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn-view-short-courses {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .short-courses-card {
        padding: 25px 15px;
    }
    
    .short-courses-icon {
        width: 70px;
        height: 70px;
    }
    
    .short-courses-icon i {
        font-size: 32px;
    }
    
    .short-courses-content h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .short-courses-content p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .btn-view-short-courses {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

/* Animation on scroll */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.short-courses-card[data-aos="fade-up"] {
    animation: slideInRight 0.6s ease-out;
}


/* Fix for short courses button being unclickable */
.short-courses-card::before {
    pointer-events: none !important;
}

.short-courses-card {
    position: relative;
    z-index: 1;
}

.btn-view-short-courses {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.short-courses-content {
    position: relative;
    z-index: 5;
}