@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #003366;
    --primary-light: #004d99;
    --accent: #D4AF37;
    --accent-dark: #b8962d;
    --secondary: #008080;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Modernized */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: all 0.4s ease;
    background: transparent;
    height: 90px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: white;
    transition: var(--transition);
}

.nav-links a:hover,
.dropdown:hover>a {
    color: var(--accent) !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--bg-gray);
    color: var(--primary) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dark-dropdown {
    background-color: #333 !important;
}

.dark-dropdown a {
    color: white !important;
}

.dark-dropdown a:hover {
    background-color: #444 !important;
    color: var(--accent) !important;
}

.btn-admission {
    padding: 10px 25px;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-admission:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.thread-cta-button {
    display: inline-block !important;
    background-color: var(--btn-bg, var(--primary)) !important;
    color: var(--btn-color, white) !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin: 20px 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    line-height: 1.2 !important;
    font-size: 1rem !important;
}

.thread-cta-button:hover {
    background-color: var(--btn-hover-bg, var(--accent)) !important;
    color: var(--btn-hover-color, var(--primary)) !important;
}

/* Quill Editor Support Classes */
.ql-align-center {
    text-align: center !important;
}
.ql-align-right {
    text-align: right !important;
}
.ql-align-justify {
    text-align: justify !important;
}

/* Ensure buttons in centered blocks are correctly positioned */
.ql-align-center .thread-cta-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    box-shadow: var(--shadow);
}

nav.scrolled .nav-links a:not(.btn-admission) {
    color: var(--primary);
}

nav.scrolled .logo {
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
}

nav .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

nav .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

nav .logo img {
    height: 40px !important;
    width: auto !important;
    flex-shrink: 0;
}

nav .logo .logo-dark {
    opacity: 0 !important;
}

nav.scrolled .logo .logo-light {
    opacity: 0 !important;
}

nav.scrolled .logo .logo-dark {
    opacity: 1 !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher a {
    color: white !important;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.7;
    transition: var(--transition);
    letter-spacing: 1px;
}

.lang-switcher a.active {
    opacity: 1;
    font-weight: 700;
    color: white !important;
}

.lang-switcher a:hover {
    opacity: 1;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    font-weight: 300;
    font-size: 1.2rem;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition);
}

nav.scrolled .lang-switcher a {
    color: var(--primary) !important;
}

nav.scrolled .lang-separator {
    color: var(--primary);
    opacity: 0.3;
}


/* Hero Section Modernized */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    /* Linear is smoother for Ken Burns */
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-content-modern {
    max-width: 1000px;
    text-align: left;
    z-index: 2;
}

.hero-subheader {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content-modern h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 40px;
}

.hero-btns-modern {
    margin-top: 30px;
}

.btn-learn-more {
    padding: 15px 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.btn-learn-more:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    left: 10%;
    bottom: 15%;
    display: flex;
    gap: 30px;
    z-index: 5;
}

.slider-arrow {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.slider-arrow:hover {
    opacity: 1;
    transform: scale(1.2);
}

.slider-progress-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 5;
}

.slider-progress-container span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: white;
    transition: width 0.6s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

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

/* Branches Strip */
.branches-strip {
    background-color: #275c9b;
    border-bottom: 12px solid #ecd808;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.branches-strip-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 15px 20px;
}

.branches-strip a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
    padding: 0 25px;
    transition: var(--transition);
}

.branches-strip a:hover {
    color: #ecd808;
    /* Yellow on hover */
    transform: translateY(-2px);
}

.branches-strip .divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    font-weight: 300;
}

/* Education System Slider */
.edu-system {
    padding: 100px 0;
    background: #fdfdfd;
    overflow: hidden;
    position: relative;
}

.edu-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll 200s linear infinite;
}

.edu-track img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

/* Sections */
section {
    padding: 100px 10%;
}

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

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

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

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content p, 
.principal-content p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col p {
    text-align: justify;
    line-height: 1.6;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.curriculum-badges {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 15px;
}

.curriculum-badges span {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    border: 1px solid var(--accent);
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.vm-box {
    background: var(--bg-gray);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    transition: var(--transition);
}

.vm-box:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

.vm-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* History Section Styles */
.history-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.dropcap {
    float: left;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 40px 30px;
    margin-top: 40px;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary);
    background-color: white;
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: white;
    color: var(--primary);
}
.facility-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.facility-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.4));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.facility-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

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

