/* Animation Control Variables */
:root {
    --logo1-opacity: 0.8;         
    --logo1-size: 400px;           
    --logo1-distance-x: 15px;      
    --logo1-distance-y: 100px;     
    --logo1-rotation: 30deg;       
    --logo1-scale: 1.03;          
    --logo1-speed: 8s;            
    --logo1-delay: 0s;            
    --logo1-top: -100px;          
    --logo1-right: -100px;        
    
    --logo2-opacity: 1.0;         
    --logo2-size: 200px;           
    --logo2-distance-x: 15px;      
    --logo2-distance-y: -10px;     
    --logo2-rotation: 100deg;      
    --logo2-scale: 1.03;          
    --logo2-speed: 8s;            
    --logo2-delay: 4s;            
    --logo2-bottom: 50px;       
    --logo2-left: -100px;         
    
    --logo3-opacity: 0.8;         
    --logo3-size: 400px;           
    --logo3-distance-x: 10px;      
    --logo3-distance-y: -5px;      
    --logo3-rotation: 3deg;        
    --logo3-scale: 1.02;          
    --logo3-speed: 10s;           
    --logo3-delay: 2s;            
    --logo3-top: -280px;           
}

/* Base Logo Styles */
.hero-logo {
    position: absolute;
    pointer-events: none;
    backface-visibility: hidden;
    transform-origin: center center;
    transition: opacity 0.3s ease, transform 0.3s ease;

}

/* Individual Logo Positioning and Properties */
.hero-logo-1 {
    width: var(--logo1-size);
    height: auto;
    top: var(--logo1-top);
    right: var(--logo1-right);
    opacity: var(--logo1-opacity);
    animation: float1 var(--logo1-speed) ease-in-out var(--logo1-delay) infinite;
}

.hero-logo-2 {
    width: var(--logo2-size);
    height: auto;
    bottom: var(--logo2-bottom);
    left: var(--logo2-left);
    opacity: var(--logo2-opacity);
    animation: float2 var(--logo2-speed) ease-in-out var(--logo2-delay) infinite;
}

.hero-logo-3 {
    width: var(--logo3-size);
    height: auto;
    position: absolute;
    top: var(--logo3-top);
    left: 50%;
    transform: translateX(-50%);
    opacity: var(--logo3-opacity);
    animation: float3 var(--logo3-speed) ease-in-out var(--logo3-delay) infinite;
     /* Places it behind the title */
}

/* Individual Float Animations */
@keyframes float1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% { 
        transform: 
            translate(var(--logo1-distance-x), var(--logo1-distance-y))
            rotate(var(--logo1-rotation))
            scale(var(--logo1-scale));
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% { 
        transform: 
            translate(var(--logo2-distance-x), var(--logo2-distance-y))
            rotate(var(--logo2-rotation))
            scale(var(--logo2-scale));
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translateX(-50%) translate(0, 0) rotate(0deg) scale(1);
    }
    50% { 
        transform: 
            translateX(-50%)
            translate(var(--logo3-distance-x), var(--logo3-distance-y))
            rotate(var(--logo3-rotation))
            scale(var(--logo3-scale));
    }
}

/* Optional: Add smooth transition for opacity changes */
.hero-logo {
    transition: opacity 0.3s ease;
}

/* Existing CSS (for context) */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #22c55e;
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --bg-light: #f1f5f9;
    --whatsapp: #25D366;
    --transition: all 0.3s ease;
    --yellow: #fbbf24;
}

/* Enhanced Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8); /* Reduced opacity */
    backdrop-filter: blur(5px); /* Reduced blur */
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); /* Softer shadow */
    transform: translateY(0);
    transition: all 0.3s ease;
}

.navbar.transparent {
    background: transparent;
    box-shadow: none;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);

    

    direction: ltr;
}

.logo:hover {
    transform: scale(1.05);
}

.logo .plus {
    color: var(--accent);
    display: inline-block;
    transition: var(--transition);
}

.logo:hover .plus {
    transform: rotate(90deg);
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.9), 
        rgba(15, 23, 42, 0.95)), 
        url('/api/placeholder/1920/1080') center/cover;
    color: var(--yellow);
    padding: 6rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Decorative Shapes */
.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Enhanced eature Cards */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.feature-card:hover i {
    transform: scale(1.2);
    color: var(--accent);
}

/* Showcase Section */
.showcase {
    padding: 6rem 2rem;
    background: var(--bg-light);
    /* */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    text-align: center;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.showcase-item h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.showcase-item p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/api/placeholder/400/400') center/cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary, 
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: #1fa855;
    transform: translateY(-2px);
}

