/* Custom CSS for Humas UIKA Bogor Website - Light & Minimalist */

:root {
    --primary-color: #0066cc;
    --secondary-color: #00aa44;
    --accent-color: #ff6b35;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 2px 10px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    font-weight: 400;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .contact-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links a {
    transition: var(--transition);
    opacity: 0.7;
    color: var(--primary-color);
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text {
    line-height: 1.2;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    position: relative;
    color: var(--text-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Statistics Section */
.stats-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* News Section */
.news-section {
    padding: 5rem 0;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Placeholder image styling */
.news-image img[src*="placeholder"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Loading state for images */
.news-image img {
    opacity: 0;
    animation: fadeInImage 0.5s ease-in-out forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image error handling */
.news-image img[src*="placeholder"]:after {
    content: "📰";
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* External News Styling */
.news-card .news-category .badge.bg-info {
    background-color: #17a2b8 !important;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(23, 162, 184, 0.5);
    }
}

.news-source {
    display: inline-flex;
    align-items: center;
}

.news-card:has(.badge.bg-info) {
    border-left: 4px solid #17a2b8;
    position: relative;
}

.news-card:has(.badge.bg-info)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #17a2b8 transparent transparent;
    z-index: 1;
}

/* Enhanced placeholder styling */
.news-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.1) 50%, transparent 50%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    animation: shimmer 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.news-image:hover::before {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -20px 0;
    }
    100% {
        background-position: 20px 0;
    }
}

.news-title a[target="_blank"] {
    position: relative;
}

.news-title a[target="_blank"]:hover {
    color: #17a2b8;
}

/* Button group styling */
.d-flex.gap-3 .btn {
    flex: 1;
    min-width: 200px;
}

/* UIKA News Card Styling */
.uika-news-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border-left: 4px solid #17a2b8;
}

.uika-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.uika-news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    overflow: hidden;
}

.uika-news-placeholder {
    text-align: center;
    z-index: 1;
}

.uika-news-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.uika-news-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.uika-news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.uika-news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.uika-news-category .badge {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #17a2b8 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.uika-news-content {
    padding: 1.5rem;
}

.uika-news-meta {
    margin-bottom: 1rem;
}

.uika-news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.uika-news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.uika-news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.uika-news-title a:hover {
    color: #17a2b8;
}

.uika-news-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-uika {
    color: #17a2b8;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more-uika:hover {
    color: #138496;
    text-decoration: none;
}

/* Animation for UIKA cards */
.uika-news-card:hover .uika-news-placeholder {
    transform: scale(1.05);
}

/* UIKA News List Styling (keeping for backward compatibility) */
.uika-news-list {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.uika-news-item {
    transition: var(--transition);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.uika-news-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.uika-news-title a {
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.uika-news-title a:hover {
    color: var(--primary-color);
}

.uika-news-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
}

.uika-news-meta .badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}

.uika-news-meta .small {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
}

/* Enhanced list styling */
.uika-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
    border-radius: 2px;
}

.uika-news-item:hover::before {
    height: 60%;
}

.uika-news-item {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .uika-news-list {
        padding: 1.5rem 1rem;
    }
    
    .uika-news-meta {
        margin-top: 1rem;
    }
    
    .uika-news-title {
        font-size: 1.1rem;
    }
    
    .uika-news-image {
        height: 160px;
    }
    
    .uika-news-placeholder i {
        font-size: 2.5rem;
    }
    
    .uika-news-placeholder span {
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
}

.gallery-content h5 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-swiper {
    padding: 2rem 0 4rem 0;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    margin: 0.5rem;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2.5rem;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-left: 1.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 170, 68, 0.05) 100%);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.author-avatar:hover img {
    transform: scale(1.05);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-info {
    flex: 1;
}

.author-info h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info small {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Swiper Navigation Customization */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
    bottom: 15px;
}

.testimonials-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--secondary-color);
}

/* Custom Navigation Buttons */
.testimonials-navigation {
    margin-top: 2rem;
}

.testimonials-prev,
.testimonials-next {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
    border: 2px solid var(--primary-color);
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* Auto-play indicator */
.testimonials-swiper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10;
    border-radius: 2px;
    animation: autoplayProgress 5s linear infinite;
}

@keyframes autoplayProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }
    
    .testimonial-card {
        margin: 0.25rem;
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        margin-left: 1rem;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
        margin-right: 1rem;
    }
    
    .author-info h6 {
        font-size: 1rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        top: -10px;
        left: -10px;
    }
}

@media (max-width: 576px) {
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Footer Styles */
.main-footer {
    background: #f8f9fa !important;
    border-top: 1px solid var(--border-color);
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.contact-info .contact-item {
    margin-bottom: 1rem;
}

.contact-info .contact-item i {
    color: var(--primary-color);
}

.footer-links-inline a {
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-inline a:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Utility Classes */
.bg-primary {
    background: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.back-to-top.show {
    display: flex;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.whatsapp-float:hover {
    background: #128c7e;
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Icon styles for images */
.social-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    opacity: 0.8;
}

.navbar-nav .nav-link img {
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(44%) sepia(8%) saturate(1426%) hue-rotate(202deg) brightness(95%) contrast(94%);
}

.navbar-nav .nav-link:hover img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(1743%) hue-rotate(213deg) brightness(98%) contrast(102%);
}

.navbar-nav .nav-link.active img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(1743%) hue-rotate(213deg) brightness(98%) contrast(102%);
}

.contact-item img {
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(1743%) hue-rotate(213deg) brightness(98%) contrast(102%);
}

.btn-outline-primary img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(1743%) hue-rotate(213deg) brightness(98%) contrast(102%);
}

.btn-primary img {
    filter: brightness(0) invert(1);
}

.whatsapp-float img {
    filter: brightness(0) invert(1);
}

.back-to-top img {
    filter: brightness(0) invert(1);
}

/* Media queries for responsive icon sizing */
@media (max-width: 768px) {
    .navbar-nav .nav-link img,
    .contact-item img {
        width: 14px;
        height: 14px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .back-to-top,
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        left: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.bg-success {
    background-color: var(--secondary-color) !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

/* Search Modal */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.service-card .btn {
    margin-top: auto;
}

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Responsive Services */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
}

