/* Import Poppins Font with optimized display */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* Font Display Optimization */
@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
    font-display: swap;
}

/* CSS Custom Properties for Modern Design */
:root {
    --primary-color: #208780;
    --primary-light: #2ea89f;
    --primary-dark: #1a6b66;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --blue-color: #007bff;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Modern Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Modern Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-xxl: 2rem;

    /* Modern Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 35px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
}

/* Performance Optimizations */
@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;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer-modern,
    .btn,
    .hero-section::before,
    .hero-section::after {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
}
    /* --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
} */

/* Shine Effect for CTA Button */
.btn-shine {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 144, 226, 0.3),
        rgba(255, 255, 255, 0.8),
        rgba(74, 144, 226, 0.3),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
    transform: skewX(-20deg);
    width: 150%;
}

.btn-shine:hover::before {
    left: 100%;
}

.btn-shine:hover {
    background: linear-gradient(135deg, #f1f3f4 0%, #ffffff 100%);
    border-color: #4a90e2;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.25);
}

.btn-shine i {
    position: relative;
    z-index: 2;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-shine:hover i {
    transform: scale(1.1);
}

.btn-shine span {
    position: relative;
    z-index: 2;
}

/* Auto Shine Animation */
@keyframes autoShine {
    0% {
        left: -150%;
    }
    20% {
        left: -150%;
    }
    60% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.btn-shine.auto-shine::before {
    animation: autoShine 2.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Responsive Shine Effect */
@media (max-width: 768px) {
    .btn-shine {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .btn-shine i {
        margin-right: 6px;
    }
}

@media (max-width: 576px) {
    .btn-shine {
        font-size: 0.85rem;
        padding: 10px 16px;
        letter-spacing: 0.3px;
    }
}

/* Reduced Motion for Shine */
@media (prefers-reduced-motion: reduce) {
    .btn-shine::before {
        transition: none;
        animation: none;
    }
    
    .btn-shine:hover {
        transform: none;
    }
    
    .btn-shine:hover i {
        transform: none;
    }
}

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
    color: var(--gray-700);
    font-weight: 400;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-800);
}

.display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.display-5 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lead {
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Custom Primary Color Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(32, 135, 128, 0.25);
}

/* Primary Light Button */
.btn-primary-light {
    background-color: rgba(32, 135, 128, 0.1);
    border: 1px solid rgba(32, 135, 128, 0.3);
    color: var(--primary-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary-light:hover {
    background-color: rgba(32, 135, 128, 0.2);
    border-color: rgba(32, 135, 128, 0.5);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-light:focus {
    background-color: rgba(32, 135, 128, 0.2);
    border-color: rgba(32, 135, 128, 0.5);
    color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(32, 135, 128, 0.15);
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Modern Button Styles */
.btn {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xs) var(--spacing-md);
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
    border-radius: var(--border-radius-lg);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

/* Custom Outline Primary Button */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    font-weight: 600;
    transition: all var(--transition-normal);
}

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

.btn-outline-primary:focus {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(32, 135, 128, 0.25);
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    color: white;
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: var(--gray-400);
    border-color: var(--gray-400);
    background-color: transparent;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

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

/* Navbar Styles */
.navbar {
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar-brand img {
    border-radius: var(--border-radius-sm);
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    margin: 0 var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    border-radius: var(--border-radius-sm);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(32, 135, 128, 0.08);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -1px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), rgba(32, 135, 128, 0.8));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 2px 8px rgba(32, 135, 128, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

/* Special styling for dropdown toggles */
.nav-link.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle::after {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0.5rem;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.3s ease;
}

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

.dropdown-item {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: white;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(54, 69, 116, 0.8), rgba(64, 81, 137, 0.8)), url("./assets/images/hero/hero.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

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

/* Hero Mascot Styling */
.hero-mascot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.hero-mascot-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Badge Styles */
.badge-akreditasi {
    background: linear-gradient(135deg, var(--success-color), var(--primary-color));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-xxl);
    font-weight: 600;
    display: inline-block;
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* 3D Badge Effect for TERAKREDITASI A (UNGGUL) */
.badge-3d {
    background: linear-gradient(145deg, #28a745, #20c997, #17a2b8);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateX(5deg);
    position: relative;
    overflow: hidden;
}

.badge-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hero Title White Color */
.hero-title-white {
    color: #ffffff !important;
    /* text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(0, 0, 0, 0.5); */
    font-weight: 700;
}

/* Hero Year White Color with Border */
.hero-year-white {
    color: #ffffff !important;
    border-left: 4px solid #ffffff;
    padding-left: 1rem;
    /* text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(0, 0, 0, 0.4); */
    font-weight: 600;
    position: relative;
}

.hero-year-white::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.7), #ffffff);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Glass Effect for School Name and Tagline */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Shine Animation for Glass Effect */
.glass-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: glassShine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes glassShine {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}

.glass-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-effect h3 {
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.glass-effect p {
    margin-bottom: 1.5rem !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.glass-effect .d-flex {
    position: relative;
    z-index: 2;
}

/* Section Padding */
.section-padding {
    padding: var(--spacing-xxl) 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    background: var(--white);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Background Sections */
.bg-light {
    background-color: var(--gray-100) !important;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

/* Grid Pattern Overlay */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.01) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 2px, transparent 2px);
    background-size: 120px 120px, 120px 120px, 80px 80px, 80px 80px;
    background-position: 0 0, 0 0, 0 0, 40px 40px;
    pointer-events: none;
    z-index: 1;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% {
        background-position: 0 0, 0 0, 0 0, 40px 40px;
    }
    100% {
        background-position: 120px 120px, 120px 120px, 80px 80px, 120px 120px;
    }
}

/* Registration Section Specific Styles */
.cta-section h2,
.cta-section h3 {
    color: white !important;
}

.cta-section .nav-tabs .nav-link.active {
    background-color: white;
    color: var(--primary-color) !important;
    border-color: white;
    font-weight: 600;
}

.cta-section .nav-tabs .nav-link {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-section .nav-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 45px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 20px;
    min-height: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -45px;
    top: 2px;
    width: 32px;
    height: 32px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 32px;
}

.timeline-content h6 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Registration Section Decorative Elements */
.cta-section {
    position: relative;
    overflow: hidden;
}



/* Content Layer Above Grid */
.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Card Styling for Registration */
.cta-section .card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 3;
}

.cta-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}



/* List Styles */
.list-unstyled li {
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: center;
}

.list-unstyled li i {
    margin-right: var(--spacing-sm);
    font-size: 1.1rem;
}

/* Carousel Styles */
.carousel-item .card {
    margin: 0 var(--spacing-xs);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: var(--spacing-md);
    width: 3rem;
    height: 3rem;
}

/* Partner Logo Styles */
.partner-logo {
    filter: grayscale(100%);
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-sm);
    height: 100px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive Partner Logo Heights */
@media (max-width: 768px) {
    .partner-logo {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        height: 70px;
    }
}

/* Tab Styles */
.nav-tabs .nav-link {
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    border: 1px solid transparent;
    color: var(--gray-600);
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    font-weight: 500;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

/* List Group Styles */
.list-group-item {
    border: none;
    padding: var(--spacing-md);
    background-color: transparent;
    display: flex;
    align-items: center;
}

.list-group-item i {
    margin-right: var(--spacing-sm);
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900)) !important;
    padding: var(--spacing-xl) 0;
}

footer a {
    transition: all var(--transition-fast);
}

footer a:hover {
    color: var(--primary-light) !important;
    transform: scale(1.1);
}

/* Image Styles */
img {
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.img-fluid:hover {
    transform: scale(1.02);
}

/* Spacing Utilities */
.mb-custom {
    margin-bottom: var(--spacing-xl);
}

.mt-custom {
    margin-top: var(--spacing-xl);
}

.py-custom {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Text Utilities */
.text-muted {
    color: var(--gray-600) !important;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .section-padding {
        padding: var(--spacing-xl) 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }

    .card-body {
        padding: var(--spacing-md);
    }

    /* Responsive Mascot Styling */
    .hero-mascot-image {
        max-height: 350px;
        margin-top: var(--spacing-lg);
    }

    .hero-mascot-container {
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .badge-akreditasi {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    /* Small Mobile Mascot Styling */
    .hero-mascot-image {
        max-height: 280px;
        margin-top: var(--spacing-md);
    }

    .hero-mascot-container {
        text-align: center;
        margin-top: var(--spacing-sm);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Vision & Mission Card Icons */
.visi-misi-card {
    position: relative;
    overflow: hidden;
}

.visi-misi-card .rocket-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.visi-misi-card .card-body {
    position: relative;
    z-index: 2;
}

/* Primary Div Wrapper for Vision & Mission Text */
.visi-misi-wrapper {
    background-color: var(--bs-primary);
    color: white;
    padding: 12px 16px;
    border-bottom-right-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visi-misi-wrapper.visi-wrapper {
    background-color: var(--primary-color);
}

.visi-misi-wrapper.misi-wrapper {
    background-color: var(--primary-color);
}

/* Enhanced line height for vision and mission text content */
.visi-misi-card .card-text {
    line-height: 2;
    margin-bottom: 0;
}

.visi-misi-card .card-text p {
    line-height: 2;
    margin-bottom: 0;
}

.visi-misi-card .card-text ol {
    line-height: 2;
}

.visi-misi-card .card-text ol li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* Decorative blur elements for vision and mission section */
#visi-misi {
    position: relative;
    overflow: hidden;
}

.blur-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

.blur-decoration.top-right {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), rgba(32, 135, 128, 0.3));
    top: -150px;
    right: -150px;
}

.blur-decoration.bottom-left {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--warning-color), rgba(255, 193, 7, 0.3));
    bottom: -125px;
    left: -125px;
}

/* Ensure content stays above blur elements */
#visi-misi .container {
    position: relative;
    z-index: 2;
}

/* Program Keahlian Styling */
.program-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* RPL - Primary Color */
.program-rpl .card-title {
    color: var(--primary-color) !important;
}

.program-rpl .bi-check-circle-fill {
    color: var(--primary-color) !important;
}

.program-rpl:hover {
    border-top: 4px solid var(--primary-color);
}

.program-rpl .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(32, 135, 128, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-rpl:hover .card-body::before {
    opacity: 1;
}

/* TKJ - Warning Color */
.program-tkj .card-title {
    color: var(--warning-color) !important;
}

.program-tkj .bi-check-circle-fill {
    color: var(--warning-color) !important;
}

.program-tkj:hover {
    border-top: 4px solid var(--warning-color);
}

.program-tkj .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warning-color), rgba(255, 193, 7, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-tkj:hover .card-body::before {
    opacity: 1;
}

/* DKV - Blue Color */
.program-dkv .card-title {
    color: var(--blue-color) !important;
}

.program-dkv .bi-check-circle-fill {
    color: var(--blue-color) !important;
}

.program-dkv:hover {
    border-top: 4px solid var(--blue-color);
}

.program-dkv .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-color), rgba(0, 123, 255, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-dkv:hover .card-body::before {
    opacity: 1;
}

/* Program card body positioning for pseudo elements */
.program-card .card-body {
    position: relative;
}

/* Logo styling for program cards */
.program-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.program-card:hover .program-logo {
    transform: scale(1.1);
}

/* Geometric Decorations for Program Keahlian Section */
#program {
    position: relative;
    overflow: hidden;
}

/* Left Top Geometric Decorations */
.geometric-decoration-left {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 1;
    pointer-events: none;
}

/* Right Bottom Geometric Decorations */
.geometric-decoration-right {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 1;
    pointer-events: none;
}

/* Base geometric shapes */
.geo-square,
.geo-circle,
.geo-triangle {
    position: relative;
    display: inline-block;
    margin: 10px;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

/* Square shapes */
.geo-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), rgba(52, 152, 219, 0.6));
    border-radius: 8px;
    transform: rotate(15deg);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.geo-square.small {
    width: 40px;
    height: 40px;
    animation-delay: -1s;
}

/* Circle shapes */
.geo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--warning-color), rgba(255, 193, 7, 0.6));
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.geo-circle.small {
    width: 35px;
    height: 35px;
    animation-delay: -2s;
}

/* Triangle shapes */
.geo-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--success-color);
    filter: drop-shadow(0 8px 25px rgba(46, 204, 113, 0.3));
    animation-delay: -3s;
}

.geo-triangle.small {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--success-color);
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(8deg);
    }
}

/* Hover effects for geometric decorations */
#program:hover .geo-square {
    animation-duration: 3s;
    opacity: 0.9;
}

