

html, body {
  overflow-x: hidden;
}



/* Base styles same as before */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;
}

#nav-bar {
  background-color: #2b2d42;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h3 {
  margin: 0;              /* remove browser default spacing */
  line-height: 1;         /* avoid extra vertical space */
  display: flex;
  align-items: center;    /* vertically center */
  font-size: 20px;        /* optional: adjust text size if needed */
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background-color: #8d99ae;
  border-radius: 5px;
}

.nav-links a.active {
  background-color: #8d99ae;
  border-radius: 5px;
}

/* Dropdown */
.dropdown {
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  margin-left: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* always under the dropdown row */
  left: 0;
  background-color: #2b2d42;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 5px;
  margin-top: 5px;
  z-index: 10;
  width: max-content; /* adjust width to content */
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 180px;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: white;
}

.dropdown-menu a:hover {
  background-color: #8d99ae;
  border-radius: 0;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #2b2d42;
    width: 100%;
    display: none;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  /* Keep Kids Zone + arrow in a fixed row */
  .dropdown {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative; /* dropdown menu will position absolute relative to this */
  }

  .dropdown-menu {
    position: absolute;
    top: 100%; /* always below the row */
    left: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 5px;
  }

  .dropdown-menu li {
    width: 100%;
  }
}


/* nav end  */
























