/* ==========================================
   WBH Academy - German Program
   CSS Part 1 : Global Style
========================================== */

/* ===== GOOGLE FONT ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap");

/* ===== VARIABLES ===== */

:root {
  --primary: #a51c30;
  --secondary: #c9a227;
  --dark: #1e1e1e;
  --text: #555;
  --white: #ffffff;
  --light: #f8f8f8;
  --border: #e5e5e5;
}

/* ===== RESET ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== SECTION ===== */

section {
  padding: 100px 0;
}

/* ===== SECTION TITLE ===== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 42px;
  font-family: "Cormorant Garamond", serif;
  margin: 15px 0;
}

.section-title p {
  max-width: 700px;
  margin: auto;
  color: goldenrod;
}

/* ===== BUTTON ===== */

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 15px 34px;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #861728;
}

.btn-secondary {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 15px 34px;
  border-radius: 6px;
  margin-left: 15px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary);
}

/* ==========================================
   HERO SECTION
========================================== */

.german-hero {
  position: relative;

  height: 90vh;
  padding-top: 150px;

  min-height: 800px;

  background: url("images/hero.jfif") center center/cover no-repeat;

  display: flex;

  align-items: center;

  color: #fff;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);
}

.german-hero .container {
  position: relative;

  z-index: 2;
}
/* ===== HERO CONTENT ===== */

.hero-content {
  max-width: 700px;
}

.program-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 8px 18px;

  background: rgba(255, 255, 255, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 30px;

  backdrop-filter: blur(6px);

  margin-bottom: 25px;
}

.program-badge img {
  width: 26px;
}

.program-badge span {
  font-size: 14px;

  font-weight: 600;

  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 72px;

  line-height: 1.1;

  font-family: "Cormorant Garamond", serif;

  margin-bottom: 25px;
}

.hero-divider {
  width: 90px;

  height: 4px;

  background: var(--secondary);

  border-radius: 20px;

  margin-bottom: 30px;
}

.hero-content p {
  font-size: 18px;

  max-width: 650px;

  color: #eee;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}
/*==========================================
HEADER
==========================================*/

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: rgba(255, 255, 255, 0.96);

  backdrop-filter: blur(12px);

  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;

  justify-content: space-between;

  align-items: center;

  height: 90px;
}

.logo img {
  width: 140px;
}

/*==============================
NAVIGATION
==============================*/

.nav-menu {
  display: flex;

  align-items: center;

  gap: 35px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: var(--dark);

  font-weight: 500;

  transition: 0.3s;
}

.nav-menu li a:hover {
  color: var(--primary);
}

/*==============================
APPLY BUTTON
==============================*/

.apply-btn {
  background: var(--primary);

  color: #fff;

  padding: 13px 28px;

  border-radius: 6px;

  font-weight: 600;

  transition: 0.3s;
}

.apply-btn:hover {
  background: #861728;
}

/*==============================
DROPDOWN
==============================*/

.arrow {
  font-size: 11px;

  margin-left: 6px;
}

.dropdown-menu {
  position: absolute;

  top: 55px;

  left: 0;

  width: 240px;

  background: #fff;

  border-radius: 10px;

  overflow: hidden;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  transition: 0.3s;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;

  padding: 15px 20px;
}

.dropdown-menu li a:hover {
  background: #f7f7f7;
}

/*==============================
HAMBURGER
==============================*/

.hamburger {
  display: none;

  width: 32px;

  cursor: pointer;
}

.hamburger span {
  display: block;

  width: 100%;

  height: 3px;

  background: var(--dark);

  margin: 7px 0;

  border-radius: 20px;

  transition: 0.3s;
}

/*==============================
TABLET
==============================*/

@media (max-width: 992px) {
  .nav-menu {
    gap: 20px;
  }
}

/*==============================
MOBILE
==============================*/

