/* =====================================================
   GLOBAL
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text3);
  background: var(--white);
  overflow-x: hidden;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.section-padding {
  padding: 90px 0;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn-secondary-brand {
  background: var(--secondary);
  color: var(--primary-dark);
  border: 1px solid var(--secondary);
  font-size: 13px;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 7px;
  transition: var(--transition);
}

.btn-secondary-brand:hover {
  background: var(--secondary-dark);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 202, 129, 0.3);
}

.btn-outline-light-brand {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline-light-brand:hover {
  background: var(--white);
  color: var(--primary);
}

/* =====================================================
   HERO
===================================================== */

.computer-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  background-image: url(../uploads/cal-c.png);
  background-position: center top;
  background-size: cover;
}

.hero-content {
  height: 100%;
  min-height: 530px;
  padding: 75px 45px 65px 8%;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-small-title {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-content h1 {
  color: var(--primary);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 10px;
}

.hero-content h1 span {
  display: block;
  color: var(--secondary);
}

.hero-content h2 {
  color: var(--primary-dark);
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-content h2 strong {
  color: var(--secondary);
}

.hero-content p {
  max-width: 520px;
  color: rgba(113, 25, 40, 0.78);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.fill-btn {
  width: max-content;
  height: max-content;
  text-align: center;
  align-items: center;
  position: relative;
}

.btn-gold:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--primary);
}

.btn-outline-light {
  border: 2px solid rgba(138, 42, 60, 0.9);
  color: var(--primary);
  font-weight: 600;
  border-radius: 7px;
  width: max-content;
  height: max-content;
}

.btn-outline-light:hover {
  background: var(--primary);
  color: var(--white);
}

/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.section-heading h2 {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.section-heading h2 span {
  color: var(--primary);
}

.heading-line {
  width: 28px;
  height: 2px;
  background: var(--secondary-dark);
}

/* =====================================================
   COURSES
===================================================== */

.courses-section {
  background: var(--white);
}

.course-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.025);
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.course-icon {
  width: 55px;
  min-width: 55px;
  height: 55px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.course-icon.basic {
  background: #f2edf5;
  color: #604078;
}

.course-icon.office {
  background: #eef8f2;
  color: #208c52;
}

.course-icon.tally {
  background: #fff1e7;
  color: #c96324;
}

.course-icon.graphic {
  background: #edf3fb;
  color: #2864ae;
}

.course-icon.web {
  background: #f0f3f7;
  color: var(--primary);
}

.course-icon.marketing {
  background: #fcecf1;
  color: #b72655;
}

.course-top h3 {
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 5px;
}

.course-top span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.course-card ul {
  margin-bottom: 22px;
}

.course-card li {
  font-size: 12px;
  color: var(--text2);
  padding: 5px 0 5px 17px;
  position: relative;
}

.course-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 2px;
  top: 11px;
}

.course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.course-btn:hover {
  color: var(--primary-dark);
  background: var(--secondary);
}

/* =====================================================
   WHY SECTION
===================================================== */

.why-section {
  background: var(--light-bg);
}

.why-wrapper {
  background: var(--white);
  border: 1px solid var(--border3);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}

.section-mini-title {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.why-content h2 {
  color: var(--primary-dark);
  font-size: 30px;
  font-weight: 800;
  margin: 12px 0 22px;
}

.why-content h2 span {
  color: var(--primary);
  display: block;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 11px;
}

.check-list i {
  color: var(--primary);
  margin-top: 2px;
}

.stats-box {
  background: var(--primary);
  border-radius: 15px;
  padding: 32px 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 220px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item i {
  color: var(--secondary);
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-item strong {
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.5;
}

/* =====================================================
   FACILITIES
===================================================== */

.facilities-section {
  background: var(--white);
}

.facility-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.facility-item {
  min-height: 105px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.facility-item:last-child {
  border-right: none;
}

.facility-item:hover {
  background: var(--light-bg);
}

.facility-item i {
  color: var(--primary);
  font-size: 29px;
}

.facility-item span {
  color: var(--text3);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

/* =====================================================
   CTA
===================================================== */

.cta-section {
  padding: 35px 0;
  background: var(--white);
}

.cta-wrapper {
  background: var(--primary);
  border-radius: 15px;
  padding: 38px 45px;
  position: relative;
  overflow: hidden;
}

.cta-wrapper::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 202, 129, 0.15);
  border-radius: 50%;
  right: -160px;
  top: -220px;
}

.cta-wrapper > .row {
  position: relative;
  z-index: 2;
}

.cta-wrapper span {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.cta-wrapper h2 {
  color: var(--white);
  font-size: 29px;
  font-weight: 800;
  margin: 8px 0;
}

.cta-wrapper h2 strong {
  color: var(--secondary);
}

.cta-wrapper p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  margin: 0;
}

.cta-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================
   RESPONSIVE — LARGE TABLET
===================================================== */

@media (max-width: 1199px) {
  
    .hero-content {
    padding-left: 5%;
    padding-right: 30px;
    width: 100%;
  }
  .why-hero-card {
    width: 245px;
    right: 4%;
  }
  .facility-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 991px) {
  .top-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .social-top {
    display: none;
  }
  .main-navbar {
    min-height: 70px;
  }
  .navbar-toggler {
    border: 1px solid var(--primary);
    box-shadow: none !important;
  }
  .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
  }
  .navbar-collapse {
    padding: 15px 0 20px;
  }
  .nav-link {
    padding: 10px !important;
  }
  .nav-link.active::after {
    display: none;
  }
  .hero-content {
    min-height: auto;
    padding: 70px 35px;
  }
  .hero-image-wrap,
  .hero-image {
    min-height: 500px;
  }
  .why-hero-card {
    width: 280px;
  }
  .stats-box {
    margin-top: 20px;
  }
  .facility-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .facility-item:nth-child(3) {
    border-right: none;
  }
  .facility-item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }
  .cta-buttons {
    justify-content: flex-start;
    margin-top: 25px;
  }
}

/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 767px) {
  .section-padding {
    padding: 65px 0;
  }
  .top-bar {
    display: none;
  }
  .brand-text strong {
    font-size: 19px;
  }
  .brand-text span {
    font-size: 10px;
  }
  .brand-text small {
    display: none;
  }
  .logo-shield {
    width: 45px;
    height: 50px;
    font-size: 28px;
  }
  .hero-content {
    padding: 55px 22px;
  }
  .hero-content h1 {
    font-size: 45px;
  }
  .hero-content h2 {
    font-size: 20px;
  }
  .hero-content p {
    font-size: 13px;
  }
  .hero-features {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .hero-feature {
    flex: 0 0 50%;
    border-right: none;
  }
  .hero-feature:nth-child(1),
  .hero-feature:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 15px;
  }
  .hero-image-wrap,
  .hero-image {
    min-height: 420px;
  }
  .why-hero-card {
    width: calc(100% - 40px);
    right: 20px;
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .course-card {
    padding: 20px;
  }
  .why-wrapper {
    padding: 22px;
  }
  .why-content h2 {
    font-size: 25px;
  }
  .stats-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .facility-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .facility-item {
    min-height: 110px;
  }
  .facility-item:nth-child(2n) {
    border-right: none;
  }
  .facility-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }
  .facility-item:nth-child(-n + 4) {
    border-bottom: 1px solid var(--border);
  }
  .testimonial-card {
    padding: 20px;
  }
  .cta-wrapper {
    padding: 30px 25px;
  }
  .cta-wrapper h2 {
    font-size: 23px;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
    height: max-content;
    text-align: center;
  }
  .hero-image-wrap,
  .hero-image {
    min-height: 390px;
  }
  .why-hero-card {
    padding: 20px;
  }
  .why-hero-card li {
    font-size: 11px;
  }
  .facility-wrapper {
    grid-template-columns: 1fr;
  }
  .facility-item,
  .facility-item:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .facility-item:last-child {
    border-bottom: none;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}
