/* style.css */

:root {
    --primary: #0f172a;       
    --primary-light: #1e293b; 
    --accent: #3b82f6;        
    --accent-dark: #2563eb;
    --success: #10b981;       
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --nav-bg: rgba(15, 23, 42, 0.95);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Custom Logo Styling --- */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    z-index: 1001;
}

.brand-icon {
    width: 125px;
    height: auto;
    object-fit: contain;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Nav */
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.nav-btn {
    padding: 0.6rem 1.5rem;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}
.nav-btn:hover { background: var(--accent-dark); }

/* Hamburger Menu (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?q=80&w=2000&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive Font Size */
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline {
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* --- Common Sections --- */
.section { padding: 5rem 0; }
.bg-light { background: var(--primary-light); }

.section-header {
    margin-bottom: 3rem;
    max-width: 600px;
}
.section-header h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* --- Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Optimized for mobile */
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.2); 
    position: absolute;
    top: 0;
    left: 1.5rem;
    line-height: 1;
}
.process-step h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; position: relative; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; position: relative; }

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--accent); }

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.service-body { padding: 2rem; }
.service-icon { 
    color: var(--accent); 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    display: block;
}

/* --- Tech & Compliance --- */
.compliance-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    opacity: 0.8;
}
.compliance-item { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center;}
.compliance-item i { margin-right: 10px; }

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 3rem;
    border-radius: 24px;
}

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--accent); }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: 0.3s;
    z-index: 2000;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- MOBILE & TABLET OPTIMIZATION --- */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .about-wrapper {
        display: flex;
        flex-direction: column-reverse; /* Text on top on mobile */
    }
}

@media (max-width: 768px) {
    /* Show Hamburger */
    .menu-toggle { display: block; }

    /* Hide Desktop Nav Links initially */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.1);
        padding-top: 60px; /* Space for close button if needed */
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* Show Menu when active */
    .nav-links.active { right: 0; }

    .nav-links a { font-size: 1.5rem; }
    
    /* Adjust Hero */
    .hero { text-align: left; padding-top: 100px; min-height: 80vh; }
    .hero h1 { line-height: 1.1; }
    
    /* Adjust Section Spacing */
    .section { padding: 3.5rem 0; }
    
    /* Hide Nav Button in Menu, show as link */
    .nav-btn { display: none; } 
    
    /* Add a partner link inside the menu for mobile */
    .mobile-only-btn {
        display: block;
        padding: 1rem 2rem;
        background: var(--accent);
        border-radius: 50px;
        margin-top: 1rem;
        color: white;
        text-decoration: none;
    }
}