.facility-item:hover .facility-overlay h3,
.facility-item:hover .facility-overlay p {
    transform: translateY(0);
}

.facility-item:hover img {
    transform: scale(1.15);
}

/* Modern Article Card Styles */
.article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.article-card-image {
    position: relative;
    padding-top: 60%; /* Slightly more than 16:9 for better crop */
    overflow: hidden;
}

.article-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.article-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 15px;
}

.article-card-content h3 {
    color: #0066cc;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.article-card-title-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-card-title-link:hover h3 {
    color: var(--accent, #ecd808);
}

.article-card-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    text-align: justify;
}

.read-more-btn {
    color: #0066cc;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.article-card-footer {
    padding: 15px 25px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.article-card-footer span {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}


.facilities-btn-container {
    text-align: center;
    margin-top: 60px;
    width: 100%;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background: var(--primary);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
    font-family: inherit;
    white-space: nowrap;
}

.btn-see-more:hover {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Campuses Section */
.campuses {
    background: var(--bg-white);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15);
    height: 520px;
    border: 3px solid var(--accent);
}

#indonesia-map {
    height: 100%;
    width: 100%;
}

.campus-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: center;
    margin-top: 30px;
}

.campus-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.legend-pin {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    background: var(--primary);
    border: 2px solid var(--accent);
    transform: rotate(-45deg);
    flex-shrink: 0;
}

/* Leaflet custom marker */
.campus-marker-icon {
    background: none;
    border: none;
}

.marker-pin-wrapper {
    position: relative;
    width: 36px;
    height: 48px;
}

.marker-pin-wrapper .pin-body {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    background: var(--primary);
    border: 3px solid var(--accent);
    transform: rotate(-45deg);
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.4);
}

.marker-pin-wrapper .pin-body::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    top: 8px;
    left: 8px;
}

.marker-pin-wrapper .pin-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

/* Leaflet popup custom styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    border-top: 4px solid var(--accent) !important;
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.2) !important;
}

.leaflet-popup-content {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    font-size: 0.95rem !important;
    margin: 10px 16px !important;
}

/* Footer Modernized */
footer {
    background: transparent;
    color: #5f6368;
    padding: 30px 10% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: none;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item svg {
    margin-top: 5px;
    opacity: 0.9;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    color: white;
}

.contact-item-content span,
.contact-item-content a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: none;
    padding-top: 15px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 60px 20px 30px;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 5%;
    background: var(--bg-gray);
}

.testimonials-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.testimonials-track-container {
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card {
    min-width: calc(100% / 3);
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card-inner {
    background: white;
    border-radius: 14px;
    padding: 36px 28px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 22px;
    border: 3px solid var(--accent);
    overflow: hidden;
    background: #dde3ec;
    flex-shrink: 0;
}

.testimonial-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-quote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    flex: 1;
    margin-bottom: 22px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.testimonial-arrow {
    background: none;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    line-height: 1;
}

.testimonial-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
    }
}

.contact-list {
    list-style: none;
}

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

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-content strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

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

.contact-item-content strong a:hover {
    color: var(--accent);
    padding-left: 0;
}

.contact-item-content span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.5;
}

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

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

/* ============================================
   Modern Animation System
   ============================================ */

/* Scroll progress bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 0.08s linear;
}

/* Base states for scroll-animated elements */
[data-animate] {
    opacity: 0;
    will-change: opacity, transform;
    transition-property: opacity, transform, filter;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-duration: 0.9s;
}

[data-animate="fade-up"] {
    transform: translateY(50px);
}

[data-animate="fade-left"] {
    transform: translateX(-60px);
}

[data-animate="fade-right"] {
    transform: translateX(60px);
}

[data-animate="scale-up"] {
    transform: scale(0.88) translateY(20px);
    filter: blur(4px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Stagger delays */
[data-delay="1"] {
    transition-delay: 0.05s;
}

[data-delay="2"] {
    transition-delay: 0.15s;
}

[data-delay="3"] {
    transition-delay: 0.25s;
}

[data-delay="4"] {
    transition-delay: 0.35s;
}

[data-delay="5"] {
    transition-delay: 0.45s;
}

[data-delay="6"] {
    transition-delay: 0.55s;
}

/* Section underline grows in */
.section-header h2::after {
    width: 0;
    opacity: 0;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
                opacity 0.5s ease 0.5s;
}

.section-header.is-visible h2::after {
    width: 80px;
    opacity: 1;
}

/* Hero text: smoother easing + gentle float */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}



/* Enhanced program card hover */
.program-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.program-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 36px 60px rgba(0, 51, 102, 0.18);
}

