/* Additional custom styles for PT. Algerindo Prima Nusantara */

/* Product Carousel Drag & Swipe Styles */
.product-slides-container {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.product-slides-container:active {
    cursor: grabbing;
}

.product-slide {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    pointer-events: auto;
}

.product-slide img {
    transition: filter 0.5s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Prevent text selection during drag */
.product-slides-container * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Ensure buttons and interactive elements inside slides work */
.product-slide button {
    pointer-events: auto;
    touch-action: manipulation;
}

/* Mobile touch optimization */
@media (hover: none) and (pointer: coarse) {
    .product-slides-container {
        cursor: default;
    }
}

/* Logo and branding */
.logo-container {
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-container img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Hero section styling - background image set in index.php */
.hero-bg {
    position: relative;
    overflow: hidden;
}

/* Decorative overlay effects disabled - using clean background image instead */
.hero-bg::before {
    display: none;
}

.hero-bg::after {
    display: none;
}

/* Card animations and effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Button styles */
.btn-primary {
    background: 
        linear-gradient(135deg, rgba(56, 178, 172, 0.85) 0%, rgba(59, 130, 246, 0.85) 50%, rgba(139, 92, 246, 0.85) 100%);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(56, 178, 172, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(56, 178, 172, 0.5),
        0 4px 15px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: 
        linear-gradient(135deg, rgba(56, 178, 172, 0.95) 0%, rgba(59, 130, 246, 0.95) 50%, rgba(139, 92, 246, 0.95) 100%);
}

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

/* Certificate Modal Styles */
.certificate-modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .certificate-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
}

/* Certificate Image Styles */
.certificate-container {
    position: relative;
    overflow: hidden;
}

.certificate-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.1), rgba(52, 73, 94, 0.1));
    border-radius: inherit;
    transition: all 0.3s ease;
}

.certificate-container:hover .certificate-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.2), rgba(52, 73, 94, 0.2));
}