@media (max-width: 768px) {
  .hamburger {
    display: block;

    z-index: 1002;
  }

  .apply-btn {
    display: none;
  }

  .nav-menu {
    position: fixed;

    top: 0;

    right: -100%;

    width: 300px;

    height: 100vh;

    background: goldenrod;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding: 40px;

    gap: 28px;

    transition: 0.4s;

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.active {
    right: 0;
  }

  .dropdown-menu {
    position: static;

    width: 100%;

    box-shadow: none;

    opacity: 1;

    visibility: visible;

    transform: none;

    display: none;

    margin-top: 12px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}
/*==========================================
COURSE LEVELS
==========================================*/

.course-levels {
  background: white;
}

.levels-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.level-card {
  background: #102a43;

  padding: 40px 30px;

  border-radius: 18px;

  text-align: center;

  border: 1px solid #ececec;

  transition: 0.35s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.level-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);

  border-color: var(--secondary);
}

.level-icon {
  width: 120px;

  height: 80px;

  margin: 0 auto 25px;

  background: #faf7ef;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;
}

.level-icon img {
  width: 80px;
}

.level-card h3 {
  font-size: 40px;

  color: var(--primary);

  font-family: "Cormorant Garamond", serif;

  margin-bottom: 10px;
}

.duration {
  color: white;

  margin-bottom: 15px;
}

.level-card h4 {
  font-size: 30px;

  color: var(--secondary);

  margin-bottom: 30px;
}

.enroll-btn {
  display: block;

  background: var(--primary);

  color: #fff;

  padding: 14px;

  border-radius: 8px;

  font-weight: 600;

  transition: 0.3s;
}

.enroll-btn:hover {
  background: #861728;
}

.details-link {
  display: inline-block;

  margin-top: 20px;

  color: var(--primary);

  font-weight: 600;

  transition: 0.3s;
}

.details-link:hover {
  color: var(--secondary);
}

/*==============================
TABLET
==============================*/

@media (max-width: 992px) {
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==============================
MOBILE
==============================*/

@media (max-width: 768px) {
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .level-card {
    padding: 35px 25px;
  }

  .level-card h3 {
    font-size: 34px;
  }

  .level-card h4 {
    font-size: 26px;
  }
}
/*==========================================
PROGRAM FEATURES
==========================================*/

.program-features {
  background: #a51c30;
}

.features-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.feature-card {
  background: #fff;

  padding: 40px 30px;

  border-radius: 18px;

  text-align: center;

  border: 1px solid #ececec;

  transition: 0.35s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 85px;

  height: 85px;

  margin: 0 auto 25px;

  background: #faf7ef;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;
}

.feature-icon img {
  width: 45px;
}

.feature-card h3 {
  font-size: 24px;

  color: var(--primary);

  margin-bottom: 15px;

  font-weight: 600;
}

.feature-card p {
  color: #666;

  font-size: 15px;

  line-height: 1.8;
}

/*==============================
TABLET
==============================*/

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==============================
MOBILE
==============================*/

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 35px 25px;
  }
}
/*==========================================
WHO SHOULD JOIN
==========================================*/

.who-should-join {
  background: #f8f9fb;
}