#program:hover .geo-circle {
    animation-duration: 4s;
    opacity: 0.9;
}

#program:hover .geo-triangle {
    animation-duration: 5s;
    opacity: 0.9;
}

/* Ensure content stays above decorations */
#program .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Geometric Decorations */
@media (max-width: 1200px) {
    .geometric-decoration-left {
        top: 30px;
        left: 30px;
    }
    
    .geometric-decoration-right {
        bottom: 30px;
        right: 30px;
    }
    
    .geo-square {
        width: 50px;
        height: 50px;
    }
    
    .geo-square.small {
        width: 35px;
        height: 35px;
    }
    
    .geo-circle {
        width: 45px;
        height: 45px;
    }
    
    .geo-circle.small {
        width: 30px;
        height: 30px;
    }
    
    .geo-triangle {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 35px solid var(--success-color);
    }
    
    .geo-triangle.small {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 25px solid var(--success-color);
    }
}

@media (max-width: 768px) {
    .geometric-decoration-left {
        top: 20px;
        left: 20px;
    }
    
    .geometric-decoration-right {
        bottom: 20px;
        right: 20px;
    }
    
    .geo-square,
    .geo-circle,
    .geo-triangle {
        margin: 5px;
        opacity: 0.5;
    }
    
    .geo-square {
        width: 35px;
        height: 35px;
    }
    
    .geo-square.small {
        width: 25px;
        height: 25px;
    }
    
    .geo-circle {
        width: 30px;
        height: 30px;
    }
    
    .geo-circle.small {
        width: 20px;
        height: 20px;
    }
    
    .geo-triangle {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 25px solid var(--success-color);
    }
    
    .geo-triangle.small {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 18px solid var(--success-color);
    }
}

