/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #222831;
  font-family: 'Montserrat', sans-serif;
  color: #DFD0B8;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #222831;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.navbar img {
  height: 70px;
  width: auto;
}


.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #DFD0B8;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #948979;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #948979;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 80px 20px 50px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 50px;
  color: #ccc2a8;
}

/* Service Blocks */
.services {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 0 80px;
}

.service-block {
  display: flex;
  align-items: center;
  gap: 50px;
  background: #2a2d34;
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #DFD0B8;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.service-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-text p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #e2ded3;
}

.service-text ul {
  list-style: disc;
  margin-left: 20px;
  color: #ccc2a8;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #1b1c20;
  color: #888;
  margin-top: 50px;
}

/* Responsive */
@media(max-width:1024px){
  .services {
    padding: 0 40px;
  }
}

@media(max-width:768px){
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #222831;
    flex-direction: column;
    width: 200px;
    display: none;
    border-radius: 10px;
    overflow: hidden;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-block.reverse {
    flex-direction: column;
  }

  .service-block {
    gap: 20px;
    padding: 20px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

@media(max-width:768px){
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #222831;
    flex-direction: column;
    width: 200px;
    display: none;
    border-radius: 10px;
    overflow: hidden;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    text-align: left; /* align text properly */
    gap: 15px;       /* reduce gap */
    padding: 20px;
  }

  .service-icon {
    font-size: 3rem; /* slightly smaller icon */
    margin-bottom: 10px;
    text-align: center;
  }

  .service-text h2 {
    font-size: 1.8rem;
  }

  .service-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .service-text ul {
    margin-left: 20px; /* consistent bullet alignment */
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
}







.footer {
  background-color: #252323;
  color: #FFFFFF;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section li a {
  color: #CBD5E1;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.social-icons a:hover {
  color: #00ADB5;
}

hr {
  border-color: #393E46;
  margin: 30px 0;
}

.footer-copy {
  text-align: center;
  color: #AAAAAA;
  font-size: 14px;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* Extra small devices (phones like iPhone/Samsung) */
@media(max-width:480px){
  .services {
    padding: 0 15px;
  }

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    align-items: center; /* center icon and text */
    text-align: center;  /* center paragraph */
    gap: 15px;
    padding: 15px;
  }

  .service-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .service-text {
    max-width: 100%; /* ensure text uses proper width */
  }

  .service-text h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .service-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .service-text ul {
    margin-left: 0;
    padding-left: 20px; /* keep bullets aligned */
    text-align: left;    /* bullets look neat */
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }
}



/* =========================
   Service Animations
   ========================= */

/* Fade-in on scroll */
.service-block {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-block.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover glow effect */
.service-block:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(148, 135, 121, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.service-icon:hover {
  background: linear-gradient(135deg, #948979, #DFD0B8);
  color: #222831;
  transform: scale(1.2);
}

/* Reverse blocks for alternating layout (desktop only) */
.service-block.reverse {
  flex-direction: row-reverse;
}

/* Responsive layout */
@media (max-width: 900px) {
  .service-block {
    flex-direction: column !important;
    text-align: center;
  }

  .service-block.reverse {
    flex-direction: column !important;
  }

  .service-icon {
    margin: 0 auto 15px auto;
  }
}


