/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F5F0E6;
  color: #333333;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  color: #0A5C6B;
  margin-bottom: 0.5em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 90%;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* Navigation */
.navbar {
  width: 100%;
  background-color: white;
  border-bottom: 2px solid #D4AF37;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #0A5C6B;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #0A5C6B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
  background-color: #D4AF37;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #E2725B;
}

/* Blog Post Fade-In Animation */
#blog-posts > article {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s forwards;
}
#blog-posts > article:nth-child(1) {
  animation-delay: 0.1s;
}
#blog-posts > article:nth-child(2) {
  animation-delay: 0.3s;
}
#blog-posts > article:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }
}
/* Navigation Call-to-Action Button */
.nav-cta {
  background-color: #8e1585;
  color: #D4AF37;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #F5F0E6, #fff);
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero .highlight {
  color: #D4AF37;
}

.subtitle {
  color: #0A5C6B;
  margin: 20px 0;
  font-size: 1.2rem;
}

/* Call-To-Action Button */
.cta-button {
  background-color: #0A5C6B;
  color: #D4AF37;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #063f4a;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* USP Section */
.usp-section {
  background-color: white;
  padding: 60px 20px;
}

.usp-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.usp-card {
  background-color: #F5F0E6;
  border: 2px solid #D4AF37;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
}

.usp-icon {
  font-size: 2rem;
  color: #D4AF37;
  margin-bottom: 10px;
}

/* ✅ Responsive Styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .usp-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* Services Section */
.services-section {
  padding: 60px 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  border: 2px solid #D4AF37;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
}

.service-icon {
  font-size: 1.8rem;
  color: #0A5C6B;
  margin-bottom: 10px;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "•";
  color: #D4AF37;
  position: absolute;
  left: 0;
}

/* Portfolio Section */
.portfolio-section {
  padding: 60px 20px;
  background-color: #fff;
}

.portfolio-filters {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  margin: 5px;
  border: 1px solid #D4AF37;
  background-color: #F5F0E6;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #D4AF37;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f0f0f0;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(10, 92, 107, 0.9);
  color: white;
  width: 100%;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

/* Hover effect for overlay */
.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

/* ✅ Responsive Enhancements */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    width: 100%;
    max-width: 250px;
  }
}

  .portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.view-btn {
  color: #D4AF37;
  text-decoration: none;
  font-weight: bold;
}

.portfolio-cta {
  text-align: center;
  margin-top: 40px;
}

/* About Section */
.about-section {
  padding: 60px 20px;
  background-color: #F5F0E6;
}

.about-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.story-column,
.team-column {
  width: 100%;
  margin-bottom: 40px;
}

.milestones {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.milestone {
  text-align: center;
}

.milestone .number {
  display: block;
  font-size: 2.5rem;
  color: #D4AF37;
  font-weight: bold;
}

.milestone .label {
  display: block;
  color: #666;
  font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background-color: #ddd;
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  background-color: white;
}

.contact-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form,
.contact-info {
  width: 100%;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #D4AF37;
  border-radius: 5px;
  font-size: 16px;
}

.submit-btn {
  background-color: #E2725B;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.submit-btn:hover {
  background-color: #d0624f;
}

.info-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 1.5rem;
  color: #D4AF37;
  margin-right: 15px;
  margin-top: 5px;
}

/* Social Links */
.social-links {
  text-align: center;
  margin-top: 20px;
}

/* ✅ Responsive Media Queries */
@media (max-width: 768px) {
  .milestones {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-icon {
    margin-bottom: 10px;
    margin-right: 0;
  }
}
/* Social Links Styling */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: #D4AF37; /* Gold icon color */
  background-color: #0A5C6B; /* Teal background */
  border-radius: 50%; /* Circular icons */
  transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
  background-color: #E2725B; /* Terracotta on hover */
  color: #fff;
}

/* Services Single Centered Card */
.services-single {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.services-single .service-card {
  max-width: 300px;
}

/* Footer */
.site-footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: 50px;
}

/* ✅ Responsive Design Enhancements */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .usp-container {
    flex-direction: column;
    align-items: center;
  }

  .milestones {
    flex-direction: column;
    gap: 20px;
  }
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }
}
