/* =============================================
   ILYASS JEBRAOUI — PORTFOLIO STYLESHEET
   Light teal theme, text-driven hero
   ============================================= */

/* ===== VARIABLES ===== */
:root {
    --bg: #fafffe;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fffe;
    --bg-alt: #f0faf8;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --accent: #0f766e;
    --accent-light: #14b8a6;
    --accent-soft: rgba(15, 118, 110, 0.06);
    --accent-glow: rgba(15, 118, 110, 0.1);
    --gradient: linear-gradient(135deg, #0f766e, #14b8a6);

    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: #e2e8f0;
    --border-hover: rgba(15, 118, 110, 0.3);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(15, 118, 110, 0.07);
    --shadow-glow: 0 4px 30px rgba(15, 118, 110, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', var(--font);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }
ul { list-style: none; }
strong { color: var(--text); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; width: 90%; margin: 0 auto; }
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

.navbar { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}
.logo-dot { color: var(--accent); }
.logo:hover { color: var(--text); }

nav ul { display: flex; gap: 4px; }
nav ul li a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
nav ul li a:hover,
nav ul li a.active {
    color: var(--accent);
    background: var(--accent-soft);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
    color: white;
}

.btn-glass {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1.5px solid var(--border-hover);
}
.btn-glass:hover {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    top: -200px; left: -100px;
    background: rgba(20, 184, 166, 0.08);
}
.hero-glow-2 {
    width: 500px; height: 500px;
    bottom: -150px; right: -80px;
    background: rgba(15, 118, 110, 0.06);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.hero-role-wrapper {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 24px;
    min-height: 2rem;
}
.hero-role-static { color: var(--text-muted); }
.hero-role-dynamic { color: var(--accent); }

.cursor {
    color: var(--accent-light);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* Metrics */
.hero-metrics {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.metric {
    padding: 24px 40px;
    text-align: center;
    position: relative;
}
.metric:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; height: 60%;
    width: 1px;
    background: var(--border);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}
.metric-unit {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}
.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 18px;
    background: var(--accent-soft);
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}
.section-tag i { font-size: 0.7rem; }

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p { margin-bottom: 16px; line-height: 1.8; }

.about-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.info-chip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.info-chip:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}
.info-chip i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}
.info-chip strong {
    display: block;
    font-size: 0.93rem;
    margin-bottom: 2px;
}
.info-chip span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Languages */
.about-languages {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.about-languages h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-languages h3 i { color: var(--accent); font-size: 1rem; }

.language-list { display: flex; flex-direction: column; gap: 20px; }

.lang-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.lang-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.lang-level {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.lang-bar {
    height: 6px;
    background: #e8f5f3;
    border-radius: var(--radius-full);
    overflow: hidden;
}
.lang-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    border-radius: var(--radius-full);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== EXPERIENCE ===== */
.timeline {
    position: relative;
    padding-left: 36px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 12px; bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-light), var(--border), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -36px; top: 24px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2.5px solid var(--accent);
    z-index: 1;
}

.dot-ping {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-light);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    0% { transform: scale(1); opacity: 0.6; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.timeline-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 16px;
}
.timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.timeline-company {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.timeline-card ul { padding: 0; }
.timeline-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.93rem;
    line-height: 1.7;
}
.timeline-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent-light);
}

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.skill-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.skill-icon i {
    font-size: 1.2rem;
    color: var(--accent);
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.skill-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-pills span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-alt);
    padding: 5px 13px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.skill-pills span:hover {
    background: var(--accent-soft);
    border-color: var(--border-hover);
    color: var(--accent);
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.project-card:hover::before { opacity: 1; }

.project-card.featured { grid-column: span 2; }

.project-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(15, 118, 110, 0.08);
    line-height: 1;
    margin-bottom: 12px;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}
.project-card p {
    font-size: 0.9rem;
    margin-bottom: 18px;
    flex: 1;
    line-height: 1.7;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.project-tags span {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.project-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.project-link:hover { gap: 10px; }
.project-link i { font-size: 0.7rem; }

/* ===== AWARDS ===== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.award-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.award-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.award-icon-wrap {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #fef9c3, #fef08a);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.award-icon-wrap i {
    font-size: 1.3rem;
    color: #b45309;
}

.award-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.award-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}
.award-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACT ===== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
}
.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    color: inherit;
}

.cc-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.cc-icon i {
    font-size: 1.15rem;
    color: var(--accent);
}
.contact-card:hover .cc-icon {
    background: var(--accent);
}
.contact-card:hover .cc-icon i {
    color: white;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.contact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    word-break: break-all;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.footer-logo span { color: var(--accent); }
.footer-logo:hover { color: var(--text); }
.footer-left p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}
.footer-links a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent-soft);
    border-color: var(--border-hover);
    color: var(--accent);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-sm);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover {
    background: var(--accent-soft);
    border-color: var(--border-hover);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card.featured { grid-column: span 1; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hamburger { display: flex; }

    nav ul {
        position: fixed;
        top: 0; right: -100%;
        width: 75%; max-width: 300px; height: 100vh;
        flex-direction: column;
        background: var(--bg-card);
        padding: 100px 32px 40px;
        border-left: 1px solid var(--border);
        box-shadow: -4px 0 20px rgba(0,0,0,0.06);
        gap: 4px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    nav ul.active { right: 0; }
    nav ul li a {
        display: block;
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .hero-name { letter-spacing: -1px; }
    .hero-metrics { flex-direction: column; border-radius: var(--radius-md); }
    .metric { padding: 16px 24px; }
    .metric:not(:last-child)::after {
        right: 20%; bottom: 0; top: auto;
        width: 60%; height: 1px;
    }

    .section-header h2 { font-size: 2rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }

    .timeline { padding-left: 28px; }
    .timeline-dot { left: -28px; width: 14px; height: 14px; }
    .timeline::before { left: 5px; }
    .timeline-top { flex-direction: column; }

    .contact-cards-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-left { flex-direction: column; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { justify-content: center; }
    .hero-metrics { width: 100%; }
    .contact-cards-grid { grid-template-columns: 1fr 1fr; }
    .award-card { flex-direction: column; text-align: center; align-items: center; }
}