.program-img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card:hover .program-img {
    transform: scale(1.06);
}

/* VM box enhanced easing */
.vm-box {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
}

/* Nav link underline slide */
.nav-links>li:not(.dropdown):not(.lang-switcher)>a {
    position: relative;
}

.nav-links>li:not(.dropdown):not(.lang-switcher)>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 1px;
}

.nav-links>li:not(.dropdown):not(.lang-switcher)>a:hover::after {
    width: 100%;
}

/* Campus map pin drop animation */
@keyframes pinDrop {
    0% {
        transform: translateY(-50px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translateY(6px) scale(1.1);
        opacity: 1;
    }

    80% {
        transform: translateY(-3px) scale(0.96);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    transition: var(--transition);
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
    position: absolute;
}

/* Hamburger positions */
.mobile-menu-btn span:nth-child(1) {
    transform: translateY(-8px);
}

.mobile-menu-btn span:nth-child(2) {
    transform: translateY(0);
}

.mobile-menu-btn span:nth-child(3) {
    transform: translateY(8px);
}

nav.scrolled .mobile-menu-btn span {
    background-color: var(--primary);
}

/* Open state for burger animation */
.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu-btn.open span {
    background-color: var(--primary) !important;
}

/* Animations */
.marker-pin-wrapper {
    animation: pinDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--pin-delay, 0s) both;
}

/* Responsive */
@media (max-width: 992px) {
    .about {
        grid-template-columns: 1fr;
        padding: 60px 5%;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
        display: block;
        width: 100%;
        text-align: inherit;
    }

    .section-header h2::after {
        left: 0;
        transform: none;
    }

    .section-header[style*="text-align: center"] h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    section {
        padding: 50px 20px;
        overflow-x: hidden;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .vm-box {
        padding: 20px;
    }

    .page-hero h1,
    .program-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .page-hero p,
    .program-hero p {
        font-size: 1rem !important;
    }

    .about-img {
        margin-top: 30px;
    }

    .page-hero h1,
    .program-hero h1,
    .bsd-hero h1,
    .gs-hero h1,
    .story-hero h1,
    .careers-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .page-hero p,
    .program-hero p,
    .bsd-hero p,
    .gs-hero p,
    .story-hero p,
    .careers-hero p {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    .about-img {
        margin-top: 30px;
    }

    .bsd-story,
    .gs-story,
    .principal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bsd-stats {
        grid-template-columns: 1fr !important;
    }

    .about-content,
    .history-text,
    .bsd-story,
    .gs-story {
        width: 100%;
        padding: 0;
    }

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

    .map-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
        height: 70px;
    }

    nav.no-transparent,
    #navbar.no-transparent {
        padding: 15px 5% !important;
        height: 70px !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: left;
    }

    .nav-links a {
        color: var(--primary) !important;
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .nav-links a.btn-admission {
        color: white !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        font-size: 0.95rem;
        line-height: 1.2;
        padding: 12px 22px;
        margin: 10px 0;
        text-align: center;
    }

    .nav-links li.dropdown .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links li.dropdown.active .dropdown-content {
        max-height: 500px;
    }

    .nav-links .lang-switcher {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-links .lang-switcher a {
        display: inline;
        padding: 0;
        font-size: 1.1rem;
        color: var(--primary) !important;
    }

    .nav-links .lang-switcher a:not(.active) {
        opacity: 0.7;
    }

    .nav-links .lang-separator {
        color: var(--primary);
        opacity: 0.3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .branch-strip-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .director-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

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

    .map-wrapper {
        height: 300px;
    }

    .campus-legend {
        gap: 12px 20px;
        justify-content: center;
    }

    /* Additional Mobile Fixes */
    .facilities-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 250px !important;
    }

    .curriculum-badges {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .history-text {
        text-align: left;
        font-size: 1rem;
    }

    .dropcap {
        font-size: 3.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* Navigation Override for pages without Hero */
nav.no-transparent,
#navbar.no-transparent {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    padding: 15px 60px !important;
    box-shadow: var(--shadow) !important;
}

nav.no-transparent .nav-links a:not(.btn-admission),
#navbar.no-transparent .nav-links a:not(.btn-admission) {
    color: var(--primary) !important;
}

nav.no-transparent .logo .logo-light,
#navbar.no-transparent .logo .logo-light {
    opacity: 0 !important;
}

nav.no-transparent .logo .logo-dark,
#navbar.no-transparent .logo .logo-dark {
    opacity: 1 !important;
}

nav.no-transparent .lang-switcher a,
#navbar.no-transparent .lang-switcher a {
    color: var(--primary) !important;
}

nav.no-transparent .lang-separator,
#navbar.no-transparent .lang-separator {
    color: var(--primary) !important;
    opacity: 0.3 !important;
}

