/* GLOBAL VARIABLES */
html {
    scroll-behavior: smooth;
}
:root {
    --bg-dark: #0f172a;   /* Deep Navy */
    --bg-light: #f8fafc;  /* Pearl White */
    --accent: #3b82f6;    /* Professional Blue */
    --text-main: #334155; /* Slate Gray */
    --text-light: #f1f5f9;
}

/* RESET & TYPOGRAPHY */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.7; background-color: var(--bg-light); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--bg-dark); line-height: 1.2; }
a { text-decoration: none; }

/* NAVBAR */
nav { background: #fff; padding: 1.2rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.2rem; font-weight: 700; color: var(--bg-dark); letter-spacing: 1px;}
.logo span { font-weight: 300; color: var(--accent); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: 0.95rem; transition: color 0.3s;}
.nav-links a:hover { color: var(--accent); }
.nav-btn { background: var(--bg-dark); color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 4px; }
.nav-btn:hover { background: var(--accent); }

/* HERO SECTION */
#hero { background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%); color: var(--text-light); padding: 8rem 0; text-align: center; }
#hero h1 { color: #fff; font-size: 3rem; margin-bottom: 1.5rem; max-width: 800px; margin-left: auto; margin-right: auto;}
#hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #cbd5e1; max-width: 600px; margin-left: auto; margin-right: auto;}
.btn { display: inline-block; padding: 1rem 2rem; font-weight: 600; border-radius: 4px; transition: background 0.3s; cursor: pointer; border: none; font-size: 1rem;}
.primary-btn { background: var(--accent); color: #fff; }
.primary-btn:hover { background: #2563eb; }

/* SECTIONS COMMON */
section { padding: 5rem 0; }
.section-light { background: #fff; }
.section-dark { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-main); }
.underline { height: 3px; width: 60px; background: var(--accent); margin: 0 auto; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.05rem; }
.stat-box { background: var(--bg-light); padding: 1.5rem; border-left: 4px solid var(--accent); margin-bottom: 1.5rem; border-radius: 0 4px 4px 0;}
.stat-box h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }

/* SERVICES SECTION */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.service-card h3 { margin-bottom: 1rem; color: var(--bg-dark); }

/* CONTACT FORM */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--bg-light); padding: 3rem; border-radius: 8px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem;}
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid #cbd5e1; border-radius: 4px; font-family: 'Inter', sans-serif; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }

/* FOOTER */
footer { background: var(--bg-dark); color: #94a3b8; text-align: center; padding: 2rem 0; font-size: 0.9rem; }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Add a hamburger menu in JS later if desired */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    #hero h1 { font-size: 2.2rem; }
}