/* Enhanced zoom effect for certificate images */
.certificate-zoom {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.certificate-zoom:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Detail item animation */
.detail-item {
    transition: all 0.2s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(56, 178, 172, 0.6);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(56, 178, 172, 0.3),
        0 4px 12px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Filter button styles */
.filter-btn {
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

/* Product grid responsive */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Modal enhancements - Base styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease;
    padding: 1rem;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

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

/* Close button */
.modal .close {
    color: #666;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    background: #f1f1f1;
    transform: rotate(90deg);
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
        max-width: 100%;
        margin: 5% auto;
        border-radius: 12px;
        max-height: 85vh;
    }
    
    .modal .close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        width: 36px;
        height: 36px;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .modal-content {
        width: 85%;
        max-width: 800px;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 55px !important;
    height: 55px !important;
    background: 
        linear-gradient(135deg, rgba(56, 178, 172, 0.95), rgba(139, 92, 246, 0.95)) !important;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 
        0 6px 25px rgba(56, 178, 172, 0.5),
        inset 0 2px 0 rgba(255,255,255,0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

.scroll-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(56, 178, 172, 0.6);
    cursor: pointer !important;
}

.scroll-to-top i {
    cursor: pointer !important;
    pointer-events: none;
}

/* Loading spinner */
.loading-spinner {
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid rgba(56, 178, 172, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 4px 16px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

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

/* Feature icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(139, 92, 246, 0.9));
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(56, 178, 172, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 4s infinite;
}

/* Responsive typography */
@media (max-width: 768px) {
    .hero-bg h2 {
        font-size: 2.5rem;
    }
    
    .hero-bg p {
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 32, 44, 0.3);
    backdrop-filter: blur(5px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(139, 92, 246, 0.9));
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(139, 92, 246, 1));
    box-shadow: 
        0 4px 12px rgba(56, 178, 172, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Text truncation utilities */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.focus-visible:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

/* Plant Information Styles */
.plant-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.plant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plant-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

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

/* Plant Switch Styles */
.plant-switch-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.plant-switch-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.plant-switch-btn.active {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.plant-switch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s;
}

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

/* Plant Content Animation */
.plant-content {
    animation: plantContentSlideIn 0.5s ease-out;
}

@keyframes plantContentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Plant Map Animation */
.plant-map {
    animation: plantMapSlideIn 0.5s ease-out;
}

@keyframes plantMapSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Map Click Overlay */
.plant-map .absolute {
    transition: background-color 0.3s ease;
}

.plant-map .absolute:hover {
    background-color: rgba(0,0,0,0.05);
}

.plant-map .absolute:hover::after {
    content: '🔍 Buka di Google Maps';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Legacy plant info card styles */
.plant-info-card {
    animation: plantInfoSlideIn 0.5s ease-out;
}

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

.plant-info-card .bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.plant-info-card .bg-gradient-to-br::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmerRotate 3s infinite;
}

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

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

/* Luxury Glass Shine Effect */
@keyframes glassShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Premium 3D Card Effect */
.premium-3d-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1000px;
}

.premium-3d-card:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

/* Magnetic Hover Effect */
.magnetic-hover {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: center;
}

.magnetic-hover:hover {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.1);
}

/* Liquid Glass Effect */
.liquid-glass {
    background: 
        radial-gradient(circle at 30% 20%, rgba(56, 178, 172, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(56, 178, 172, 0.2), rgba(139, 92, 246, 0.2)) 1;
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: liquidRotate 8s linear infinite;
    pointer-events: none;
}

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

/* Contact form enhancements */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

/* Form feedback messages */
#successMessage, #errorMessage {
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

#successMessage.hidden, #errorMessage.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Form loading states */
#submitBtn:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

#submitBtn .fas.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Form validation styles */
.form-field.error input,
.form-field.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-field.success input,
.form-field.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Success message animation */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#successMessage:not(.hidden) {
    animation: slideInFromTop 0.3s ease-out;
}

#errorMessage:not(.hidden) {
    animation: slideInFromTop 0.3s ease-out;
}

/* Enhanced Contact Cards */
.contact-card {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-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.6s ease;
}

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

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* WhatsApp specific styles */
.contact-whatsapp {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #25d366;
    border-left: 4px solid #25d366;
}

.contact-whatsapp:hover {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #20bd5a;
}

.contact-whatsapp .icon-bg {
    background: linear-gradient(135deg, #25d366 0%, #20bd5a 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp:hover .icon-bg {
    background: linear-gradient(135deg, #20bd5a 0%, #1da851 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Email specific styles */
.contact-email {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-left: 4px solid #2196f3;
}

.contact-email:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    border-color: #1976d2;
}

.contact-email .icon-bg {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.contact-email:hover .icon-bg {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Phone specific styles */
.contact-phone {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 1px solid #9c27b0;
    border-left: 4px solid #9c27b0;
}

.contact-phone:hover {
    background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%);
    border-color: #7b1fa2;
}

.contact-phone .icon-bg {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.contact-phone:hover .icon-bg {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Contact link animations */
.contact-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

/* Icon pulse effect */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.contact-card:hover .icon-bg {
    animation: iconPulse 0.6s ease-in-out;
}

/* External link icon animation */
.external-link-icon {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.contact-card:hover .external-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive contact cards */
@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 1rem;
    }
    
    .contact-card .flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card .flex > div {
        margin-bottom: 0.5rem;
    }
    
    .contact-card .icon-bg {
        margin: 0 auto 1rem;
    }
}

/* Enhanced Vision & Mission Cards */
.vision-mission-card {
    perspective: 1000px;
}

.vision-mission-card:hover {
    transform: translateY(-8px);
}

.vision-mission-card .group:hover {
    animation: float 3s ease-in-out infinite;
}

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

/* Card entrance animation */
.vision-mission-card {
    animation: slideUpFadeIn 0.8s ease-out;
}

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

/* Animated underline for titles */
.vision-mission-card h3::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
    margin: 8px auto 0;
}

.vision-mission-card:hover h3::after {
    width: 100%;
}

/* Icon rotation on hover */
.vision-mission-card .group:hover i {
    animation: rotateIcon 0.6s ease-in-out;
}

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

/* Text glow effect */
.vision-mission-card p {
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.vision-mission-card:hover p {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Gradient border animation */
.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vision-mission-card:hover::before {
    opacity: 1;
}

/* Particle effect background */
.vision-mission-card .group::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vision-mission-card:hover .group::after {
    opacity: 1;
}

/* Responsive vision mission cards */
@media (max-width: 768px) {
    .vision-mission-card {
        margin-bottom: 2rem;
    }
    
    .vision-mission-card .group {
        padding: 1.5rem;
    }
    
    .vision-mission-card h3 {
        font-size: 1.5rem;
    }
    
    .vision-mission-card p {
        font-size: 1rem;
    }
}

/* Additional animation delays for staggered effect */
.vision-mission-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vision-mission-card:nth-child(2) {
    animation-delay: 0.3s;
}

/* Mobile responsive adjustments for plant info */
@media (max-width: 768px) {
    .plant-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .plant-info-card .bg-gradient-to-br {
        padding: 1.5rem;
    }
    
    .plant-info-card h4 {
        font-size: 1.1rem;
    }
    
    /* Plant Switch Mobile Styles */
    .plant-switch-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .plant-switch-btn i {
        display: none;
    }
    
    /* Plant Content Mobile */
    .plant-content .bg-gradient-to-br {
        padding: 1.5rem;
    }
    
    .plant-content h4 {
        font-size: 1.1rem;
    }
    
    /* Maps Mobile */
    .plant-map iframe {
        height: 250px;
    }
    
    /* Grid adjustments */
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .grid.lg\\:grid-cols-5 {
        grid-template-columns: 1fr;
    }
    
    .order-1.lg\\:order-2 {
        order: 1;
    }
    
    .order-2.lg\\:order-1 {
        order: 2;
    }
    
    .lg\\:col-span-2 {
        grid-column: span 1;
    }
    
    .lg\\:col-span-3 {
        grid-column: span 1;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer heading styles */
footer h4 {
    position: relative;
    margin-bottom: 1.5rem;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

/* Footer link hover effects */
footer a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

footer a::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

footer a:hover::before {
    width: calc(100% + 8px);
}

/* Social media icons */
footer .social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

footer .social-links a:hover::before {
    left: 100%;
}

footer .social-links a:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Contact info cards in footer */
footer .contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer .contact-info-card::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: left 0.6s ease;
}

footer .contact-info-card:hover::before {
    left: 100%;
}

footer .contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Footer contact details with clickable shimmer effect */
footer .contact-detail {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

footer .contact-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

footer .contact-detail:hover::before {
    left: 100%;
}

footer .contact-detail:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

footer .contact-detail i {
    transition: all 0.3s ease;
}

footer .contact-detail:hover i {
    transform: scale(1.15);
    filter: brightness(1.4);
    text-shadow: 0 0 10px currentColor;
}

footer .contact-detail span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

footer .contact-detail:hover span {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    filter: brightness(1.2);
}

/* Quick Links styling with shimmer effect */
footer .quick-link-item {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

footer .quick-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

footer .quick-link-item:hover::before {
    left: 100%;
}

footer .quick-link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    filter: brightness(1.2);
}

footer .quick-link-item i {
    transition: all 0.3s ease;
}

footer .quick-link-item:hover i {
    transform: scale(1.15);
    filter: brightness(1.4);
    text-shadow: 0 0 10px currentColor;
}

/* Footer bottom section */
footer .border-t {
    border-image: linear-gradient(to right, transparent, #374151, transparent) 1;
}

/* Responsive footer adjustments */
@media (max-width: 1024px) {
    footer .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer .lg\\:col-span-1 {
        text-align: center;
    }
    
    footer .social-links {
        justify-content: center;
    }
    
    footer .flex.flex-col.md\\:flex-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    footer .flex.flex-wrap {
        justify-content: center;
    }
}

/* Footer link icon animations */
footer .fas, footer .fab {
    transition: all 0.3s ease;
}

footer a:hover .fas,
footer a:hover .fab {
    color: #3b82f6;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    80% { transform: translateY(-2px); }
}

/* Footer entrance animation */
footer {
    animation: footerSlideUp 1s ease-out;
}

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

/* Staggered animation for footer sections */
footer > div > div > div:nth-child(1) { animation-delay: 0.1s; }
footer > div > div > div:nth-child(2) { animation-delay: 0.2s; }
footer > div > div > div:nth-child(3) { animation-delay: 0.3s; }

/* Footer section slide-in animation */
footer > div > div > div {
    animation: footerSectionSlideIn 0.8s ease-out both;
}

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

/* Horizontal Timeline Styles */
.horizontal-timeline-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.6) rgba(229, 231, 235, 0.3);
}

.horizontal-timeline-container::-webkit-scrollbar {
    height: 6px;
}

.horizontal-timeline-container::-webkit-scrollbar-track {
    background: rgba(229, 231, 235, 0.3);
    border-radius: 10px;
}

.horizontal-timeline-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.6), rgba(139, 92, 246, 0.6));
    border-radius: 10px;
    transition: background 0.3s ease;
}

.horizontal-timeline-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.horizontal-timeline-wrapper {
    padding: 0 24px;
}

.timeline-item {
    animation: timelineFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

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

.timeline-card {
    position: relative;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95)) !important;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.timeline-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 0.75rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(31, 41, 55, 1), rgba(17, 24, 39, 1)) !important;
}

/* Futuristic glow effect on hover */
.timeline-card:hover {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments for horizontal timeline */
@media (max-width: 640px) {
    .timeline-item {
        min-width: 180px !important;
        max-width: 180px !important;
    }
    
    .horizontal-timeline-wrapper {
        padding: 0 12px;
    }
}

/* Shine effect - berkilau sekilas */
.shine-effect {
    overflow: hidden;
    display: inline-block;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
    0%, 90% {
        left: -100%;
        opacity: 0;
    }
    92% {
        opacity: 1;
    }
    95% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .hero-bg {
        background: #2c3e50 !important;
        -webkit-print-color-adjust: exact;
    }
    
    footer {
        background: #1f2937 !important;
        -webkit-print-color-adjust: exact;
    }
}