@media (max-width: 576px) {
    .geometric-decoration-left {
        top: 10px;
        left: 10px;
    }
    
    .geometric-decoration-right {
        bottom: 10px;
        right: 10px;
    }
    
    .geo-square,
    .geo-circle,
    .geo-triangle {
        margin: 3px;
        opacity: 0.4;
    }
    
    .geo-square {
        width: 25px;
        height: 25px;
    }
    
    .geo-square.small {
        width: 18px;
        height: 18px;
    }
    
    .geo-circle {
        width: 22px;
        height: 22px;
    }
    
    .geo-circle.small {
        width: 15px;
        height: 15px;
    }
    
    .geo-triangle {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 18px solid var(--success-color);
    }
    
    .geo-triangle.small {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 12px solid var(--success-color);
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .geo-square,
    .geo-circle,
    .geo-triangle {
        animation: none;
    }
}

/* ===== PRESTASI SECTION STYLING ===== */

/* Prestasi Grid Layout */
.prestasi-grid {
    position: relative;
    z-index: 3;
}

/* Prestasi Card Styling */
.prestasi-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prestasi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.prestasi-card:hover::before {
    left: 100%;
}

.prestasi-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(32, 135, 128, 0.3);
}

/* Prestasi Icon Styling */
.prestasi-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 8px 25px rgba(32, 135, 128, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.prestasi-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all var(--transition-normal);
}

