/* Navigation Active State */
.nav-link.active {
    color: #60a5fa !important; /* Blue-400 color */
    /* background: rgba(255, 255, 255, 0.15) !important; */
    border-radius: 8px !important;
}

.nav-link.active i {
    color: #60a5fa !important; /* Blue-400 color for icons */
    transform: scale(1.1);
}

.nav-link.active span {
    color: #60a5fa !important; /* Blue-400 color for text */
    font-weight: 600;
}

/* Desktop Navigation Active State */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 1px;
}

/* Navigation Hover Effects */
.nav-link:hover {
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.nav-link:active {
    transform: translateY(0);
}

/* Logo Hover Effect */
.nav-link img {
    transition: all 0.3s ease;
}

.nav-link:hover img {
    transform: rotate(5deg) scale(1.05);
}

/* Header scroll effect */
header.scrolled {
    background: rgba(30, 58, 138, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile navigation enhancement */
@media (max-width: 768px) {
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(96, 165, 250, 0.25) !important;
        border-radius: 12px;
        margin: 2px;
    }
}

/* Page transition effects */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading state */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    opacity: 0.7;
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #60a5fa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.loader-container {
    margin-top: 2rem;
}

#mainTitle {
    opacity: 0;
}

#countdown {
    opacity: 0;
}

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

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

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

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

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

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

/* Add some delay for staggered animations */
.animate-fade-in:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

body.modal-open {
    overflow: hidden;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
        padding: 20px;
    }
}

/* Ensure hero buttons are clickable */
.hero-swiper .swiper-slide button {
    pointer-events: auto !important;
    z-index: 100 !important;
    position: relative !important;
    cursor: pointer !important;
}

.hero-swiper .slide-content button {
    pointer-events: auto !important;
    z-index: 100 !important;
    position: relative !important;
    cursor: pointer !important;
}

/* Swiper custom styles */
.hero-swiper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(30, 58, 138, 0.6), rgba(88, 28, 135, 0.6)); */
    z-index: 1;
}

.hero-swiper .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.hero-swiper .swiper-pagination {
    bottom: 30px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    /* background: rgba(255, 255, 255, 0.5); */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

/* Hide navigation arrows on mobile */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}

/* Services page custom styles */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card::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;
}

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

.service-detail {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-detail.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ styles */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    color: #60a5fa;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.faq-icon.rotate-180 {
    transform: rotate(180deg);
}

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

.faq-content.active {
    max-height: 200px;
}

.faq-content p {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Client showcase styles */
.client-showcase {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.client-showcase::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="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.client-row {
    display: flex;
    animation: scroll 60s linear infinite;
    gap: 30px;
    padding: 0 15px;
}

.client-row:nth-child(even) {
    animation-direction: reverse;
}

.client-row:nth-child(2) {
    animation-duration: 50s;
}

.client-row:nth-child(3) {
    animation-duration: 70s;
}

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

.client-card {
    min-width: 280px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.client-card:hover::before {
    transform: translateX(100%);
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Pause animation on hover */
.client-row:hover {
    animation-play-state: paused;
}

/* Color variations for client cards */
.client-card:nth-child(6n+1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.client-card:nth-child(6n+2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.client-card:nth-child(6n+3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.client-card:nth-child(6n+4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }
.client-card:nth-child(6n+5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: white; }
.client-card:nth-child(6n+6) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); color: #333; }

/* Responsive design */
@media (max-width: 768px) {
    .client-card {
        min-width: 200px;
        height: 80px;
        font-size: 14px;
    }
    
    .client-showcase {
        padding: 40px 0;
    }
}

/* Contact form styles */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Office info cards */
.office-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #60a5fa;
}

.office-card h3 {
    color: #60a5fa;
    margin-bottom: 15px;
}

.office-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.office-card i {
    color: #60a5fa;
    margin-right: 10px;
    width: 20px;
}

/* Social links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #60a5fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(96, 165, 250, 0.3);
}

/* Statistics section */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #60a5fa;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Feature cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: #60a5fa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

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

/* Print styles */
@media print {
    .header, .mobile-nav, .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

.felipa-regular {
  font-family: "Felipa", serif;
  font-weight: 400;
  font-style: normal;
}
