:root {
    --primary-color: #0d3b66;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

.global-drawer-launchers {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 1085;
    pointer-events: none;
}

.global-drawer-toggle {
    position: fixed;
    top: 88px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #0d3b66, #1f6aa5);
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.28);
    pointer-events: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.global-drawer-toggle.left {
    left: 14px;
}

.global-drawer-toggle.right {
    right: 14px;
}

.global-drawer-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(13, 59, 102, 0.34);
}

.global-drawer-toggle.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.global-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.42);
    backdrop-filter: blur(2px);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.global-drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.global-side-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(82vw, 340px);
    background: #ffffff;
    z-index: 1082;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

.global-side-drawer.right {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

.global-side-drawer.left {
    left: 0;
}

.global-side-drawer.is-open {
    transform: translateX(0);
}

.global-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(13, 59, 102, 0.1);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.global-drawer-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--primary-color);
    background: rgba(13, 59, 102, 0.08);
}

.global-drawer-body {
    padding: 1rem;
}

.global-side-drawer .nav-link {
    color: #0d3b66;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
}

.global-side-drawer .nav-link:hover {
    background: rgba(13, 59, 102, 0.08);
    color: #e76f51;
}

body.drawer-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .global-drawer-toggle {
        top: 76px;
        width: 38px;
        height: 38px;
    }
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.navbar .container {
    max-width: 1480px;
}

.navbar-nav {
    gap: 0.08rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.3rem;
    padding: 0.45rem 0.45rem;
    color: var(--primary-color) !important;
    position: relative;
    transition: var(--transition);
}

.navbar .btn-primary {
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
}

.navbar .btn-login {
    padding: 0.45rem 1.15rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
}

.btn-primary:hover {
    background: #0a2e52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 59, 102, 0.4);
}

/* Reusable action button style for consistent look across pages */
.btn-uniform-action {
    min-width: 140px;
    height: 46px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.55rem 1.7rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.9) 0%, rgba(23, 42, 69, 0.95) 100%);
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2.1rem;
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hero Gallery */
.hero-gallery {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    height: 200px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-row: span 2;
    height: 415px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 59, 102, 0.9), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

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

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: #6c757d;
    margin-top: 20px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    padding: 20px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-image-carousel .about-carousel-img {
    height: 420px;
    object-fit: cover;
}

.about-image-carousel .carousel-control-prev,
.about-image-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(13, 59, 102, 0.85);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.about-image-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.stat-text {
    color: #6c757d;
    font-weight: 500;
}

/* Programs Section */
.programs-section {
    background: var(--light-bg);
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    border: none;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

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

.program-header {
    border-radius: 10px 10px 0 0;
    background: linear-gradient(135deg, var(--primary-color), #1a5276);
    padding: 25px;
    color: white;
    text-align: center;
}

.program-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.program-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.program-body {
    padding: 25px;
}

.program-body p {
    min-height: 96px;
}

.tuition-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.tuition-table th {
    background: #f1f5f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid #e2e8f0;
}

.tuition-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.tuition-table tr:last-child td {
    border-bottom: none;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.tuition-table tr:hover {
    background: #f8fafc;
}

.program-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.total-fee {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
    display: block;
}

.fee-note {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

/* Centers Section */
.centers-section {
    background: white;
    position: relative;
}

.center-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin: 0 10px;
    border: 2px solid #f1f5f9;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.center-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.center-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #1a5276);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
    transition: var(--transition);
}

.center-card:hover .center-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--accent-color), #d65a40);
}

.center-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.center-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.center-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.center-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* Carousel Styles */
.carousel-center .carousel-item,
.carousel-faculty .carousel-item {
    padding: 0 15px;
}

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

.centers-section:hover .carousel-center .carousel-control-prev,
.centers-section:hover .carousel-center .carousel-control-next,
.faculty-section:hover .carousel-faculty .carousel-control-prev,
.faculty-section:hover .carousel-faculty .carousel-control-next {
    opacity: 1;
}

.carousel-center .carousel-control-prev:hover,
.carousel-center .carousel-control-next:hover,
.carousel-faculty .carousel-control-prev:hover,
.carousel-faculty .carousel-control-next:hover {
    background: var(--accent-color);
}

.carousel-center .carousel-indicators,
.carousel-faculty .carousel-indicators {
    bottom: -40px;
}

.carousel-center .carousel-indicators button,
.carousel-faculty .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    opacity: 1;
}

