/* ===== VARIABLES ===== */
:root {
  --primary: #3498db;
  --primary-dark: #2980b9;
  --secondary: #2c3e50;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --gray: #95a5a6;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --brand-yellow: #f0e41a;
  --brand-blue: #1e63d5;
}

/* ===== GENERAL STYLING ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}

/* Popup Styles */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.popup.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  animation: zoomBounce 0.5s ease-out;
}

@keyframes zoomBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
}

.popup-content h3 {
  margin-top: 0;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: crimson;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  /* padding: 0.6rem 2rem 0.25rem; */
  background-color: var(--brand-yellow);
  /* background-color: var(--white); */
  /* background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url("components/bgbatik2.jpg"); */
  /* filter: brightness(0.6); */
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* border-bottom: 4px solid #FFD700 */
}

.logo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-left, .logo-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1rem;
}

.header-ticker {
  flex: 1;
  overflow: hidden;
  padding: 0 1rem;
}

.header-ticker .ticker {
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  color: #15523E;
  animation: tickerScroll 20s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.logo-img {
  height: 50px;
  object-fit: contain;
}

.logo-kemenhub {
  height: 50px;
}

.logo-bpsdmhub {
  height: 60px;
}

.logo-ggbpsdmp {
  height: 60px;
}

.logo-proprestasi {
  height: 35px;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #15523E;
  cursor: pointer;
}

.nav {
  display: flex;
  width: 100%;
  background-color: var(--secondary);
  /* padding: 0.35rem 1rem; */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0.35rem 1rem;
}

.nav-item {
  position: relative;
  text-align: center;
}

.nav-item > a {
  text-decoration: none;
  /* color: #15523E; */
  color:white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  display: block;
  border-radius: 0;
}

.nav-item > a:hover {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
}

/* ===== DROPDOWN STYLING ===== */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
  text-align: left;
}

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  list-style: none;
  position: relative;
}

.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid var(--light-gray);
}

.dropdown a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.dropdown li:last-child a {
  border-bottom: none;
}

/* ===== SUBDROPDOWN STYLING (Nested) ===== */
.submenu-item {
  position: relative;
}

.subdropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--white);
  min-width: 280px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0.5rem 0;
}

.submenu-item:hover .subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Arrow indicator untuk submenu */
.submenu-item > a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.submenu-item:hover > a i {
  transform: rotate(90deg);
}

/* ===== SLIDESHOW STYLING ===== */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 92vh;
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  flex-shrink: 0;
}

/* Slide dengan background berbeda */
.slide:nth-child(1),
.slide:nth-child(2),
.slide:nth-child(3),
.slide:nth-child(8),
.slide:nth-child(9),
.slide:nth-child(10),
.slide:nth-child(11) {
  background-size: cover;
  background-color: #fff;
}

.slide:nth-child(4),
.slide:nth-child(5),
.slide:nth-child(6),
.slide:nth-child(7) {
  background-size: cover;
}

/* Slide dots */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
  position: relative;
  overflow: hidden;
  /* background-color: white; */
  /* background: url("components/pasir1.png"); */
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url("components/bgbunga.jpg");
}

.welcome-text {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--dark);
  padding: 2rem;
  width: 90%;
}

.welcome-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.welcome-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.welcome-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 2rem;
  margin-top: -30px;
  text-align: center;
  /* background-color: white; */
  /* background: url("components/pasir1.png"); */
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url("components/bgbunga.jpg");
}

.courses-section h2 {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.courses-section > p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.courses-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card-box {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 300px;
  max-width: 600px;
}

.courses-left h3, .courses-right h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.courses-left {
  text-align: center;
}

.courses-left .btn-primary {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.courses-left .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.form-card button {
  margin-top: 1.5rem;
  width: 100%;
  background-color: #3498db;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.form-card .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.course-card1 {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card1 a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.course-card1 img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.course-card1 .course-info {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 80px;
  text-align: center;
}

.course-card1 .course-info h3 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 600;
}

.course-card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-card1:hover .course-info h3 {
  color: var(--primary);
}

/* Form card di kanan */
.form-card {
  margin-top: 1rem;
}

.form-card label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  text-align: left;
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.form-card button {
  margin-top: 1.5rem;
  width: 100%;
  background-color: #3498db;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-section {
    padding: 5rem 2rem;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%); */
  background: url("components/pasir1.png");
    position: relative;
    overflow: hidden;
}

.activities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.activities-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ACTIVITIES GRID ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.activity-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(21, 82, 62, 0.1);
}

.activity-card:hover .card-image img {
    transform: scale(1.1);
}

