commit a11ca3cc8909090b4d156895a620ca36088ffa45 Author: Aarya Date: Thu Nov 5 12:54:05 2026 +0545 Initial commit diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..6793d78 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,3452 @@ +/* ========================================================================== + 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; + } +} diff --git a/assets/img/heroimage.png b/assets/img/heroimage.png new file mode 100644 index 0000000..e6d2fad Binary files /dev/null and b/assets/img/heroimage.png differ diff --git a/assets/img/heroimage2.jpg b/assets/img/heroimage2.jpg new file mode 100644 index 0000000..8a58b7c Binary files /dev/null and b/assets/img/heroimage2.jpg differ diff --git a/assets/img/interview.jpg b/assets/img/interview.jpg new file mode 100644 index 0000000..d8da429 Binary files /dev/null and b/assets/img/interview.jpg differ diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..d747143 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,1025 @@ +/* ========================================================================== + AI INSTITUTE — MAIN.JS + Vanilla interactions only: + 1. Sticky header state + 2. Mobile navigation + 3. Courses dropdown + 4. Course filtering + 5. FAQ accordion + 6. Scroll reveal + ========================================================================== */ + +(function () { + 'use strict'; + + document.addEventListener('DOMContentLoaded', function () { + var header = document.getElementById('site-header'); + var nav = document.getElementById('primary-nav'); + var navToggle = document.querySelector('.nav-toggle'); + var dropdownItems = Array.prototype.slice.call( + document.querySelectorAll('.nav__item--dropdown') + ); + + /* ------------------------------------------------------------------ + 1. Sticky header state + ------------------------------------------------------------------ */ + function updateHeaderState() { + if (!header) { + return; + } + header.classList.toggle('is-scrolled', window.scrollY > 8); + } + + updateHeaderState(); + window.addEventListener('scroll', updateHeaderState, { passive: true }); + + /* ------------------------------------------------------------------ + 2. Mobile navigation + ------------------------------------------------------------------ */ + function setNavState(isOpen) { + if (!nav || !navToggle) { + return; + } + nav.classList.toggle('is-open', isOpen); + navToggle.classList.toggle('is-active', isOpen); + navToggle.setAttribute('aria-expanded', String(isOpen)); + navToggle.setAttribute( + 'aria-label', + isOpen ? 'Close navigation menu' : 'Open navigation menu' + ); + document.body.classList.toggle('nav-open', isOpen); + + if (!isOpen) { + closeDropdowns(); + } + } + + if (navToggle && nav) { + navToggle.addEventListener('click', function () { + setNavState(!nav.classList.contains('is-open')); + }); + + nav.querySelectorAll('a').forEach(function (link) { + link.addEventListener('click', function () { + if (window.innerWidth <= 980) { + setNavState(false); + } + }); + }); + } + + /* ------------------------------------------------------------------ + 3. Courses dropdown + ------------------------------------------------------------------ */ + function closeDropdowns(except) { + dropdownItems.forEach(function (item) { + if (item === except) { + return; + } + item.classList.remove('is-open'); + var trigger = item.querySelector('.nav__dropdown-toggle'); + if (trigger) { + trigger.setAttribute('aria-expanded', 'false'); + } + }); + } + + dropdownItems.forEach(function (item) { + var trigger = item.querySelector('.nav__dropdown-toggle'); + + if (!trigger) { + return; + } + + trigger.addEventListener('click', function (event) { + event.stopPropagation(); + var willOpen = !item.classList.contains('is-open'); + closeDropdowns(item); + item.classList.toggle('is-open', willOpen); + trigger.setAttribute('aria-expanded', String(willOpen)); + }); + + item.querySelectorAll('.dropdown__link').forEach(function (link) { + link.addEventListener('click', function () { + item.classList.remove('is-open'); + trigger.setAttribute('aria-expanded', 'false'); + }); + }); + }); + + document.addEventListener('click', function (event) { + if (!event.target.closest('.nav__item--dropdown')) { + closeDropdowns(); + } + }); + + document.addEventListener('keydown', function (event) { + if (event.key === 'Escape') { + closeDropdowns(); + setNavState(false); + } + }); + + window.addEventListener('resize', function () { + if (window.innerWidth > 980) { + setNavState(false); + } + }); + + /* ------------------------------------------------------------------ + 4. Course filtering + ------------------------------------------------------------------ */ + var filterButtons = Array.prototype.slice.call( + document.querySelectorAll('.filter-pill') + ); + var courseCards = Array.prototype.slice.call( + document.querySelectorAll('.course-card') + ); + + filterButtons.forEach(function (button) { + button.addEventListener('click', function () { + var filter = button.getAttribute('data-filter'); + + filterButtons.forEach(function (pill) { + var isActive = pill === button; + pill.classList.toggle('is-active', isActive); + pill.setAttribute('aria-pressed', String(isActive)); + }); + + courseCards.forEach(function (card) { + var category = card.getAttribute('data-category'); + var shouldShow = filter === 'all' || category === filter; + card.classList.toggle('is-hidden', !shouldShow); + }); + }); + }); + + /* ------------------------------------------------------------------ + 5. FAQ accordion + ------------------------------------------------------------------ */ + var accordionItems = Array.prototype.slice.call( + document.querySelectorAll('.accordion__item') + ); + + accordionItems.forEach(function (item) { + var trigger = item.querySelector('.accordion__trigger'); + + if (!trigger) { + return; + } + + trigger.addEventListener('click', function () { + var wasOpen = item.classList.contains('is-open'); + + accordionItems.forEach(function (other) { + other.classList.remove('is-open'); + var otherTrigger = other.querySelector('.accordion__trigger'); + if (otherTrigger) { + otherTrigger.setAttribute('aria-expanded', 'false'); + } + }); + + if (!wasOpen) { + item.classList.add('is-open'); + trigger.setAttribute('aria-expanded', 'true'); + } + }); + }); + + /* ------------------------------------------------------------------ + 6. Scroll reveal + ------------------------------------------------------------------ */ + var revealElements = Array.prototype.slice.call( + document.querySelectorAll('.reveal') + ); + + var prefersReducedMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + + if (!revealElements.length) { + return; + } + + if (prefersReducedMotion || !('IntersectionObserver' in window)) { + revealElements.forEach(function (element) { + element.classList.add('is-visible'); + }); + return; + } + + var observer = new IntersectionObserver( + function (entries) { + entries.forEach(function (entry) { + if (entry.isIntersecting) { + entry.target.classList.add('is-visible'); + observer.unobserve(entry.target); + } + }); + }, + { + threshold: 0.12, + rootMargin: '0px 0px -60px 0px' + } + ); + + revealElements.forEach(function (element) { + observer.observe(element); + }); + }); +})(); + +/* ========================================================================== + COURSE FILTER — ANIMATED ENHANCEMENT + Appended as an isolated IIFE so it cannot interfere with the code above. + It shares the existing .is-hidden / .is-visible state while adding the + fade + scale animation and the delayed display:none step. + ========================================================================== */ + +(function () { + 'use strict'; + + function initAnimatedCourseFilter() { + var pills = Array.prototype.slice.call( + document.querySelectorAll('.filter-pill') + ); + var cards = Array.prototype.slice.call( + document.querySelectorAll('#course-grid .course-card') + ); + + if (!pills.length || !cards.length) { + return; + } + + var reduceMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + var hideDelay = reduceMotion ? 0 : 300; + + function clearTimer(card) { + if (card.__courseFilterTimer) { + window.clearTimeout(card.__courseFilterTimer); + card.__courseFilterTimer = null; + } + } + + function showCard(card) { + clearTimer(card); + + var wasHidden = card.classList.contains('is-hidden') || + card.style.display === 'none'; + + card.style.display = ''; + card.classList.remove('is-hidden'); + + if (wasHidden) { + card.classList.add('is-hidden'); + void card.offsetWidth; + card.classList.remove('is-hidden'); + } + + card.classList.add('is-visible'); + } + + function hideCard(card) { + card.classList.remove('is-visible'); + card.classList.add('is-hidden'); + clearTimer(card); + + card.__courseFilterTimer = window.setTimeout(function () { + card.style.display = 'none'; + card.__courseFilterTimer = null; + }, hideDelay); + } + + function setActivePill(activePill) { + pills.forEach(function (pill) { + var isActive = pill === activePill; + pill.classList.toggle('is-active', isActive); + pill.setAttribute('aria-pressed', String(isActive)); + }); + } + + pills.forEach(function (pill) { + pill.addEventListener('click', function () { + var filter = pill.getAttribute('data-filter') || 'all'; + + setActivePill(pill); + + cards.forEach(function (card) { + var category = card.getAttribute('data-category'); + var shouldShow = filter === 'all' || category === filter; + + if (shouldShow) { + showCard(card); + } else { + hideCard(card); + } + }); + }); + }); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initAnimatedCourseFilter); + } else { + initAnimatedCourseFilter(); + } +})(); + +/* ========================================================================== + HIRING PARTNERS — ENDLESS MARQUEE + Appended as an isolated IIFE so it cannot interfere with the code above. + The track holds an even number of identical sets, so translateX(-50%) + loops with no visible jump. + ========================================================================== */ + +(function () { + 'use strict'; + + function initPartnerMarquee() { + var section = document.getElementById('partners'); + if (!section) { + return; + } + + var grid = section.querySelector('.partner-grid'); + if (!grid) { + return; + } + + if (grid.getAttribute('data-marquee-init') === 'true') { + return; + } + + var originals = Array.prototype.slice.call(grid.children).filter( + function (child) { + return child.classList && + child.classList.contains('partner-logo'); + } + ); + + if (!originals.length) { + return; + } + + grid.setAttribute('data-marquee-init', 'true'); + + var marquee = document.createElement('div'); + marquee.className = 'partner-marquee'; + grid.parentNode.insertBefore(marquee, grid); + marquee.appendChild(grid); + + grid.setAttribute('role', 'list'); + + originals.forEach(function (logo) { + logo.setAttribute('role', 'listitem'); + }); + + function addSet() { + originals.forEach(function (logo) { + var clone = logo.cloneNode(true); + clone.setAttribute('aria-hidden', 'true'); + clone.removeAttribute('role'); + clone.removeAttribute('data-marquee-init'); + grid.appendChild(clone); + }); + } + + /* The first duplicate gives the two identical sets required by the + translateX(-50%) loop. */ + addSet(); + var sets = 2; + + function getGap() { + var styles = window.getComputedStyle(grid); + var gap = parseFloat(styles.columnGap || styles.gap); + return isNaN(gap) ? 18 : gap; + } + + function getSetWidth(gap) { + var width = 0; + + originals.forEach(function (logo, index) { + width += logo.getBoundingClientRect().width; + if (index < originals.length - 1) { + width += gap; + } + }); + + return width + gap; + } + + var gap = getGap(); + var setWidth = getSetWidth(gap); + var containerWidth = marquee.clientWidth || section.clientWidth; + + while ( + setWidth < containerWidth && + sets * setWidth < containerWidth * 2 + ) { + addSet(); + addSet(); + sets += 2; + } + + grid.classList.add('is-marquee'); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initPartnerMarquee); + } else { + initPartnerMarquee(); + } +})(); + +/* ========================================================================== + HERO SLIDER — TWO-SLIDE CROSSFADE WITH ZOOM + Appended as an isolated IIFE so it cannot interfere with the code above. + ========================================================================== */ + +(function () { + 'use strict'; + + var HERO_SLIDES = [ + 'assets/img/heroimage.png', + 'assets/img/heroimage2.jpg' + ]; + + function initHeroSlider() { + var media = document.querySelector('.hero__media'); + var wrap = document.querySelector('.hero__image-wrap'); + + if (!wrap) { + return; + } + + if (wrap.getAttribute('data-hero-init') === 'true') { + return; + } + + var firstImage = wrap.querySelector('.hero__image'); + if (!firstImage) { + return; + } + + wrap.setAttribute('data-hero-init', 'true'); + + if (HERO_SLIDES[0]) { + firstImage.src = HERO_SLIDES[0]; + } + firstImage.classList.add('is-active'); + + var images = [firstImage]; + + if (HERO_SLIDES[1]) { + var secondImage = document.createElement('img'); + secondImage.className = 'hero__image'; + secondImage.src = HERO_SLIDES[1]; + secondImage.alt = 'A dark desk with a monitor showing a glowing blue and purple screen'; + secondImage.width = 1000; + secondImage.height = 1200; + secondImage.loading = 'lazy'; + wrap.appendChild(secondImage); + images.push(secondImage); + } + + /* Floating card copy */ + if (media) { + var floatCard = media.querySelector('.hero__float'); + var floatCopy = floatCard + ? floatCard.querySelector('span:not(.hero__float-icon)') + : null; + + if (floatCopy) { + floatCopy.className = 'hero__float-copy'; + floatCopy.innerHTML = 'Ideas → real projects' + + 'Your next chapter starts here'; + } + } + + /* Primary button arrow */ + var primaryButton = document.querySelector('.hero .btn--primary'); + + if (primaryButton && !primaryButton.querySelector('.hero__arrow')) { + var arrow = document.createElement('span'); + arrow.className = 'hero__arrow'; + arrow.setAttribute('aria-hidden', 'true'); + arrow.innerHTML = '' + + ''; + primaryButton.appendChild(arrow); + } + + /* Slider dots */ + var dots = document.createElement('div'); + dots.className = 'hero__dots'; + var dotButtons = []; + + images.forEach(function (image, index) { + var dot = document.createElement('button'); + dot.type = 'button'; + dot.className = 'hero__dot' + (index === 0 ? ' is-active' : ''); + dot.setAttribute('aria-label', 'Show slide ' + (index + 1)); + dot.addEventListener('click', function () { + goTo(index); + restart(); + }); + dots.appendChild(dot); + dotButtons.push(dot); + }); + + wrap.appendChild(dots); + + var current = 0; + var timer = null; + var reduceMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + var AUTO_MS = 5000; + var LEAVE_MS = 1200; + + function updateDots() { + dotButtons.forEach(function (dot, index) { + dot.classList.toggle('is-active', index === current); + }); + } + + function goTo(index) { + if (index === current) { + updateDots(); + return; + } + + var previous = images[current]; + var next = images[index]; + + if (previous) { + previous.classList.remove('is-active'); + previous.classList.add('is-leaving'); + + window.setTimeout(function () { + previous.classList.remove('is-leaving'); + }, LEAVE_MS); + } + + next.classList.remove('is-leaving'); + next.classList.add('is-active'); + + current = index; + updateDots(); + } + + function stop() { + if (timer) { + window.clearInterval(timer); + timer = null; + } + } + + function start() { + stop(); + + if (reduceMotion || document.hidden || images.length < 2) { + return; + } + + timer = window.setInterval(function () { + goTo((current + 1) % images.length); + }, AUTO_MS); + } + + function restart() { + start(); + } + + if (media) { + media.addEventListener('mouseenter', stop); + media.addEventListener('mouseleave', start); + } + + document.addEventListener('visibilitychange', function () { + if (document.hidden) { + stop(); + } else { + start(); + } + }); + + start(); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initHeroSlider); + } else { + initHeroSlider(); + } +})(); + +/* ========================================================================== + FINAL CTA — EYEBROW, SPOTLIGHT, RIPPLE & SMOOTH SCROLL + Appended as an isolated IIFE so it cannot interfere with the code above. + It reuses the existing .reveal / .is-visible observer from main.js and + does not add a second scroll-reveal script. + ========================================================================== */ + +(function () { + 'use strict'; + + function initCta() { + var section = document.querySelector('.cta'); + + if (!section) { + return; + } + + if (section.getAttribute('data-cta-init') === 'true') { + return; + } + + section.setAttribute('data-cta-init', 'true'); + + var title = section.querySelector('.cta__title'); + var text = section.querySelector('.cta__text'); + + /* 1. Eyebrow + subtext */ + if (title && !section.querySelector('.eyebrow')) { + var eyebrow = document.createElement('span'); + eyebrow.className = 'eyebrow'; + eyebrow.textContent = 'Your next chapter'; + title.parentNode.insertBefore(eyebrow, title); + } + + if (text) { + text.textContent = 'Start with curiosity. Build with purpose. ' + + 'Find a learning path that connects your ambitions to ' + + 'practical AI skills.'; + } + + var reduceMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + var isTouch = window.matchMedia( + '(hover: none), (pointer: coarse)' + ).matches; + + /* 2. Cursor spotlight (desktop, motion allowed only) */ + if (!reduceMotion && !isTouch) { + var spotlight = document.createElement('div'); + spotlight.className = 'cta__spotlight'; + spotlight.setAttribute('aria-hidden', 'true'); + section.appendChild(spotlight); + + section.addEventListener('mousemove', function (event) { + var rect = section.getBoundingClientRect(); + var size = spotlight.offsetWidth || 300; + + spotlight.style.left = + (event.clientX - rect.left - size / 2) + 'px'; + spotlight.style.top = + (event.clientY - rect.top - size / 2) + 'px'; + }); + + section.addEventListener('mouseenter', function () { + spotlight.classList.add('is-visible'); + }); + + section.addEventListener('mouseleave', function () { + spotlight.classList.remove('is-visible'); + }); + } + + /* 3. Ripple + smooth scroll */ + var buttons = Array.prototype.slice.call( + section.querySelectorAll('.btn') + ); + + buttons.forEach(function (button) { + button.addEventListener('click', function (event) { + var rect = button.getBoundingClientRect(); + var x = event.clientX + ? event.clientX - rect.left + : rect.width / 2; + var y = event.clientY + ? event.clientY - rect.top + : rect.height / 2; + + var ripple = document.createElement('span'); + ripple.className = 'btn-ripple'; + ripple.style.left = x + 'px'; + ripple.style.top = y + 'px'; + button.appendChild(ripple); + + window.setTimeout(function () { + if (ripple.parentNode) { + ripple.parentNode.removeChild(ripple); + } + }, 600); + + var href = button.getAttribute('href') || ''; + + if (href.charAt(0) === '#' && href.length > 1) { + var target = document.getElementById(href.slice(1)); + + if (target) { + event.preventDefault(); + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + } + }); + }); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initCta); + } else { + initCta(); + } +})(); + +/* ========================================================================== + HERO IMAGE SLIDER — DOM-BASED TWO-SLIDE CROSSFADE + Appended as an isolated IIFE so it cannot interfere with the code above. + Slide 1 is read from the existing .hero__image. Slide 2 uses a placeholder + that can later be replaced with an /assets/img/ file. + ========================================================================== */ + +(function () { + 'use strict'; + + /* Slide 1 is filled from the DOM during init. */ + const HERO_SLIDES = [ + { src: '', alt: '' }, + { + /* Replace this with /assets/img/your-hero-2.jpg when ready. */ + src: 'https://picsum.photos/seed/ai-institute-hero-2/1000/1200', + alt: 'A dark desk with a monitor showing a glowing blue and purple screen' + } + ]; + + function buildHeroSliderCss(includeAspectRatio) { + return [ + '.hero .hero__image-wrap { position: relative; overflow: hidden;' + + (includeAspectRatio ? ' aspect-ratio: 16 / 11;' : '') + ' }', + '.hero .hero__image-wrap .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(6%) scale(1); transition: opacity 1s ease, transform 1.2s ease; }', + '.hero .hero__image-wrap .hero__image.is-active { opacity: 1; transform: translateX(0); animation: hero-zoom 6s ease-in-out infinite alternate; }', + '.hero .hero__image-wrap .hero__image.is-leaving { opacity: 0; transform: translateX(-6%) scale(1.05); animation: none; }', + '@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }', + '.hero .hero__image-wrap .hero__dots { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 6px; z-index: 5; }', + '.hero .hero__image-wrap .hero__dot { width: 8px; height: 8px; border: none; border-radius: 999px; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0; transition: 0.3s; }', + '.hero .hero__image-wrap .hero__dot.is-active { width: 22px; background: #BD252A; }', + '.hero .hero__image-wrap .hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }', + '@media (prefers-reduced-motion: reduce) { .hero .hero__image-wrap .hero__image { animation: none !important; transition: none !important; } }' + ].join('\n'); + } + + function initHeroSlider() { + var wrap = document.querySelector('.hero__image-wrap'); + + if (!wrap) { + return; + } + + if (wrap.getAttribute('data-hero-slider-init') === 'true') { + return; + } + + var firstImage = wrap.querySelector('.hero__image'); + + if (!firstImage) { + return; + } + + wrap.setAttribute('data-hero-slider-init', 'true'); + + /* Read slide 1 from the existing markup. */ + HERO_SLIDES[0].src = firstImage.getAttribute('src') || ''; + HERO_SLIDES[0].alt = firstImage.getAttribute('alt') || ''; + + /* Inject the slider CSS into ; style.css stays untouched. */ + if (!document.getElementById('hero-slider-style')) { + var style = document.createElement('style'); + style.id = 'hero-slider-style'; + style.textContent = buildHeroSliderCss(wrap.offsetHeight === 0); + document.head.appendChild(style); + } + + /* Avoid duplicating the markup if another slider already built it. */ + if (wrap.querySelector('.hero__dots') || + wrap.querySelectorAll('.hero__image').length > 1) { + return; + } + + firstImage.classList.add('is-active'); + + var secondImage = document.createElement('img'); + secondImage.className = 'hero__image'; + secondImage.src = HERO_SLIDES[1].src; + secondImage.alt = HERO_SLIDES[1].alt; + secondImage.width = 1000; + secondImage.height = 1200; + secondImage.loading = 'lazy'; + wrap.appendChild(secondImage); + + var images = [firstImage, secondImage]; + var dots = document.createElement('div'); + dots.className = 'hero__dots'; + var dotButtons = []; + + HERO_SLIDES.forEach(function (slide, index) { + var dot = document.createElement('button'); + dot.type = 'button'; + dot.className = 'hero__dot' + (index === 0 ? ' is-active' : ''); + dot.setAttribute('aria-label', 'Show slide ' + (index + 1)); + dot.addEventListener('click', function () { + goTo(index); + restart(); + }); + dots.appendChild(dot); + dotButtons.push(dot); + }); + + wrap.appendChild(dots); + + var current = 0; + var timer = null; + var reduceMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + var AUTO_MS = 5000; + var LEAVE_MS = 1200; + + function updateDots() { + dotButtons.forEach(function (dot, index) { + dot.classList.toggle('is-active', index === current); + }); + } + + function goTo(index) { + if (index === current) { + updateDots(); + return; + } + + var previous = images[current]; + var next = images[index]; + + if (previous) { + previous.classList.remove('is-active'); + previous.classList.add('is-leaving'); + + window.setTimeout(function () { + previous.classList.remove('is-leaving'); + }, LEAVE_MS); + } + + next.classList.remove('is-leaving'); + next.classList.add('is-active'); + + current = index; + updateDots(); + } + + function stop() { + if (timer) { + window.clearInterval(timer); + timer = null; + } + } + + function start() { + stop(); + + if (reduceMotion || document.hidden || images.length < 2) { + return; + } + + timer = window.setInterval(function () { + goTo((current + 1) % images.length); + }, AUTO_MS); + } + + function restart() { + start(); + } + + var media = document.querySelector('.hero__media'); + + if (media) { + media.addEventListener('mouseenter', stop); + media.addEventListener('mouseleave', start); + } + + document.addEventListener('visibilitychange', function () { + if (document.hidden) { + stop(); + } else { + start(); + } + }); + + start(); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initHeroSlider); + } else { + initHeroSlider(); + } +})(); + +/* ========================================================================== + CAREER PATHWAYS — TEXT, STAGGER, SPOTLIGHT & KEYBOARD + Appended as an isolated IIFE so it cannot interfere with the code above. + It reuses the existing .reveal / .is-visible observer from main.js and + does not add a second scroll-reveal script. + ========================================================================== */ + +(function () { + 'use strict'; + + function initPathways() { + var section = document.getElementById('pathways'); + + if (!section) { + return; + } + + if (section.getAttribute('data-pathways-init') === 'true') { + return; + } + + section.setAttribute('data-pathways-init', 'true'); + + var title = section.querySelector('.section__title'); + var lead = section.querySelector('.section__lead'); + var disclaimer = section.querySelector('.disclaimer'); + + if (title) { + title.textContent = 'Career Pathways'; + } + + if (lead) { + lead.textContent = 'Skills that open up possibilities. Explore ' + + 'potential pathways where practical AI knowledge and human ' + + 'skills can make a difference.'; + } + + if (disclaimer) { + disclaimer.textContent = 'These are possible opportunities, not ' + + 'promised outcomes. Employment, freelance income, and ' + + 'business results depend on your skills, experience, effort, ' + + 'and market conditions.'; + } + + var cards = Array.prototype.slice.call( + section.querySelectorAll('.pathway-card') + ); + + cards.forEach(function (card, index) { + card.style.setProperty('--i', index); + card.setAttribute('tabindex', '0'); + }); + + var reduceMotion = window.matchMedia( + '(prefers-reduced-motion: reduce)' + ).matches; + var isTouch = window.matchMedia( + '(hover: none), (pointer: coarse)' + ).matches; + + if (reduceMotion || isTouch) { + return; + } + + cards.forEach(function (card) { + card.addEventListener('mousemove', function (event) { + var rect = card.getBoundingClientRect(); + + card.style.setProperty( + '--mx', + (event.clientX - rect.left) + 'px' + ); + card.style.setProperty( + '--my', + (event.clientY - rect.top) + 'px' + ); + }); + + card.addEventListener('mouseleave', function () { + card.style.setProperty('--mx', '50%'); + card.style.setProperty('--my', '50%'); + }); + }); + } + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', initPathways); + } else { + initPathways(); + } +})(); diff --git a/includes/data.php b/includes/data.php new file mode 100644 index 0000000..65def18 --- /dev/null +++ b/includes/data.php @@ -0,0 +1,349 @@ + '', + 'megaphone' => '', + 'laptop' => '', + 'clapperboard' => '', + 'lightbulb' => '', + 'arrow-right' => '', + 'chevron-down' => '', + 'trend' => '', + 'trending-up' => '', + 'briefcase' => '', + 'coins' => '', + 'wallet' => '', + 'zap' => '', + 'graduation' => '', + 'chart' => '', + 'globe' => '', + 'video' => '', + 'rocket' => '', + 'users' => '', + 'book' => '', + 'layers' => '', + 'check-circle' => '', + 'award' => '', + 'quote' => '', + 'play' => '', + 'mail' => '', + 'phone' => '', + 'map-pin' => '', + 'linkedin' => '', + 'instagram' => '', + 'youtube' => '', + ]; + } + + $svg = $icons[$name] ?? $icons['sparkles']; + $classes = trim('icon ' . $class); + $svg = preg_replace('/ 'All', + 'ai-professional' => 'AI Professional', + 'digital-marketing' => 'Digital Marketing', + 'freelancer' => 'Freelancer', + 'content-creator' => 'Content Creator', + 'entrepreneur' => 'Entrepreneur', + 'business-professional' => 'Business Professional', +]; + +$courses = [ + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'ai-professional', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A woman working at a table with printed charts and a laptop', + ], + [ + 'title' => 'Digital Marketing 360° with AI Mastery', + 'category' => 'digital-marketing', + 'category_label' => 'Full Stack', + 'image' => 'https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A dark desk with a monitor showing trading charts', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'ai-professional', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A laptop showing a dashboard on a light table with a notebook', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'freelancer', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1642790106117-e829e14a795f?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A dark desk with a monitor showing trading charts', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'content-creator', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A woman working at a table with printed charts and a laptop', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'entrepreneur', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A woman working at a table with printed charts and a laptop', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'business-professional', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A woman working at a table with printed charts and a laptop', + ], + [ + 'title' => 'Python with Artificial Intelligence (AI) Training', + 'category' => 'ai-professional', + 'category_label' => 'Programming', + 'image' => 'https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=720&q=80', + 'alt' => 'A woman working at a table with printed charts and a laptop', + ], +]; + +/* ------------------------------------------------------------------------- + * Why learn AI + * ---------------------------------------------------------------------- */ + +$whyCards = [ + [ + 'icon' => 'trending-up', + 'title' => 'Career Growth', + 'text' => 'Bring practical AI skills to your role and explore new ways to contribute at work.', + ], + [ + 'icon' => 'briefcase', + 'title' => 'Business Opportunities', + 'text' => 'Explore smarter workflows, test ideas, and use AI to support your business.', + ], + [ + 'icon' => 'wallet', + 'title' => 'Income Opportunities', + 'text' => 'Build useful capabilities for freelance services and independent projects.', + ], + [ + 'icon' => 'zap', + 'title' => 'Productivity', + 'text' => 'Spend less time on repetitive tasks and more time on the work that matters.', + ], +]; + +/* ------------------------------------------------------------------------- + * Career pathways + * ---------------------------------------------------------------------- */ + +$pathways = [ + [ + 'icon' => 'sparkles', + 'title' => 'AI Professional', + 'text' => 'Support AI-enabled projects and improve everyday workflows.', + ], + [ + 'icon' => 'megaphone', + 'title' => 'Digital Marketer', + 'text' => 'Connect creative ideas with AI-assisted campaigns and insights.', + ], + [ + 'icon' => 'laptop', + 'title' => 'Freelancer', + 'text' => 'Explore independent services built around useful digital skills.', + ], + [ + 'icon' => 'clapperboard', + 'title' => 'Content Creator', + 'text' => 'Develop ideas, stories, and content for a digital-first world.', + ], + [ + 'icon' => 'lightbulb', + 'title' => 'Entrepreneur', + 'text' => 'Test new concepts and bring more resourcefulness to business.', + ], + [ + 'icon' => 'briefcase', + 'title' => 'Business Professional', + 'text' => 'Apply AI thinking to analysis, operations, and communication.', + ], +]; + +/* ------------------------------------------------------------------------- + * Internship pathway + * ---------------------------------------------------------------------- */ + +$internshipSteps = [ + [ + 'title' => 'Industry-Led Training', + 'text' => 'Learn from practitioners who use AI in real work every day.', + ], + [ + 'title' => 'Hands-on Project Work', + 'text' => 'Apply your skills to realistic briefs and build a portfolio that stands out.', + ], + [ + 'title' => 'Rigorous Evaluation & Certification', + 'text' => 'Demonstrate your knowledge through structured assessment and feedback.', + ], + [ + 'title' => 'Internship & Guaranteed Job Assistance', + 'text' => 'Step into real work with guidance from our dedicated career team.', + ], +]; + +/* ------------------------------------------------------------------------- + * Certification steps + * ---------------------------------------------------------------------- */ + +$certSteps = [ + ['icon' => 'book', 'title' => 'Enroll'], + ['icon' => 'graduation', 'title' => 'Learn'], + ['icon' => 'layers', 'title' => 'Complete Training'], + ['icon' => 'check-circle', 'title' => 'Complete Requirements'], + ['icon' => 'award', 'title' => 'Receive Certification'], +]; + +/* ------------------------------------------------------------------------- + * Student projects + * ---------------------------------------------------------------------- */ + +$projects = [ + [ + 'title' => 'A campaign from a single idea', + 'tag' => 'Digital Marketing', + 'image' => 'https://picsum.photos/seed/student-project-campaign/1000/640', + 'alt' => 'A marketing team planning a campaign with notes on a table', + ], + [ + 'title' => 'A smarter business workflow', + 'tag' => 'AI Automation', + 'image' => 'https://picsum.photos/seed/student-project-workflow/1000/640', + 'alt' => 'A professional mapping out an automated workflow', + ], + [ + 'title' => 'Turning data into a clearer story', + 'tag' => 'Data & Insights', + 'image' => 'https://picsum.photos/seed/student-project-data/1000/640', + 'alt' => 'A student presenting data visualisations on a screen', + ], + [ + 'title' => 'A structured market research journal', + 'tag' => 'Research', + 'image' => 'https://picsum.photos/seed/student-project-research/1000/640', + 'alt' => 'A researcher reviewing notes and market research documents', + ], +]; + +/* ------------------------------------------------------------------------- + * Success stories + * ---------------------------------------------------------------------- */ + +$testimonial = [ + 'quote' => 'The programme changed how I approach work. I stopped fearing AI and started using it to deliver better ideas, faster. The projects gave me something real to show employers.', + 'name' => 'Ananya Sharma', + 'role' => 'AI Professional Graduate · now at COLT NextSpace', + 'avatar' => 'https://picsum.photos/seed/student-ananya/160/160', +]; + +$videoStory = [ + 'caption' => 'From Student to UI/UX Designer at COLT NextSpace', + 'image' => 'https://picsum.photos/seed/student-story-video/1000/640', + 'alt' => 'A student smiling while working at a design studio', +]; + +$profiles = [ + [ + 'name' => 'Rahul Mehta', + 'role' => 'Digital Marketer · Nova Labs', + 'avatar' => 'https://picsum.photos/seed/student-rahul/160/160', + ], + [ + 'name' => 'Meera Iyer', + 'role' => 'Freelance Content Strategist', + 'avatar' => 'https://picsum.photos/seed/student-meera/160/160', + ], +]; + +/* ------------------------------------------------------------------------- + * Hiring partners + * ---------------------------------------------------------------------- */ + +$partners = [ + 'cod', + 'PALM MIND', + 'PRISMA', + 'SUBISU', + 'mantraideas', + 'pathao', +]; + +/* ------------------------------------------------------------------------- + * FAQ + * ---------------------------------------------------------------------- */ + +$faqs = [ + [ + 'question' => 'What courses can I explore?', + 'answer' => 'We offer programmes across AI, digital marketing, full stack development, freelancing, content creation, entrepreneurship and business. Each course blends live training, guided practice and project work.', + ], + [ + 'question' => 'Who is eligible to enroll?', + 'answer' => 'Our programmes are designed for students, graduates, working professionals and business owners. Most tracks begin with no prior technical background, and our advisors will help you choose the right starting point.', + ], + [ + 'question' => 'How long does each course take?', + 'answer' => 'Courses typically run between 8 and 24 weeks depending on the track and your schedule. Part-time evening and weekend batches are available for working professionals.', + ], + [ + 'question' => 'Will I receive a certification?', + 'answer' => 'Yes. After completing your training and requirements, you will receive a verifiable AI Institute certificate that you can share with employers or clients.', + ], + [ + 'question' => 'How do internship opportunities work?', + 'answer' => 'Eligible learners move into our internship pathway after training, evaluation and certification. Our career team supports you with placement preparation and guaranteed job assistance.', + ], + [ + 'question' => 'How do I enroll?', + 'answer' => 'Start by talking to an advisor or applying online. We will review your goals, recommend a programme and guide you through the simple enrollment process.', + ], +]; diff --git a/includes/footer.php b/includes/footer.php new file mode 100644 index 0000000..fba486f --- /dev/null +++ b/includes/footer.php @@ -0,0 +1,90 @@ +
+
+ + + +
+ + + + + diff --git a/includes/header.php b/includes/header.php new file mode 100644 index 0000000..4d4093e --- /dev/null +++ b/includes/header.php @@ -0,0 +1,76 @@ + + + + + + + + + <?= e($pageTitle) ?> + + + + + + + + + + + + + diff --git a/index.php b/index.php new file mode 100644 index 0000000..5bcae26 --- /dev/null +++ b/index.php @@ -0,0 +1,451 @@ + + +
+ + +
+
+
+ Skills for an AI-powered world +

