/* AIT Computer Education homepage
   Save this file as style.css in the same folder as index.html. */

:root {
  --navy: #062f60;
  --navy-deep: #03264e;
  --blue: #0867b8;
  --pale-blue: #eaf5ff;
  --yellow: #ffd52e;
  --ink: #092e59;
  --body: #183653;
  --white: #fff;
  --muted: #d5e8fa;
  --shadow: 0 12px 30px rgba(5, 45, 88, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 58px 0; }

/* Header and navigation */
.site-header { background: #fff; }
.brand-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 15px; min-width: 0; }
.brand-mark { color: #0759a7; font-size: 43px; font-weight: 800; letter-spacing: -5px; line-height: 1; white-space: nowrap; }
.brand-mark span { color: #e22f37; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.4; color: var(--navy); }
.brand-copy strong { font-size: clamp(15px, 2vw, 23px); font-weight: 800; }
.brand-copy small { font-size: 13px; font-weight: 600; }
.header-contact { display: flex; gap: 24px; align-items: center; font-size: 12px; font-weight: 600; white-space: nowrap; }
.header-contact a, .footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.header-contact svg, .footer-contact svg { width: 17px; height: 17px; }
.main-nav { background: var(--navy-deep); color: #fff; }
.nav-inner { display: flex; align-items: stretch; justify-content: center; }
.nav-inner a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; font-size: 12px; font-weight: 600; transition: background .2s ease; }
.nav-inner a:hover, .nav-inner a.active { background: #064783; }
.nav-inner a.active { box-shadow: inset 0 -3px var(--yellow); }

/* Hero */
.hero { min-height: 430px; position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--navy); }
.hero-photo { position: absolute; inset: 0 0 0 0%; background: url("img/Slider.png") center 42%/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #06366c 0%, #06366c 39%, rgba(6,54,108,.91) 48%, rgba(6,54,108,.22) 74%, rgba(6,54,108,.03) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 46px; padding-bottom: 46px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .7px; margin: 0 0 10px; }
.hero h1 { max-width: 640px; margin: 0 0 15px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; font-weight: 800; letter-spacing: -.8px; }
.hero h1 span, .join-copy h2 span { color: var(--yellow); }
.hero-intro { max-width: 590px; margin: 0 0 23px; font-size: 15px; }
.hero-points { display: flex; gap: 20px; margin: 24px 0 26px; }
.hero-points > div { display: flex; align-items: center; gap: 10px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.45); font-size: 12px; line-height: 1.4; font-weight: 500; }
.hero-points > div:last-child { border: 0; }
.hero-points svg { width: 31px; height: 31px; flex-shrink: 0; }
.btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 22px; border-radius: 30px; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(0,0,0,.15); }
.btn svg { width: 16px; height: 16px; }
.btn-yellow { background: var(--yellow); color: #082b51; }

/* About and mission */
.about-mission { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; }
h2 { color: var(--navy); font-size: clamp(25px, 2.5vw, 32px); line-height: 1.25; margin: 0 0 16px; font-weight: 800; letter-spacing: -.4px; }
.about-copy h2 span { color: var(--blue); }
.about-copy p { font-size: 13px; margin: 0 0 14px; }
.mission-note { display: flex; gap: 17px; align-items: center; margin-top: 20px; padding: 20px; background: var(--pale-blue); border-radius: 10px; }
.mission-note > svg { width: 38px; height: 38px; color: var(--blue); flex-shrink: 0; }
.mission-note p { margin: 0; font-size: 12px; }
.mission-list { border-left: 1px solid #dceaf7; padding-left: 28px; }
.mission-card { display: grid; grid-template-columns: 112px 42px 1fr; align-items: center; gap: 13px; margin-bottom: 12px; padding: 10px; border-radius: 12px; background: #edf7ff; }
.mission-card:last-child { margin-bottom: 0; }
.mission-card img { width: 112px; height: 100px; border-radius: 9px; object-fit: cover; }
.round-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0966b5; color: #fff; }
.round-icon svg { width: 22px; height: 22px; }
.mission-card h3 { margin: 0 0 5px; color: var(--navy); font-size: 13px; line-height: 1.4; }
.mission-card p { margin: 0; font-size: 11px; line-height: 1.55; }

/* Courses */
.courses-section { background: linear-gradient(120deg, #f0f8ff, #e2f2ff); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 4px; }
.section-heading p { margin: 0; font-size: 16px; color: var(--navy); }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link svg { width: 16px; height: 16px; }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.course-card { min-height: 225px; padding: 25px 20px 20px; text-align: center; background: #fff; border: 1px solid #e8f1f9; border-radius: 12px; box-shadow: 0 5px 18px rgba(10,65,115,.035); }
.course-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 14px; color: #fff; border-radius: 50%; }
.course-icon svg { width: 31px; height: 31px; }
.course-icon.blue { background: #0871c9; }
.course-icon.green { background: #078d58; }
.course-icon.purple { background: #7c42c5; }
.course-icon.orange { background: #f58213; }
.course-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 14px; line-height: 1.4; }
.course-card p { margin: 0; font-size: 11px; line-height: 1.65; }
.course-disclaimer { margin: 15px 0 0; color: #536e88; font-size: 11px; }

/* Join banner */
.join-section { overflow: hidden; color: #fff; background: linear-gradient(110deg, #052d5b, #064985); }
.join-inner { min-height: 235px; position: relative; display: grid; grid-template-columns: 1fr 1fr 230px; gap: 28px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.join-copy { padding-right: 15px; border-right: 1px solid rgba(255,255,255,.45); }
.join-copy h2 { color: #fff; font-size: clamp(24px, 2.5vw, 30px); }
.join-copy p, .join-action p { margin: 0; font-size: 12px; }
.join-action { display: flex; align-items: flex-start; gap: 14px; }
.join-action > svg { width: 34px; height: 34px; flex-shrink: 0; }
.join-action h3 { margin: 0 0 5px; font-size: 16px; }
.join-action .btn { margin-top: 14px; min-height: 37px; padding: 8px 17px; }
.join-image { align-self: stretch; min-height: 190px; margin: -30px calc((100vw - min(1180px, 100vw - 48px))/ -2) -30px 0; background: url("img/4.png") center/cover no-repeat; }

/* Footer */
.site-footer { color: #fff; background: #03264e; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 22px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.footer-brand { gap: 12px; }
.footer-brand .brand-mark { color: #fff; font-size: 38px; }
.footer-brand .brand-copy { color: #fff; }
.footer-brand .brand-copy strong { font-size: 13px; }
.footer-brand .brand-copy small { font-size: 10px; }
.footer-slogan { margin: 0; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.4); font-size: 12px; font-style: italic; line-height: 1.7; }
.footer-contact { display: grid; gap: 10px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.4); font-size: 11px; }
.footer-foundation { display: flex; gap: 10px; align-items: flex-start; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.4); font-size: 11px; }
.footer-foundation svg { width: 19px; height: 19px; flex-shrink: 0; }
.footer-foundation small { color: #c9d8e9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 55px; font-size: 10px; }
.social-links { display: flex; gap: 16px; }
.social-links a { display: inline-flex; }
.social-links svg { width: 17px; height: 17px; }

/* Responsive layout */
@media (max-width: 1000px) {
  .header-contact { gap: 12px; }
  .nav-inner { justify-content: flex-start; overflow-x: auto; }
  .nav-inner a { padding-inline: 14px; white-space: nowrap; }
  .hero-photo { left: 34%; }
  .hero-shade { background: linear-gradient(90deg, #06366c 0%, #06366c 34%, rgba(6,54,108,.9) 50%, rgba(6,54,108,.18) 100%); }
  .about-mission { grid-template-columns: 1fr; }
  .mission-list { border-left: 0; border-top: 1px solid #dceaf7; padding: 28px 0 0; }
  .join-inner { grid-template-columns: 1fr 1fr; }
  .join-image { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
/* Container ko left align karne ke liye */
.brand-container {
  display: flex;
  justify-content: flex-start; /* Left side align karega */
  align-items: center;
}

/* Image ka size 34px set karne ke liye */
.brand-img {
  height: 34px;           /* Exact 34px height */
  width: auto;            /* Aspect ratio Maintain rakhega */
  object-fit: contain;
}
@media (max-width: 650px) {
  .container { width: min(100% - 32px, 1180px); }
  .section-pad { padding: 42px 0; }
  .brand-row { min-height: 76px; }
  .brand { gap: 9px; }
  .brand-mark { size: 34px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 10px; }
  .header-contact { display: none; }
  .nav-inner a { min-height: 44px; padding-inline: 13px; font-size: 11px; }
  .hero { min-height: 570px; align-items: flex-end; }
  .hero-photo { inset: 0; background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,38,78,.98) 0%, rgba(3,38,78,.92) 43%, rgba(3,38,78,.35) 100%); }
  .hero-content { padding-top: 190px; padding-bottom: 34px; }
  .hero h1 { font-size: 34px; }
  .hero-intro { font-size: 13px; }
  .hero-points { gap: 11px; }
  .hero-points > div { gap: 6px; padding-right: 10px; font-size: 10px; }
  .hero-points svg { width: 24px; height: 24px; }
  .about-mission { gap: 32px; }
  h2 { font-size: 26px; }
  .mission-card { grid-template-columns: 74px 34px 1fr; gap: 9px; padding: 8px; }
  .mission-card img { width: 74px; height: 82px; }
  .round-icon { width: 32px; height: 32px; }
  .round-icon svg { width: 18px; height: 18px; }
  .mission-card h3 { font-size: 11px; }
  .mission-card p { font-size: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading p { font-size: 14px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .course-card { min-height: 205px; padding: 20px 12px; }
  .course-icon { width: 55px; height: 55px; }
  .course-card h3 { font-size: 12px; }
  .course-card p { font-size: 10px; }
  .join-inner { grid-template-columns: 1fr; gap: 23px; padding-top: 35px; padding-bottom: 35px; }
  .join-copy { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.4); }
  .join-copy h2 { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .footer-slogan, .footer-contact, .footer-foundation { padding-left: 0; border-left: 0; }
  .footer-bottom > div { padding-top: 13px; padding-bottom: 13px; flex-direction: column; align-items: flex-start; justify-content: center; }
}