nav.no-transparent .mobile-menu-btn span,
#navbar.no-transparent .mobile-menu-btn span {
    background: var(--primary) !important;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Rich Text Content & Quill Image Responsiveness */
.thread-content img, 
.ql-editor img, 
.req-content img,
.event-description img,
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Premium Page Transition Animations */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-fade-in {
    animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes containerSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-detail-container, .article-container {
    animation: containerSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Enhancing Hover States */
.pagination-btn {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 51, 102, 0.15);
}
.pagination-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* ============================================
   Google Forms Clone Custom Styles
   ============================================ */
body {
    background-color: #f0f4f9;
}

.form-app-container {
    max-width: 770px;
    margin: 120px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.form-header-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 12px;
    border-top: 10px solid var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    position: relative;
    overflow: hidden;
}

.form-question-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-left: 0px solid var(--primary-light);
    transition: border-left-width 0.2s ease, border-left-color 0.2s ease;
}

.form-question-card.active-card {
    border-left: 6px solid var(--primary-light);
}

.form-title-input {
    font-size: 2rem;
    font-weight: 700;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    width: 100%;
    padding: 8px 0;
    color: var(--primary);
    transition: border-bottom-color 0.3s ease;
}

.form-title-input:focus {
    border-bottom: 2px solid var(--primary);
}

.form-desc-input {
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    width: 100%;
    padding: 8px 0;
    margin-top: 15px;
    color: var(--text-dark);
}

.form-desc-input:focus {
    border-bottom: 2px solid var(--primary-light);
}

.question-title-input {
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    padding: 8px;
    width: 100%;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.question-title-input:focus {
    border-bottom: 2px solid var(--primary);
    background-color: #f1f3f4;
}

/* Custom Google Forms-style Type Dropdown */
.question-type-dropdown {
    position: relative;
    min-width: 200px;
    margin-bottom: 15px;
    user-select: none;
    flex-shrink: 0;
}

.question-type-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #dadce0;
    background-color: var(--bg-white);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.question-type-dropdown-toggle:hover {
    border-color: #b0b0b0;
}

.question-type-dropdown-toggle:focus,
.question-type-dropdown.open .question-type-dropdown-toggle {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.08);
}

.question-type-dropdown-toggle i.type-icon {
    font-size: 1.1rem;
    color: #5f6368;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.question-type-dropdown-toggle .toggle-label {
    flex-grow: 1;
}

.question-type-dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    color: #888;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.question-type-dropdown.open .question-type-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.form-question-card.dropdown-open {
    position: relative;
    z-index: 105;
}

.question-type-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 500;
    padding: 6px 0;
    overflow-y: auto;
    max-height: 300px;
    animation: gfDropIn 0.15s ease-out;
}

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

.question-type-dropdown.open .question-type-dropdown-menu {
    display: block;
}

.question-type-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 400;
    color: #3c4043;
    transition: background-color 0.12s;
    white-space: nowrap;
}

.question-type-dropdown-item:hover {
    background-color: #f1f3f4;
}

.question-type-dropdown-item.selected {
    background-color: #e8f0fe;
    font-weight: 600;
    color: var(--primary);
}

.question-type-dropdown-item i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    color: #5f6368;
    flex-shrink: 0;
}

.question-type-dropdown-item.selected i {
    color: var(--primary);
}

.question-type-dropdown-separator {
    height: 1px;
    background-color: #e8eaed;
    margin: 4px 0;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.option-input {
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    padding: 6px 0;
    flex-grow: 1;
    min-width: 0;
}

.option-input:focus {
    border-bottom: 2px solid var(--primary-light);
}

.btn-remove-option, .btn-remove-question {
    background: none;
    border: none;
    color: #5f6368;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.btn-remove-option:hover, .btn-remove-question:hover {
    background-color: #f1f3f4;
    color: #d93025;
}

.question-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f4;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #5f6368;
    cursor: pointer;
    user-select: none;
}

