/* Slider Styles */
.slider-slide {
    transition: opacity 1s ease-in-out;
}

.slider-slide .max-w-3xl {
    transition: all 0.8s ease-out;
}

.slider-slide .max-w-3xl.opacity-0 {
    opacity: 0;
    transform: translateY(20px);
}

.slider-slide .max-w-3xl.opacity-100 {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Dots */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 12px;
    min-height: 12px;
}

.slider-dot:hover {
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.slider-dot.bg-yellow-500 {
    min-width: 32px;
}

/* Prev/Next Buttons */
.slider-prev,
.slider-next {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    backdrop-filter: blur(4px);
}

.slider-prev:hover,
.slider-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .slider-prev i,
    .slider-next i {
        font-size: 1rem;
    }
    
    .slider-container {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        min-height: 400px;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* YouTube Video Background */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper iframe {
    pointer-events: none;
}

/* For browsers that don't support object-fit */
@supports (object-fit: cover) {
    .video-wrapper iframe {
        object-fit: cover;
    }
}

/* Responsive YouTube Video */
@media (max-width: 768px) {
    .video-wrapper iframe {
        min-height: 100%;
        min-width: 100%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
}

/* Background Fix */
.bg-fixed {
    background-attachment: fixed;
}

/* Responsive */
@media (max-width: 768px) {
    .bg-fixed {
        background-attachment: scroll;
    }
    
    .hero-section {
        min-height: 400px;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Brand Slider */
.brand-slider,
.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-slider-track {
    display: flex;
    animation: scroll-reverse 35s linear infinite;
    width: fit-content;
}

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

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

/* Pause animation on hover */
.brand-slider:hover .brand-slider-track,
.partners-slider:hover .partners-slider-track {
    animation-play-state: paused;
}

/* Brand items */
.brand-item,
.partner-item {
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.brand-item img,
.partner-item img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img,
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Expertise Slider */
.expertise-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.expertise-slider-track {
    display: flex;
    animation: slideBackground 20s ease-in-out infinite;
    width: 300%;
}

.slide-item {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

@keyframes slideBackground {
    0%, 20% {
        transform: translateX(0);
    }
    25%, 45% {
        transform: translateX(-33.333%);
    }
    50%, 70% {
        transform: translateX(-66.666%);
    }
    75%, 95% {
        transform: translateX(-33.333%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Blog card line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Responsive */
@media (max-width: 768px) {
    .brand-item {
        padding: 0 1rem;
    }
    
    .brand-item img,
    .partner-item img {
        height: 40px;
    }
    
    .expertise-slider-track {
        animation: slideBackground 15s ease-in-out infinite;
    }
}
/* Custom styles */
html {
    scroll-behavior: smooth;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Statistics counter animation */
.stat-number {
    font-feature-settings: "tnum";
}

/* Image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, #f6f9fc 0%, #e8f0f8 100%);
}

/* Admin panel styles */
.admin-sidebar-link {
    transition: all 0.2s ease;
}

.admin-sidebar-link:hover {
    background-color: #f0fdf4;
    color: #166534;
}

.admin-sidebar-link.active {
    background-color: #f0fdf4;
    color: #166534;
    border-right: 3px solid #166534;
}

/* Video Wrapper - Full Width */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    pointer-events: none;
}

/* Brand & Partner Sliders */
.brand-slider,
.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-slider-track {
    display: flex;
    animation: scroll-reverse 35s linear infinite;
    width: fit-content;
}

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

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

/* Pause animation on hover */
.brand-slider:hover .brand-slider-track,
.partners-slider:hover .partners-slider-track {
    animation-play-state: paused;
}

/* Brand & Partner Items */
.brand-item,
.partner-item {
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.brand-item img,
.partner-item img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img,
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Blog Cards */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Responsive */
@media (max-width: 768px) {
    .brand-item,
    .partner-item {
        padding: 0 1rem;
    }
    
    .brand-item img,
    .partner-item img {
        height: 40px;
    }
    
    .video-wrapper iframe {
        min-height: 100%;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .brand-slider-track,
    .partners-slider-track {
        gap: 1rem;
    }
    
    .brand-item,
    .partner-item {
        padding: 0 0.5rem;
    }
}

/* Blog Styles */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Blog Post Content */
.prose {
    max-width: none;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.prose img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose blockquote {
    border-left: 4px solid #166534;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #374151;
    font-style: italic;
}

.prose a {
    color: #166534;
    text-decoration: underline;
}

.prose a:hover {
    color: #064e3b;
}

/* Team Page Styles */
.team-member-card {
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-card .social-icons {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .social-icons {
    opacity: 1;
}

/* Team Image Placeholder */
.team-image-placeholder {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Team Member Details Page */
.team-member-profile .profile-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.team-member-profile .profile-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #f9fafb;
}

.team-member-profile .social-links a {
    transition: all 0.3s ease;
}

.team-member-profile .social-links a:hover {
    transform: translateY(-2px);
}

/* Sticky sidebar on team member page */
.sticky-top {
    position: sticky;
    top: 100px;
}

@media (max-width: 768px) {
    .sticky-top {
        position: relative;
        top: 0;
    }
}

/* Operational Footprint Page Styles */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

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

/* Zone Card Hover Effects */
.zone-card {
    transition: all 0.3s ease;
}

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

/* Modal Animation */
#zoneDetailModal {
    transition: opacity 0.3s ease;
}

#zoneDetailModal > div {
    transition: transform 0.3s ease;
}

/* Map Zone Hover */
.map-zone {
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-zone:hover {
    filter: brightness(1.1);
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container {
        padding-bottom: 100%;
    }
}

/* Pulse Animation for Map Dots */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.delay-100 {
    animation-delay: 0.5s;
}

.delay-200 {
    animation-delay: 1s;
}

.delay-300 {
    animation-delay: 1.5s;
}

.delay-400 {
    animation-delay: 2s;
}

/* Map Animation Styles */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.delay-100 {
    animation-delay: 0.5s;
}

.delay-200 {
    animation-delay: 1s;
}

.delay-300 {
    animation-delay: 1.5s;
}

/* Zone Hover Effects */
.map-zone {
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-zone:hover {
    filter: brightness(1.1);
    opacity: 1 !important;
}

/* Zone Info Card */
#zoneInfoCard {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modal Animation */
#zoneDetailModal {
    transition: opacity 0.3s ease;
}

#zoneDetailModal > div {
    transition: transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .zone-label {
        font-size: 16px !important;
    }
    
    .zone-sub-label {
        font-size: 10px !important;
    }
    
    #zoneInfoCard {
        max-width: 200px;
        padding: 1rem;
    }
}

/* Map Animation Styles */
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.delay-100 {
    animation-delay: 0.5s;
}

.delay-200 {
    animation-delay: 1s;
}

.delay-300 {
    animation-delay: 1.5s;
}

/* Map Hover Effects */
.map-region {
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-region:hover {
    filter: brightness(1.1);
    opacity: 1 !important;
}

/* Zone Info Card */
#zoneInfoCard, #assetInfoCard {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Modal Animation */
#zoneDetailModal {
    transition: opacity 0.3s ease;
}

#zoneDetailModal > div {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .zone-label {
        font-size: 16px !important;
    }
    
    #zoneInfoCard, #assetInfoCard {
        max-width: 200px;
        padding: 1rem;
    }
}

/* Urban Blue Page Styles */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

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

/* Form Container */
.form-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* FAQ Summary Styles */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    transition: background-color 0.3s ease;
}

details[open] summary {
    background-color: #f8fafc;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-container {
        border-radius: 0.5rem;
    }
    
    .form-container iframe {
        min-height: 800px;
    }
}

/* Button Hover Effects */
.btn-urban {
    transition: all 0.3s ease;
}

.btn-urban:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}