@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary: #1074b7;
    --primary-dark: #0d5c92;
    --primary-light: #3090cf;
    --accent: #df3a35;
    --accent-dark: #ba2f2a;
    --secondary: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding) 0;
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}
.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info {
    display: flex;
    gap: 1.5rem;
}
.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}
.contact-info a:hover { opacity: 1; }
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a { opacity: 0.8; }
.social-links a:hover { opacity: 1; color: var(--primary-light); }

/* Header */
.main-header {
    background-color: var(--surface);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}
.main-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-text .accent { color: var(--accent); }

.nav-menu ul {
    display: flex;
    gap: 2.5rem;
}
.nav-menu a {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9375rem;
}
.nav-menu a:hover { color: var(--primary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li { margin: 0 !important; }
.dropdown a {
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}
.dropdown a:hover {
    background: rgba(16,116,183,0.05);
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--surface);
        z-index: 1001;
        display: block;
        padding: 5rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-menu a {
        font-size: 1.25rem;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 1rem;
        display: none;
    }
    .has-dropdown.active .dropdown {
        display: block;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Slider */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* Removed global section padding */
}
.main-slider {
    height: 70vh; /* Reduced height slightly */
    min-height: 500px;
}
.hero-slide-content {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}
.hero-text-content {
    max-width: 800px;
}
.hero-text-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero-text-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Swiper Customization */
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.25rem;
    font-weight: bold;
}
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Footer */
.main-footer {
    background-color: var(--secondary);
    color: white;
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}
.footer-desc {
    margin: 1.5rem 0;
    opacity: 0.7;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul a {
    opacity: 0.7;
}
.footer-col ul a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}
.contact-item i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    font-size: 0.875rem;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

/* FABs */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}
.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    animation: pulse 2s infinite;
}
.fab-whatsapp { background-color: #25d366; }
.fab-phone { background-color: var(--primary); }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}
.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Cards */
.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; gap: 1rem; }
    .top-bar { display: none; }
}