.carousel-center .carousel-indicators .active,
.carousel-faculty .carousel-indicators .active {
    background: var(--accent-color);
}

/* Faculty Section */
.faculty-section {
    background: var(--light-bg);
    position: relative;
}

.faculty-type-tabs {
    margin-top: 28px;
    margin-bottom: 14px;
    gap: 12px;
}

.faculty-type-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid #d9e2ef;
    background: #ffffff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 18px;
    transition: var(--transition);
}

.faculty-type-tabs .nav-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.faculty-type-tabs .nav-link.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 8px 18px rgba(13, 59, 102, 0.18);
}

.faculty-section .tab-content {
    margin-top: 8px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faculty-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
    margin: 0 10px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.faculty-img {
    width: 100%;
    height: 22.5 rem;
    object-fit: cover;
    border-bottom: 4px solid var(--accent-color);
    border-radius: 18px 18px 0 0;
}

.faculty-info {
    padding: 25px 20px;
}

.faculty-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0 5px;
}

.faculty-title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.faculty-dept {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.faculty-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.faculty-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 0.9rem;
}

.faculty-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.faculty-social a.social-link-website {
    color: var(--primary-color);
}

.faculty-social a.social-link-scholar {
    color: #4285f4;
}

.faculty-social a.social-link-linkedin {
    color: #0a66c2;
}

.faculty-social a.social-link-orcid {
    color: #a6ce39;
}

.faculty-social a.social-link-researchgate {
    color: #00ccbb;
}

.faculty-social a.social-link-website:hover {
    background: rgba(13, 59, 102, 0.12);
    color: var(--primary-color);
}

.faculty-social a.social-link-scholar:hover {
    background: rgba(66, 133, 244, 0.12);
    color: #4285f4;
}

.faculty-social a.social-link-linkedin:hover {
    background: rgba(10, 102, 194, 0.12);
    color: #0a66c2;
}

.faculty-social a.social-link-orcid:hover {
    background: rgba(166, 206, 57, 0.16);
    color: #7aa516;
}

.faculty-social a.social-link-researchgate:hover {
    background: rgba(0, 204, 187, 0.14);
    color: #00b3a4;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: linear-gradient(180deg, #f9fbff 0%, #f2f6fb 100%);
}

.testimonial-carousel {
    max-width: 980px;
    margin: 0 auto 8px;
}

.testimonial-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(13, 59, 102, 0.08);
    padding: 56px 48px;
    text-align: center;
    border: 1px solid #e9eef6;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.4rem;
    color: rgba(231, 111, 81, 0.2);
    position: absolute;
    top: 18px;
    left: 24px;
}

.testimonial-card p {
    font-size: 1.45rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #4a5560;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.55rem;
}

.testimonial-card span {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.25);
}

.testimonial-carousel .carousel-control-prev {
    left: -64px;
}

.testimonial-carousel .carousel-control-next {
    right: -64px;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    background: var(--accent-color);
}

.testimonial-carousel .carousel-indicators {
    display: none;
}

.testimonial-more-wrap {
    margin-top: 28px;
}

/* Student Clubs */
.clubs-section {
    background: white;
}

.club-card {
    display: block;
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    height: 100%;
    text-decoration: none;
    transition: var(--transition);
}

.club-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

.club-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.club-card p {
    color: #6c757d;
    margin-bottom: 16px;
}

/* External Embed Pages */
.embed-page {
    background: var(--light-bg);
}

.embed-section {
    padding: 90px 0;
}

.embed-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #eef2f7;
}

.embed-frame {
    width: 100%;
    height: 78vh;
    border: none;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5f 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-cta {
    background: var(--accent-color);
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(231, 111, 81, 0.4);
}

.btn-cta:hover {
    background: #d65a40;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.6);
}

/* Footer */
footer {
    background: #0f1e3d;
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 10px 0;
}

.footer-col h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-col p {
    margin: 15px 0;
    line-height: 1.7;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 18px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 12px;
    margin-top: 4px;
    min-width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.95rem;
}

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

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

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

#installPwaBtn {
    border-width: 2px;
    border-radius: 999px;
    padding: 0.5rem 1rem;
}

#installPwaBtn.is-installable {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    animation: pwaPulse 1.8s ease-in-out infinite;
}

.pwa-help-toast {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    min-width: 300px;
    backdrop-filter: blur(4px);
}

