/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: #ff6600;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

header nav ul li {
  margin: 0 1rem;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #333;
}

/* Hero Section */
#hero {
  background: url('https://source.unsplash.com/featured/?technology,cloud') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #0056b3;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #004494;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #ff6600;
  font-size: 2.5rem;
}

/* About Section */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1 1 500px;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Services Section */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
}

.service-item {
  flex: 1 1 300px;
  text-align: center;
  padding: 1rem;
  background: #fdfdfd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 50%;
}

/* Blog Section */
#blog .blog-post {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

#blog .blog-post:hover {
  transform: translateY(-5px);
}

.blog-post h3 {
  margin-bottom: 1rem;
  color: #0056b3;
}

.blog-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

/* News Section */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
}

.news-item {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.news-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #0056b3;
}

.news-item p {
  font-size: 0.95rem;
}

/* Contact Section */
#contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

#contact form input,
#contact form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#contact form button {
  padding: 0.75rem;
  border: none;
  background: #ff6600;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact form button:hover {
  background: #e65c00;
}

/* Footer */
footer {
  background: #f4f4f4;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Minimal Animation (Fade-In) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-container, .services-grid, .news-grid {
    flex-direction: column;
    align-items: center;
  }
  header nav ul li {
    margin: 0.5rem;
  }
  #hero h1 {
    font-size: 2.5rem;
  }
  #hero p {
    font-size: 1.2rem;
  }
}
