/* Reset and base styles */
* {
  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;
}

.container {
  width: 70%;
  max-width: 900px;
  margin: auto;
}

/* Header */
header {
  background-color: #667eea;
  color: #fff;
  padding: 20px 0;
}

header h1 {
  float: left;
  margin-left: 20px;
  color: white;
  font-weight: bold;
}

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;
}


/* Clear floats */
header::after {
  content: "";
  display: table;
  clear: both;
}

/* Hero Section */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("./images/NEWS-04.jpg") no-repeat center center/cover;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.buttons .btn {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  padding: 12px 25px;
  margin: 5px;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
  font-weight: bold;
}



/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}


.feature-icon {
    margin-bottom: 1.5rem;
}

.icon {
    width: 80px;
    height: 80px;
  
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}


/* 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;
}



/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: #667eea;
  text-align: center;
  color: #fff;
}

.testimonials h2 {
  margin-bottom: 50px;
  font-size: 1.8em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial {
  background-color: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 10px;
  font-style: italic;
  backdrop-filter: blur(10px);
}

.testimonial p {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.testimonial h4 {
  color: white;
  font-weight: bold;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #ecf0f1;
  text-align: center;
}

.about h2 {
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 1.8em;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 0.95em;
  color: #7f8c8d;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: #667eea;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8em;
  }
  
  .hero p {
    font-size: 0.9em;
  }
  
  .features h2,
  .news h2,
  .testimonials h2,
  .about h2 {
    font-size: 1.5em;
  }
  
  header h1 {
    float: none;
    text-align: center;
    margin: 0;
  }
  
  nav {
    float: none;
    text-align: center;
    margin: 15px 0 0 0;
  }
  
  .buttons .btn {
    display: block;
    margin: 10px auto;
    width: 200px;
  }
}