        * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



/* HEADER */
/* RESET */

.header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 14px 28px;
}



.logo {
    height: 80px;
    width: auto;
    margin: 0;
    justify-self: start;
}


.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 80px;            /* perfect spacing */
    align-items: center;
    margin: 0;
    padding: 0;
}


.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-spacer {
    width: 80px; /* roughly logo width */
}




.nav-links a:hover,
.nav-links a.active {
    color: #0b5ed7;
}


.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;   /* FIX */
}



/* DROPDOWN */
.dropdown {
    position: relative;
}


.drop-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #ffffff;
    width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    padding: 10px 0;
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f5f7fb;
    color: #0b5ed7;
}



/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .navbar {
      height: 56px;
      padding: 0 16px;
  }

  .logo {
      height: 40px;
  }

  .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 240px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding-top: 80px;
        gap: 25px;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    }

    .nav-links.show {
        right: 0;
    }

    .dropdown-menu {
        position: relative;
        box-shadow: none;
        background: #f5f5f5;
        width: 100%;
    }


  /* Mobile dropdown */
  .dropdown-menu {
      position: static;
      box-shadow: none;
      background: #f8f9fb;
      display: none;
  }

  .dropdown.open .dropdown-menu {
      display: block;
  }
}
.dropdown.show .dropdown-menu {
    display: block;
}


/* mobile click */
.dropdown.show .dropdown-menu {
    display: block;
}



/* HERO SECTION */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  background: url(images/demo.img.jpg) center/cover no-repeat;
  padding: 80px 20px;
  height: auto;
}


.hero h1 {
  font-size: 55px;
  color: #2e4c53;
  font-weight: 700;
  max-width: 800px;
  margin: auto;
}




.highlight {
  background: #28d7ff;
  padding: 0 4px 6px;
  border-radius: 10px;
  display: inline-block;
}

.sub-text {
  margin: 15px auto;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  max-width: 400px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #191a2b, #161875);
    color: #ffffff;
    padding: 14px 34px;    /* reduces size */
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    width: auto;
    box-shadow: 0 5px 12px rgba(42, 46, 247, 0.25);           /* IMPORTANT – prevents stretching */
}

.btn-primary:hover {
     transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(18, 18, 20, 0.35)
}

.demo-box {
    display: flex;
    align-items: center;
    margin-top: 18px;
    gap: 10px;
}

.play-btn {
    width: 35px;
    height: 35px;
    background: #28d7ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}


/* Center the button */
.hero .btn-primary {
    margin: 25px auto 0;
}


.demo-box {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* WHY ALICADD */
/* WHY ALICADD SECTION */
.why-info {
    padding: 50px 0;
    background: #eae9e9;
    text-align: center;
}

/* Heading */
.why-info h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom:0;
    text-transform: lowercase;
}

/* Parent container – FULL WIDTH stack */
.cards-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;   /* spacing between cards */
}

/* Individual cards */
.why-card {
    width: 90%;              /* same width as Alicadd.com */
    background: #fff;
    padding: 28px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.10);
}

.why-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}


/* ---------- RESPONSIVE ---------- */

/* Tablets */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-info h2 {
        font-size: 32px;
    }
}

/* Mobiles */
@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .why-info {
        padding: 40px 0;
    }

    .why-info h2 {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .why-card {
        padding: 25px 20px;
    }

    .why-card h3 {
        font-size: 20px;
    }
}

 



/* EVENTS */
.events-section {
  padding: 60px 20px;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.event-card img {
  width: 100%;
  border-radius: 10px;
}


/* RESPONSIVE FIXES */
/* ========================= */

/* MOBILE */
@media (max-width: 480px) {

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .btn-primary {
    font-size: 18px;
  }

  .why-card, .event-card {
    margin: auto;
  }

}

/* TABLET */
@media (min-width: 481px) and (max-width: 900px) {

  .hero h1 {
    font-size: 45px;
  }

  .navbar a {
    font-size: 17px;
  }

}
/* team sec */

.founder-section {
  width: 100%;
  padding: 70px 5%;
  display: flex;
  justify-content: center;
  background: rgba(200, 180, 255, 0.15);
}

.founder-container {
  display: flex;
  flex-direction: row;       /* ensures image left, text right */
  align-items: center;
  gap: 40px;
  width: 85%;
  flex-wrap: wrap;           /* allows wrapping on smaller screens */
}

.founder-img-box {
  flex: 1;
  display: flex;
  justify-content: center;
  background: none; /* no extra background layer */
}

.founder-img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: none; /* remove depth to blend with section */
  background: transparent; /* ensures no background edge */
  margin: 0; /* no extra padding or margin */
}

