/* Reset and basic setup */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
  }
  
  .container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
  }
  
  /* Import Google Font */
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* Apply the font globally */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* regular for body */
}

html {
  scroll-behavior: smooth;
}

/* Global Heading Styles */
h2 {
  font-weight: 600; /* or 700 depending on how bold you want the titles */
  font-size: 2rem; /* Consistent size across all h2 titles */
  margin-bottom: 20px; /* Adds spacing below the heading */
  color: #333; /* or a color that matches the rest of the design */
}

.nav ul li a {
  font-weight: 400; /* regular or 300 if you want it lighter */
}

.brand-highlight {
  font-weight: 600; /* You can try 500, 600, 700 depending on how bold you want it */
}

/* Header styles */
.site-header {
  background-color: #111;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .brand h1 {
  font-size: 1.8rem;
  margin: 0;
}

.site-header .nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

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

.site-header .nav ul li a:hover {
  color: #1ca5a1; /* accent color on hover */
}

.logo-img {
  height: 40px;
  display: block;
}

/* Push content down to avoid hiding under the fixed header */
body {
  padding-top: 80px;
}
  
  /* Hero Section */
.hero {
  position: relative;
  background: url('images/hero-background.jpg') no-repeat center center / cover;
  color: white;
  padding: 120px 0 100px;
  text-align: center;
  font-weight: 300;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevents overlay from overflowing */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* black overlay with 50% opacity */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* Places text above the overlay */
  max-width: 700px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.5;
}

.hero p em {
  font-style: italic;
  font-weight: 400; /* slightly lighter */
  color: rgba(255, 255, 255, 0.85); /* elegant lightened white */
  transition: color 0.3s ease;
}

.hero p em:hover {
  color: #1ca5a1;
}

/* Call-to-Action Button */
.btn {
  background-color: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid #1ca5a1;
  border-radius: 28px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #1ca5a1;
  color: white;
}
  
  /* Sections */
  section {
    padding: 60px 0;
  }

  /* Paragraph styling for all sections */
  section p {
  font-size: 1.1rem;
  line-height: 1.6; /* Ensures good readability with line height */
  color: #555; /* Same color across all paragraphs */
  margin-bottom: 20px; /* Same spacing between paragraphs */
  }

  
 /* Services Section */
.services-section {
  background-color: #fafafa;
  padding: 100px 0;
  text-align: center;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

.services-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.service-card {
  background-color: #2a2a2a;
  color: #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-card .icon {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.service-card .icon img {
  width: 110px;
  height: 110px;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.service-card p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
}

/* Projects Section Styles */
.projects-section {
  padding: 100px 0;
  background-color: #fdfdfd;
  text-align: center;
}

.projects-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

.project-filters {
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: none;
  font-weight: 600;
  margin: 0 15px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  color: #1ca5a1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Refined Project Item Styling */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px; /* Rounded corners */
  height: 240px;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-item:hover img {
  transform: scale(1.05);
}

/* Overlay effect */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(17, 17, 17, 0.65);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 600;
}

.project-overlay p {
  font-size: 0.95rem;
  color: #ddd;
  margin: 0;
  text-align: left;
}
  
  /* Footer */
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
  }
  