
/* =========================================================
   CADSAT COMPLETE LANDING PAGE CSS
   ========================================================= */

/* ================= ROOT VARIABLES ================= */
:root {
  --primary: #0077b6;
  --secondary: #00b4d8;
  --dark: #1e293b;
  --light: #f8fafc;
  --text: #333;
  --white: #ffffff;
}

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

section {
  width: 100%;
}

.section {
  padding: 70px 20px;
}

.alt-bg {
  background: #f4f8fc;
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1300px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 22px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--secondary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* ================= HERO SECTION ================= */

.hero {
  margin-top: 74px;
  min-height: 100vh;
  position: relative;
  background: url('http://cadsat.com/wp-content/uploads/2025/10/banner-for-cadsat.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 900px;
  padding: 20px;
  animation: fadeUp 1s ease;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.btn.primary {
  background: var(--secondary);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--primary);
}

.btn:hover {
  transform: translateY(-4px);
}

/* ================= COUNT STRIP ================= */

.count-strip {
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  padding: 35px 20px;
}

.count-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 45px;
}

.count-item {
  text-align: center;
  color: #fff;
}

.count-num {
  font-size: 2.8rem;
  font-weight: 800;
}

.count-item p {
  font-size: 1rem;
}

/* ================= LOGO SECTION ================= */

.logo-section {
  padding: 70px 20px 30px;
  text-align: center;
}

.logo-wrapper {
  max-width: 700px;
  margin: auto;
}

.responsive-logo {
  width: 100%;
  object-fit: contain;
}

/* ================= QUOTE SECTION ================= */

.quote-section {
  padding: 50px 20px;
  background: linear-gradient(135deg,#edf6ff,#f8fbff);
}

.quote-wrapper {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.quote-wrapper blockquote {
  position: relative;
  font-size: 1.3rem;
  line-height: 2;
  font-style: italic;
  color: #2c3e50;
  padding: 20px;
}

.quote-wrapper blockquote::before,
.quote-wrapper blockquote::after {
  font-size: 4rem;
  color: var(--secondary);
  position: absolute;
}

.quote-wrapper blockquote::before {
  content: "“";
  top: -20px;
  left: -10px;
}

.quote-wrapper blockquote::after {
  content: "”";
  bottom: -40px;
  right: -10px;
}

/* ================= TITLE SECTIONS ================= */

.title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-top: 8px;
  margin-bottom: 30px;
}

/* ================= GRIDS ================= */

.grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.card p {
  padding: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ================= FLEX CARDS ================= */

.flex-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-cards .card {
  flex: 1 1 250px;
  padding: 25px;
  text-align: center;
}

/* ================= HANDLE SECTION ================= */

.handle-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.handle-left,
.handle-right {
  width: 50%;
  display: flex;
  justify-content: center;
  padding: 30px;
}

.handle-inner {
  width: 80%;
}

.handle-left h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.subtext {
  color: #555;
  margin-bottom: 18px;
  line-height: 1.8;
  position: relative;
  padding: 0 30px;
}

.subtext::before,
.subtext::after {
  position: absolute;
  color: var(--secondary);
  font-size: 2rem;
  font-weight: 700;
}

.subtext::before {
  content: "{";
  left: 0;
  top: -5px;
}

.subtext::after {
  content: "}";
  right: 0;
  bottom: -10px;
}

.checklist {
  list-style: none;
}

.checklist li {
  margin-bottom: 12px;
}

.checklist li::before {
  content: "✔ ";
  color: var(--secondary);
}

/* ================= FORM ================= */

.counseling-form {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.counseling-form h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.counseling-form input,
.counseling-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.counseling-form input:focus,
.counseling-form select:focus {
  border-color: var(--secondary);
}

/* ================= SPECIALIZATION ================= */

.specialization-section {
  padding: 70px 20px;
}

.specialization-desc {
  text-align: center;
  margin-bottom: 40px;
}

.specialization-desc h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.specialization-desc p {
  font-size: 1rem;
  line-height: 1.3;
  font-stretch: condensed;
}

.specialization-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
}

.spec-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.spec-card:hover {
  transform: translateY(-5px);
}

.spec-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.spec-card h3 {
  padding: 14px;
  font-size: 0.95rem;
}

/* ================= COURSE PACKAGE ================= */

.course-packages {
  padding: 80px 20px;
  background: #f8fbff;
}

.course-cards {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.course-card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.course-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.course-footer {
  margin-top: 40px;
  text-align: center;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= INSPIRATION SECTION ================= */

.inspiration-section {
  padding: 80px 20px;
  background: linear-gradient(135deg,#eef7ff,#f9fcff);
  text-align: center;
}

.inspiration-inner {
  max-width: 900px;
  margin: auto;
}

.inspiration-logo {
  width: 140px;
  margin: auto;
  margin-bottom: 20px;
}

.inspiration-title {
  color: var(--primary);
  margin-bottom: 10px;
}

.inspiration-tagline {
  color: var(--secondary);
  margin-bottom: 20px;
}

.inspiration-text {
  line-height: 1.9;
}

/* ================= FAQ ================= */

.faq-section {
  padding: 80px 20px;
  background: #f7fbff;
}

.faq-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
}

.faq-container {
  max-width: 950px;
  margin: auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  border: none;
  background: #fff;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 700px;
  padding: 20px;
}

/* ================= FLOAT BUTTON ================= */

.apply-now-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
}

.apply-now-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ================= FOOTER ================= */

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 35px 20px;
}

/* ================= POPUP ================= */

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

  .grid,
  .specialization-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media(max-width:900px){

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 10px;
    background: #fff;
    flex-direction: column;
    width: 240px;
    padding: 18px;
    border-radius: 12px;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .handle-left,
  .handle-right {
    width: 100%;
  }

  .handle-inner {
    width: 100%;
  }

  .hero {
    background-image: url('http://cadsat.com/wp-content/uploads/2025/10/banner-for-cadsat-tab-size.jpg');
  }
}

@media(max-width:768px){

  .grid,
  .specialization-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .hero {
    background-image: url('http://cadsat.com/wp-content/uploads/2025/10/banner-mobile-size-cadsat.jpg');
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .quote-wrapper blockquote {
    font-size: 1rem;
  }

  .count-container {
    gap: 20px;
  }

  .count-num {
    font-size: 2rem;
  }

  .apply-now-btn {
    right: 15px;
    bottom: 15px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media(max-width:480px){

  .grid,
  .specialization-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .title {
    font-size: 1.5rem;
  }
}