
:root {
    --primary-color: #0f172a;
    --secondary-color: #2563eb;
    --accent-color: #38bdf8;
    --text-color: #334155;
    --bg-color: #f8fafc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.bg-light { background-color: #e2e8f0; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; color: var(--primary-color); text-align: center; margin-bottom: 40px; font-weight: 800; }
.section-subtitle { text-align: center; margin-bottom: 40px; font-size: 1.2rem; color: #475569; }

/* Navbar */
.navbar { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; color: var(--primary-color); font-weight: 800; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--secondary-color); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover; height: 100vh; display: flex; align-items: center; color: var(--white); text-align: center; padding-top: 70px; }
.hero-content h2 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: 600; transition: background 0.3s; }
.btn-primary { background-color: var(--secondary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--accent-color); }

/* Services Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background-color: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; }
.card-content h3 { color: var(--primary-color); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* Tech */
.tech-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.tech-item { flex: 1; min-width: 250px; padding: 20px; }
.tech-item i { color: var(--secondary-color); margin-bottom: 20px; }
.tech-item h4 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); }

/* Experience */
.experience-list { max-width: 800px; margin: auto; }
.experience-item { background: var(--white); padding: 25px; border-left: 5px solid var(--secondary-color); border-radius: 5px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.experience-item h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white); padding: 50px 0 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
.footer-info h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent-color); }
.footer-info p { max-width: 400px; color: #cbd5e1; }
.footer-contact h4 { margin-bottom: 15px; font-size: 1.2rem; }
.footer-contact p { margin-bottom: 10px; color: #cbd5e1; display: flex; align-items: center; gap: 10px; }
.footer-bottom { text-align: center; color: #94a3b8; font-size: 0.9rem; }

/* Responsive */
@media(max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 70px; left: 0; background: var(--white); box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 0; text-align: center; padding: 15px 0; border-bottom: 1px solid #f1f5f9; }
    .hamburger { display: block; }
    .hero-content h2 { font-size: 2.5rem; }
}
