/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #ffffff;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff; /* dark brown */
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* subtle gold top border */
.navbar::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(to right, #d4af37, #b8962e);
}

/* ===== WRAPPER ===== */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

/* ===== LOGO ===== */
.logo img {
  height:92px;
}

/* ===== MENU ===== */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #3d291a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  position: relative;
}

/* hover underline animation */
.nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #d4af37;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: #d4af37;
}

/* ===== CONTACT BUTTON ===== */
.contact-btn {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000 !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.contact-btn:hover {
  background: #6b1e1e;
  color: #fff !important;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 26px;
  background: #6b1e1e;
  margin: 4px 0;
  transition: 0.3s;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .nav-menu {
    position: absolute;
    top: 75px;
    left: -100%;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    text-align: center;
    padding: 25px 0;
    transition: 0.4s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger {
    display: flex;
  }
}








/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  background: url('../img/self-education-banner.avif') no-repeat center right/cover;
  display: flex;
  align-items: center;
  padding-left: 0; /* remove container feel */
}

/* GRADIENT OVERLAY (IMPORTANT for readability) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(59, 42, 26, 0.95) 30%,
    rgba(59, 42, 26, 0.85) 45%,
    rgba(59, 42, 26, 0.5) 60%,
    rgba(59, 42, 26, 0.1) 75%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 600px;
  z-index: 2;

  margin-left: 80px; /* pushes content to left edge */
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
}

.typing-text {
  display: inline-block;
  min-height: 1.2em;
  border-right: 3px solid #d4af37;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 6px;
}

.typing-text.is-typing {
  animation: blink-caret 0.8s step-end infinite;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #6b1e1e;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #000;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .hero {
    height: auto;
    padding: 80px 0;
    background-position: center;
  }

  .hero-content {
    text-align: center;
    margin: auto;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 80%;
    text-align: center;
  }

  /* overlay slightly stronger on mobile */
  .hero-overlay {
    background: rgba(59, 42, 26, 0.85);
  }
}


/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0;
  background: #f9f7f2;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* IMAGE */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floating-image {
  animation: float-image 4.8s ease-in-out infinite;
  will-change: transform;
}

.floating-image-delay {
  animation-delay: 0.8s;
}

/* CONTENT */
.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #3b2a1a;
}

.about-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.about-btn:hover {
  background: #6b1e1e;
  color: #fff;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .about-wrapper {
    flex-direction: column;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }
}



/* ===== TRUST BAR ===== */
.trust-bar {
  background: #3b2a1a;
  padding: 18px 0;
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
}

.trust-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ITEM */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

/* ICON */
.check-icon {
  color: #d4af37;
  font-size: 18px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .trust-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .trust-item {
    justify-content: center;
  }
}





/* ===== PRODUCTS SECTION ===== */
.products {
  padding: 80px 0;
  background: #fff;
}

/* HEADER */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: #3b2a1a;
  margin-bottom: 10px;
}

.section-header p {
  color: #666;
  font-size: 16px;
}

/* SLIDER */
.products-slider {
  overflow: hidden;
  position: relative;
}

.products-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s ease;
}

/* CARD */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  flex: 0 0 calc(25% - 15px);
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* OVERLAY */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(59, 42, 26, 0.9),
    rgba(59, 42, 26, 0.2)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* TEXT */
.product-overlay h3 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.product-overlay p {
  color: #f3ead1;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-overlay a {
  color: #000;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* HOVER EFFECT */
.product-card:hover img {
  transform: scale(1.08);
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .product-card {
    flex-basis: calc(50% - 10px);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .product-card img {
    height: 220px;
  }

  .product-card {
    flex-basis: 100%;
  }
}





/* ===== WHO WE SERVE ===== */
.serve {
  padding: 80px 0;
  background: #f9f7f2;
}

/* GRID */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* CARD */
.serve-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #eee;
  cursor: pointer;
}

/* ICON */
.serve-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* TEXT */
.serve-card h3 {
  font-size: 16px;
  color: #3b2a1a;
  margin-bottom: 8px;
}

.serve-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* HOVER EFFECT */
.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  border-color: #d4af37;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .serve-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .serve-card {
    padding: 25px 10px;
  }

  .serve-icon {
    font-size: 28px;
  }
}




/* ===== WHY CHOOSE US ===== */
.why {
  padding: 80px 0;
  background: #fff;
}

.why-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LEFT CONTENT */
.why-content {
  flex: 1;
}

.why-content h2 {
  font-size: 36px;
  color: #3b2a1a;
  margin-bottom: 15px;
}

.why-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* POINTS */
.why-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.why-icon {
  color: #d4af37;
  font-size: 18px;
  margin-top: 4px;
}