.founder-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 40px;
}

.founder-name {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;   /* adds subtle spacing between letters */
  margin-bottom: 0;   /* consistent spacing below */
}

.founder-role {
  font-size: 25px;
  color: #4b5cff;
  font-weight: 350;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  margin-top: 0;
}

.founder-text {
  font-size: 20px;
  color: #666;
  line-height: 1.8;      /* improves readability */
  letter-spacing: 0.3px; /* subtle spacing between characters */
  margin-bottom: 20px;
}

.join-btn {
    background: linear-gradient(135deg, #191a2b, #161875);
    color: #ffffff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 18px; /* ensures button sits below icons */
    width: fit-content;
    box-shadow: 0 5px 12px rgba(42, 46, 247, 0.25);
    transition: 0.25s ease-in-out;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(18, 18, 20, 0.35);
}







.founder-social {
    display: flex;
    gap: 12px;
}

.founder-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #d1d1d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2f2f2f;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

.founder-social a:hover {
    background: #6c4cd6;
    color: #fff;
    border-color: #6c4cd6;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(108, 76, 214, 0.45);
}






/* faculty */
.faculty-section {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: rgba(200, 180, 255, 0.15);
}

/* Section title */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  color: #000;
}

/* Grid layout */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  width: 90%;
  margin: auto;
  align-items: start;
}

/* Individual card */
.faculty-card {
  text-align: center;
  background-color: #f8faff;
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.4); /* Subtle UI border */
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Faculty image */
.faculty-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.faculty-card:hover .faculty-img {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Name */
.faculty-name {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

/* Role */
.faculty-role {
  font-size: 14px;
  color: #2a4bd7;
  margin-bottom: 10px;
}

/* Rating */
.rating {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.rating span {
  color: #f0b400;
}

/* Responsive refinement */
@media (max-width: 900px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
  }

  .founder-content {
    padding-right: 0;
  }

  .founder-img {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* ------------------ LOGIN PAGE UI-UX ------------------ */

/* Center container on all screens */


/* LOGIN FORM CARD */
.container {
  background: #ffffff;
  padding: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  margin-bottom: 5rem;
  width: 350px;
  border-radius: 18px;
  box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.18),
      0 6px 15px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.container:hover {
  transform: translateY(-3px);
  box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.22),
      0 8px 18px rgba(0, 0, 0, 0.14);
}

/* FORM TITLE */
.container h2 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

/* INPUT FIELDS */
.container input {
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.container input:focus {
  border-color: #4f4fd9;
  box-shadow: 0 0 0 3px rgba(79, 79, 217, 0.20);
  outline: none;
}

/* FORGOT PASSWORD LINK */
.forgot {
  margin-top: 10px;
  color: #222;
  font-size: 14px;
  cursor: pointer;
  text-align: right;
  display: block;
  transition: color 0.25s ease;
}

.forgot:hover {
  color: #4f4fd9;
  text-decoration: none;
}

/* LOGIN BUTTON */
.container button {
  width: 100%;
  padding: 12px;
  margin-top: 22px;
  border: none;
  background: #0c0c0c;
  color: #f2f4f8;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.container button:hover {
  background: #4f4fd9;
  transform: translateY(-2px);
}

/* POPUP NOTIFICATION */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #222;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0px);
}

/* RESPONSIVE — CENTER THE FORM ON SMALLER SCREENS */
@media (max-width: 991px) {
  .container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 90%;
    margin-top: 100px;
  }
}



/* MOBILE MENU STYLING */



/* -------- EVENTS SECTION -------- */

.events-section {
    padding: 80px 40px;
    background:  #f2f4f8;
    text-align: center;
}

.events-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.event-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.event-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.event-date {
    display: inline-block;
    background: linear-gradient(to bottom, #8fd0ff, #2f83c6);
    padding: 10px 25px;
    color: black;
    font-weight: 700;
    border-radius: 25px;
    margin-top: -20px;
    position: relative;
    top: -20px;
    font-size: 16px;
}

.event-text {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

/* about */
.about-info {
  width: 100%;
  padding: 70px 5%;
  display: flex;
  justify-content: center;
  background: rgba(200, 180, 255, 0.15);
  gap: 20px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 85%;
}

.about-img-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); /* subtle depth */
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02); /* micro-interaction */
}

.about-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 40px;
}