.activities-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.activity-card img {
    overflow: hidden;
    height: 270px;
    width: 100%;
}
.activities-grid1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
/* ===== RESPONSIVE DESIGN ===== */
/* Tablet landscape dan layar sedang (≤ 992px) */
@media (max-width: 992px) {
  .activities-grid1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
/* HP (≤ 768px) */
@media (max-width: 768px) {
  .activities-grid1 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }
}
/* Layar sangat kecil (≤ 480px) */
@media (max-width: 480px) {
  .activities-grid1 {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
}


/* Card Image */
.card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Card Content */
.card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: white;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.card-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== MEDIA SOCIAL SECTION ===== */
.media-social-section {
  padding: 4rem 2rem;
  /* background-color: var(--white); */
  background: url("components/pasir1.png");
}

.media-social-section h2 {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  color: #424040;
  font-weight: bold;
  margin-bottom: 2rem;
}

.media-social-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.social-sidebar {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hilangkan underline semua link */
.social-sidebar a {
  text-decoration: none;
  color: inherit;
}

.social-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.social-item:hover {
  background-color: var(--light-gray);
}

.social-item img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.social-item div {
  flex: 1;
}

.social-item span {
  font-size: 0.9rem;
  display: block;
}

.social-item small {
  font-size: 0.75rem;
  color: gray;
}

.arrow {
  margin-left: auto;
}


.video-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.video-item {
  width: 360px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-item iframe {
  width: 100%;
  height: 100%;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  padding: 3rem 2rem;
  text-align: center;
  /* background-color: white; */
  background: url("components/pasir1.png");
}

.hero-banner h1 {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===== COUNTER SECTION ===== */
.counter-section {
  padding: 4rem 2rem;
  background-color: var(--white);
  text-align: center;
}

.counter-section h2 {
  font-size: 1.8rem;
  color: #424040;
  font-weight: bold;
}

.counter-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.counter-box {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 100px;
  transition: var(--transition);
}

.counter-box:hover {
  transform: translateY(-5px);
}

.counter-icon {
  width: 500px;
  height: 350px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.contact-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: var(--light);
}

.footer-address {
  font-style: normal;
  flex: 1;
}

.footer-address p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.footer-address i {
  margin-right: 0.8rem;
  color: var(--primary);
  min-width: 16px;
  margin-top: 0.2rem;
}

.footer-address a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  word-break: break-all;
}

.footer-address a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-btn-container {
  margin-top: 1.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-btn i {
  color: var(--white) !important;
}

.contact-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.link-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.link-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-tautan {
  display: block;
  color: var(--white);
  padding: 0.6rem 0;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-tautan:hover {
  color: var(--primary);
  padding-left: 0.5rem;
  border-bottom-color: var(--primary);
}

.contact-tautan:last-child {
  border-bottom: none;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-icons a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.survey-container {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.survey-container p {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--light-gray);
}

.survey-container .contact-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

.visitor-counter-box {
  text-align: center;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 2rem auto 1rem;
  max-width: 300px;
  backdrop-filter: blur(10px);
}

.visitor-counter-box i {
  margin-right: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.visitor-counter-box span {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--light-gray);
}

/* ===== BUTTONS ===== */
.konsultasi-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-align: center;
  z-index: 999;
}

/* Gambar bergerak */
.konsultasi-img {
  width: 150px;
  /* height: 150px; */
  /* animation: bounce 2s infinite; */
  /* margin-bottom: 8px; */
}

/* Animasi goyang */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Teks ajakan */
.konsultasi-text {
  font-size: 14px;
  font-weight: bold;
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

/* Tombol konsultasi */
.wa-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.wa-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.wa-button img {
  height: 20px;
}

.wa-button p {
  text-align: left;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .activities-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    margin-top: 85px;
    right: -100%;
    width: 60%;
    height: 100vh;
    background-color: var(--brand-blue);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav.show {
    right: 0;
  }
  
  .menu {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .nav-item > a {
    padding: 1rem 0;
    color: white;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: var(--brand-blue);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .nav-item.active .dropdown {
    max-height: 500px;
  }
  
  .dropdown a {
    color: white;
    padding-left: 2rem;
  }

  .subdropdown {
    position: static;
    margin-left: 1rem;
    background-color: #154faa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .submenu-item.active .subdropdown {
    max-height: 500px;
  }
  
  .welcome-text {
    padding: 1rem;
  }
  
  .welcome-text h3 {
    font-size: 1.5rem;
  }
  
  .welcome-text p {
    font-size: 0.9rem;
  }
  
  .courses-wrapper {
    flex-direction: column;
  }
  
  .courses-container {
    flex-direction: column;
    align-items: center;
  }
  
  .media-social-container {
    flex-direction: column;
    align-items: center;
  }
  
  .counter-container {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .counter-icon {
    width: 150px;
    height: 150px;
  }
  
  .video-item {
    width: 100%;
    height: 200px;
  }
  
  /* Responsive slideshow */
  .slideshow-container {
    height: 75vh;
  }
  
  .slide-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .slide-nav.prev {
    left: 10px;
  }
  
  .slide-nav.next {
    right: 10px;
  }
  
  .slide-dots {
    bottom: 10px;
  }

  .activities-section {
    padding: 3rem 1rem;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1.1rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .contact-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .social-icons a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .visitor-counter-box {
    margin: 1.5rem auto 1rem;
    padding: 1rem;
  }
}
