/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #002b5c;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav ul li a {
  font-weight: 500;
  color: #444;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #007bff;
}
nav ul li a.cta {
  background: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
}

/* Hero */
.hero {
  background: url('https://images.unsplash.com/photo-1588072432836-e10032774350?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
  color: white;
  text-align: center;
}
.hero-overlay h1 {
  font-size: 3rem;
}
.sub-title {
  font-size: 1.3rem;
  margin: 10px 0 20px;
}
.btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
}
.btn-gradient {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: white;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.btn-outline {
  color: #007bff;
  border: 2px solid #007bff;
  display: inline-block;
  transition: 0.3s ease;
}
.btn-outline:hover {
  background: #007bff;
  color: white;
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: #eef4ff;
  padding: 40px 20px;
}
.feature {
  flex: 1 1 200px;
  margin: 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  font-weight: bold;
  color: #004080;
}

/* Courses */
.courses-preview {
  padding: 60px 20px;
  text-align: center;
}
.courses-preview h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.course-card {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.course-card img {
  width: 100%;
}
.course-content {
  padding: 20px;
}

/* Testimonials */
.testimonials {
  background: #fffaf0;
  padding: 60px 20px;
  text-align: center;
}
.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.testimonials blockquote {
  font-style: italic;
  margin: 10px auto;
  max-width: 600px;
}

/* Gallery */
.gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}
.gallery img {
  width: 300px;
  height: auto;
  transition: transform 0.4s;
  border-radius: 8px;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* CTA */
.cta-section {
  background-color: #007bff;
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.btn-pulse {
  background: #e74c3c;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
  display: inline-block;
  transition: transform 0.2s;
}
.btn-pulse:hover {
  transform: scale(1.05);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Contact Section */
.contact-wrapper {
  background: #f4f7fb;
  padding: 60px 20px;
}
.contact-container h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #002b5c;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.contact-form {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
}
.contact-form button {
  align-self: flex-start;
}
.contact-info-box {
  flex: 1 1 300px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.contact-info-box h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #007bff;
}
.contact-info-box p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}
.contact-social {
  margin-top: 15px;
}
.contact-social a {
  margin-right: 12px;
  display: inline-block;
  transition: transform 0.3s;
}
.contact-social a:hover {
  transform: scale(1.2);
}

/* Footer */
.site-footer {
  background-color: #0b132b;
  color: #ffffff;
  padding: 50px 20px 20px;
  font-size: 0.95rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-column {
  flex: 1 1 250px;
  min-width: 250px;
}
.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffcc00;
}
.footer-column p,
.footer-column a {
  color: #ccc;
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.newsletter input {
  padding: 10px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 0.95rem;
}
.newsletter button {
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
}
.newsletter button:hover {
  background: #0056b3;
}
.social-icons {
  margin-top: 15px;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.3s, filter 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
}
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #333;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #aaa;
}
.footer-bottom a {
  color: #ccc;
  margin: 0 5px;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}