.prestasi-card:hover .prestasi-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(32, 135, 128, 0.4);
}

.prestasi-card:hover .prestasi-icon i {
    transform: scale(1.1);
}

/* Prestasi Content Styling */
.prestasi-content {
    position: relative;
    z-index: 2;
}

.prestasi-content h6 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.prestasi-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===== BLOB DECORATIONS STYLING ===== */

/* Blob Container */
.blob-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Base Blob Styling */
.blob {
    position: absolute;
    opacity: 0.6;
    transition: all var(--transition-slow);
    filter: blur(0.5px);
}

.blob svg {
    width: 100%;
    height: 100%;
    transition: all var(--transition-slow);
}

/* Blob 1 - Top Left */
.blob-1 {
    top: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    animation: blobFloat1 8s ease-in-out infinite;
}

.blob-1 svg path {
    fill: url(#gradient1);
}

/* Blob 2 - Top Right */
.blob-2 {
    top: -5%;
    right: -10%;
    width: 250px;
    height: 250px;
    animation: blobFloat2 10s ease-in-out infinite;
    animation-delay: -2s;
}

.blob-2 svg path {
    fill: url(#gradient2);
}

/* Blob 3 - Bottom Left */
.blob-3 {
    bottom: -15%;
    left: -8%;
    width: 280px;
    height: 280px;
    animation: blobFloat3 12s ease-in-out infinite;
    animation-delay: -4s;
}

.blob-3 svg path {
    fill: url(#gradient3);
}

/* Blob 4 - Bottom Right */
.blob-4 {
    bottom: -10%;
    right: -5%;
    width: 320px;
    height: 320px;
    animation: blobFloat4 9s ease-in-out infinite;
    animation-delay: -1s;
}

.blob-4 svg path {
    fill: url(#gradient4);
}

/* Blob 5 - Center Background */
.blob-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    opacity: 0.3;
    animation: blobFloat5 15s ease-in-out infinite;
    animation-delay: -3s;
}

.blob-5 svg path {
    fill: url(#gradient5);
}

/* Blob Animations */
@keyframes blobFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -15px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translate(-10px, 10px) rotate(-3deg) scale(0.95);
    }
    75% {
        transform: translate(15px, 5px) rotate(2deg) scale(1.02);
    }
}

@keyframes blobFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-25px, 20px) rotate(-8deg) scale(1.08);
    }
    66% {
        transform: translate(15px, -10px) rotate(4deg) scale(0.92);
    }
}

