/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}
:root {
  scroll-padding-top: 90px; /* adjust based on your header height */
}
body {
  background: #fefbf6;
  color: #222;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Top header */
.top-header {
  background-color: #1c1c1c; /* Dark, neutral background */
  color: #d2b48c; /* Soft gold text for branding */
  padding: 8px 20px;
  text-align: right;
  font-size: 14px;
}

.top-header a {
  color: #d2b48c;
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.top-header a:hover {
  color: #ffffff;
}

/* Improve logo appearance */
.logo a {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1c1c1c;
  letter-spacing: 1px;
  text-decoration: none;
}

.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  margin-left: 18px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
}

.header-contact a {
  background-color: #d2b48c;
  color: #1c1c1c;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.header-contact a:hover {
  background-color: #c0a46c;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  min-width: 200px;
  z-index: 10;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f0f4f9;
  color: #007bff;
}

/* About Section */
.about-us {
  background: url('https://images.unsplash.com/photo-1600585152220-90363fe7ab5b?w=1500&auto=format&fit=crop') center/cover no-repeat;
  color: white;
  padding: 120px 20px 80px;
  position: relative;
  text-align: center;
}

.about-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Services Section */
.services-section {
  background: #f0f4f9;
  padding: 80px 20px;
  text-align: center;
}

.services-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
}


.service-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  width: 240px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-top: 10px;
  color: #222;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  background: #f9f9f9;
}
/* Triangle Layout for Services Section */

.service-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}


/* Blog Section */
.blog-section {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
}

.blog-card {
  display: block;
  background: #f8f9fb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 123, 255, 0.2);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-info {
  padding: 20px;
  text-align: left;
}

.blog-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-info p {
  font-size: 15px;
  color: #666;
}

/* Swiper Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #007bff;
}

/* Connect Section */
section.connect-section {
  padding: 100px 20px;
  background: url('https://images.unsplash.com/photo-1602524814162-f709e4fd8a6f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.connect-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.connect-section > div {
  position: relative;
  z-index: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px; /* optional spacing between links */
}

.inline-dropdown {
  display: flex;
  align-items: center;
  position: relative;
}

.pentagon-services-layout {
  position: relative;
  width: 600px;
  height: 600px;
  margin: auto;
}

.pentagon-services-layout .service-card {
  position: absolute;
  width: 180px;
  height: auto;
  text-align: center;
  padding: 25px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.pentagon-services-layout .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.sc1 { top: 0; left: 50%; transform: translate(-50%, 0); }
.sc2 { top: 30%; left: 0; }
.sc3 { top: 30%; right: 0; }
.sc4 { bottom: 0; left: 20%; }
.sc5 { bottom: 0; right: 20%; }

@media (max-width: 768px) {
  .pentagon-services-layout {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: static;
  }

  .pentagon-services-layout .service-card {
    position: static;
    transform: none !important;
  }
}

/* Updated Grid Layout for Services Section */
.services-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .logo a {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .header-contact a {
    font-size: 16px;
    margin: 10px 0;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    margin: 8px 0;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
  }

  .dropdown-menu a {
    padding: 10px 15px;
    font-size: 15px;
    border-top: 1px solid #eee;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .header-contact {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    margin: 10px 0;
    text-align: center;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 28px;
    z-index: 2000;
  }
}

.hamburger {
  display: none;
}