/* common.css - Global Styles & Design System */
:root {
    --primary-color: #1e2a78;
    --primary-light: #2a3a9b;
    --secondary-color: #e68a2e;
    --secondary-light: #ff9e3d;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --max-width: 1600px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

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

ul {
    list-style: none;
}

img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    transition: var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3vw;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 42, 120, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 138, 46, 0.3);
}

/* Carousel Base Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* padding: 20px 0; */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-out;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    /* Allow vertical scroll but handle horizontal drag */
}

.carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-item {
    flex: 0 0 100%;
    /* Default for banner */
    padding: 10px;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 0 0 20px rgba(233, 125, 46, 0);
    animation: pulse 2s infinite;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn i {
    margin-left: 5px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 125, 46, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(233, 125, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 125, 46, 0); }
}
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    position: relative;
    /*width: 90%;*/
    /*max-width: 1000px;*/
    max-height: 70vh;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal__player {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.close-video:hover {
    transform: rotate(90deg);
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
}
/* Responsive Grid for Carousel Items */
@media (min-width: 768px) {
    .carousel-item-3>.carousel-item {
        flex: 0 0 50%;
    }

    .carousel-item-4>.carousel-item {
        flex: 0 0 50%;
    }

    .carousel-item-5>.carousel-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 1200px) {
    .carousel-item-3>.carousel-item {
        flex: 0 0 33.333%;
    }

    .carousel-item-4>.carousel-item {
        flex: 0 0 25%;
    }

    .carousel-item-5>.carousel-item {
        flex: 0 0 20%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5vw;
    height: 2.5vw;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
        height: 90vh;
    overflow-y: scroll;
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs span {
    margin: 0 10px;
}

/* Sidebar Styling */
.sidebar {
    position: sticky;
    top: 150px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
}

.sidebar-widget {
    margin-bottom: 35px;
}

.sidebar-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.sidebar-menu li a:hover {
    color: var(--secondary-color);
    padding-left: 0px;
}

.sidebar-menu li a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* FAQ Section Styles (Copied for consistency if not importing faq.css) */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px;
    background: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    line-height: 1.8;
    color: var(--text-color);
}
@media (max-width: 768px){
    .breadcrumbs span{
        margin: 0;
    }
    .video-container {
    width: 90%;
    max-height: auto;
    }
    .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    }
}