@keyframes blobFloat3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    30% {
        transform: translate(18px, -20px) rotate(6deg) scale(1.06);
    }
    60% {
        transform: translate(-12px, 15px) rotate(-4deg) scale(0.94);
    }
}

@keyframes blobFloat4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    40% {
        transform: translate(-20px, -18px) rotate(-7deg) scale(1.04);
    }
    80% {
        transform: translate(25px, 12px) rotate(3deg) scale(0.96);
    }
}

@keyframes blobFloat5 {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(-45%, -55%) rotate(2deg) scale(1.02);
    }
    40% {
        transform: translate(-55%, -45%) rotate(-2deg) scale(0.98);
    }
    60% {
        transform: translate(-48%, -52%) rotate(1deg) scale(1.01);
    }
    80% {
        transform: translate(-52%, -48%) rotate(-1deg) scale(0.99);
    }
}

/* Blob hover effects removed for consistent appearance */

/* ===== RESPONSIVE DESIGN FOR BLOBS AND PRESTASI ===== */

@media (max-width: 1200px) {
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 250px;
        height: 250px;
    }
    
    .blob-5 {
        width: 350px;
        height: 350px;
    }
    
    .prestasi-card {
        padding: var(--spacing-md);
    }
    
    .prestasi-icon {
        width: 50px;
        height: 50px;
    }
    
    .prestasi-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 200px;
        height: 200px;
        opacity: 0.4;
    }
    
    .blob-5 {
        width: 280px;
        height: 280px;
        opacity: 0.2;
    }
    
    .prestasi-card {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .prestasi-icon {
        width: 45px;
        height: 45px;
        margin-bottom: var(--spacing-sm);
    }
    
    .prestasi-icon i {
        font-size: 1.2rem;
    }
    
    .prestasi-content h6 {
        font-size: 0.9rem;
    }
    
    .prestasi-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 150px;
        height: 150px;
        opacity: 0.3;
    }
    
    .blob-5 {
        width: 200px;
        height: 200px;
        opacity: 0.15;
    }
    
    .prestasi-card {
        padding: var(--spacing-xs);
    }
    
    .prestasi-icon {
        width: 40px;
        height: 40px;
    }
    
    .prestasi-icon i {
        font-size: 1rem;
    }
}

/* Grid Pattern Responsive Design */
@media (max-width: 768px) {
    .cta-section::before {
        background-size: 30px 30px;
    }
    
    .cta-section::after {
        background-size: 90px 90px, 90px 90px, 60px 60px, 60px 60px;
        animation-duration: 15s;
    }
}

@media (max-width: 576px) {
    .cta-section::before {
        background-size: 25px 25px;
    }
    
    .cta-section::after {
        background-size: 75px 75px, 75px 75px, 50px 50px, 50px 50px;
        animation-duration: 12s;
    }
}

/* Reduced Motion for Grid */
@media (prefers-reduced-motion: reduce) {
    .cta-section::after {
        animation: none;
    }
}

