* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, li {
  list-style: none;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: #F0F4F8;
}

section {
  padding: 40px 40px;
  max-width: 1500px;
  margin: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-link{
  text-decoration: none;
}

.name {
  font-size: 33px;
  color: white;
  margin: 0;
  padding: 0;
  font-family: serif;
}

.tagline {
  font-size: 14px;
  color: #f9a825;
  margin: 0;
  text-align: left;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* desktop: keep right-aligned */
  width: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-right: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  font-size: 18px;
}

.nav-menu a:hover {
  color: saddlebrown; /* accent color */
}

/* ---------- Hamburger Button ---------- */
/* Move hamburger icon to right */
.nav-toggle {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}


/* ---------- Responsive ---------- */

/* Tablets / Laptops: center nav links */
@media (max-width: 1200px) {
  .nav-bar {
    justify-content: center; /* center nav menu */
    width: 100%;
  }

  .nav-menu {
    justify-content: center; /* center links inside nav */
    padding-right: 0;
  }
}

/* Mobile / Small Tablets */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    flex-direction: column;
    align-items: center; /* center links vertically */
  }

  .nav-bar.active {
    max-height: 300px; /* show menu */
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;   /* center links horizontally */
    justify-content: center;
    text-align: center;    /* text centered */
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
    padding-left: 0;
  }
}

/* Banner */
.banner-div {
  width: 100%;
  max-height: 610px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100vw;       /* full viewport width */
  max-width: 100%;    /* override section max-width */
  margin: 0;
}

.banner-div img {
  width: 100%;
  object-fit: cover;
  max-height: 610px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .banner-div {
    max-height: 400px; /* reduce height for tablets/mobiles */
  }

  .banner-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .banner-div {
    max-height: 300px; /* smaller height for phones */
  }

  .banner-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px;
  }
}

/* Container for left and right sections */
.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Left section */
.main {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left-align content */
  padding-left: 0;         /* remove previous 100px padding */
  padding-left: 20px; /* same as headings */
  max-width: 800px;   /* keeps readable width */
  box-sizing: border-box;
}

/* Headings in left section */
.writing, .color-word {
  font-size: 40px;
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1px;
  margin: 5px 0;
  text-align: left;        /* left-align headings */
  color: black;
  padding-left: 20px;
}

.color-word {
  color: #6E260E;
  font-size: 40px;
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 1px;
  margin: 5px 0;
  text-align: left;        /* left-align headings */
}

.iml{
  color: #6E260E;
}

.expert-word{
  color: #6E260E;
}

/* Description under headings */
.description {
  font-size: 17px;
  font-weight: 400;
  color: saddlebrown;
  margin-top: 15px;
  line-height: 1.6;
  text-align: left;         /* left-align paragraph */
  width: 100%;
  max-width: 800px;         /* readable width on desktop */
  padding: 0;
  box-sizing: border-box;
  padding-left: 20px; /* same as headings */
  max-width: 800px;   /* keeps readable width */
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* Right section */
.side {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* left-align text */
  text-align: left;
}

/* Headings in right section */
.writing-side {
  font-size: 40px;
  color: black;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: 'Times New Roman', Times, serif;
  margin: 15px 0;
  text-align: left;
  padding-left: 20px; /* same as headings */
  max-width: 800px;   /* keeps readable width */
  box-sizing: border-box;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  /* Optional: tablets */
  .writing, .color-word, .writing-side {
    font-size: 36px;
  }

  .description {
    font-size: 16px;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  /* Stack sections vertically */
  .container {
    flex-direction: column;
    align-items: center; /* center sections horizontally */
    text-align: center;
    padding: 20px;
  }

   /* Fix ONLY left-container headings & text */
  .main .writing,
  .main .color-word,
  .main .description {
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: center !important;
    width: 100%;
  }

  /* Make left container center its children */
  .main {
    align-items: center !important;
    text-align: center !important;
  }

  .main, .side {
    flex: none;
    width: 100%;
    max-width: 500px; /* keeps readability */
    align-items: center; /* center inner content */
    text-align: center;  /* center headings & paragraph */
    margin: 20px 0;
  }

  .writing, .color-word, .writing-side {
    text-align: center;
    font-size: 30px; /* scale headings for mobile */
  }

  .description {
    text-align: center;
    font-size: 16px;
    max-width: 100%; /* full width on small screens */
    padding: 0 10px; /* spacing from edges */
  }
}

@media (max-width: 480px) {
  /* Small phones */
  .writing, .color-word, .writing-side {
    font-size: 26px;
  }

  .description {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
  }
}

.services-banner {
  min-height: 800px; /* full banner height */
  background: url('images/services-design.png') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 60px; /* top and bottom padding */
  box-sizing: border-box;
  position: relative;
  width: 100vw;       /* full viewport width */
  max-width: 100%;    /* override section max-width */
  margin-bottom: 30px;    
}

.services-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  color: white;
  text-align: center;
  z-index: 2;
  max-width: 800px;
  font-family: 'Times New Roman', Times, serif;
}

.banner-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #6E260E;
}

.banner-content p {
  font-size: 24px;
  margin-bottom: 40px; /* space before cards */
}

