/* =========================================
   CSS Variables & Theme Setup
========================================= */
:root {
    /* Color Palette */
    --primary: #2563eb;
    /* Soft strong blue */
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    /* Warm accent (Amber/Orange) */
    --secondary-hover: #d97706;
    --accent: #10b981;
    /* Success/Accent Green */

    /* Neutral Colors */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #eff6ff;
    /* Very light blue for soft sections */
    --border: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =========================================
   Reset & Base Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Utility Classes
========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--primary);
}

.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================
   Header & Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.75rem;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background patterns */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.blob-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: linear-gradient(45deg, var(--primary-light), var(--primary));
    opacity: 0.1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite both alternate;
    z-index: -1;
}

.hero-img {
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: 3s;
}

.floating-card .icon-box {
    width: 3rem;
    height: 3rem;
    background-color: var(--bg-alt);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-card h4 {
    margin: 0;
    font-size: 1rem;
}

.floating-card p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #0f172a;
    /* Dark Blue/Slate */
    color: #e2e8f0;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo .logo-accent {
    color: var(--primary-light);
}

.footer .info p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.contact-info li i {
    color: var(--primary-light);
}

.footer-bottom {
    background-color: #020617;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
}

/* =========================================
   Floating WhatsApp
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   Animations
========================================= */
@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-animation {
    animation: float 8s ease-in-out infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .d-none-mobile {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   Grids & Layouts
========================================= */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-2-cols-sm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.align-center {
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .flex-row-reverse {
        flex-direction: column-reverse;
        display: flex;
    }
}

@media (max-width: 576px) {
    .grid-2-cols-sm {
        grid-template-columns: 1fr;
    }
}

/* Components */
.w-100 {
    width: 100%;
}

.rounded-img {
    border-radius: 1.5rem;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--bg-alt);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: white;
}

/* Form Wrapper Shapes */
.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

.blob-shape-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 7s ease-in-out infinite both alternate;
    z-index: -1;
}

.blob-shape-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 6s ease-in-out infinite both alternate-reverse;
    z-index: -1;
}

/* Testimonials Carousel */
.slider {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 3rem;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    /* Manual simple layout for vanilla JS carousel */
    width: 100%;
    gap: 2rem;
}

.slide {
    flex: 0 0 calc(50% - 1rem);
    /* 2 items visible on desktop */
}

@media (max-width: 768px) {
    .slide {
        flex: 0 0 100%;
    }
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.05);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.contact-card p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}