/* Timeline Responsive Design */
@media (max-width: 768px) {
    .timeline {
        padding-left: 35px;
    }
    
    .timeline::before {
        left: 13px;
        top: 12px;
        bottom: 12px;
    }
    
    .timeline-item {
        padding-left: 18px;
        margin-bottom: 30px;
        min-height: 45px;
    }
    
    .timeline-marker {
        left: -35px;
        top: 2px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .timeline-content h6 {
        font-size: 14px;
    }
    
    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 11px;
        top: 10px;
        bottom: 10px;
    }
    
    .timeline-item {
        padding-left: 15px;
        margin-bottom: 25px;
        min-height: 40px;
    }
    
    .timeline-marker {
        left: -30px;
        top: 2px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    

}

/* QR Code Responsive Styling */
.qr-code-container {
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.qr-code-container img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 15px;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.qr-code-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.qr-code-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    font-weight: 500;
}

/* QR Code Responsive Design */
@media (max-width: 768px) {
    .qr-code-container img {
        max-width: 180px;
        padding: 12px;
        border-radius: 10px;
    }
    
    .qr-code-text {
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .qr-code-container img {
        max-width: 160px;
        padding: 10px;
        border-radius: 8px;
    }
    
    .qr-code-text {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .qr-code-container img {
        max-width: 140px;
        padding: 8px;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .qr-code-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion for QR Code */
@media (prefers-reduced-motion: reduce) {
    .qr-code-container img {
        transition: none;
    }
    
    .qr-code-container img:hover {
        transform: none;
    }
}

/* Google Maps Responsive Styling */
.maps-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.maps-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.maps-container:hover iframe {
    transform: scale(1.02);
}

/* Responsive adjustments for Google Maps */
@media (max-width: 768px) {
    .maps-container {
        height: 250px;
        border-radius: 6px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .maps-container iframe {
        border-radius: 6px;
    }
    
    .maps-container:hover iframe {
        transform: scale(1.01);
    }
}

@media (max-width: 576px) {
    .maps-container {
        height: 220px;
        border-radius: 4px;
        margin: 0 -5px;
    }
    
    .maps-container iframe {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .maps-container {
        height: 200px;
        margin: 0 -10px;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .maps-container {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
}

/* Reduced Motion for Maps */
@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }
    
    .prestasi-card::before {
        transition: none;
    }
    
    .prestasi-card:hover::before {
        left: -100%;
    }
    
    .maps-container,
    .maps-container iframe {
        transition: none;
    }
    
    .maps-container:hover iframe {
        transform: none;
    }

}

/* ===== KONTAK & LOKASI SECTION MODERN REDESIGN ===== */

/* Section Background & Layout */
.kontak-section-modern {
    position: relative;
    background: linear-gradient(135deg, rgba(32, 135, 128, 0.05) 0%, rgba(32, 135, 128, 0.15) 100%);
    overflow: hidden;
}

.kontak-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(32, 135, 128, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 135, 128, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric Decorations */
.kontak-geometric-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.kontak-geometric-decoration.top-left {
    top: 10%;
    left: 5%;
}

.kontak-geometric-decoration.top-right {
    top: 15%;
    right: 8%;
}

.kontak-geometric-decoration.bottom-left {
    bottom: 20%;
    left: 3%;
}

.kontak-geometric-decoration.bottom-right {
    bottom: 10%;
    right: 5%;
}

/* Geometric Shapes */
.geo-hexagon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), rgba(32, 135, 128, 0.8));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.geo-diamond {
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, rgba(32, 135, 128, 0.7), rgba(32, 135, 128, 0.9));
    transform: rotate(45deg);
    margin: 15px 0 0 20px;
    animation: rotate 8s linear infinite;
    opacity: 0.6;
}

.geo-pentagon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(32, 135, 128, 0.8), rgba(32, 135, 128, 0.6));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.7;
}

.geo-circle-outline {
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 10px 0 0 15px;
    animation: spin 10s linear infinite;
    opacity: 0.8;
}

.geo-triangle-outline {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--primary-color);
    animation: bounce 3s ease-in-out infinite;
    opacity: 0.7;
}

.geo-square-outline {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(32, 135, 128, 0.8);
    margin: 10px 0 0 10px;
    animation: float 5s ease-in-out infinite reverse;
    opacity: 0.6;
}

.geo-octagon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(32, 135, 128, 0.9), rgba(32, 135, 128, 0.7));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: rotate 12s linear infinite reverse;
    opacity: 0.7;
}

.geo-star {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), rgba(32, 135, 128, 0.6));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    margin: 8px 0 0 12px;
    animation: twinkle 2s ease-in-out infinite alternate;
    opacity: 0.8;
}

