/* Custom Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(74, 144, 164, 0.08);
    border-bottom: 1px solid rgba(74, 144, 164, 0.1);
}

#header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(74, 144, 164, 0.12);
    border-bottom-color: rgba(74, 144, 164, 0.15);
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #2C3E50;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

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

.nav-link:hover,
.nav-link.active {
    color: #4A90A4;
}

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

/* Mobile Navigation */
.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: #2C3E50;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #4A90A4;
    color: white;
}

/* Buttons */
.btn-primary {
    background: #4A90A4;
    color: white;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    background: #2E6B7F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
}

.btn-secondary {
    background: white;
    color: #4A90A4;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid #4A90A4;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4A90A4;
    color: white;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.95));
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(74, 144, 164, 0.1);
    box-shadow: 0 4px 20px rgba(74, 144, 164, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: rgba(74, 144, 164, 0.2);
    box-shadow: 0 12px 40px rgba(74, 144, 164, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4A90A4 0%, #7DB8CC 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 252, 0.98));
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(74, 144, 164, 0.1);
    box-shadow: 0 4px 20px rgba(74, 144, 164, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: white;
    border-color: rgba(74, 144, 164, 0.18);
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.15);
}

/* Swiper Customization */
.swiper {
    padding-bottom: 50px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #CBD2D9;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #4A90A4;
    width: 32px;
    border-radius: 6px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Form Styles */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E4E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #4A90A4;
    box-shadow: 0 0 0 4px rgba(74, 144, 164, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

/* Info Cards */
.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 252, 0.98));
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 164, 0.12);
    box-shadow: 0 2px 12px rgba(74, 144, 164, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    background: white;
    border-color: rgba(74, 144, 164, 0.2);
    box-shadow: 0 8px 24px rgba(74, 144, 164, 0.15);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(180deg, #4A90A4 0%, #E4E7EB 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: #4A90A4;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #4A90A4;
}

/* Accordion */
.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #F5F7FA;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 0 24px 20px 24px;
    color: #5A6C7D;
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(74, 144, 164, 0.3);
    border-radius: 50%;
    border-top-color: #4A90A4;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .service-card,
    .testimonial-card {
        padding: 24px;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    #header,
    footer {
        display: none;
    }
}

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

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #4A90A4;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #4A90A4;
    color: white;
}

::-moz-selection {
    background: #4A90A4;
    color: white;
}
