/* ========================================
   Navbar
======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: var(--transition-normal);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: auto;
    width: auto;
    max-width: none;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transition: var(--transition-normal);
}

.navbar.scrolled .navbar-brand img {
    height: auto;
    max-height: 60px;
}

.footer-logo img {
    height: 120px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    margin-bottom: 1rem;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
}

body[dir="ltr"] .nav-link::after {
    right: auto;
    left: 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: 150ms ease;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-item i {
    margin-left: 0.5rem;
    color: var(--primary-color);
}

body[dir="ltr"] .dropdown-item i {
    margin-left: 0;
    margin-right: 0.5rem;
}

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

body[dir="ltr"] .whatsapp-float {
    left: auto;
    right: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.9) 0%, rgba(45, 138, 168, 0.85) 50%, rgba(64, 196, 170, 0.8) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary-custom {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.hero-buttons .btn-primary-custom:hover {
    background: var(--secondary-dark);
    color: white;
}

.hero-buttons .btn-secondary-custom {
    border-color: white;
    color: white;
}

.hero-buttons .btn-secondary-custom:hover {
    background: white;
    color: var(--primary-color);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 20%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Why Us */
.why-us-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
}

.why-us-section .section-title h2 {
    color: white;
}

.why-us-section .section-title h2::after {
    background: var(--secondary-color);
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.why-card h5 {
    color: white;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Steps */
.step-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card h5 {
    color: var(--primary-color);
}

.step-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--accent-gradient);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
}

.cta-section .btn-light:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* ========================================
   Admin Link (Subtle Footer Access)
   ======================================== */
.admin-link {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}