+ Learn AI. Build Skills.
+ Create Opportunities. +

+

+ Develop practical AI skills for your career, business, and everyday work. Learn + from structured training, hands-on projects, and real-world applications. +

+ + + +
    +
  • + + Practical learning +
  • +
  • + + Project-led approach +
  • +
  • + + Human + AI +
  • +
+
+ +
+
+ A monitor displaying a glowing AI visual in a modern workspace +
+
+ + Ideas + real projects +
+
+
+
+ + +
+
+
+ The opportunity +

Why Learn AI Skills?

+

+ AI is changing how work gets done. Learn to make it work for you. +

+
+ +
+ +
+ +

+

+
+ +
+
+
+ + +
+
+
+
+ Find your starting point +

Explore Our Courses

+
+

+ Choose a practical learning path that connects AI to the work you want to do. +

+
+ +
+ $label): ?> + + + +
+ +
+ + + +
+
+
+ + +
+
+
+ Imagine what comes next +

Career pathways

+

+ Where could these skills take you? Here are a few directions our learners explore. +

+
+ +
+ +
+ +

+

+
+ +
+ +

+ These are possible opportunities, not promised outcomes. Your results depend on your + effort, experience and the market. +

+
+
+ + +
+
+
+ People collaborating around a table during an AI workshop +
+ +
+ Internship pathway +

