/* ========== GLOBAL ========== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #002855;
  scroll-behavior: smooth;
  background-color: #fff;
}
h1, h2, h3 {
  margin: 0;
}
a { text-decoration: none; color: inherit; }
section { padding: 80px 20px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px 50px; z-index: 1000;
}
.navbar .logo { display: flex; align-items: center; gap: 10px; }
.navbar img { height: 40px; }
.navbar span { font-weight: 700; color: #002855; font-size: 18px; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links li a {
  color: #002855; font-weight: 500;
  transition: 0.3s;
}
.nav-links li a:hover { color: #007BFF; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: white; text-align: center;
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  padding-top: 60px;
}
.hero-content { max-width: 700px; }
.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 40px; }
.btn {
  background-color: #fff;
  color: #007BFF;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover { background-color: #002855; color: #fff; }

/* ========== ABOUT ========== */
.about { background: #f9f9f9; text-align: center; }
.about .container { max-width: 900px; margin: auto; }
.about p { margin-top: 20px; line-height: 1.7; }

/* ========== WHY PYTHON ========== */
.why-python .cards {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 30px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px; width: 280px; text-align: center;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); }
.card i { font-size: 40px; color: #007BFF; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }

/* ========== CURRICULUM ========== */
.curriculum .modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 40px;
}
.module {
  background: #fff;
  padding: 25px;
  border-left: 5px solid #007BFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.module:hover { transform: scale(1.03); }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: white; text-align: center;
}
.cta-content .btn {
  background-color: #fff;
  color: #007BFF;
}
.cta-content .btn:hover {
  background-color: #002855; color: #fff;
}

/* ========== FOOTER ========== */
footer {
  background-color: #002855;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ========== BROUGHT TO YOU BY ========== */
.broughtby {
  background-color: #f8f9fa;
  text-align: center;
  padding: 80px 20px;
}
.broughtby .container {
  max-width: 900px;
  margin: auto;
}
.broughtby h2 {
  color: #002855;
  margin-bottom: 40px;
  font-size: 28px;
}
.brand-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.brand-logo {
  height: 80px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.brand-text {
  max-width: 700px;
}
.brand-text h3 {
  color: #007BFF;
  font-size: 24px;
  margin-bottom: 10px;
}
.brand-text p {
  line-height: 1.7;
  font-size: 16px;
  color: #444;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  section { padding: 60px 15px; }
}

/* About Trainer Section */
.trainer {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
  text-align: center;
}

.trainer h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #222;
}

.trainer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trainer-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.trainer-text {
  max-width: 600px;
  text-align: left;
}

.trainer-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #1a237e;
}

.trainer-text p {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.6;
}

.trainer .cta-button {
  display: inline-block;
  background-color: #1a73e8;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.trainer .cta-button:hover {
  background-color: #0d47a1;
  transform: scale(1.05);
}