.why-item h4 {
  font-size: 16px;
  color: #3b2a1a;
  margin-bottom: 4px;
}

.why-item p {
  font-size: 14px;
  color: #777;
}

/* RIGHT IMAGE */
.why-image {
  flex: 1;
}

.why-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@keyframes blink-caret {
  0%, 100% {
    border-color: #d4af37;
  }

  50% {
    border-color: transparent;
  }
}

@keyframes float-image {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .why-wrapper {
    flex-direction: column;
  }

  .why-content {
    text-align: center;
  }

  .why-item {
    text-align: left;
  }

  .why-content h2 {
    font-size: 28px;
  }
}




/* ===== HOW IT WORKS ===== */
.process {
  padding: 80px 0;
  background: #f9f7f2;
}

/* STEPS WRAPPER */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  position: relative;
}

/* LINE CONNECTOR */
.process-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #d4af37;
  z-index: 0;
}

/* STEP */
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

/* NUMBER CIRCLE */
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
}

/* TEXT */
.process-step h3 {
  font-size: 15px;
  color: #3b2a1a;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .step-number {
    margin: 0;
  }
}



/* ===== CTA SECTION ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    #3b2a1a,
    #6b1e1e
  );
  color: #fff;
  text-align: center;
}

.cta-wrapper {
  max-width: 700px;
  margin: auto;
}

/* HEADLINE */
.cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

/* TEXT */
.cta p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* PRIMARY */
.cta-btn.primary {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn.primary:hover {
  background: #fff;
  color: #000;
}

/* SECONDARY */
.cta-btn.secondary {
  border: 1px solid #fff;
  color: #fff;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn.secondary:hover {
  background: #fff;
  color: #3b2a1a;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .cta h2 {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 80%;
    margin: auto;
    text-align: center;
  }
}




/* ===== CONTACT PREVIEW ===== */
.contact-preview {
  padding: 80px 0;
  background: #f9f7f2;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 32px;
  color: #3b2a1a;
  margin-bottom: 10px;
}

.contact-info p {
  color: #666;
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 12px;
  font-size: 15px;
}

.info-item a {
  color: #3b2a1a;
  text-decoration: none;
  font-weight: 500;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  background: #25D366;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1da851;
}

/* RIGHT SIDE (FORM) */
.contact-form {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
}

/* BUTTON */
.contact-form button {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #6b1e1e;
  color: #fff;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info {
    text-align: center;
  }

  .contact-form {
    width: 100%;
  }
}




/* ===== FOOTER ===== */
.footer {
  background: #3b2a1a;
  color: #fff;
  padding-top: 60px;
}

/* WRAPPER */
.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

/* LOGO */
.footer-logo {
  height: 55px;
  margin-bottom: 15px;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

/* HEADINGS */
.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #d4af37;
}

/* LINKS */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #d4af37;
}

/* WHATSAPP BUTTON */
.footer-whatsapp {
  display: inline-block;
  margin-top: 10px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-whatsapp:hover {
  background: #1da851;
}

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
  color: #aaa;
}

/* ===== MOBILE ===== */
@media (max-width: 992px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: auto;
  }
}

/* ===== INNER PAGE SECTIONS ===== */
.page-info {
  padding: 80px 0;
  background: #fff;
}

.alt-bg {
  background: #f9f7f2;
}

.page-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-info-card {
  background: #fff;
  border: 1px solid #ece6d8;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(59,42,26,0.06);
  transition: 0.3s ease;
}

.page-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(59,42,26,0.1);
  border-color: #d4af37;
}

.page-info-card h3 {
  font-size: 20px;
  color: #3b2a1a;
  margin-bottom: 12px;
}

.page-info-card p {
  color: #666;
  line-height: 1.7;
}

.split-highlight {
  padding: 80px 0;
  background: #fff;
}

.split-highlight-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.split-highlight-wrapper.reverse {
  flex-direction: row-reverse;
}

.split-highlight-content,
.split-highlight-image {
  flex: 1;
}

.split-highlight-content h2 {
  font-size: 36px;
  color: #3b2a1a;
  margin-bottom: 16px;
}

.split-highlight-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.split-highlight-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  background: #f9f7f2;
  border-left: 4px solid #d4af37;
  border-radius: 10px;
  padding: 14px 16px;
  color: #4d4032;
}

@media (max-width: 992px) {
  .page-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .split-highlight-wrapper,
  .split-highlight-wrapper.reverse {
    flex-direction: column;
  }

  .split-highlight-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .page-info-grid {
    grid-template-columns: 1fr;
  }

  .page-info-card {
    padding: 24px 20px;
  }
}