.join-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.join-image img {
  width: 100%;

  border-radius: 20px;

  object-fit: cover;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.section-subtitle {
  display: inline-block;

  color: var(--secondary);

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 15px;
}

.join-content h2 {
  font-size: 48px;

  font-family: "Cormorant Garamond", serif;

  margin-bottom: 20px;

  color: var(--dark);
}

.join-content p {
  color: #666;

  margin-bottom: 35px;

  line-height: 1.9;
}

.join-list {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.join-list li {
  display: flex;

  align-items: flex-start;

  gap: 15px;

  color: #444;

  line-height: 1.8;
}

.join-list span {
  width: 32px;

  height: 32px;

  border-radius: 50%;

  background: var(--secondary);

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-weight: bold;

  flex-shrink: 0;
}
/*==========================================
WHY CHOOSE WBH
==========================================*/

.why-wbh {
  background: #ffffff;
}

.why-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.why-image img {
  width: 100%;

  border-radius: 20px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.why-content h2 {
  font-size: 48px;

  font-family: "Cormorant Garamond", serif;

  margin: 18px 0 25px;
}

.why-content p {
  color: #666;

  margin-bottom: 35px;

  line-height: 1.9;
}

.why-list {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.why-item {
  display: flex;

  align-items: flex-start;

  gap: 18px;
}

.check-icon {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 18px;

  font-weight: 700;

  flex-shrink: 0;
}

.why-item h4 {
  font-size: 22px;

  color: var(--dark);

  margin-bottom: 8px;
}

.why-item p {
  margin: 0;

  color: #666;

  line-height: 1.8;
}

/*==========================================
TABLET
==========================================*/

@media (max-width: 992px) {
  .join-wrapper,
  .why-wrapper {
    grid-template-columns: 1fr;

    gap: 50px;
  }
}

/*==========================================
MOBILE
==========================================*/

@media (max-width: 768px) {
  .join-content h2,
  .why-content h2 {
    font-size: 36px;
  }

  .join-list li {
    font-size: 15px;
  }

  .why-item h4 {
    font-size: 20px;
  }
}
/*==========================================
CALL TO ACTION
==========================================*/

.cta-section {
  background:
    linear-gradient(rgba(165, 28, 48, 0.92), rgba(165, 28, 48, 0.92)),
    url("../images/cta-bg.jpg") center/cover no-repeat;

  color: #fff;

  text-align: center;
}

.cta-box {
  max-width: 850px;

  margin: auto;
}

.cta-box h2 {
  font-size: 52px;

  font-family: "Cormorant Garamond", serif;

  margin: 20px 0;

  line-height: 1.2;
}

.cta-box p {
  font-size: 18px;

  color: #f3f3f3;

  margin-bottom: 40px;

  line-height: 1.9;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: #fff;

  color: var(--primary);
}

.cta-buttons .btn-primary:hover {
  background: var(--secondary);

  color: #fff;
}

.cta-buttons .btn-secondary {
  border: 2px solid #fff;

  color: #fff;
}

.cta-buttons .btn-secondary:hover {
  background: #fff;

  color: var(--primary);
}
/*==========================================
FOOTER
==========================================*/

.footer {
  background: #1b1b1b;

  color: #ccc;

  padding: 80px 0 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 50px;

  margin-bottom: 50px;
}

.footer-logo {
  width: 180px;

  margin-bottom: 25px;
}

.footer-column p {
  color: #aaa;

  line-height: 1.9;
}

.footer-column h3 {
  color: #fff;

  margin-bottom: 25px;

  font-size: 22px;
}

.footer-column ul {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.footer-column ul li {
  color: #aaa;
}

.footer-column ul li a {
  color: #aaa;

  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: var(--secondary);

  padding-left: 6px;
}

.social-icons {
  display: flex;

  gap: 15px;

  margin-top: 30px;
}

.social-icons a {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: #2d2d2d;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--primary);

  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding-top: 25px;

  text-align: center;
}

.footer-bottom p {
  color: #888;
}

/*==========================================
TABLET
==========================================*/

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==========================================
MOBILE
==========================================*/

@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 38px;
  }

  .cta-box p {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 25px;
  }

  .social-icons {
    justify-content: center;
  }
}
/*==========================================
RESPONSIVE FINAL
==========================================*/

/*============ Laptop ============*/

@media (max-width: 1200px) {
  .container {
    width: 92%;
  }

  .hero-content h1 {
    font-size: 60px;
  }
}

/*============ Tablet ============*/

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .section-title h2 {
    font-size: 40px;
  }
}

/*============ Mobile ============*/

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .german-hero {
    min-height: 650px;

    text-align: center;
  }

  .breadcrumb {
    justify-content: center;
  }

  .program-badge {
    margin: auto auto 25px;
  }

  .hero-divider {
    margin: 25px auto;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title {
    margin-bottom: 45px;
  }

  .section-title h2 {
    font-size: 34px;
  }
}

/*============ Small Mobile ============*/

@media (max-width: 576px) {
  .container {
    width: 94%;
  }

  .hero-content h1 {
    font-size: 34px;

    line-height: 1.2;
  }

  .hero-content p {
    font-size: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;

    margin: 0;

    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;

    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
  }
}
/*==========================================
ANIMATION
==========================================*/

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(40px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;

    transform: scale(0.9);
  }

  to {
    opacity: 1;

    transform: scale(1);
  }
}

/* Hero */

.hero-content {
  animation: fadeUp 1s ease;
}

/* Cards */

.level-card,
.feature-card {
  animation: zoomIn 0.8s ease;
}

/* Image */

.join-image img,
.why-image img {
  transition: 0.4s;
}

.join-image:hover img,
.why-image:hover img {
  transform: scale(1.04);
}

/* Smooth Hover */

.level-card,
.feature-card,
.social-icons a,
.enroll-btn,
.btn-primary,
.btn-secondary {
  transition: all 0.35s ease;
}

/* Image Radius */

img {
  border-radius: inherit;
}
.header.sticky {
  height: 75px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.header.sticky .navbar {
  height: 75px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
