* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: #1e1e1e;
  color: #fff;
  padding: 20px 0;
}

header h1 {
  float: left;
  margin-left: 20px;
}

nav {
  float: right;
  margin-right: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #333;
  border-radius: 5px;
}

header::after {
  content: "";
  display: table;
  clear: both;
}


/* Hero Section */
.hero {
  height: 100vh;
  background: url('./images/hero-back.webp') no-repeat center center/cover;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  position: relative;
  text-align: center;
}

.hero h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  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;
}

/* Blogs Section */
.blogs {
  padding: 60px 0;
  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 #ff4500;
  border-radius: 5px;
}

.blogs-grid h3 {
  margin-bottom: 10px;
}

.blogs-grid p {
  font-size: 0.95em;
}

/* News Section */
.news {
  padding: 60px 0;
  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;
}

/* About Section */
.about {
  max-width: 100vw;
  padding: 60px 0;
  background-color: #eaeaea;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about h2 {
  margin-bottom: 20px;
}

.about p {
  /* max-width: 800px; */
  margin: 0 auto;
  font-size: 1.1em;
}

.about .about-image{
  width: 200px;
  border: 10px solid black;
}


/* Footer */
footer {
  background-color: #1e1e1e;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
