/* ===== VARIABLES & THEME ===== */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #3a56d4;
    --accent-color: #ff7a59;
    --light-accent: #ffebcc;
    --success-color: #00c896;
    --warning-color: #ffb74d;
    --text-color: #1a202c;
    --text-light: #6b7280;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 20px 40px rgba(74, 108, 247, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* ===== GLOBAL RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
    padding: 0 1rem;
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ===== NAVBAR MODERN RESPONSIF ===== */
.navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    will-change: padding, box-shadow;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    border-radius: 10px;
    padding: 3px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.brand-text {
    font-size: 0.85rem;
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 500;
}

.brand-text strong {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 800;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 10px;
    margin: 0.25rem 0;
    font-size: 0.95rem;
    text-align: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(74, 108, 247, 0.05);
}

.navbar-nav .btn {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION RESPONSIF ===== */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.03) 0%, rgba(255, 122, 89, 0.02) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero-section .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    padding: 0 0.5rem;
}

/* Hero Buttons Responsif */
.hero-section .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .btn i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* Hero Stats Cards Responsif */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    will-change: transform;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1;
}

.stat-content p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Hero Image Container Responsif */
.hero-image-container {
    position: relative;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    max-width: 500px;
    margin: 0 auto;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Floating Shapes Responsif */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    filter: blur(30px);
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 30px;
    left: -20px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Trust Badge Responsif */
.trust-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: pulse 2s ease-in-out infinite;
    width: auto;
    white-space: nowrap;
}

.trust-badge-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #00a884);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.trust-badge p {
    margin: 0;
    line-height: 1.2;
}

.trust-badge p.fw-bold {
    font-size: 0.85rem;
}

.trust-badge p.small {
    font-size: 0.75rem;
}

/* ===== ABOUT SECTION RESPONSIF ===== */
#about {
    position: relative;
    overflow: hidden;
}

.about-image-container {
    position: relative;
    padding: 1rem 0 2rem;
    order: 2;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-width: 500px;
    margin: 0 auto;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

/* About Badge Responsif */
.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.about-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s ease-in-out infinite;
}

/* About Features List Responsif */
.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.1), rgba(255, 122, 89, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.feature-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== UNIVERSITIES SECTION RESPONSIF ===== */
.universities-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.universities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

/* Logo Slider Responsif */
.logo-slider-container {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    margin: 0 -1rem;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    width: calc((140px + 1.5rem) * 16);
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 8 - 1.5rem * 8));
    }
}

.logo-slider-track {
    animation: slideLeft 40s linear infinite;
}

.logo-slider-item {
    flex: 0 0 140px;
    height: 85px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--white);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--gray-100);
    will-change: transform;
    transform: translateZ(0);
}

.logo-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(100%) opacity(0.7);
}

.logo-slider-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

.logo-slider-container::before,
.logo-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

/* Logo Grid Responsif */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.logo-category {
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

.logo-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.logo-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    aspect-ratio: 1;
    will-change: transform;
    transform: translateZ(0);
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* ===== PROGRAM CARDS RESPONSIF ===== */
#program {
    padding: 3rem 0;
}

