/* CAREERGRAD shared styles and responsive UI theme */
:root {
  --primary: #f15b29;
  --secondary: #ee5c29;
  --accent: #c24821;
  --black: #000000;
  --white: #ffffff;
  --text-dark: #1f1f1f;
  --muted: #5f6368;
  --soft-bg: #fff5ef;
  --soft-border: #ffd8c8;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: #fffdfb;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif;
  line-height: 1.3;
  color: #171717;
}

a {
  text-decoration: none;
}

.cg-navbar {
  background: linear-gradient(120deg, var(--accent), var(--primary));
  box-shadow: 0 8px 24px rgba(194, 72, 33, 0.25);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--white);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff2eb;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  border-radius: 999px;
  padding-inline: 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.16);
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.62rem 1.35rem;
  box-shadow: 0 10px 24px rgba(241, 91, 41, 0.3);
}

.btn-brand:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(241, 91, 41, 0.35);
}

.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-section {
  position: relative;
  padding: 6.2rem 0 5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 91, 41, 0.16), transparent 52%),
    radial-gradient(circle at 0% 100%, rgba(194, 72, 33, 0.12), transparent 46%),
    linear-gradient(180deg, #fff4ee 0%, #fffdfb 70%);
}

.hero-section h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-section .lead {
  color: #3f3f3f;
  max-width: 60ch;
}

.hero-badge {
  display: inline-block;
  background: rgba(241, 91, 41, 0.16);
  color: var(--accent);
  border: 1px solid rgba(241, 91, 41, 0.3);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.28rem 0.8rem;
  margin-bottom: 1rem;
}

.hero-highlight {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1.5rem;
  border: 1px solid #ffe3d6;
  box-shadow: 0 14px 30px rgba(241, 91, 41, 0.15);
}

.hero-logo {
  max-width: 210px;
  margin-inline: auto;
  display: block;
}

.hero-highlight li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.hero-highlight li i {
  color: var(--primary);
}

.section-header {
  max-width: 760px;
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
}

.feature-card,
.info-card,
.course-card,
.resource-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid #ffe1d3;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 24px rgba(28, 28, 28, 0.05);
}

.feature-card:hover,
.info-card:hover,
.course-card:hover,
.resource-card:hover {
  transform: translateY(-6px);
  border-color: #ffc3a9;
  box-shadow: 0 18px 30px rgba(241, 91, 41, 0.16);
}

.feature-card i {
  font-size: 1.45rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-top: 0.85rem;
}