.about-content h1 {
  font-size: 40px;
  margin-bottom: 2rem;
  color: #111;
}

.info-box {
  padding: 60px 0;
  text-align: center;
  background: #f2f4f5;
}

.info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
  margin: 0 auto;
}

.info-cards {
  width: 900px;
  max-width: 90%;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-cards h2 {
  color: rgb(216, 84, 84);
  font-size: 22px;
  margin-bottom: 15px;
}

.info-cards p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.info-cards:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    padding-right: 0;
  }
}


/* courses */
/* =============== SECTION WRAPPER =============== */
/* =============== SECTION WRAPPER =============== */
.courses {
  background: rgba(200, 180, 255, 0.15);
  padding-top: 20px;
  padding-bottom: 40px;
  width: 100%;
  text-align: center;
}

/* =============== TITLE =============== */
.section-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============== SUBTEXT =============== */
.section-sub {
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* =============== GRID =============== */
.dept-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 1000px;
  margin: 20px auto 5px auto;
}

/* =============== INDIVIDUAL CARD =============== */
.dept-card {
    width: 300px;
    background: #fff;
    border-radius: 22px ;
    padding: 28px 22px;
    text-align: center;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);   /* inner smaller shadow */
    transition: all 0.3s ease;
}




/* Hover effect */
.dept-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 14px 32px rgba(0, 0, 0, 0.26),
        0 6px 10px rgba(0, 0, 0, 0.22);
}


/* =============== ICON =============== */
.dept-icon {
  width: 100px;
  height: 90px;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* icon hover animation */
.dept-card:hover .dept-icon {
  transform: scale(1.07);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* =============== TITLE OF COURSE =============== */
.dept-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1000px) {
  .dept-grid {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .dept-card {
    width: 100%;
    max-width: 350px;
  }
}


/* FOOTER */
.footer {
  background-color: #212121;
  color: #dcdcdc;
  padding: 40px 60px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  width: 23%;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-section a {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

.footer-section p {
  margin: 4px 0;
}

.social-icons i {
  font-size: 18px;
  margin-right: 8px;
  color: blue;
  
}

.social-icons{
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
  color: #aaa;
padding: 1px 2px;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.contact-block .icon {
  color: #ff416c;
  font-size: 16px;
  margin-right: 10px;
  min-width: 20px;
  margin-top: 4px;
}

.contact-block .text p {
  margin: 4px 0;
  color: #dcdcdc;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer {
    padding: 20px;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 25px;
  }

  .footer-section h3 {
    margin-bottom: 8px;
  }

  .footer-section a {
    margin: 6px 0;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .footer-bottom {
    font-size: 13px;
    margin-top: 20px;
  }
}




/* MOBILE */
@media (max-width: 480px) {

    header, .navbar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        height: auto;
    }

    .navbar a {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .hero  h1 {
        font-size: 28px;
    }

    .hero-img {
        width: 100%;
        max-width: 300px;
    }

    /* Cards stack vertically */
    .cards-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
    }

    
    .why-card {
        width: 100%;
        
    }

    /* event */
    .events-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .event-card {
        width: 100%;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        text-align: center;
        
    }

    .footer .column {
        width: 100%;
    }
}

/* DESKTOP */
@media (min-width: 901px) {

    .navbar {
        padding: 0 60px;
    }

    .hero {
        padding: 100px 60px;
    }

    .cards-container {
        display: flex;
        gap: 32px;
        justify-content: center;
        padding: 80px 60px;
    }

    .events-section {
        padding: 80px 60px;
    }
}


    