/* Footer */
.footer-content {
    background: var(--secondary);
    color: var(--text-light);
    padding: 4rem 2rem;
    width: 100%; /* Changed from max-width */
    margin: 0;   /* Remove auto margins */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--yellow);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(-5px);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 2rem;
    text-align: center;
}

/* Location Video Feature Card */
.feature-card.location-feature {
    position: relative;
    overflow: hidden;
}

.location-video-preview {
    width: 100%;
    height: 150px;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.location-video-preview i {
    font-size: 3rem;
    color: var(--primary);
    transition: var(--transition);
}

.location-video-preview:hover i {
    transform: scale(1.1);
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Add loading animation */
.loaded {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}



/* Responsive adjustments for showcase and footer */
/* @media (max-width: 768px) {
    .showcase {
        padding: 4rem 1rem;
    }
    
    .showcase h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .showcase-grid {
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
} */

/* added */
@media (max-width: 630px) {
    /* Navbar spacing for mobile */
    .navbar {
        padding: 1rem;
    }

    /* Hero section adjustments */
  

    .hero h1 {
        font-size: 2.5rem;
    }
    .hero {
        padding: 4rem 1rem; /* Reduce padding */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem; /* Adjust font size */
        line-height: 1.4;
        margin-bottom: 1.5rem; /* Add more space below title */
    }

    .hero-subtitle {
        font-size: 1.1rem; /* Slightly larger for readability */
        line-height: 1.5;
        margin-bottom: 2rem; /* Increase bottom margin for better spacing */
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 15px; /* More space between buttons */
        align-items: center;
        width: 100%; /* Full width buttons on mobile */
    }

    .btn-primary, .btn-whatsapp {
        width: 90%;
        padding: 12px 0;
        font-size: 1rem;
        text-align: center;
    }

    /* Hero logo adjustments for smaller screens */
    .hero-logo {
        opacity: 0.6;
        transform: scale(0.7); /* Reduce logo size */
    }


    /* Features section */
    .features-grid {
        gap: 20px;
        padding: 10px 0;
    }

    .feature-card i {
        font-size: 2rem;
    }

    /* Showcase adjustments */
    .showcase h2 {
        font-size: 2rem;
    }
    
    .showcase-item h3 {
        font-size: 1.2rem;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    /* Reduce spacing between sections */
    section {
        margin-bottom: 2rem;
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        margin-top: 3rem; /* Adjust this value to control how much you lower the content */
    }

    /* Optional: Additional adjustments to hero section for better layout */
    .hero {
        padding-top: 9rem; /* Add extra padding to top of hero to keep content centered */
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-primary, .btn-whatsapp {
        width: 90%;
        padding: 10px 0;
        font-size: 0.9rem;
    }


    /* Hero logo adjustments for smaller screens */
    .hero-logo {
        opacity: 0.6;
        transform: scale(0.7); /* Reduce logo size */
    }
    .hero-logo-1, .hero-logo-2, .hero-logo-3 {
        opacity: 0.5;
        transform: scale(0.8);
    }

    /* Simplified animations */
    @keyframes float1 {
        0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
        50% { transform: translate(10px, 50px) rotate(15deg) scale(1.01); }
    }

    @keyframes float2 {
        0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
        50% { transform: translate(8px, -5px) rotate(80deg) scale(1.02); }
    }

    @keyframes float3 {
        0%, 100% { transform: translateX(-50%) translate(0, 0) rotate(0deg) scale(1); }
        50% { transform: translateX(-50%) translate(5px, -3px) rotate(2deg) scale(1.01); }
    }

}



















@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 375px) {
    /* Adjustments for smaller screens */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.2rem; /* Slightly less space on very small screens */
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.8rem;
    }

    .btn-primary, .btn-whatsapp {
        width: 100%; /* Full width for small screens */
        font-size: 0.95rem;
    }

    .showcase {
        padding: 2rem 1rem;
    }

    .showcase h2 {
        font-size: 1.5rem;
    }

    .showcase-item h3 {
        font-size: 1rem;
    }

    .btn-primary, .btn-whatsapp {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    /* Other specific adjustments for smaller devices as needed */
}

.hero-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}









.lang-toggle {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #201f1f;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
    position: fixed;
    top: 20px;
    left: 20px;
        z-index: 10;
}



.lang-toggle:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.lang-toggle:focus {
    outline: none;
}


#email-link {
    color: #faf8f6; /* Change to your desired color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth transition on hover */
}

#email-link:hover {
    color: #007bff; /* Optional: Hover color, change as needed */
}


