/* Custom Animations and Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-body: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Pattern */
.bg-pattern {
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* Glassmorphism Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Consistent Section Divider */
.section-divider {
    position: relative;
    width: 100%;
    height: 60px;
    background: transparent;
    pointer-events: none;
    z-index: 5;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Swiper Pagination */
.swiper-pagination-bullet { background: #cbd5e1; opacity: 1; transition: all 0.3s ease; }
.swiper-pagination-bullet-active { 
    background: #2563eb; 
    width: 24px; 
    border-radius: 4px; 
}

/* Floating Social Icons */
.floating-socials {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
}

.social-btn:hover {
    transform: translateX(-4px);
    color: #fff;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
}

.social-btn.facebook:hover { background: #1877f2; }
.social-btn.whatsapp:hover { background: #25d366; }
.social-btn.mail:hover { background: #ea4335; }
.social-btn.phone:hover { background: #2563eb; }

/* Parallax Background */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Modal / Popup Form */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    width: 95%;
    max-width: 480px;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* Improved Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 30px;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.1);
}

/* Custom Animations */
@keyframes shimmer {
    100% { transform: translateX(100%); }
}