.program-card {
    border: none;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card .card-body {
    padding: 1.5rem;
}

.program-card .card-title {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-card .card-title::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: inline-block;
}

.program-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-card ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.program-card li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.program-card li:last-child {
    margin-bottom: 0;
}

.program-card li i {
    font-size: 0.9rem;
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* ===== FEATURE CARDS RESPONSIF ===== */
.feature-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.1), rgba(255, 122, 89, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    will-change: transform;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== TESTIMONIAL CARDS RESPONSIF ===== */
.testimonial-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: var(--white);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.05;
    font-family: serif;
    line-height: 1;
}

.testimonial-card .card-body {
    padding: 1.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    margin-right: 1rem;
}

.testimonial-header h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-header p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.testimonial-text {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.rating {
    color: var(--warning-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ===== SUCCESS GALLERY RESPONSIF ===== */
.poster-thumbnail {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.poster-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ===== SERVICE CARDS RESPONSIF ===== */
.service-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    position: relative;
    margin-bottom: 1.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--text-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.service-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li i {
    color: var(--success-color);
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-card li strong {
    font-weight: 600;
    color: var(--text-color);
}

/* ===== CTA BOX RESPONSIF ===== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 1.5rem !important;
    margin: 0 1rem;
}

.cta-box h2 {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-box .lead {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.cta-box .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-box .btn i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.cta-box p.text-light {
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.9;
}

/* ===== WHATSAPP FLOATING BUTTON RESPONSIF ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.85rem;
    will-change: transform;
    transform: translateZ(0);
}

.whatsapp-float i {
    font-size: 1.25rem;
}

.whatsapp-float span {
    display: none;
}

/* ===== FOOTER RESPONSIF ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer p {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer i {
    margin-top: 3px;
    margin-right: 0.75rem;
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer hr {
    margin: 1.5rem 0;
    opacity: 0.1;
}

/* ===== ANIMATION CLASSES ===== */
/* Base animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animated state */
.fade-in.animated,
.fade-in-left.animated,
.fade-in-right.animated,
.fade-in-up.animated,
.slide-in-left.animated,
.slide-in-right.animated,
.scale-in.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Card hover effects */
.animate-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animate-on-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Hero image animation */
.hero-main-image.animated {
    animation: heroImageFloat 3s ease-in-out infinite alternate;
}

@keyframes heroImageFloat {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
}

/* Stats counter animation */
.stat-card.animated .stat-content h4 {
    animation: counterIncrement 1s ease-out forwards;
}

@keyframes counterIncrement {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* Logo slider animation enhancement */
.logo-slider-item.animated {
    animation: logoPop 0.4s ease-out forwards;
}

@keyframes logoPop {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Success gallery hover effect */
.poster-thumbnail:hover img {
    transform: scale(1.05);
}

/* Hover effect for feature cards */
.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

/* Hover effect for program cards */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 700px;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Hero Section Tablet */
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        text-align: left;
        padding: 0;
    }
    
    .hero-section .btn {
        width: auto;
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .stat-card {
        width: auto;
        flex: 1;
    }
    
    .hero-image-container {
        margin-top: 0;
    }
    
    .trust-badge {
        left: -20px;
        transform: none;
        bottom: 30px;
    }
    
    /* About Section Tablet */
    .about-image-container {
        order: 0;
    }
    
    /* Universities Section Tablet */
    .logo-slider-item {
        flex: 0 0 180px;
        height: 110px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* WhatsApp Float Tablet */
    .whatsapp-float span {
        display: inline;
    }
    
    .whatsapp-float {
        padding: 0.75rem 1.25rem;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    /* Navbar Desktop */
    .navbar-collapse {
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        text-align: left;
        margin: 0 0.25rem;
    }
    
    .navbar-nav .btn {
        margin-top: 0;
        margin-left: 1rem;
        width: auto;
    }
    
    /* Hero Section Desktop */
    .hero-section {
        padding: 160px 0 100px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-card {
        min-width: 180px;
    }
    
    /* Universities Section Desktop */
    .logo-slider-item {
        flex: 0 0 200px;
        height: 120px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    /* CTA Box Desktop */
    .cta-box {
        padding: 4rem !important;
        margin: 0;
    }
    
    .cta-box h2 {
        font-size: 2.5rem;
    }
    
    .cta-box .lead {
        font-size: 1.25rem;
    }
    
    .cta-box .btn {
        width: auto;
        padding: 1rem 3rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1320px;
    }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Optimize animations for mobile */
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-up,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        transform: translateY(15px);
        transition-duration: 0.4s !important;
        transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1) !important;
    }
    
    /* Reduce animation delays */
    .delay-1, .delay-2, .delay-3, 
    .delay-4, .delay-5, .delay-6 {
        transition-delay: 0.05s !important;
    }
    
    /* Disable non-essential animations */
    .hero-main-image.animated {
        animation: none;
    }
    
    .floating-shape {
        display: none;
    }
    
    .trust-badge {
        animation: none;
    }
    
    .shape-1,
    .shape-2 {
        animation: none;
        display: none;
    }
    
    .hero-main-image {
        transition: none;
    }
    
    /* Optimize logo slider for mobile */
    .logo-slider-track {
        animation-duration: 50s;
    }
    
    /* Reduce shadow intensities */
    .stat-card,
    .program-card,
    .feature-card,
    .testimonial-card,
    .service-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    /* Optimize hover effects */
    .program-card:hover,
    .feature-card:hover,
    .testimonial-card:hover,
    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card:hover .feature-icon {
        transform: scale(1.05);
    }
    
    /* Disable filter animations on mobile */
    .logo-slider-item img,
    .logo-item img {
        filter: grayscale(0%) opacity(0.8);
        transition: transform 0.3s ease;
    }
    
    /* Optimize testimonial rotation */
    .testimonial-card {
        transition: opacity 0.3s ease;
    }
    
    /* Optimize counter animations */
    @keyframes counterIncrement {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-up,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .animated {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .logo-slider-track {
        animation: none !important;
    }
    
    .hero-main-image.animated {
        animation: none !important;
    }
    
    .floating-shape {
        animation: none !important;
    }
    
    .trust-badge {
        animation: none !important;
    }
}

/* ===== UTILITIES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a44c9 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(74, 108, 247, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(74, 108, 247, 0.3);
}

/* Mobile-first spacing */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 2rem !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.3);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(74, 108, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0);
    }
}

/* Delay animations for better performance on mobile */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        animation: none !important;
        transition: none !important;
    }
    
    .animated {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== VIDEO SECTION STYLES ===== */
.video-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 100%;
    will-change: transform;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.25rem;
}

.video-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.85rem;
}

.video-stat-item i {
    color: var(--primary-color);
}

.video-cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.video-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.3);
}

/* Layout grid untuk 2 video berdampingan */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Responsive untuk 2 video berdampingan */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        margin-bottom: 0;
    }
    
    .video-stats {
        gap: 0.75rem;
    }
    
    .video-stat-item {
        font-size: 0.8rem;
    }
}

/* Tablet ukuran sedang */
@media (min-width: 769px) and (max-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* HP Landscape mode */
@media (max-width: 768px) and (orientation: landscape) {
    .video-container {
        height: 160px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-info h3 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
}

/* ===== ENHANCED LOGO GRID STYLES ===== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.logo-category {
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

.logo-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    position: relative;
    letter-spacing: -0.01em;
}

.logo-category h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.logo-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    height: 120px;
    will-change: transform;
    transform: translateZ(0);
}

.logo-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border-radius: 2px 2px 0 0;
}

.logo-item:hover::before {
    transform: scaleX(1);
}

.logo-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.05) 0%, rgba(255, 122, 89, 0.05) 100%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    z-index: 0;
}

.logo-item:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) opacity(0.8);
    z-index: 1;
    position: relative;
    object-fit: contain;
    padding: 5px;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

/* Logo item content */
.logo-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.logo-name {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover .logo-name {
    opacity: 1;
    transform: translateY(0);
}

/* Row styling for better alignment */
.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Tablet styles */
@media (min-width: 768px) {
    .logo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .logo-item {
        height: 140px;
        padding: 2rem;
    }
    
    .logo-item img {
        max-height: 70px;
    }
    
    .logo-category h4 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .row.g-3 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .logo-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .logo-item {
        height: 160px;
        padding: 2.25rem;
    }
    
    .logo-item img {
        max-height: 80px;
    }
    
    .logo-category h4 {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .row.g-3 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
}

/* Large desktop styles */
@media (min-width: 1200px) {
    .logo-item {
        height: 170px;
        padding: 2.5rem;
    }
    
    .logo-item img {
        max-height: 85px;
    }
}

/* Animation for logo items */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-item.animated {
    animation: logoReveal 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

/* Improve image quality */
.logo-item img[src*="wikipedia"] {
    filter: grayscale(100%) opacity(0.7);
}

.logo-item:hover img[src*="wikipedia"] {
    filter: grayscale(0%) opacity(1);
}

/* Placeholder fallback styles */
.logo-item img[src*="placeholder"] {
    filter: none;
    opacity: 1;
}

.logo-item:hover img[src*="placeholder"] {
    transform: scale(1.05);
    filter: none;
}

/* ===== SCHOOLS SECTION STYLES ===== */
.school-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.school-list ul li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-100);
    transition: transform 0.3s ease, color 0.3s ease;
}

.school-list ul li:last-child {
    border-bottom: none;
}

.school-list ul li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.school-list ul li:hover i {
    transform: scale(1.1);
}

.school-list ul li i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.counter-box {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.counter-box h3 {
    font-size: 2.5rem;
    line-height: 1;
}

/* Animation for counters */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-box.animated h3 {
    animation: countUp 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .counter-box h3 {
        font-size: 2rem;
    }
    
    .school-list {
        padding: 1.5rem;
    }
    
    .school-list ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .counter-box {
        padding: 1rem;
    }
    
    .counter-box h3 {
        font-size: 1.75rem;
    }
    
    .school-list {
        padding: 1rem;
    }
}

/* ===== SINGLE PHOTO GALLERY STYLES ===== */
.single-photo-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: white;
    transition: transform 0.3s ease;
    will-change: transform;
}

.single-photo-card:hover {
    transform: translateY(-5px);
}

.single-photo-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f8fafc 0%, #f1f5f9 100%);
}

.single-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-photo-card:hover .single-photo-img {
    transform: scale(1.02);
}

.single-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    opacity: 0;
}

.single-photo-container:hover .single-photo-overlay {
    background: rgba(37, 99, 235, 0.8);
    opacity: 1;
}

.single-photo-overlay .overlay-content {
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.single-photo-container:hover .overlay-content {
    transform: translateY(0);
}

.single-photo-info {
    background: white;
    border-top: 1px solid #e2e8f0;
}

.photo-meta span {
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Modal Full Size */
#photoModal .modal-content {
    border-radius: 15px;
    border: none;
}

#photoModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

#photoModal .modal-body {
    padding: 0;
    background: #000;
}

#photoModal .modal-footer {
    border-top: 1px solid #e2e8f0;
    background: white;
    border-radius: 0 0 15px 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-photo-card {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .single-photo-info {
        padding: 20px;
    }
    
    .photo-meta {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .photo-meta span {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .single-photo-info .row > div {
        text-align: center !important;
    }
    
    .view-full-photo {
        width: 100%;
        margin-top: 15px;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Hardware acceleration */
.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

/* Reduce repaints */
.no-repaint {
    will-change: transform, opacity;
    contain: layout paint style;
}

/* Optimize image loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}