.location-card {
  background: linear-gradient(145deg, #fff6f1, #ffe8dc);
  border: 1px solid #ffcfb8;
  border-radius: 1rem;
  padding: 1.4rem;
}

.location-card ul,
.course-card ul,
.list-styled {
  padding-left: 1.15rem;
}

.course-card {
  height: 100%;
}

.course-card .course-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(241, 91, 41, 0.14);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.cg-page-hero {
  padding: 4.6rem 0 3.8rem;
  background:
    radial-gradient(circle at 12% 50%, rgba(241, 91, 41, 0.14), transparent 42%),
    linear-gradient(180deg, #fff7f2 0%, #fffdfa 85%);
}

.cg-page-hero h1 {
  margin-bottom: 0.8rem;
}

.about-logo {
  max-width: 330px;
  display: block;
  margin-inline: auto;
}

.cta-banner {
  background:
    linear-gradient(120deg, rgba(194, 72, 33, 0.96), rgba(241, 91, 41, 0.96)),
    #f15b29;
  border-radius: 1.2rem;
  color: var(--white);
  padding: 2.4rem 1.25rem;
  box-shadow: 0 18px 34px rgba(241, 91, 41, 0.28);
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.cta-banner .btn-outline-brand {
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-outline-brand:hover {
  background: var(--white);
  color: var(--accent);
}

.form-card {
  background: var(--white);
  border: 1px solid #ffdccc;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border-color: #ffcdb6;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(241, 91, 41, 0.18);
}

.office-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #ffd3be;
  border-radius: 0.85rem;
  padding: 1rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.2rem;
  border-radius: 0.95rem;
  background: linear-gradient(120deg, #fff4ed, #ffe1d1);
  border: 1px solid #ffcdb6;
}

.nav-pills .nav-link {
  color: var(--accent);
  background: #fff1e8;
  border: 1px solid #ffd9c7;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.nav-pills .nav-link.active {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: var(--white);
  border-color: transparent;
}

.resource-card h3 {
  font-size: 1.02rem;
}

.cg-footer {
  background: #121212;
  color: rgba(255, 255, 255, 0.88);
}

.cg-footer h3,
.cg-footer h4 {
  color: var(--white);
}

.cg-footer hr {
  border-color: rgba(255, 255, 255, 0.14);
  margin: 1.6rem 0 1rem;
}

.footer-links li,
.contact-list li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #ffc9b1;
}

.contact-list i {
  color: #ff9e78;
  margin-right: 0.45rem;
}

.social-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 1030;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding-top: 0.8rem;
  }

  .hero-section {
    padding-top: 5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 4.3rem 0 3.6rem;
  }

  .hero-highlight {
    padding: 1.2rem;
  }

  .cg-page-hero {
    padding: 4rem 0 3.2rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }
}


/* Added sections: home slider/testimonials/map, about highlights, courses metadata, LMS folder dashboard */
.tech-logo-slider {
  position: relative;
  background: var(--white);
  border: 1px solid #ffe1d3;
  border-radius: 1rem;
  padding: 1.3rem 3rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.tech-logo-slider .carousel-control-prev,
.tech-logo-slider .carousel-control-next {
  width: 2.4rem;
}

.tech-logo-slider .carousel-control-prev-icon,
.tech-logo-slider .carousel-control-next-icon {
  background-color: rgba(241, 91, 41, 0.78);
  border-radius: 50%;
  background-size: 60% 60%;
}

.tech-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 70px;
  border: 1px solid #ffd7c5;
  border-radius: 0.85rem;
  background: linear-gradient(130deg, #fffdfa, #fff5ef);
  font-weight: 600;
  color: var(--accent);
}

.tech-logo-item i {
  font-size: 1.2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
}

.course-meta {
  color: #403d39;
}

.testimonial-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid #ffe1d3;
  padding: 1.4rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.testimonial-card h3 {
  margin-bottom: 0.85rem;
}

.testimonial-rating {
  color: #f59e0b;
  font-weight: 700;
}

.map-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid #ffdccc;
  padding: 1.5rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.map-card iframe {
  width: 100%;
  min-height: 310px;
  border: 0;
  border-radius: 0.9rem;
}

.choose-card {
  background: linear-gradient(145deg, #fff7f2, #ffe8dc);
  border: 1px solid #ffd1bb;
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 12px 24px rgba(241, 91, 41, 0.12);
}

.statement-card {
  background: var(--white);
  border: 1px solid #ffd9c7;
  border-radius: 0.95rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

.statement-card i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.folder-card {
  background: var(--white);
  border: 1px solid #ffd9c7;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.folder-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.folder-head i {
  font-size: 1.35rem;
}

.folder-head h3 {
  margin-bottom: 0;
  font-size: 1.16rem;
}

.folder-section {
  margin-bottom: 0.95rem;
}

.folder-section h4 {
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  color: #3b2a24;
}

.folder-section h4 i {
  color: var(--primary);
  margin-right: 0.3rem;
}

.lms-video-preview {
  width: 100%;
  border-radius: 0.7rem;
  margin-bottom: 0.45rem;
  background: #1b1b1b;
}

.lms-pdf-preview {
  width: 100%;
  min-height: 155px;
  border: 1px solid #ffd7c5;
  border-radius: 0.7rem;

}

.image-preview-placeholder {
  min-height: 88px;
  border-radius: 0.7rem;
  background: linear-gradient(130deg, #fffaf7, #ffeede);
  border: 1px dashed #ffb892;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #9a4f2c;
  text-align: center;
  padding: 0.65rem;
}

@media (max-width: 767.98px) {
  .tech-logo-slider {
    padding-inline: 2.4rem;
  }

  .map-card iframe {
    min-height: 250px;
  }
}


