/* Home Style*/
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}


header {
  background: #1a1a40;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 26px;
  font-weight: bold;
  color: #ff9800;
}

header nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ff9800;
}
.hero {
  background: url('sun.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
}

.hero .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #e68900;
}
.courses {
  padding: 60px 40px;
  text-align: center;
  background: #fff;
}

.courses h2 {
  margin-bottom: 30px;
  font-size: 28px;
  color: #1a1a40;
}

.course-list {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  border: 1px solid #ddd;
  padding: 25px;
  width: 250px;
  background:  #e8f5e9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.card h3 {
  margin-bottom: 10px;
  color: #ff9800;
}


footer {
  background: #1a1a40;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
/*Login Page Styles */

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #1a1a40, #3f3f80);
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  width: 320px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #1a1a40;
}

.login-container input {
  width: 90%;
  padding: 12px;
  margin: 12px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #ff9800;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-container button:hover {
  background: #e68900;
}

.login-container a {
  color: #1a1a40;
  text-decoration: underline;
  font-size: 14px;
}

.login-container a:hover {
  text-decoration: underline;
}
/* About style */
.about {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.about h1 {
  color: #2c3e50;
  text-align: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
/* Contact style */
.contact-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-section h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-info-box {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.contact-info-box p {
  font-size: 1rem;
  margin: 0.8rem 0;
  color: #333;
}

.thanks-msg {
  font-size: 1rem;
  color: #777;
}

/* courses style */
.courses-section {
  text-align: center;
  padding: 2rem;
  background: #f7f9fc;
}

.courses-section h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.course-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.course-card {
  padding: 1.5rem;
  border-radius: 10px;
  color: #333;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.course-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
}

.web-dev {
  background: #e3f2fd; 
}

.data-science {
  background: #e8f5e9; 
}

.cybersecurity {
  background: #fff3e0; 
}

.machine-learning {
  background: #f3e5f5; 
}
.artificial-intelligence {
  background: #fff9c4; 
}
.digital-marketing {
  background: #e0f7fa; 
}