.pwa-help-toast .toast-header {
    border-bottom: 0;
    background: rgba(13, 59, 102, 0.08);
    color: var(--primary-color);
}

.pwa-help-toast .toast-body {
    color: var(--dark-text);
    font-size: 0.92rem;
    line-height: 1.45;
}

@keyframes pwaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(1);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.animate-on-scroll[data-reveal-variant='left'] {
    transform: translate3d(-38px, 0, 0) scale(1);
}

.animate-on-scroll[data-reveal-variant='right'] {
    transform: translate3d(38px, 0, 0) scale(1);
}

.animate-on-scroll[data-reveal-variant='up'] {
    transform: translate3d(0, 30px, 0) scale(1);
}

.animate-on-scroll[data-reveal-variant='zoom'] {
    transform: translate3d(0, 0, 0) scale(0.93);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.35rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-row: span 1;
        height: 200px;
    }

    section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
        .faculty-img {
            height: 22.5rem;
            border-radius: 14px 14px 0 0;
        }
    .navbar-nav {
        margin-top: 15px;
        text-align: center;
    }

    .nav-link {
        margin: 0.3rem 0;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.1rem;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        width: 50%;
        margin-bottom: 20px;
    }

    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .centers-grid {
        display: none;
    }

    .carousel-center,
    .carousel-faculty {
        display: block !important;
    }

    .testimonial-card {
        padding: 38px 24px;
        min-height: 250px;
    }

    .testimonial-card p {
        font-size: 1.15rem;
    }

    .testimonial-card h5 {
        font-size: 1.3rem;
    }

    .testimonial-carousel .carousel-control-prev,
    .testimonial-carousel .carousel-control-next {
        width: 38px;
        height: 38px;
    }

    .testimonial-carousel .carousel-control-prev {
        left: 8px;
    }

    .testimonial-carousel .carousel-control-next {
        right: 8px;
    }

    .embed-frame {
        height: 70vh;
    }

    .program-body p {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.15rem;
    }

    .navbar .btn-primary {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-btns .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }

    .stat-item {
        width: 100%;
    }

    .tuition-table {
        font-size: 0.9rem;
    }

    .tuition-table th,
    .tuition-table td {
        padding: 8px 10px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-light-custom {
    background: var(--light-bg) !important;
}

.shadow-custom {
    box-shadow: var(--card-shadow) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Hide carousel by default */
.carousel-center,
.carousel-faculty {
    display: none;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5f 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    justify-content: center;
    margin-top: 1rem;
}

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

/* Detail Page Styles */
.detail-section {
    padding: 80px 0;
}

.detail-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.lcic-overview-card {
    border: 1px solid #e6edf5;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.lcic-title {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1.2;
}

.lcic-info-block {
    border-left: 4px solid var(--secondary-color);
    padding-left: 16px;
    margin-bottom: 24px;
}

.lcic-info-block h4,
.lcic-side-card h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.lcic-info-block p,
.lcic-side-card p {
    margin-bottom: 0;
    line-height: 1.8;
}

.lcic-video-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.lcic-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.lcic-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.lcic-side-card {
    position: sticky;
    top: 100px;
}

.curriculum-table {
    font-size: 0.92rem;
}

.curriculum-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.curriculum-table td:last-child,
.curriculum-table th:last-child {
    white-space: nowrap;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Faculty Detail Page */
.faculty-detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.faculty-detail-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* Program Detail Sidebar */
.detail-sticky-card {
    top: 100px;
}

.flyer-modal-content {
    border-radius: 14px;
    overflow: hidden;
}

.flyer-modal-image {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .faculty-detail-grid {
        grid-template-columns: 1fr;
    }

    .lcic-title {
        font-size: 1.7rem;
    }

    .lcic-side-card {
        position: static;
    }
}

.footer-copyright {
    align-items: center;
    color: white;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.95) 0%, rgba(23, 42, 69, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}


.auth-promo {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    padding: 34px;
    box-shadow: var(--card-shadow);
}

.auth-promo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.auth-promo p,
.auth-promo li {
    color: #2f3e4f;
}

.auth-card {
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.auth-brand-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #1a5276);
}

.btn-google {
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    background: #fff;
    transition: var(--transition);
}

.btn-google:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.login-page .policy {
    color: #6b7280;
}

.login-page .policy a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.login-page .policy a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .login-page {
        padding: 24px 0;
    }

    .auth-promo {
        padding: 24px;
    }

    .auth-promo h1 {
        font-size: 1.55rem;
    }
}