.expertise-cards {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.card {
  background-size: cover;        /* cover full card */
  background-position: center;   /* center the image */
  background-repeat: no-repeat;  /* prevent tiling */
  color: white;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;         /* text at bottom */
  justify-content: center;
  flex: 1 1 calc((100% - 5*30px)/6); /* keep your layout */
  max-width: 280px;
  height: 200px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.card-overlay {
  width: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparent text background */
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.services-btn {
  display: inline-block;
  margin: 20px 0 0 0;  /* space from cards */
  padding: 12px 25px;
  background-color: #6E260E;  /* base color */
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  position: relative;   /* ensure hover works above overlays */
  z-index: 3;           /* above banners/overlays */
}

.services-btn:hover {
  background-color: #8B3E1C; /* simple hover color change */
}

.clients-section {
  padding: 60px 60px;
  overflow: hidden;
  background: white;
  text-align: center;
  margin-bottom: 40px;
}

.clients-section h2 {
  font-family: 'Times New Roman', serif;
  margin-bottom: 40px;
  color: #6E260E;
  font-size: 39px;
  font-weight: 500;
}

.clients-slider {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.clients-track {
  display: flex;
  gap: 30px;
  width: max-content;
  align-items: center;
}

.clients-track img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .clients-track img {
    width: 120px;
    height: 65px;
  }

  .clients-section h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .clients-track img {
    width: 100px;
    height: 55px;
  }

  .clients-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .clients-track img {
    width: 80px;
    height: 45px;
  }

  .clients-section h2 {
    font-size: 24px;
  }
}

/* Tablets / smaller screens */
@media (max-width: 1024px) {
  .banner-content h2 { font-size: 40px; }
  .banner-content p { font-size: 20px; }

  /* 4 cards per row */
  .card { flex: 1 1 calc((100% - 3*25px)/4); max-width: 250px; }
}

/* Tablets / mobile */
@media (max-width: 768px) {
  .banner-content h2 { font-size: 32px; }
  .banner-content p { font-size: 18px; margin-bottom: 30px; }

  /* 2 cards per row */
  .card { flex: 1 1 calc((100% - 2*20px)/2); width: 100%; max-width: 300px; }
}

/* Phones */
@media (max-width: 480px) {
  .banner-content h2 { font-size: 24px; }
  .banner-content p { font-size: 16px; margin-bottom: 20px; }

  /* single card per row */
  .card { flex: 1 1 100%; max-width: 100%; }
  .card img { max-width: 50px; }
}

/* SECTION */
.ila-info {
  width: 100%;
  padding: 40px 40px;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.55)
  ),
  rgba(110, 38, 14, 0.9);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

/* LEFT / RIGHT */
.ila-left, .ila-right {
  flex: 1;
  padding: 0 20px;
  margin-bottom: 10px;
}

/* TITLE — FIXED + FORCED */
.ila-info .ila-title {
  font-size: 35px;
  font-weight: 500;
  color: black !important;        /* FORCE apply */
  font-family: 'Times New Roman', Times, serif;
  position: relative;
}

/* Contact title only */
.ila-right .ila-contact {
  font-size: 35px;             /* same as left title */
  font-weight: 500;
  color: black;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
  text-align: right;
  padding-right: 180px;
}

.ila-follow{
  font-size: 25px;             /* same as left title */
  font-weight: 500;
  color: black;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
  padding-top: 40px;
}

/* Keep the rest of contact details normal */
.ila-right p:not(.ila-contact) {
  font-size: 18px;
  color: blanchedalmond;
  margin: 6px 0;
  line-height: 1.4;
  text-align: left;
  padding-left: 300px;
}

.ila-subtitle{
  font-size: 15px;
  color: #f9a825;
}

.ila-email {
  color: #f9a825;
  text-decoration: none; /* remove underline */
  font-weight: 500;
}

.ila-email:hover {
  text-decoration: underline; /* optional hover effect */
  color: #6E260E;
}

.whatsapp-icon {
  color: #25D366;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  display: inline-block;
}

.whatsapp-icon:hover {
  color: #1ebe5d;
  transform: scale(1.1);
}

@media (max-width: 768px) {

  /* Stack layout */
  .ila-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    gap: 20px;
  }

  /* Left + Right full width */
  .ila-left, 
  .ila-right {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  /* Titles (Left + Right) */
  .ila-info .ila-title,
  .ila-right .ila-contact {
    font-size: 26px;
    padding-right: 0;
    text-align: center;
  }

  /* Contact text */
  .ila-right p:not(.ila-contact) {
    padding-left: 0;
    font-size: 16px;
    text-align: center;
  }

  /* Subtitle */
  .ila-subtitle {
    font-size: 14px;
  }

  /* Follow title */
  .ila-follow {
    font-size: 22px;
    padding-top: 15px;
    text-align: center;
  }

  /* Facebook icon */
  a[href*="facebook.com"] {
    font-size: 22px;
  }

  /* Hide decorative vertical line if exists */
  .ila-info::before {
    display: none !important;
  }
}

footer {
  background-color:black;
  color: #F0F4F8;
  text-align: center;
  padding: 15px 30px;
}
