@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

/* Global Tags */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a237e;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a237e;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a237e;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a237e;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a237e;
}

span {
  font-size: 0.9rem;
  color: #757373;
}

p {
  color: #666;
  font-size: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
}

nav img {
  height: 60px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
}

.navigation ul li {
  margin: 0 20px;
}

.navigation ul li a {
  text-decoration: none;
  color: #1a237e;
  font-weight: 500;
  transition: color 0.3s;
}

.navigation ul li a:hover {
  color: #3f51b5;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #1a237e;
  cursor: pointer;
}

/* Hero Section */
#home {
  height: 100vh;
  background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(63, 81, 181, 0.8)), url('images/back.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 span {
  color: #ffd700;
  font-size: 4rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}

.btn {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn a {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn .blue {
  background: #3f51b5;
  color: white;
}

.btn .blue:hover {
  background: #1a237e;
}

.btn .yellow {
  background: #ffd700;
  color: #1a237e;
}

.btn .yellow:hover {
  background: #ffeb3b;
}

/* About Section */
#about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.aboutText h1 {
  margin-bottom: 20px;
}

.aboutText p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.about-fe {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.about-fe img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.aboutImg img {
  width: 100%;
  border-radius: 10px;
}

/* Programs Section */
#programs {
  padding: 100px 0;
}

.title {
  text-align: center;
  margin-bottom: 50px;
}

.title h1 {
  margin-bottom: 15px;
}

.feature-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.features {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.features:hover {
  transform: translateY(-5px);
}

.features i {
  font-size: 3rem;
  color: #3f51b5;
  margin-bottom: 20px;
}

.features h3 {
  margin-bottom: 15px;
}

/* Facilities Section */
#facilities {
  padding: 100px 0;
  background: #f8f9fa;
}

.course-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.courses {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.courses:hover {
  transform: translateY(-5px);
}

.courses img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.details {
  padding: 20px;
}

.details span {
  color: #3f51b5;
  font-weight: 600;
}

.star {
  margin: 10px 0;
}

.star i {
  color: #ffd700;
}

.cost {
  padding: 0 20px 20px;
}

.cost a {
  background: #3f51b5;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

/* Contact Section */
#contact {
  padding: 100px 0;
}

.reg-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: #3f51b5;
  margin-right: 15px;
  margin-top: 5px;
}

.reg-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.reg-right input,
.reg-right select,
.reg-right textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.reg-right button {
  background: #3f51b5;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.reg-right button:hover {
  background: #1a237e;
}

/* Footer */
footer {
  background: #1a237e;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-section h4 {
  color: #ffd700;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #3f51b5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  .navigation ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s;
  }
  
  .navigation ul.active {
    left: 0;
  }
  
  .navigation ul li {
    margin: 20px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h1 span {
    font-size: 2.5rem;
  }
  
  .about .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .reg-form {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .btn {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h1 span {
    font-size: 2rem;
  }
  
  .feature-box {
    grid-template-columns: 1fr;
  }
  
  .course-box {
    grid-template-columns: 1fr;
  }
}
