/* ====== VARIABLES & SETUP ====== */
:root {
    --primary: #1E3A8A; /* Deep Blue */
    --primary-dark: #1e40af;
    --accent: #EAB308; /* vibrant yellow/orange */
    --accent-hover: #CA8A04;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    --text-main: #1F2937;
    --text-light: #6B7280;
    --bg-main: #FFFFFF;
    --bg-light: #F3F4F6;
    --bg-dark: #111827;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.center-text {
    text-align: center;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-accent { background-color: var(--accent); }
.text-white { color: white; }

/* ====== UTILITIES ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-call {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.4);
}
.btn-call:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}
.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}
.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}
.nav-links li a:hover {
    color: var(--primary);
}

.lang-btn {
    background-color: var(--bg-dark);
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}
.lang-btn:hover {
    background-color: var(--primary);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px; /* Offset for navbar */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5s linear;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-controls button {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}
.slider-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ====== GRID LAYOUTS ====== */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ====== CARDS ====== */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.dark-card {
    background: #1F2937;
    border-color: rgba(255,255,255,0.1);
}
.dark-card h3, .dark-card p {
    color: white;
}
.dark-card p {
    opacity: 0.8;
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}
.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}
.card-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}
.card-btn {
    width: 100%;
    margin-top: auto;
}

.dark-card .card-content h3 {
    color: var(--accent);
}

/* ====== ARTICLE ====== */
.article-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    position: relative;
}
.article-container {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.article-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
}
.article-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.article-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 25px;
}
.article-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}
.article-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: block;
}

/* ====== FLOATING ANIMATION ====== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating-anim {
    animation: float 3s ease-in-out infinite;
}

/* ====== FAQ ====== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    background-color: #f8fafc;
}
.faq-question i {
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}
.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

/* ====== REVIEWS ====== */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 15px;
}
.google-rating span:first-child {
    font-size: 24px;
    font-weight: 700;
}
.google-rating .stars {
    color: #FBBC05;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.reviewer-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}
.reviewer-info .stars {
    color: #FBBC05;
    font-size: 12px;
}
.google-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4285F4;
    font-size: 24px;
}
.review-text {
    font-style: italic;
    color: var(--text-light);
}

/* ====== CTA SECTION ====== */
.cta-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cta-buttons .btn-call {
    background: white;
    color: var(--primary);
}
.cta-buttons .btn-call:hover {
    background: var(--bg-light);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}
.footer-about h3 span {
    color: var(--accent);
}
.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}
.footer-contact ul, .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.8);
}
.footer-contact i {
    color: var(--accent);
    margin-top: 5px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== FLOATING BUTTONS ====== */
.floating-bubble {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.floating-bubble:hover {
    transform: scale(1.1);
    color: white;
}
.float-whatsapp {
    left: 30px;
    background-color: var(--whatsapp);
}
.float-call {
    right: 30px;
    background-color: var(--primary);
}

.live-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 42px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .grid-6 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .hero-buttons, .cta-buttons { 
        flex-direction: column; 
        width: 100%;
    }
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
    }
    
    .article-container { padding: 30px 15px; }
    .hero-content h1 { font-size: 36px !important; }
    
    /* Override inline styles for better mobile experience */
    h1[style*="font-size"] { font-size: 32px !important; line-height: 1.3 !important; }
    h3[style*="font-size"] { font-size: 20px !important; }
    p[style*="font-size"] { font-size: 16px !important; }
    i[style*="font-size"] { font-size: 40px !important; margin-bottom: 10px !important; }
    
    /* Adjust paddings for mobile */
    .section-padding { padding: 50px 0 !important; }
    .page-header { padding: 120px 0 60px !important; }
    .service-card { padding: 25px 15px !important; }
    .form-container { padding: 20px !important; }
    
    /* Floating buttons adjustments for small screens */
    .floating-bubble {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        bottom: 20px !important;
    }
    .float-whatsapp { left: 15px !important; }
    .float-call { right: 15px !important; }
    
    .live-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
        top: -2px !important;
        right: -5px !important;
    }
}

@media (max-width: 480px) {
    .section-title h2 { font-size: 28px; }
    .hero-content h2 { font-size: 22px; }
    .btn-large { padding: 12px 24px !important; font-size: 16px !important; }
}
