/* ========================= */
/* Base */
/* ========================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    color: #333;
}

/* ========================= */
/* Navigation */
/* ========================= */

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
}

/* ========================= */
/* Hero */
/* ========================= */

.hero {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #ffffff;
    padding: 110px 20px;
    text-align: center;
}

.hero h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.hero h2 {
    font-weight: 300;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 1.75rem;
    font-size: 1.1rem;
}

/* ========================= */
/* Sections */
/* ========================= */

section h2 {
    font-weight: 700;
}

/* ========================= */
/* Project Cards */
/* ========================= */

.project-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.project-card .card-body h3 {
    font-weight: 700;
    color: #0d6efd;
}

.project-card .card-body h5 {
    font-weight: 600;
    margin-top: 1.25rem;
}

.project-card .badge {
    margin: 4px;
    font-size: 0.8rem;
}

/* ========================= */
/* Tech Logo Grid */
/* ========================= */

.tech-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    padding: 22px 12px;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.tech-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.tech-card span {
    font-weight: 600;
    color: #212529;
    font-size: 0.9rem;
}

/* ========================= */
/* Experience Cards */
/* ========================= */

.exp-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.exp-card .card-header {
    border-radius: 16px 16px 0 0 !important;
    font-weight: 700;
}

.exp-card .card-body h5 {
    font-weight: 700;
}

.exp-card .card-body ul {
    padding-left: 1.25rem;
}

.exp-card .card-body li {
    margin-bottom: 0.4rem;
}

/* ========================= */
/* Timeline */
/* ========================= */

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0d6efd, #0a58ca);
}

.timeline-item {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: #212529;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 18px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #0d6efd;
}

/* ========================= */
/* Contact */
/* ========================= */

#contact .text-center p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

#contact-form .form-control {
    border-radius: 10px;
    padding: 12px 14px;
}

#contact-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

#contact-form .form-label {
    font-weight: 600;
}

/* ========================= */
/* Footer */
/* ========================= */

footer {
    margin-top: 60px;
}
