/* --- 1. GLOBAL RESET & THEME --- */
:root {
    --bg-dark-hero: #0f172a; 
    --accent-blue: #3b82f6;
    --accent-purple: #5831f1;
    --text-main: #334155;
    --text-muted: #64748b;
    --nav-height: 85px;
}

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

body { 
    background-color: #ffffff; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    line-height: 1.6;
    color: var(--text-main);
}

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* --- 2. NAVIGATION --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    height: var(--nav-height); display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
}
.navbar-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 40px; }
.logo { font-size: 30px; font-weight: 800; text-decoration: none; color: #000; }
.logo span { color: var(--accent-blue); }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; }
.nav-links a.active-link { color: #000 !important; }

/* --- 3. INDEX HERO SECTION --- */
.index-hero { background: var(--bg-dark-hero); padding: 180px 0 100px; color: white; }
.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-content h1 { font-size: 55px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; }
.hero-image img { width: 100%; max-width: 500px; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- 4. SERVICES GRID (CRITICAL ICON FIX) --- */
.services-section { padding: 100px 0 150px; background-color: #f8fafc; text-align: center; }
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
    margin-top: 50px; 
}

.service-card { 
    background: white; 
    border-radius: 24px; 
    padding: 40px 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

/* FIX: This ensures icons don't bleed out */
.service-card img { 
    width: 100px; 
    height: 100px; 
    object-fit: contain; 
    margin-bottom: 20px; 
    display: block;
}

.service-card h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* --- 5. POTENTIAL SECTION (FIXED SPACING) --- */
.potential-section { padding: 100px 0 180px; background: #fff; }
.potential-flex { display: flex; align-items: center; gap: 80px; }

.potential-image-card { 
    flex: 1; background: var(--accent-purple); border-radius: 40px; 
    padding: 60px; display: flex; justify-content: center; align-items: center;
}

#message-icon { 
    width: 100%; 
    height: auto; 
    max-height: 400px; 
    object-fit: contain; 
}

.btn-read-more { 
    display: inline-block; padding: 20px 60px; background: #111; 
    color: #fff; text-decoration: none; border-radius: 50px; font-weight: 800; 
    margin-top: 35px; /* Spacing for button */
    transition: 0.3s ease;
}

/* --- 6. FOOTER --- */
footer { background: #0f172a; color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-logo { font-size: 28px; font-weight: 800; color: white; text-decoration: none; }
.footer-logo span { color: var(--accent-blue); }

/* --- 7. FLOATING CONTACT --- */
.floating-contact { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 2000; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.float-btn img { width: 25px; filter: brightness(0) invert(1); }
.float-btn.loc { background: #5831f1; }
.float-btn.phone { background: #3b82f6; }
.float-btn.wp { background: #25d366; }