/* Header Styling */
.kontak-header {
    position: relative;
    z-index: 2;
}

.kontak-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.kontak-title {
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.kontak-title-underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(32, 135, 128, 0.6), var(--primary-color));
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

.kontak-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
}

/* Cards Container */
.kontak-cards-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Modern Card Styling */
.kontak-card-modern {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.kontak-card-modern .card-body {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.kontak-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.kontak-card-modern:hover::before {
    left: 100%;
}

.kontak-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.kontak-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(32, 135, 128, 0.1), rgba(32, 135, 128, 0.15));
    border-radius: 0 20px 0 100px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kontak-card-modern:hover .kontak-card-overlay {
    opacity: 1;
}

/* Card Icon */
.kontak-card-icon-wrapper {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), rgba(32, 135, 128, 0.8));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(32, 135, 128, 0.3);
    z-index: 3;
}

.kontak-card-icon {
    font-size: 1.5rem;
    color: white;
    animation: iconPulse 2s ease-in-out infinite;
}

.kontak-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

/* Contact Items */
.kontak-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(248, 249, 250, 0.5);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.kontak-item:hover {
    background: rgba(32, 135, 128, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.kontak-item-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.kontak-item:hover .kontak-item-icon {
    transform: scale(1.1) rotate(5deg);
}

.kontak-item-icon i {
    font-size: 1.2rem;
    color: white;
}

.kontak-item-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.kontak-item-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kontak-item-value {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.kontak-item-link {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: inline-block;
    max-width: 100%;
}

.kontak-item-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(32, 135, 128, 0.7));
    transition: width 0.3s ease;
}

.kontak-item-link:hover {
    color: rgba(32, 135, 128, 0.8);
    text-decoration: none;
}

.kontak-item-link:hover::after {
    width: 100%;
}

/* Maps Container Modern */
.maps-container-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), rgba(32, 135, 128, 0.8)) border-box;
    width: 100%;
    height: auto;
}

.maps-container-modern iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
    display: block;
}