/* ================= ABOUT SECTION ================= */
.about-div {
  background: #262F4A;
  margin: 60px 0;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* Heading */
/* .about-div h1 {
  font-size: clamp(22px, 4vw, 36px);
  margin-bottom: 25px;
  text-align: center;
  color: #333;
} */

/* List */
.about-div ul {
  padding-left: 22px;
  margin: 0;
}

.about-div li {
  margin-bottom: 14px;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.7;
  color: #d8c7c7;
}

/* Tablet */
@media (max-width: 768px) {
  .about-div {
    padding: 30px 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .about-div {
    padding: 25px 16px;
    border-radius: 14px;
  }

  .about-div li {
    line-height: 1.6;
  }
}
























































/* ================= APPLICATION SECTION ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}
body{
  background:#111827;
}

/* ================= WRAPPER ================= */

.application-div{
  padding:60px 20px;
}

/* ================= CONTAINER ================= */

.container{
  display:flex;
  justify-content:space-between;   /* Equal spacing */
  align-items:stretch;
  gap:20px;
  width:100%;
}

/* ================= CARD ================= */

.card{
  flex:1;                 /* Auto shrink & grow equally */
  min-width:0;            /* Prevent overflow */
  background:white;
  padding:20px;
  border-radius:16px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.card:hover{
  transform:translateY(-6px);
}

/* ================= IMAGE ================= */

.card img{
  width:100%;
  height:auto;
  max-height:120px;
  object-fit:cover;
  margin-bottom:15px;
  border-radius:8px;
}

/* ================= BUTTON ================= */

button{
  padding:8px 18px;
  border:none;
  border-radius:8px;
  background:#ff6b6b;
  color:white;
  font-size:14px;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  background:#ff4757;
}

/* ================= RESPONSIVE TUNING ================= */

@media (max-width: 768px){
  .card{
    padding:15px;
  }

  button{
    padding:6px 14px;
    font-size:13px;
  }
}

@media (max-width: 480px){
  .card{
    padding:10px;
  }

  button{
    font-size:12px;
  }
}


.card{
  display:flex;
  flex-direction:column;
}

.card button{
  margin-top:auto;
}





/* ================= HEADING ================= */

.card h5{
  font-size:18px;
  margin-bottom:12px;
  color:#333;
  font-weight:600;
}

/* Tablet */
@media (max-width:768px){
  .card h5{
    font-size:16px;
  }
}

/* Mobile */
@media (max-width:480px){
  .card h5{
    font-size:14px;
  }
}


.card h5{
  font-size:18px;
  margin-bottom:12px;
  color:#333;
  font-weight:600;

  overflow-wrap: normal;
  word-break: keep-all;
}

.card a{
  margin-top:auto;
}

.card{
  overflow:hidden;
}


@media (max-width:768px){
  .card h5{
    font-size:16px;
  }
}

@media (max-width:480px){
  .card h5{
    font-size:14px;
  }
}








































/* ================= H1 ================= */


/* Responsive H1 */
h1 {
  font-size: clamp(22px, 5vw, 40px);
  margin: 20px 0;
  justify-content: center;
  align-items: center;
  /* display: flex; */
  line-height: 1.3;
  padding: 0 10px;
  color: #a6aedb;
}















/* ================= COURSE SECTION ================= */

.course-wrapper{
  display:flex;
  align-items:flex-start;
  gap:20px;
  margin-bottom:40px;
}

.course{
  flex:1;
  background:rgb(255, 244, 244);
  padding:30px;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0, 0, 0, 0.507);
  transition:0.3s;
}

.course:hover{
  transform:translateY(-5px);
}

.toggle-btn{
  width:50px;
  height:50px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff6b6b,#ff4757);
  color:white;
  font-size:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:0.4s;
  /* box-shadow:0 10px 20px rgba(0,0,0,0.2); */
}

.toggle-btn.rotate{
  transform:rotate(180deg);
}

.dropdown-content{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-10px);
  transition:0.5s ease;
  margin-top:20px;
}

.dropdown-content.active{
  max-height:800px;
  opacity:1;
  transform:translateY(0);
}













/* Notes Section */
.notes {
  margin-top: 20px;
  padding: 15px;
  background: #f1f3ff;
  border-left: 4px solid #667eea;
  border-radius: 8px;
}

.notes h4 {
  margin-top: 0;
  color: #444;
}



/* Make notes fully responsive */
.notes {
  margin-top: 20px;
  padding: 15px;
  background: #f1f3ff;
  border-left: 4px solid #667eea;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.notes h4 {
  margin-top: 0;
  color: #444;
  font-size: 18px;
}

.notes ul {
  padding-left: 18px;
  margin: 10px 0 0 0;
}

.notes li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 992px) {
  .notes {
    padding: 14px;
  }

  .notes h4 {
    font-size: 17px;
  }

  .notes li {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .notes {
    padding: 12px;
    border-left: 3px solid #667eea;
  }

  .notes h4 {
    font-size: 16px;
  }

  .notes ul {
    padding-left: 16px;
  }

  .notes li {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Very small devices */
@media (max-width: 400px) {
  .notes {
    padding: 10px;
  }

  .notes h4 {
    font-size: 15px;
  }

  .notes li {
    font-size: 13px;
  }
}

















/* ================= RULES SECTION ================= */
.rules {
  background: #fddddd;
  padding: 25px;
  margin: 30px 0;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.rules h3 {
  margin-bottom: 15px;
  font-size: clamp(18px, 3vw, 24px);
  color: #333;
}

.rules ul {
  padding-left: 20px;
  margin: 0;
}

.rules li {
  margin-bottom: 10px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: #555;
}

/* Tablet */
@media (max-width: 768px) {
  .rules {
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .rules {
    padding: 16px;
    border-radius: 10px;
  }

  .rules li {
    line-height: 1.5;
  }
}

/* ===== Floating Effect ===== */
.rules {
  animation: floatCard 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Optional: slight lift on hover */
.rules:hover {
  transform: translateY(-12px);
}




















/* ================= TEST SECTION ================= */
.test {
  text-align: center;
  margin: 80px 20px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea, #78cff1);
  border-radius: 16px;
  color: #fff;
  box-sizing: border-box;
}

.test h2 {
  font-size: clamp(20px, 4vw, 32px);
  margin-bottom: 25px;
  line-height: 1.4;
}

.test a {
  text-decoration: none;
}

.test button {
  background: #ff6b6b;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: clamp(14px, 2.5vw, 18px);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
                                                                              #ff6b6b     #ff4757
.test button:hover {
  background: #ff4757;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tablet */
@media (max-width: 992px) {
  .test {
    margin: 60px 15px;
    padding: 35px 18px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .test {
    margin: 50px 10px;
    padding: 30px 15px;
  }

  .test button {
    width: 100%;
    max-width: 280px;
  }
}

/* Very small devices */
@media (max-width: 400px) {
  .test {
    padding: 25px 12px;
  }
}















/* ================= SOCIAL WORK IMAGE SLIDER ================= */

.social-work {
  margin: 80px 0;
  padding: 0 20px;
}

.slider {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.slides {
  display: flex;
  animation: slide 16s infinite;
}

.slides img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  flex: 1 0 100%;
}

/* Auto Slide Animation */
@keyframes slide {
  0% { transform: translateX(0%); }
  20% { transform: translateX(0%); }

  25% { transform: translateX(-100%); }
  45% { transform: translateX(-100%); }

  50% { transform: translateX(-200%); }
  70% { transform: translateX(-200%); }

  75% { transform: translateX(-300%); }
  95% { transform: translateX(-300%); }

  100% { transform: translateX(0%); }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .slides img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .slides img {
    height: 250px;
  }
}

@media (max-width: 400px) {
  .slides img {
    height: 200px;
  }
}


































/* ================= FOOTER ================= */








/* Footer styles */
footer {
  background-color: #2b2d42;
  color: white;
  padding: 20px 40px;
}

/* Make page stretch full height */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-content p {
  margin: 10px 0;
  font-size: 1rem;
}

.footer-content ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 10px 0;
  padding: 0;
}

.footer-content ul li a {
  text-decoration: none;
  color: #ffffffcc;
  transition: color 0.3s ease;
}

.footer-content ul li a:hover {
  color: #ffffff;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-content ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-content ul li {
    margin: 5px 10px;
  }
}







@media (max-width: 768px) {
  footer {
    padding: 20px 15px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-content ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-content ul li {
    margin: 5px 10px;
  }
}




































/* ===== MAIN SIDE GAP ===== */
.main {
  max-width: 1200px;   /* Controls content width */
  margin: 0 auto;      /* Centers content */
  padding: 0 20px;     /* Left & right spacing */
}











/* Prevent long text from breaking layout */
.course,
.notes,
.about-div,
.rules {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Make images safe */
img {
  max-width:100%;
  height:auto;
}













