/* --- GLOBAL --- */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  
}

/* --- LAYOUT --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- HEADER --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;

}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.main-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
}

.main-nav a.active {
  font-weight: bold;
}

/* --- LOGO SIZE: INCREASED TO 55PX --- */
.brand {
    display: flex;
    align-items: center;
    height: 10px; 
    
}

.header-logo {
    max-height: 55px; /* LOGO SIZE CORRECTED */
    width: auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #0958d9;
  color: #0958d9;
  transition: 0.3s;
}

.btn-primary {
  background: #0958d9;
  color: #fff;
}

.btn-primary:hover {
  background: #083fa0;
}

.btn-outline:hover {
  background: #0958d9;
  color: #fff;
}

/* --- HERO SECTION (Background Image) --- */
.hero {
  /* FIX: Corrected path (../) and file extension to .jpg */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('../assets/Learning_2.png') no-repeat center 15%/cover; 
      padding: 100px 0;
  min-height: 700px;
  color: #fff; /* White text for contrast on the dark background */
  display: flex;
      align-items:normal
}

.hero-inner {
  /* Adjusted for text-only layout over background image */
  display: block; 
  align-items: initial;
  gap: initial;
}

.hero-text h1 {
  font-size: 52px;
  margin-bottom: 15px;
  max-width: 700px;
}

/* --- FEATURES --- */
.features {
  display: flex;
  gap: 30px;
  padding: 50px 0;
}

.feature {
  flex: 1;
}

/* --- COURSE CARDS --- */
.course-grid {
  display: flex;
  gap: 30px;
}

.course-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 6px;
}

/* NEW RULE: Ensure all course card images have the same height and scale uniformly */
.course-card img {
  width: 100%;
  height: 100px; /* Fixed height for uniformity */
  object-fit: cover; /* Ensures the image covers the fixed height without distortion */
  border-radius: 4px;
  margin-bottom: 15px;
}

/* --- CONTACT FORM --- */
.contact-form {
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

/* --- FOOTER --- */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.logo-small {
  width: 140px;
}

.courses {
  /* FIX: Corrected path (../) and file extension to .jpg */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('../assets/Digital_courses.png') no-repeat center /cover; 
      padding: 100px 0;
  min-height: 600px;
  color: #fff; /* White text for contrast on the dark background */
  /* ... rest of the styles */
}