.kontak-maps-description {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    padding: 0.8rem;
    background: rgba(32, 135, 128, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

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

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

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

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

@keyframes twinkle {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

@keyframes shimmer {
    0%, 100% { background-position: -200% center; }
    50% { background-position: 200% center; }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .kontak-geometric-decoration {
        display: none;
    }
    
    .kontak-title {
        font-size: 2rem;
    }
    
    .kontak-card-modern {
        border-radius: 15px;
        margin-bottom: 1.5rem;
    }
    
    .kontak-card-icon-wrapper {
        width: 40px;
        height: 40px;
        top: -10px;
        right: 15px;
    }
    
    .kontak-card-icon {
        font-size: 1.2rem;
    }
    
    .kontak-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .kontak-item-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.8rem;
        flex-shrink: 0;
    }
    
    .kontak-item-icon i {
        font-size: 1rem;
    }
    
    .kontak-item-content {
        flex: 1;
        min-width: 0; /* Allows text to wrap properly */
    }
    
    .kontak-item-value {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .kontak-item-link {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Maps responsive */
    .maps-container-modern iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .kontak-section-modern {
        padding: 2.5rem 0;
    }
    
    .kontak-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .kontak-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .kontak-card-modern {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .kontak-card-modern .card-body {
        padding: 1.5rem 1rem;
    }
    
    .kontak-card-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .kontak-item {
        flex-direction: row;
        text-align: left;
        padding: 0.8rem 0.5rem;
        margin-bottom: 0.8rem;
        background: rgba(248, 249, 250, 0.8);
    }
    
    .kontak-item-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.8rem;
        flex-shrink: 0;
    }
    
    .kontak-item-icon i {
        font-size: 0.9rem;
    }
    
    .kontak-item-label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .kontak-item-value {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .kontak-item-link {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        display: inline-block;
        max-width: 100%;
    }
    
    /* Maps responsive for small screens */
    .maps-container-modern iframe {
        height: 200px;
    }
    
    .kontak-maps-description {
        font-size: 0.8rem;
        padding: 0.6rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .kontak-section-modern {
        padding: 2rem 0;
    }
    
    .kontak-title {
        font-size: 1.6rem;
    }
    
    .kontak-subtitle {
        font-size: 0.95rem;
    }
    
    .kontak-card-modern .card-body {
        padding: 1.2rem 0.8rem;
    }
    
    .kontak-item {
        padding: 0.6rem 0.4rem;
        border-radius: 8px;
    }
    
    .kontak-item-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.6rem;
    }
    
    .kontak-item-icon i {
        font-size: 0.8rem;
    }
    
    .kontak-item-label {
        font-size: 0.8rem;
    }
    
    .kontak-item-value {
        font-size: 0.8rem;
    }
    
    .kontak-item-link {
        font-size: 0.8rem;
    }
    
    /* Very small maps for tiny screens */
    .maps-container-modern iframe {
        height: 180px;
    }
}

@media (max-width: 360px) {
    .kontak-title {
        font-size: 1.4rem;
    }
    
    .kontak-card-modern .card-body {
        padding: 1rem 0.6rem;
    }
    
    .kontak-item-value br {
        display: none; /* Remove line breaks on very small screens */
    }
    
    .kontak-item-value {
        font-size: 0.75rem;
    }
    
    .kontak-item-link {
        font-size: 0.75rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .kontak-geometric-decoration * {
        animation: none;
    }
    
    .kontak-card-modern,
    .kontak-item,
    .kontak-item-icon,
    .kontak-item-link {
        transition: none;
    }
    
    .kontak-card-modern:hover {
        transform: none;
    }
    
    .kontak-item:hover {
        transform: none;
    }
    
    .kontak-item:hover .kontak-item-icon {
        transform: none;
    }
}

/* ===== FOOTER STYLES ===== */
.footer-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(32, 135, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 135, 128, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.008) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.008) 2px, transparent 2px);
    background-size: 40px 40px, 40px 40px, 120px 120px, 120px 120px, 80px 80px, 80px 80px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 40px 40px;
    pointer-events: none;
    z-index: 1;
    animation: footerGridShift 25s linear infinite;
}

@keyframes footerGridShift {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 40px 40px;
    }
    100% {
        background-position: 40px 40px, 40px 40px, 120px 120px, 120px 120px, 80px 80px, 120px 120px;
    }
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.footer-description {
    color: #b8c5d6;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.badge-footer {
    background: linear-gradient(135deg, var(--primary-color), rgba(32, 135, 128, 0.8));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(32, 135, 128, 0.3);
}

.badge-footer i {
    font-size: 1rem;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(32, 135, 128, 0.5));
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 1.2rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(2px);
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact-simple {
    margin-bottom: 1.5rem;
}

.contact-text {
    color: #b8c5d6;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.contact-text i {
    color: var(--primary-color);
    margin-top: 0.1rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-text:hover i {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.contact-text a {
    color: #b8c5d6;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.contact-text a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 135, 128, 0.1);
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.contact-text a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.contact-text a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

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

.contact-item div {
    flex: 1;
}

.contact-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-item a {
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 135, 128, 0.4);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

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

.copyright-text {
    color: #b8c5d6;
    margin: 0;
    font-size: 0.95rem;
}

.copyright-text strong {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.legal-text {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.legal-link {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: var(--primary-color);
}

.legal-link:hover::after {
    width: 100%;
}

/* Footer Responsive Design */
@media (max-width: 992px) {
    .footer-logo {
        height: 50px;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }
    
    .contact-item i {
        margin: 0 auto 0.5rem auto;
    }
    
    .contact-text {
        justify-content: center;
        text-align: center;
    }
    
    .contact-text a {
        padding: 4px 8px;
        margin: -4px -8px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 576px) {
    .footer-modern .container {
        padding: 0 1rem;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .badge-footer {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        padding: 0.8rem 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}

/* Footer Grid Responsive Design */
@media (max-width: 768px) {
    .footer-modern::after {
        background-size: 30px 30px, 30px 30px, 90px 90px, 90px 90px, 60px 60px, 60px 60px;
        animation-duration: 30s;
    }
}

@media (max-width: 576px) {
    .footer-modern::after {
        background-size: 25px 25px, 25px 25px, 75px 75px, 75px 75px, 50px 50px, 50px 50px;
        animation-duration: 35s;
    }
}

/* Reduced Motion for Footer */
@media (prefers-reduced-motion: reduce) {
    .footer-modern *,
    .footer-modern *::before,
    .footer-modern *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .contact-item:hover,
    .social-link:hover,
    .footer-links a:hover {
        transform: none !important;
    }
}