Learn. Practice. Build. Work.

+

+ A structured route from your first lesson to your first professional opportunity. +

+ +
+ $step): ?> +
+ +
+

+

+
+
+ +
+
+
+
+ + +
+
+
+
+ Certification +

A milestone for your learning.

+

+ Finish with more than a certificate. Leave with proof of the skills you have + built, the projects you have completed and the standard you can work to. +

+ Explore Certification +
+ +
+
+ + +
+ ai. + Verified +
+ + Certificate of Completion +

A step forward.

+

This certifies that

+

Your Name

+

AI Professional Program ·

+ + +
+
+
+ +
+ +
+ + +
+ +
+
+
+ + +
+
+
+ Ideas into action +

Student projects

+

+ Learning becomes real when you build something with it. Here is a glimpse of the + work our students create. +

+
+ +
+ + + +
+
+
+ + +
+
+
+ Real stories, real impact +

See how our students make an impact

+
+ +
+
+ +
+ “” +
+
+ Portrait of <?= e($testimonial['name']) ?> + + + + +
+
+ +
+ <?= e($videoStory['alt']) ?> + + +

+
+
+ +
+ +
+ Portrait of <?= e($profile['name']) ?> +
+

+

+
+
+ +
+
+
+ + +
+
+
+

Our Hiring Partners

+

Over 470+ technology companies hire directly from Broadway Infosys

+
+ +
+ + + +
+
+
+ + +
+
+
+ A little more clarity +

Good questions. Clear next steps.

+

+ Still deciding? These are the questions we hear most. If yours is not here, an + advisor can help you find the answer. +

+ Talk to an Advisor +
+ +
+ $faq): ?> + +
+ +
+
+

+
+
+
+ +
+
+
+ + +
+
+
+

Ready to Build Your AI Skills?

+

+ Take the first step toward work that feels more capable, more creative and more yours. +

+ +
+
+
+ +
+ +