/* Reset and Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #fff;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  align-items: end;
  z-index: 10;
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #d1d1ff;
}

.btn {
  padding: 10px 20px;
  background: #A9B5CD;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #3d52a0;
}

/* Hero Section */
.hero {
  height: 100vh;
  /* background: url('/assets/Cover.png') no-repeat center center/cover; */
  background: url('../assets/Cover.png') no-repeat center center/cover;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.5);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 60px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-title span {
  font-weight: 600;
}

.tagline {
  margin: 15px 0 40px;
  font-size: 0.9rem;
  font-style: italic;
  color: #ccc;
}

/* Cards */
.cards {
  position: absolute;
  bottom: 40px;       /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  color: #000;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
  font-weight: 500;
  min-width: 220px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

/* description */
.desc{
    color: #000;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 128px;
}

.Description{
    color: #000;
    text-align: center;
    margin: 30px 100px;
}

.major{
    color: #000;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 128px;
}

.majorCards {
    display: flex;
    gap: 50px;
    margin: 30px auto;       /* centers the whole block */
    justify-content: center; /* center cards horizontally */
    flex-wrap: wrap;         /* move to next line if too many cards */
    padding: 20px;
    width: 100%;              /* give space to spread */
}

.Mcard {
    width: 200px;            /* set card size */
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.Mcard:hover {
  transform: translateY(-8px);
}

.galery{
    color: #000;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 128px;
}

.Gcard{
    gap: 0;
}

.partner{
    color: #000;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 128px;
}

#partner {
    text-align: center;
}

/* Flex container for logos */
.partner{
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;
    gap: 80px;                 /* space between logos */
    flex-wrap: wrap;           /* allow wrap on smaller screens */
}

.join-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  color: #000;
  margin-top: 128px;
  font-weight: bold;
}

.admission-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  background: #a5aec9;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #7f88a5;
}

/* Inquiry Section */
.inquiry {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.inquiry-box {
  background: #d6dbe8;
  padding: 40px;
  border-radius: 4px;
  max-width: 700px;
  width: 100%;
}

.inquiry-box h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
  font-weight: 600;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-group label {
  width: 150px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px;
}

.submit-btn {
  display: block;
  margin: 20px auto 0;
  background: #a5aec9;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #7f88a5;
}

/* Footer */
footer {
  background: #a5aec9;
  padding: 30px;
  text-align: center;
  margin-top: 60px;
}

.socials {
  margin-bottom: 15px;
}

.socials a {
  margin: 0 10px;
  display: inline-block;
}

.socials img {
  width: 24px;
  height: 24px;
}

footer p {
  color: #fff;
  font-size: 0.9rem;
}