/* ========================================================================== AI INSTITUTE — STYLESHEET A dark, modern landing page built with Roboto and a single red accent. Sections: 01. Variables & base 02. Utilities 03. Buttons, cards & reveal 04. Header / navigation 05. Hero 06. Why learn AI 07. Courses 08. Career pathways 09. Internship pathway 10. Certification 11. Student projects 12. Success stories 13. Hiring partners 14. FAQ 15. Final CTA 16. Footer 17. Responsive ========================================================================== */ /* ========================================================================== 01. VARIABLES & BASE ========================================================================== */ :root { --font-main: 'Roboto', sans-serif; --bg-section: #353535; --card-bg: #9EA3A6; --red: #BD252A; --white: #ffffff; --bg-dark: #141414; --card-top: #7C8183; --card-bottom: #6E5254; --pill-bg: #ffffff; --pill-text: #4A5568; --bg-hero: #0F0F10; --text-muted: #D9D9D9; --float-icon-bg: #EEF0FB; --float-icon: #6B7AD1; --float-sub: #8A93A6; --bg: #0b0b0c; --bg-alt: #1a1a1c; --bg-deep: #080809; --surface: rgba(138, 138, 140, 0.09); --surface-2: rgba(138, 138, 140, 0.14); --surface-3: rgba(138, 138, 140, 0.2); --text: #ffffff; --muted: #b5b5b5; --muted-2: #8e8e91; --accent: #d7263d; --accent-dark: #ab172b; --accent-soft: rgba(215, 38, 61, 0.12); --accent-border: rgba(215, 38, 61, 0.42); --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.15); --radius-sm: 8px; --radius: 12px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px; --container: 1200px; --gutter: 24px; --section-y: 100px; --header-h: 78px; --transition: 0.3s ease; --shadow: 0 16px 40px rgba(0, 0, 0, 0.3); --shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(215, 38, 61, 0.35), 0 0 30px rgba(215, 38, 61, 0.16); } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } body { margin: 0; background-color: var(--bg); color: var(--muted); font-family: var(--font-main); font-size: 16px; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; } body.nav-open { overflow: hidden; } h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; } ul, ol { padding: 0; list-style: none; } img { display: block; max-width: 100%; height: auto; } a, button, input, textarea, select { font-family: var(--font-main); } a { color: inherit; text-decoration: none; } button { cursor: pointer; } ::selection { background: var(--accent); color: #fff; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; } .icon { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; } .skip-link { position: fixed; top: -100px; left: 16px; z-index: 500; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; transition: top 0.2s ease; } .skip-link:focus { top: 16px; } /* ========================================================================== 02. UTILITIES ========================================================================== */ .container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); } .section { position: relative; padding-block: var(--section-y); scroll-margin-top: calc(var(--header-h) + 16px); } .section--alt { background-color: var(--bg-alt); border-block: 1px solid rgba(255, 255, 255, 0.025); } .section__head { max-width: 720px; margin-bottom: 52px; } .section__head--center { max-width: 680px; margin-inline: auto; text-align: center; } .section__head--center .section__lead { margin-inline: auto; } .section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; max-width: none; } .section__head--split > div { max-width: 620px; } .section__head--split .section__lead { max-width: 420px; margin: 0 0 6px; } .section__title { color: var(--text); font-size: 36px; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; } .section__lead { max-width: 620px; margin-top: 16px; color: var(--muted); font-size: 17px; font-weight: 400; line-height: 1.7; } .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } .eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; border-radius: 2px; background: #ffffff; } /* ========================================================================== 03. BUTTONS, CARDS & REVEAL ========================================================================== */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); } .btn--sm { padding: 12px 22px; font-size: 14px; } .btn--primary { background-color: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(215, 38, 61, 0.28); } .btn--primary:hover { background-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(215, 38, 61, 0.36); } .btn--light { background-color: #fff; color: #101012; } .btn--light:hover { background-color: #ececec; transform: translateY(-2px); } .btn--ghost { border-color: rgba(255, 255, 255, 0.42); background-color: rgba(255, 255, 255, 0.04); color: #fff; } .btn--ghost:hover { background-color: #fff; border-color: #fff; color: #101012; transform: translateY(-2px); } /* Scroll reveal (enabled by IntersectionObserver in main.js) */ .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); } .reveal.is-visible { opacity: 1; transform: none; } /* Shared card treatment */ .card { background-image: linear-gradient(150deg, rgba(138, 138, 140, 0.16), rgba(138, 138, 140, 0.055)); background-color: rgba(138, 138, 140, 0.08); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), opacity 0.65s ease; } .card:hover, .card:focus-within { transform: translateY(-4px); border-color: rgba(215, 38, 61, 0.6); box-shadow: var(--shadow-hover); } /* ========================================================================== 04. HEADER / NAVIGATION ========================================================================== */ .site-header { position: sticky; top: 0; z-index: 100; background-color: rgba(11, 11, 12, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: background-color var(--transition), box-shadow var(--transition); } .site-header.is-scrolled { background-color: rgba(11, 11, 12, 0.92); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); } .navbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); } .logo { display: inline-flex; align-items: flex-end; gap: 9px; flex: none; color: #fff; line-height: 1; } .logo__mark { font-size: 32px; font-weight: 900; letter-spacing: -0.04em; } .logo__dot { color: var(--accent); } .logo__text { padding-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; } .nav { display: flex; flex: 1; justify-content: center; } .nav__list { display: flex; align-items: center; gap: 4px; } .nav__item { position: relative; } .nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1; transition: color var(--transition), background-color var(--transition); } .nav__link:hover { background-color: rgba(255, 255, 255, 0.06); color: #fff; } .nav__link.is-active { color: #fff; } .nav__link.is-active::after { content: ""; width: 4px; height: 4px; margin-left: 2px; border-radius: 50%; background-color: var(--accent); } .nav__chevron { display: inline-flex; transition: transform var(--transition); } .nav__chevron .icon { width: 14px; height: 14px; } .nav__item--dropdown.is-open .nav__chevron { transform: rotate(180deg); } .dropdown { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30; min-width: 220px; padding: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius); background-color: #161618; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); } .nav__item--dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .dropdown__link { display: block; padding: 11px 14px; border-radius: var(--radius-sm); color: var(--muted); font-size: 14px; font-weight: 500; transition: color var(--transition), background-color var(--transition); } .dropdown__link:hover { background-color: var(--accent-soft); color: #fff; } .nav__actions { display: flex; align-items: center; gap: 12px; flex: none; } .nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background-color: rgba(255, 255, 255, 0.04); transition: background-color var(--transition), border-color var(--transition); } .nav-toggle:hover { background-color: rgba(255, 255, 255, 0.08); border-color: var(--border-strong); } .nav-toggle__bar { display: block; width: 18px; height: 2px; border-radius: 2px; background-color: #fff; transition: transform var(--transition), opacity var(--transition); } .nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; } .nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* ========================================================================== 05. HERO ========================================================================== */ #home.hero { position: relative; display: flex; align-items: center; min-height: 520px; overflow: hidden; padding: 70px 0 80px; background-color: var(--bg-hero); background-image: none; scroll-margin-top: calc(var(--header-h) + 16px); } .hero .hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; } .hero .hero__content { max-width: 560px; } .hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } .hero .eyebrow::before { content: ""; width: 14px; height: 2px; flex: none; border-radius: 0; background: var(--white); } .hero .hero__title { margin: 18px 0 20px; color: var(--white); font-family: 'Roboto', sans-serif; font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: 0; } .hero .hero__title span { display: block; color: transparent; background-image: linear-gradient(90deg, #BD252A, #E0474C, #BD252A); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hero-shimmer 4s linear infinite; } .hero .hero__text { max-width: 520px; margin-bottom: 28px; color: var(--text-muted); font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; } .hero .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; } .hero .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 12px 20px; border: none; border-radius: 8px; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1; transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; } .hero .btn--primary { background-color: var(--red); color: var(--white); box-shadow: none; } .hero .btn--primary:hover { background-color: #A61F24; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(189, 37, 42, 0.35); } .hero .btn--light { background-color: var(--white); color: #1A1A1A; } .hero .btn--light:hover { background-color: var(--white); transform: translateY(-2px); } .hero .hero__arrow { display: inline-flex; width: 12px; height: 12px; margin-left: 8px; flex: none; } .hero .hero__arrow svg { width: 100%; height: 100%; } .hero .hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; } .hero .hero__badge { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 10px; font-weight: 400; line-height: 1.4; } .hero .hero__badge-icon { display: inline-flex; color: var(--white); } .hero .hero__badge-icon .icon { width: 12px; height: 12px; } .hero .hero__media { position: relative; justify-self: end; width: 100%; max-width: 560px; } .hero .hero__image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 28px; background-color: #171719; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); } .hero .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1) translateX(6%); transition: opacity 1s ease, transform 1.2s ease; } .hero .hero__image:first-child { opacity: 1; } .hero .hero__image.is-active { opacity: 1; transform: translateX(0); animation: hero-zoom 6s ease-in-out infinite alternate; } .hero .hero__image.is-leaving { opacity: 0; transform: translateX(-6%) scale(1.05); } .hero .hero__dots { position: absolute; right: 18px; bottom: 18px; z-index: 5; display: flex; gap: 6px; } .hero .hero__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease; } .hero .hero__dot.is-active { width: 22px; border-radius: 999px; background-color: var(--red); } .hero .hero__float { position: absolute; left: 18px; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background-color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); color: #1A1A1A; font-family: 'Roboto', sans-serif; font-size: 11px; font-weight: 500; line-height: 1.3; animation: hero-float 3.5s ease-in-out infinite alternate; } .hero .hero__float-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background-color: rgb(187 155 157 / 35%); color: #bd252a; } .hero .hero__float-icon .icon { width: 18px; height: 18px; } .hero .hero__float-copy { display: flex; flex-direction: column; gap: 2px; color: #1A1A1A; font-size: 11px; font-weight: 500; line-height: 1.3; } .hero .hero__float-copy small { color: var(--float-sub); font-size: 9px; font-weight: 400; line-height: 1.3; } /* Reveal polish + staggered hero children */ .hero .reveal { transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; } .hero .reveal.is-visible { transform: translateY(0); } .hero__content.reveal.is-visible .eyebrow { animation: hero-fade-up 0.7s ease both; animation-delay: 0s; } .hero__content.reveal.is-visible .hero__title { animation: hero-fade-up 0.7s ease both; animation-delay: 0.1s; } .hero__content.reveal.is-visible .hero__text { animation: hero-fade-up 0.7s ease both; animation-delay: 0.2s; } .hero__content.reveal.is-visible .hero__actions { animation: hero-fade-up 0.7s ease both; animation-delay: 0.3s; } .hero__content.reveal.is-visible .hero__badges { animation: hero-fade-up 0.7s ease both; animation-delay: 0.4s; } @keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } } @keyframes hero-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } } @keyframes hero-float { from { transform: translateY(0); } to { transform: translateY(-6px); } } @keyframes hero-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 992px) { .hero .hero__inner { grid-template-columns: 1fr; gap: 40px; } .hero .hero__media { justify-self: start; max-width: 560px; } } @media (prefers-reduced-motion: reduce) { .hero, .hero *, .hero *::before, .hero *::after { animation: none !important; transition: none !important; } .hero .reveal { opacity: 1 !important; transform: none !important; } .hero .hero__image { opacity: 0 !important; transform: none !important; } .hero .hero__image:first-child { opacity: 1 !important; } .hero .hero__dots { display: none; } } /* ========================================================================== 06. WHY LEARN AI ========================================================================== */ #why { padding: 60px 0; border: 0; background-color: var(--bg-section); } #why .section__head { margin-bottom: 0; } #why .eyebrow { gap: 8px; margin-bottom: 0; color: var(--white); font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } #why .eyebrow::before { width: 14px; height: 2px; border-radius: 0; background: var(--white); } #why .section__title { margin: 14px 0 10px; color: var(--white); font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: 0; } #why .section__lead { max-width: 620px; margin: 0 0 32px; color: var(--white); font-size: 13px; font-weight: 400; line-height: 1.6; } #why .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } #why .why-card { min-height: 130px; padding: 16px; border: 0; border-radius: 18px; background-color: var(--card-bg); background-image: none; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.65s ease; } #why .why-card.card:hover { transform: translateY(-4px); border: 0; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18); } #why .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; border: 0; border-radius: 8px; background-color: var(--white); color: var(--red); } #why .icon-box .icon { width: 16px; height: 16px; stroke-width: 1.5; } #why .why-card:hover .icon-box { background-color: var(--white); border-color: transparent; color: var(--red); } #why .why-card__title { margin-bottom: 6px; color: var(--red); font-size: 16px; font-weight: 700; line-height: 1.3; } #why .why-card__text { color: var(--white); font-size: 11px; font-weight: 400; line-height: 1.6; } /* Reveal fade-up with a small per-card stagger */ #why .why-card.reveal { transform: translateY(20px); } #why .why-card.reveal.is-visible { transform: translateY(0); } #why .why-card.reveal.is-visible:nth-child(2) { transition-delay: 0.06s; } #why .why-card.reveal.is-visible:nth-child(3) { transition-delay: 0.12s; } #why .why-card.reveal.is-visible:nth-child(4) { transition-delay: 0.18s; } #why .why-card.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; } @media (max-width: 992px) { #why .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 576px) { #why .why-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { #why .why-card.reveal { transform: none; } } /* ========================================================================== 07. COURSES ========================================================================== */ #courses { padding: 60px 0; border: 0; background-color: var(--bg-dark); } #courses .section__head { margin-bottom: 0; } #courses .section__head--split { display: block; max-width: none; } #courses .section__head--split > div { max-width: none; } #courses .eyebrow { gap: 8px; margin-bottom: 0; color: var(--white); font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } #courses .eyebrow::before { width: 14px; height: 2px; border-radius: 0; background: var(--white); } #courses .section__title { margin: 14px 0 10px; color: var(--white); font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: 0; } #courses .section__lead { max-width: 620px; margin: 0; color: var(--white); font-size: 13px; font-weight: 400; line-height: 1.6; } #courses .course-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 48px; } #courses .filter-pill { padding: 8px 18px; border: 0; border-radius: 999px; background-color: var(--pill-bg); color: var(--pill-text); font-family: 'Roboto', sans-serif; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28); transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; } #courses .filter-pill:hover { transform: translateY(-2px); } #courses .filter-pill.is-active { background-color: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(189, 37, 42, 0.4); } #courses .course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } #courses .course-card { display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease; } #courses .course-card:hover { border: 0; box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65); } #courses .course-card__media { flex: none; aspect-ratio: 4 / 2.8; overflow: hidden; background-color: #222; } #courses .course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } #courses .course-card:hover .course-card__media img { transform: scale(1.06); } #courses .course-card__body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%); } #courses .course-card__tag { margin-bottom: 8px; color: #bd252a; font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; } #courses .course-card__title { flex: 0 1 auto; margin: 0 0 auto; color: var(--white); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0; } #courses .course-card__link { display: inline-flex; align-items: center; align-self: flex-end; gap: 4px; margin-top: 14px; color: #ffffff; font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 800; line-height: 1.4; text-decoration: none; transition: color 0.3s ease; } #courses .course-card__link .icon { width: 12px; height: 12px; transition: transform 0.3s ease; } #courses .course-card__link:hover { color: var(--red); } #courses .course-card__link:hover .icon { transform: translateX(4px); } /* Reveal + filtering states */ #courses .course-card.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease; } #courses .course-card.reveal.is-visible { opacity: 1; transform: translateY(0); } #courses .course-card.reveal:nth-child(2) { transition-delay: 0.08s; } #courses .course-card.reveal:nth-child(3) { transition-delay: 0.16s; } #courses .course-card.reveal:nth-child(4) { transition-delay: 0.24s; } #courses .course-card.reveal:nth-child(5) { transition-delay: 0.32s; } #courses .course-card.reveal:nth-child(6) { transition-delay: 0.4s; } #courses .course-card.reveal:nth-child(7) { transition-delay: 0.48s; } #courses .course-card.reveal:nth-child(8) { transition-delay: 0.56s; } #courses .course-card.reveal.is-hidden { opacity: 0; transform: translateY(0) scale(0.95); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; transition-delay: 0s; } #courses .course-card.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; } @media (max-width: 992px) { #courses .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 576px) { #courses .course-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { #courses .course-card, #courses .course-card.reveal, #courses .filter-pill, #courses .course-card__media img, #courses .course-card__link .icon { transition: none; } #courses .course-card, #courses .course-card.reveal, #courses .course-card.reveal.is-visible, #courses .course-card.reveal.is-hidden, #courses .course-card.reveal.is-visible:hover, #courses .filter-pill:hover { transform: none; } #courses .course-card:hover .course-card__media img { transform: none; } } /* ========================================================================== 08. CAREER PATHWAYS ========================================================================== */ :root { --icon-tile: #EEF0FB; --pathways-bg: #0D0D0D; } #pathways { padding: 56px 0; border: 0; background-color: #181616; text-align: left; } #pathways .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } #pathways .eyebrow::before { content: ""; width: 0; height: 2px; flex: none; border-radius: 0; background: var(--white); transition: width 0.6s ease; } #pathways .section__head.is-visible .eyebrow::before { width: 14px; } #pathways .section__title { margin: 14px 0 12px; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: 0; } #pathways .section__lead { max-width: 560px; margin: 0 0 32px; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.7; } #pathways .pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } #pathways .pathway-card { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 14px; min-height: 90px; overflow: hidden; padding: 18px 20px; border: none; border-radius: 16px; background-color: var(--card-bg); background-image: none; box-shadow: none; transition: transform 0.3s ease, box-shadow 0.3s ease; } /* Cursor-following spotlight */ #pathways .pathway-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient( 180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 60% ); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } #pathways .pathway-card:hover::before, #pathways .pathway-card:focus-visible::before { opacity: 1; } #pathways .pathway-card > * { position: relative; z-index: 1; } #pathways .pathway-card .icon-box { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background-color: var(--icon-tile); color: var(--red); transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease; animation: pathway-icon-float 3s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -0.3s); } #pathways .pathway-card .icon-box .icon { width: 14px; height: 14px; stroke-width: 1.5; } #pathways .pathway-card:hover .icon-box, #pathways .pathway-card:focus-visible .icon-box { transform: scale(1.1) rotate(-6deg); background-color: var(--red); color: var(--white); animation: none; } #pathways .pathway-card__title { grid-column: 2; margin: 0 0 6px; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; } #pathways .pathway-card__text { grid-column: 2; margin: 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 12.5px; font-weight: 400; line-height: 1.6; } #pathways .disclaimer { max-width: none; margin: 26px 0 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 10.5px; font-weight: 400; line-height: 1.7; text-align: left; opacity: 0; transition: opacity 0.6s ease 0.3s; } #pathways .section__head.is-visible ~ .disclaimer, #pathways .pathway-grid:has(.pathway-card.is-visible) ~ .disclaimer { opacity: 0.9; } #pathways .pathway-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; } #pathways .pathway-card:hover, #pathways .pathway-card:focus-visible { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); transition: transform 0.3s ease, box-shadow 0.3s ease; } #pathways .pathway-card.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease; transition-delay: calc(var(--i, 0) * 0.08s); } #pathways .pathway-card.reveal.is-visible { opacity: 1; transform: translateY(0); } #pathways .pathway-card.reveal.is-visible:hover, #pathways .pathway-card.reveal.is-visible:focus-visible { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); transition: transform 0.3s ease, box-shadow 0.3s ease; } @keyframes pathway-icon-float { from { transform: translateY(0); } to { transform: translateY(-2px); } } @media (max-width: 992px) { #pathways .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 576px) { #pathways .pathway-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { #pathways *, #pathways *::before, #pathways *::after { animation: none !important; transition: none !important; transform: none !important; } #pathways .pathway-card, #pathways .pathway-card.reveal, #pathways .pathway-card.reveal.is-visible { opacity: 1 !important; transform: none !important; } #pathways .eyebrow::before { width: 14px !important; } #pathways .disclaimer { opacity: 0.9 !important; } } /* ========================================================================== 09. INTERNSHIP PATHWAY ========================================================================== */ .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; } .split__media { position: relative; isolation: isolate; } .split__media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid rgba(215, 38, 61, 0.3); border-radius: var(--radius-lg); pointer-events: none; } .split__image { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); } .split__content .section__title { margin-bottom: 0; } .split__content .section__lead { margin-bottom: 0; } .split__content .btn { margin-top: 30px; } .steps { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; } .step { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background-color: rgba(138, 138, 140, 0.08); transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition); } .step:hover { border-color: var(--border-strong); transform: translateX(3px); } .step__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border: 1px solid rgba(215, 38, 61, 0.35); border-radius: 50%; background-color: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; } .step__title { margin-bottom: 4px; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.35; } .step__text { color: var(--muted); font-size: 13.5px; line-height: 1.6; } .step.is-active { border-color: var(--accent); background-color: var(--accent); box-shadow: 0 16px 36px rgba(215, 38, 61, 0.28); } .step.is-active:hover { border-color: var(--accent); } .step.is-active .step__num { border-color: rgba(255, 255, 255, 0.4); background-color: rgba(255, 255, 255, 0.16); color: #fff; } .step.is-active .step__text { color: rgba(255, 255, 255, 0.82); } /* ========================================================================== 10. CERTIFICATION ========================================================================== */ .split--cert { align-items: center; } .certificate { position: relative; isolation: isolate; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 26px; background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(215, 38, 61, 0.16) 55%, rgba(255, 255, 255, 0.05)); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); } .certificate__inner { position: relative; overflow: hidden; min-height: 340px; padding: 34px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; background-color: rgba(12, 12, 13, 0.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); } .certificate__glow { position: absolute; top: -80px; right: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 38, 61, 0.5), transparent 65%); filter: blur(20px); pointer-events: none; } .certificate__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; } .certificate__brand { color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; } .certificate__brand span { color: var(--accent); } .certificate__badge { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-pill); background-color: rgba(255, 255, 255, 0.1); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: 0.15em; line-height: 1; text-transform: uppercase; } .certificate__label { position: relative; display: block; margin-bottom: 10px; color: var(--accent); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; line-height: 1.4; text-transform: uppercase; } .certificate__title { position: relative; margin-bottom: 24px; color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; } .certificate__text { position: relative; margin-bottom: 6px; color: var(--muted-2); font-size: 11px; font-weight: 300; letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; } .certificate__name { position: relative; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; } .certificate__meta { position: relative; color: var(--muted); font-size: 12px; font-weight: 300; line-height: 1.5; } .certificate__footer { position: relative; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 34px; } .certificate__sign { min-width: 140px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: var(--muted-2); font-size: 11px; font-weight: 300; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; } .certificate__seal { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(215, 38, 61, 0.4); border-radius: 50%; background-color: var(--accent-soft); color: var(--accent); box-shadow: 0 0 30px rgba(215, 38, 61, 0.25); } .certificate__seal .icon { width: 26px; height: 26px; } .cert-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 54px; } .cert-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 14px; border: 1px solid var(--border); border-radius: var(--radius); background-color: rgba(138, 138, 140, 0.08); text-align: center; transition: transform var(--transition), border-color var(--transition), background-color var(--transition); } .cert-step:hover { transform: translateY(-3px); border-color: var(--accent-border); background-color: rgba(215, 38, 61, 0.08); } .cert-step__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background-color: rgba(215, 38, 61, 0.12); color: var(--accent); } .cert-step__icon .icon { width: 20px; height: 20px; } .cert-step__title { color: #fff; font-size: 13px; font-weight: 500; line-height: 1.35; } .cert-step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -11px; width: 6px; height: 6px; border-top: 1px solid rgba(255, 255, 255, 0.28); border-right: 1px solid rgba(255, 255, 255, 0.28); transform: rotate(45deg); } /* ========================================================================== 11. STUDENT PROJECTS ========================================================================== */ .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .project-card { display: flex; flex-direction: column; overflow: hidden; } .project-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: #222; } .project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; } .project-card:hover .project-card__img { transform: scale(1.04); } .project-card__tag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-pill); background-color: rgba(11, 11, 12, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; } .project-card__body { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px 28px; } .project-card__title { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; } .project-card__link { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--accent); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color var(--transition); } .project-card__link .icon { width: 16px; height: 16px; transition: transform var(--transition); } .project-card__link:hover { color: #ff5a6f; } .project-card__link:hover .icon { transform: translateX(3px); } /* ========================================================================== 12. SUCCESS STORIES ========================================================================== */ .stories-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: stretch; } .testimonial-card { display: flex; flex-direction: column; padding: 36px; } .testimonial-card__quote-icon { display: inline-flex; width: 46px; height: 46px; margin-bottom: 22px; color: var(--accent); } .testimonial-card__quote-icon .icon { width: 36px; height: 36px; } .testimonial-card__quote { flex: 1; margin: 0 0 28px; color: #f2f2f2; font-size: 20px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.6; } .testimonial-card__meta { display: flex; align-items: center; gap: 14px; } .testimonial-card__avatar { width: 48px; height: 48px; flex: none; border: 2px solid rgba(215, 38, 61, 0.5); border-radius: 50%; object-fit: cover; } .testimonial-card__name { display: block; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; } .testimonial-card__role { display: block; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.4; } .video-card { position: relative; isolation: isolate; min-height: 360px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background-color: #161618; } .video-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; } .video-card:hover .video-card__img { transform: scale(1.04); } .video-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.04) 25%, rgba(11, 11, 12, 0.86) 100%); pointer-events: none; } .video-card__play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; background-color: var(--accent); color: #fff; box-shadow: 0 0 0 10px rgba(215, 38, 61, 0.16), 0 16px 34px rgba(0, 0, 0, 0.4); transform: translate(-50%, -50%); transition: transform var(--transition), background-color var(--transition); } .video-card__play .icon { width: 24px; height: 24px; margin-left: 3px; } .video-card__play:hover { background-color: var(--accent-dark); transform: translate(-50%, -50%) scale(1.08); } .video-card__caption { position: absolute; right: 24px; bottom: 22px; left: 24px; margin: 0; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.45; } .profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; } .profile-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; } .profile-card__avatar { width: 52px; height: 52px; flex: none; border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 50%; object-fit: cover; } .profile-card__name { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; } .profile-card__role { margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.4; } /* ========================================================================== 13. HIRING PARTNERS ========================================================================== */ #partners { --card-bg: #F0F4FA; padding: 60px 0; overflow: hidden; border: 0; background-color: var(--bg-section); } #partners .section__head { max-width: none; margin-bottom: 0; } #partners .section__head--center { text-align: center; } #partners .section__title { margin: 0 0 6px; color: var(--white); font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: 0; } #partners .section__lead { max-width: 620px; margin: 0 auto 32px; color: var(--white); font-size: 10px; font-weight: 400; line-height: 1.6; } .partner-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); } #partners .partner-grid { display: flex; flex-wrap: nowrap; width: max-content; gap: 18px; padding: 6px 18px 6px 0; margin: 0; } #partners .partner-grid.is-marquee { animation: partner-scroll 28s linear infinite; will-change: transform; } .partner-marquee:hover .partner-grid, .partner-marquee:focus-within .partner-grid { animation-play-state: paused; } #partners .partner-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 190px; height: 62px; padding: 0; border-radius: 12px; background-color: var(--card-bg); color: #1F2937; font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); user-select: none; transition: transform 0.3s ease, box-shadow 0.3s ease; } #partners .partner-logo:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); } #partners .partner-logo:nth-child(6n+1) { color: #1F2937; font-weight: 700; text-transform: lowercase; } #partners .partner-logo:nth-child(6n+2) { color: #1D4ED8; text-transform: uppercase; letter-spacing: 0.06em; } #partners .partner-logo:nth-child(6n+3) { color: #EA580C; text-transform: uppercase; letter-spacing: 0.12em; } #partners .partner-logo:nth-child(6n+4) { color: #2B4ACB; text-transform: uppercase; } #partners .partner-logo:nth-child(6n+5) { color: #1F2937; text-transform: lowercase; } #partners .partner-logo:nth-child(6n+6) { color: #C62828; text-transform: lowercase; } @keyframes partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } } @media (max-width: 576px) { #partners .partner-logo { width: 150px; height: 52px; font-size: 12px; } } @media (prefers-reduced-motion: reduce) { #partners .partner-grid { flex-wrap: wrap; width: auto; justify-content: center; padding-right: 0; } #partners .partner-grid.is-marquee { animation: none; } #partners .partner-logo[aria-hidden="true"] { display: none; } #partners .partner-logo { transition: none; } } /* ========================================================================== 14. FAQ ========================================================================== */ .faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; } .faq-intro .btn { margin-top: 28px; } .accordion { display: flex; flex-direction: column; gap: 12px; } .accordion__item { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background-color: rgba(138, 138, 140, 0.08); transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition); } .accordion__item.is-open { border-color: var(--accent); background-color: var(--accent); box-shadow: 0 16px 36px rgba(215, 38, 61, 0.24); } .accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 22px; border: 0; background: transparent; color: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.4; text-align: left; transition: color var(--transition); } .accordion__trigger:hover { color: #fff; } .accordion__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background-color: rgba(255, 255, 255, 0.08); color: #fff; transition: transform var(--transition), background-color var(--transition); } .accordion__icon .icon { width: 16px; height: 16px; } .accordion__item.is-open .accordion__icon { background-color: rgba(255, 255, 255, 0.18); transform: rotate(180deg); } .accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; } .accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; } .accordion__body { overflow: hidden; } .accordion__body p { padding: 0 22px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.7; } .accordion__item.is-open .accordion__body p { color: rgba(255, 255, 255, 0.86); } /* ========================================================================== 15. FINAL CTA ========================================================================== */ :root { --bg-cta: #0D0D0D; } .cta { position: relative; overflow: hidden; padding: 90px 0; text-align: center; background-color: var(--bg-cta); background-image: linear-gradient( 135deg, #0D0D0D 0%, #0D0D0D 45%, rgba(189, 37, 42, 0.55) 100% ); scroll-margin-top: calc(var(--header-h) + 16px); } /* Soft red glow, bottom right */ .cta::before { content: ""; position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(189, 37, 42, 0.45), transparent 70%); filter: blur(40px); pointer-events: none; animation: cta-glow 7s ease-in-out infinite alternate; } /* Second, smaller glow, top left */ .cta::after { content: ""; position: absolute; top: -120px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(189, 37, 42, 0.18), transparent 70%); filter: blur(40px); pointer-events: none; animation: cta-glow 7s ease-in-out infinite alternate-reverse; } .cta__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; } /* Reveal — reuses the .is-visible class added by main.js */ .cta .cta__inner { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; } .cta .cta__inner.is-visible { opacity: 1; transform: translateY(0); } /* Staggered children */ .cta .cta__inner > .eyebrow, .cta .cta__inner > .cta__title, .cta .cta__inner > .cta__text, .cta .cta__inner > .cta__actions { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; } .cta .cta__inner.is-visible > .eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.1s; } .cta .cta__inner.is-visible > .cta__title { opacity: 1; transform: translateY(0); transition-delay: 0.2s; } .cta .cta__inner.is-visible > .cta__text { opacity: 1; transform: translateY(0); transition-delay: 0.3s; } .cta .cta__inner.is-visible > .cta__actions { opacity: 1; transform: translateY(0); transition-delay: 0.4s; } .cta .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; } .cta .eyebrow::before { content: ""; width: 14px; height: 2px; flex: none; border-radius: 0; background: var(--white); } .cta .cta__title { margin: 14px 0; color: var(--white); font-family: 'Roboto', sans-serif; font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: 0; } .cta .cta__text { max-width: 560px; margin: 0 auto 30px; color: var(--text-muted); font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; } .cta .cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; } .cta .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 13px 26px; border: 1px solid transparent; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; } .cta .btn--primary { background-color: var(--red); color: var(--white); box-shadow: none; animation: cta-pulse 2.4s infinite; } .cta .btn--primary:hover { background-color: #D12E34; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(189, 37, 42, 0.55); animation: none; } .cta .btn--ghost { background-color: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.7); } .cta .btn--ghost:hover { background-color: var(--white); color: #0D0D0D; border-color: var(--white); transform: translateY(-3px); } .cta .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; } /* Ripple */ .cta .btn-ripple { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); pointer-events: none; transform: scale(0); animation: cta-ripple 0.6s ease-out forwards; } /* Cursor spotlight */ .cta__spotlight { position: absolute; top: 0; left: 0; z-index: 1; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(189, 37, 42, 0.25), transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease, left 0.2s ease-out, top 0.2s ease-out; } .cta__spotlight.is-visible { opacity: 1; } @keyframes cta-glow { 0% { transform: translate(0, 0) scale(1); opacity: 0.8; } 100% { transform: translate(-40px, -30px) scale(1.15); opacity: 1; } } @keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(189, 37, 42, 0.6); } 70% { box-shadow: 0 0 0 16px rgba(189, 37, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(189, 37, 42, 0); } } @keyframes cta-ripple { 0% { transform: scale(0); opacity: 0.6; } 100% { transform: scale(4); opacity: 0; } } @media (max-width: 576px) { .cta { padding: 64px 0; } .cta .cta__actions { flex-direction: column; align-items: center; } .cta .cta__actions .btn { width: 100%; max-width: 320px; } } @media (prefers-reduced-motion: reduce) { .cta, .cta *, .cta *::before, .cta *::after { animation: none !important; transition: none !important; } .cta .cta__inner, .cta .cta__inner > .eyebrow, .cta .cta__inner > .cta__title, .cta .cta__inner > .cta__text, .cta .cta__inner > .cta__actions { opacity: 1 !important; transform: none !important; } .cta__spotlight { display: none; } } /* ========================================================================== 16. FOOTER ========================================================================== */ .site-footer { padding-top: 72px; border-top: 1px solid var(--border); background-color: var(--bg-deep); scroll-margin-top: calc(var(--header-h) + 16px); } .footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr; gap: 40px; padding-bottom: 56px; } .footer-brand .logo { margin-bottom: 18px; } .footer-brand__text { max-width: 320px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.7; } .footer-contact { display: flex; flex-direction: column; gap: 12px; } .footer-contact__item { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; } .footer-contact__item a { color: var(--muted); transition: color var(--transition); } .footer-contact__item a:hover { color: #fff; } .footer-contact__icon { display: inline-flex; flex: none; color: var(--accent); } .footer-contact__icon .icon { width: 16px; height: 16px; margin-top: 2px; } .footer-col__title { margin-bottom: 18px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.15em; line-height: 1.4; text-transform: uppercase; } .footer-links { display: flex; flex-direction: column; gap: 11px; } .footer-links a { color: var(--muted); font-size: 14px; transition: color var(--transition); } .footer-links a:hover { color: #fff; } .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--border); } .socials { display: flex; gap: 10px; } .social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; background-color: rgba(255, 255, 255, 0.03); color: var(--muted); transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition); } .social-link .icon { width: 16px; height: 16px; } .social-link:hover { border-color: var(--accent); background-color: var(--accent); color: #fff; transform: translateY(-2px); } .footer-copy { margin: 0; color: var(--muted-2); font-size: 12.5px; font-weight: 300; line-height: 1.5; } .footer-legal { display: flex; flex-wrap: wrap; gap: 20px; } .footer-legal a { color: var(--muted-2); font-size: 12.5px; transition: color var(--transition); } .footer-legal a:hover { color: #fff; } /* Desktop-only dropdown hover behaviour */ @media (min-width: 981px) { .nav__item--dropdown:hover .dropdown, .nav__item--dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); } } /* ========================================================================== 17. RESPONSIVE ========================================================================== */ @media (max-width: 1100px) { .why-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cert-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cert-step:not(:last-child)::after { display: none; } .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-brand__text { max-width: 460px; } } @media (max-width: 980px) { :root { --header-h: 70px; } .nav-toggle { display: inline-flex; } .nav { position: fixed; top: var(--header-h); right: 0; left: 0; z-index: 90; display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 18px var(--gutter) 28px; border-bottom: 1px solid var(--border); background-color: rgba(11, 11, 12, 0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); } .nav.is-open { opacity: 1; visibility: visible; transform: none; } .nav__list { flex-direction: column; align-items: stretch; gap: 4px; } .nav__link { justify-content: space-between; width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 16px; } .nav__link.is-active::after { display: none; } .nav__item--dropdown .dropdown { position: static; display: none; min-width: 0; padding: 4px 0 8px 16px; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; } .nav__item--dropdown.is-open .dropdown, .nav__item--dropdown.is-open:hover .dropdown { display: block; } .nav__item--dropdown:hover .dropdown { display: none; } .nav__item--dropdown.is-open .nav__chevron { transform: rotate(180deg); } .dropdown__link { padding: 10px 12px; } .hero { padding-block: 64px 84px; } .hero__inner { grid-template-columns: 1fr; gap: 56px; } .hero__content { max-width: 700px; } .hero__media { justify-self: start; max-width: 520px; } .split, .faq-grid { grid-template-columns: 1fr; gap: 48px; } .split__media { max-width: 640px; } .split--cert .certificate { max-width: 600px; } .stories-grid { grid-template-columns: 1fr; } .video-card { min-height: 340px; } .section__head--split { flex-direction: column; align-items: flex-start; gap: 18px; } .section__head--split .section__lead { margin: 0; } .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 768px) { :root { --section-y: 76px; --gutter: 20px; } .section__head { margin-bottom: 40px; } .section__lead { font-size: 16px; } .hero__title { font-size: clamp(40px, 10vw, 58px); } .hero__text { font-size: 16.5px; } .project-grid { grid-template-columns: 1fr; } .project-card__body { align-items: flex-start; flex-direction: column; gap: 14px; } .cert-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } .footer-bottom { justify-content: flex-start; } .socials { order: 1; } .footer-copy { order: 2; } .footer-legal { order: 3; width: 100%; } } @media (max-width: 640px) { .why-grid, .course-grid, .profile-grid { grid-template-columns: 1fr; } .hero__actions { flex-direction: column; align-items: stretch; } .hero__actions .btn { width: 100%; } .hero__badges { gap: 14px 18px; } .hero__float { left: 12px; bottom: 16px; padding: 13px 16px; } .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-logo { height: 80px; font-size: 14px; } .cert-steps { grid-template-columns: 1fr; } .testimonial-card { padding: 26px; } .testimonial-card__quote { font-size: 18px; } .video-card { min-height: 300px; } .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } } @media (max-width: 420px) { .nav__cta { padding: 11px 16px; font-size: 13px; } .navbar { gap: 12px; } .logo__mark { font-size: 28px; } .logo__text { font-size: 10px; } .certificate__inner { padding: 24px; } .certificate__seal { width: 46px; height: 46px; } .certificate__sign { min-width: 110px; } .step { padding: 16px; } } /* ========================================================================== REDUCED MOTION ========================================================================== */ @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } }