* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

/* Header */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 2.2rem;
  color: #2b6cb0;
}

header p {
  font-size: 1rem;
  color: #555;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 20px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 1.8rem;
  color: #2b6cb0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #2c5282;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #1a365d;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('./images/premium.avif') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.buttons .btn {
  display: inline-block;
  background-color: #ff4500;
  color: #fff;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.buttons .btn:hover {
  background-color: #e03e00;
}

/* Intro & Features Section */
.intro,
.features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.intro img,
.features img {
  width: 100%;
  max-width: 250px;
  margin: auto;
}

.text {
  flex: 1;
  padding: 20px;
  min-width: 250px;
}

.text h2 {
  color: #2c5282;
  margin-bottom: 10px;
}

.text p {
  font-size: 1rem;
  color: #444;
}

/* About Section */
.about {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.about h2 {
  font-size: 1.8rem;
  color: #2c5282;
  margin-bottom: 15px;
}

.about p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: auto;
}

/* Blogs Section */
.blogs {
  padding: 60px 20px;
  background-color: #f2f2f2;
}

.blogs h2 {
  text-align: center;
  margin-bottom: 40px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blogs-grid article {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #2b6cb0;
  border-radius: 5px;
}

.blogs-grid h3 {
  margin-bottom: 10px;
}

.blogs-grid p {
  font-size: 0.95em;
}

/* News Section */
.news {
  padding: 60px 20px;
  background-color: #fff;
}

.news h2 {
  text-align: center;
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.news-grid article {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 5px;
}

.news-grid img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.news-grid h3 {
  margin-bottom: 10px;
}

.news-grid p {
  font-size: 0.9em;
}

/* Footer */
footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive Navbar (Optional) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px;
    width: 100%;
    padding-left: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }


  nav ul li a:hover {
    background-color: #e2e8f0;
  }
}

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .intro, .features {
    flex-direction: column;
  }

  .text {
    padding: 0;
  }

  header h1 {
    font-size: 2rem;
  }
}
