/* ==========================================
   1. GLOBAL VARIABLES & RESET
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f172a;       /* Deep Navy Blue */
    --secondary: #2563eb;     /* Professional Blue */
    --accent: #10b981;        /* Success Green */
    --bg-light: #f8fafc;      /* Light Grey Background */
    --text-main: #334155;     /* Dark Grey Text */
    --text-muted: #64748b;    /* Light Grey Text */
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--secondary); }

.btn-login {
    border: 1px solid var(--border);
    padding: 8px 15px;
    border-radius: 6px;
    color: var(--primary) !important;
    background: var(--bg-light);
}

.btn-login:hover { background: var(--border); }

/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200') center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 35px;
    color: #cbd5e1;
}

.main-btn {
    background: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.main-btn:hover { background: #059669; transform: translateY(-3px); }

/* ==========================================
   4. ABOUT SECTION
   ========================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid var(--border);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.about-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-card p { color: var(--text-muted); }

/* ==========================================
   5. FOUNDER / OWNER SECTION
   ========================================== */
.owner-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.owner-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.owner-image {
    flex: 1;
    text-align: center;
}

.profile-pic {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bg-light);
    box-shadow: var(--shadow-md);
}

.owner-details { flex: 2; }

.owner-details h2 {
    color: var(--secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.owner-name {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.owner-title {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.owner-bio {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
    line-height: 1.8;
}

/* ==========================================
   6. FORM SECTION (ONBOARDING)
   ========================================== */
.form-section { padding: 80px 0; background: var(--white); }

.form-card {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-card h2 { text-align: center; color: var(--primary); margin-bottom: 10px; font-size: 2rem;}
.form-card p { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem;}

.form-group {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-group h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.form-group h3 i { color: var(--secondary); margin-right: 10px; }

.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fafafa;
    transition: 0.3s;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.submit-btn:hover { background: #1e293b; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ==========================================
   7. FOOTER
   ========================================== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo h3 { font-size: 1.5rem; margin-bottom: 5px; }
.footer-logo p { color: #94a3b8; font-size: 0.9rem; }

.footer-contact p { margin-bottom: 8px; color: #cbd5e1; }
.footer-contact i { margin-right: 10px; color: var(--secondary); }

.footer-bottom { text-align: center; color: #64748b; font-size: 0.9rem; }

/* ==========================================
   8. FLOATING BUTTONS (WhatsApp & Call)
   ========================================== */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.wa-btn { background: #25d366; } /* WhatsApp Green */
.wa-btn:hover { background: #1ebe57; transform: scale(1.1); }

.call-btn { background: var(--secondary); } /* Call Blue */
.call-btn:hover { background: #1d4ed8; transform: scale(1.1); }

/* ==========================================
   9. LOGIN & ADMIN PAGES (Retained Layout)
   ========================================== */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--primary); }
.login-card { background: var(--white); padding: 40px; border-radius: 12px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); text-align: center; }
.login-header i { font-size: 3rem; color: var(--secondary); margin-bottom: 10px; }
.login-header h2 { color: var(--primary); margin-bottom: 5px; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-group input { padding-left: 45px; }
.back-link { display: inline-block; margin-top: 20px; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }

.admin-body { background: var(--bg-light); }
.admin-header { background: var(--primary); color: var(--white); padding: 15px 0; }
.admin-nav { display: flex; justify-content: space-between; align-items: center; }
.admin-actions button, .admin-actions a { padding: 8px 15px; border-radius: 5px; font-size: 0.9rem; cursor: pointer; text-decoration: none; margin-left: 10px; border: none; }
.btn-refresh { background: var(--secondary); color: var(--white); }
.btn-logout { background: #ef4444; color: var(--white); }
.dashboard-section { padding: 40px 0; }
.table-container { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); padding: 20px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { background: var(--bg-light); color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; }
tr:hover { background-color: #f1f5f9; }

/* ==========================================
   10. RESPONSIVE DESIGN (Mobile adjustments)
   ========================================== */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Hide complex menu on mobile */
    .hero-content h1 { font-size: 2.2rem; }
    .owner-container { flex-direction: column; text-align: center; }
    .owner-bio { border-left: none; border-top: 4px solid var(--secondary); padding-left: 0; padding-top: 15px; margin-top: 15px; }
    .input-grid { grid-template-columns: 1fr; }
    .form-card { padding: 25px 15px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .floating-container { bottom: 20px; right: 20px; }
    .float-btn { width: 50px; height: 50px; font-size: 22px; }
    .admin-nav { flex-direction: column; gap: 15px; }
}