:root {
    --primary: #0066ff;
    --dark: #1d1d1f;
    --light: #f5f5f7;
    --text: #333;
    --border: #d2d2d7;
}

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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 70px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo { font-weight: 700; font-size: 1.2rem; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.hero {
    padding: 100px 10%;
    background: var(--light);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--dark);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto 30px;
}

.services {
    padding: 80px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    padding: 40px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: 450px;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card h2 { margin-bottom: 15px; font-size: 1.5rem; color: var(--dark); }
.card p { color: #6e6e73; margin-bottom: 20px; flex-grow: 1; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.badge {
    background: #e8e8ed;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-info {
    padding: 60px 10%;
    background: #fff;
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact-info h2 { font-size: 2rem; margin-bottom: 20px; color: var(--dark); }

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.btn:hover { background: #0055d4; transform: scale(1.02); }

.btn-email {
    background: var(--dark);
    margin-top: 10px;
    font-family: monospace;
    font-size: 1.1rem;
}

footer {
    padding: 60px 10%;
    background: var(--light);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: #86868b;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.about {
    padding: 80px 10%;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    color: #555;
}

.about-text p {
    margin-bottom: 15px;
}

.timeline {
    padding: 80px 10%;
    background: var(--light);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-left: 3px solid var(--primary);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--light);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-desc {
    color: #6e6e73;
    font-size: 1rem;
}

.skills-section {
    padding: 80px 10%;
    background: #fff;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.home-about-wrapper { max-width: 900px; }
.home-btn-dark { background: var(--dark); }
.home-services-bg { padding-top: 80px; padding-bottom: 80px; background: var(--light); }
.full-width { width: 100%; }
.margin-bottom-30 { margin-bottom: 30px; }
.btn-border-none { border: none; }
.btn-margin-top-15 { margin-top: 15px; }
.contact-hero-bg { background: #fff; }
.contact-form-bg { background: var(--light); }
.contact-card-bg { max-width: 700px; background: #fff; border-radius: 16px; }
.display-none { display: none; }
.captcha-input-min { min-width: 120px; }

.dashboard-layout { background: var(--light); min-height: 100vh; padding-bottom: 80px; }
.dashboard-container { max-width: 900px; }
.dashboard-login-section { min-height: 80vh; }
.dashboard-login-card { max-width: 450px; width: 100%; border-radius: 20px; background: #fff; }
.dashboard-login-icon-box { width: 80px; height: 80px; }
.dashboard-login-icon { font-size: 2.5rem; }
.dashboard-empty-icon { font-size: 5rem; }
.dashboard-avatar { width: 55px; height: 55px; font-size: 1.4rem; }
.dashboard-msg-content { font-size: 1rem; line-height: 1.6; border: 1px solid #f0f0f0; }

.btn-icon-45 { width: 45px; height: 45px; }
.text-color-555 { color: #555; }
.error-404-hero { padding: 100px 10%; background: #fff; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-404-title { font-size: 5rem; color: var(--primary); }

.message-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.message-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}
.transition-hover {
    transition: all 0.2s ease-in-out;
}
.transition-hover:hover {
    transform: scale(1.05);
}
@media (min-width: 576px) {
    .border-start-sm { border-left: 2px solid #eee; }
    .ps-sm-3 { padding-left: 1rem !important; }
}

@media (max-width: 768px) {
    nav { 
        flex-direction: column;
        height: auto;
        padding: 15px 5%;
    }
    .logo {
        margin-bottom: 15px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .about { flex-direction: column; }
}