* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body { color: #333; line-height: 1.6; }

/* Navbar */
header {
  display: flex; justify-content: space-between; align-items: center;
  background: #0784c8; color: #fff; padding: 1px 20px;
  position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 22px; font-weight: bold; }
.logo span { color: #ffcc00; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: bold; }
nav ul li a:hover { color: #ffcc00; }
.login-btn { background: #ffcc00; color: #000 !important; padding: 6px 12px; border-radius: 5px; }
.toggle-btn { display: none; font-size: 24px; background: none; border: none; color: #fff; }


/* Hero Section */
.hero {
  position: relative;
  height: 100vh; /* full screen */
  background: url("img/back.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* dark overlay */
}

.hero .overlay {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero .cta-btn {
  background: #ffcc00;
  padding: 12px 25px;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.hero .cta-btn:hover {
  background: #ffdb4d;
}

/* Mobile adjustments */
@media(max-width:768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
}

/* Split Layout */
.split {
  display: flex; align-items: center; justify-content: space-between;
  padding: 60px 10%; gap: 30px;
}
.split .text { flex: 1; }
.split .text h2 { font-size: 28px; color: #0d47a1; margin-bottom: 15px; }
.split .text h1 { font-size: 36px; color: #0d47a1; margin-bottom: 20px; }
.split .image { flex: 1; text-align: center; }
.split img { max-width: 100%; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.split ul { list-style: none; }
.split ul li { margin: 8px 0; font-size: 16px; }

/* Buttons */
.cta-btn {
  background: #ffcc00; padding: 10px 20px; border-radius: 5px;
  color: #000; text-decoration: none; font-weight: bold;
}
.cta-btn:hover { background: #ffdb4d; }

/* Footer */
footer { background: #0d47a1; color: #fff; text-align: center; padding: 15px; }

/* Responsive */
@media(max-width: 768px) {
  nav ul {
    flex-direction: column; position: absolute; top: 60px; right: 0;
    background: #0d47a1; width: 200px; display: none; padding: 20px;
  }
  nav.active ul { display: flex; }
  .toggle-btn { display: block; }
  .split { flex-direction: column; text-align: center; padding: 40px 20px; }
  .split .text { padding: 0; }
}