.switch-input {
    cursor: pointer;
}

.form-actions-bar {
    position: sticky;
    bottom: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    margin-top: 30px;
}

.form-actions-left {
    display: flex;
    gap: 10px;
}

.btn-form-action {
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-form-action.primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-form-action.secondary {
    background-color: #f1f3f4;
    color: #3c4043;
}

.btn-form-action.secondary:hover {
    background-color: #e8eaed;
}

.btn-form-action.danger {
    background-color: #fce8e6;
    color: #c5221f;
}

.btn-form-action.danger:hover {
    background-color: #fadddd;
}

/* Public Form Styles */
.public-form-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.public-question-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.public-question-title .required-star {
    color: #d93025;
    margin-left: 4px;
}

.public-text-answer {
    width: 100%;
    max-width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 1rem;
    outline: none;
    transition: border-bottom-color 0.3s;
    background-color: transparent;
}

.public-text-answer:focus {
    border-bottom: 2px solid var(--primary);
}

.public-choice-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.public-choice-option input[type="radio"], 
.public-choice-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.public-select-answer {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dadce0;
    background-color: white;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
}

/* Admin Dashboard Table */
.dashboard-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dashboard-table th, .dashboard-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dashboard-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary);
}

.dashboard-table tr:hover {
    background-color: #f8f9fa;
}

.action-links {
    display: flex;
    gap: 15px;
}

.action-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

.action-links .btn-view {
    color: var(--primary);
}

.action-links .btn-edit {
    color: var(--secondary);
}

.action-links .btn-delete {
    color: #d93025;
}

/* Response Dashboard */
.responses-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.88rem;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.response-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.response-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 8px;
}

.response-card-answer {
    margin-bottom: 12px;
}

.response-card-answer strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.response-card-answer span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ============================================
   Custom Modal System
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    width: 100%;
    padding: 32px 28px 24px;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.modal-icon.success {
    background: #e6f4ea;
    color: #1e7e34;
}

.modal-icon.error {
    background: #fce8e6;
    color: #c5221f;
}

.modal-icon.warning {
    background: #fff8e1;
    color: #e65100;
}

.modal-icon.info {
    background: #e8f0fe;
    color: #1a73e8;
}

.modal-icon.confirm {
    background: #fff3e0;
    color: #ef6c00;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 10px;
    line-height: 1.4;
}

.modal-message {
    font-size: 0.93rem;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: break-word;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 90px;
    justify-content: center;
}

.modal-btn:hover {
    transform: translateY(-1px);
}

.modal-btn:active {
    transform: translateY(0);
}

.modal-btn.primary {
    background-color: var(--primary, #003366);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

.modal-btn.primary:hover {
    background-color: var(--primary-light, #1a4a7a);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.35);
}

.modal-btn.danger {
    background-color: #d93025;
    color: #fff;
    box-shadow: 0 2px 8px rgba(217, 48, 37, 0.3);
}

.modal-btn.danger:hover {
    background-color: #c5221f;
    box-shadow: 0 4px 12px rgba(217, 48, 37, 0.35);
}

.modal-btn.secondary {
    background-color: #f1f3f4;
    color: #3c4043;
}

.modal-btn.secondary:hover {
    background-color: #e8eaed;
}

.modal-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.modal-top-accent.success { background: linear-gradient(90deg, #1e7e34, #34a853); }
.modal-top-accent.error { background: linear-gradient(90deg, #c5221f, #ea4335); }
.modal-top-accent.warning { background: linear-gradient(90deg, #e65100, #fb8c00); }
.modal-top-accent.info { background: linear-gradient(90deg, #1a73e8, #4285f4); }
.modal-top-accent.confirm { background: linear-gradient(90deg, #ef6c00, #ffa726); }

@media (max-width: 480px) {
    .modal-container {
        padding: 28px 20px 20px;
        max-width: 340px;
    }
    .modal-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Floating Action Toolbar (Google Forms style)
   ============================================ */
.floating-toolbar {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: 1px solid #dadce0;
    padding: 6px;
    gap: 8px;
    z-index: 100;
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1), left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-toolbar-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    transition: background-color 0.2s, color 0.2s;
    font-size: 1.1rem;
}

.floating-toolbar-btn:hover {
    background-color: #f1f3f4;
    color: var(--primary);
}

.floating-toolbar-btn i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-menu-item:hover {
    background-color: #f1f3f4 !important;
}
