/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* Navigation */
.header {
  background-color: #000000;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
  height: 120px;
}
.hero-content p{
  margin-left: 10px;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}
#logo {
  width: 250px;  /* ↓ smaller width */
  height: 80px;  
  margin-left: 80px;
  margin-top: 25px;/* keep aspect ratio */
}

.heading {
  display: flex;
  justify-content: center; /* center the content horizontally */
  width: 100%;
}
.heading h1 {
  text-align: center;
  padding-left: 20px;
  font-size: 50px;
}
.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-right: 150px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  margin-top: 50px;
  transition: color 0.9s ease, border-bottom 0.9s ease;
}

nav a{
  color:white;
  text-decoration: none;
}
/* Hover effect: red text + red underline */
nav a:hover {
  color: red;
  border-bottom: 2px solid red;
}

/* Active page: red text + red underline */
nav a.active {
  color: red;
  border-bottom: 2px solid red;
}
.title h1{
  padding-left: 10px;
}
.title{
  display: flex;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 6rem 2rem;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #ff3b3b;
  margin-bottom: 1rem;
}
.hero-section p {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 2rem;
}
.hero-img {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 1px 15px #ff3b3b44;
}
#about{
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
}
.about-content{
  width: 600px;
}
.title{
  display: flex;
  justify-content: center;
}
.title h2{
  padding-left: 10px;
}
/* Services Section */
.services-section {
  padding: 2rem 2rem;
  background-color: #ffffff;
}
.services-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #ff3b3b;
  margin-bottom: 3rem;
}
.service-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background-color: #ffffff;
  border-left: 4px solid #ff3b3b;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;

}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 10px #ff000055;
}
.card img, .card i {
  width: 80px;
  height: 80px;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ff3b3b;
}
.card h3 {
  color: #ff3b3b;
  margin-bottom: 0.8rem;
}
.card p {
  color: #000000;
  font-size: 0.95rem;
}
.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer a:hover {
  color: red;
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .nav-links a {
    margin-left: 0;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .hero-img {
    width: 100%;
  }
  .card img, .card i {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
}
