/* --- 1. THE RESET & BLACK BAR (Flush to edges) --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden; 
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

.top-bar {
  background: linear-gradient(135deg, #0b0b0b, #1a1a1a);
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.big-logo {
  height: 80px;
  width: auto;
}

/* --- 2. THE BUTTONS (Desktop: Spread out, Large, One Row) --- */
.services-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px 20px;
  background-color: white;
  width: 100%;
  flex-wrap: nowrap;
}

.service-box {
  background: linear-gradient(135deg, #5fd0c9, #2f8f8b);
  color: white;
  padding: 25px 35px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
  flex: 0 1 auto;
  min-width: 200px;
  white-space: nowrap;
}

.linkedin-button {
  background: #0077b5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 65px;
  height: 65px;
  flex-shrink: 0;
}

.linkedin-button img { width: 28px; }

/* --- 3. THE TITLE SECTION (Hugged) --- */
.hero-title {
  text-align: center;
  padding: 20px;
  background-color: white;
}

.hero-title h1 { font-size: 30px; }

/* --- 4. THE CONTENT (Side-by-Side Desktop & Final Spacing Fix) --- */
.split-section {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  margin: 80px 0;
  width: 100%;
}

.split-section.reverse {
  flex-direction: row-reverse !important;
}

.text-box {
  background: white;
  padding: 80px;
  width: 40% !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- TITLES (Turquoise & Stand Out) --- */
.text-box h2 { 
  margin-bottom: 30px !important; 
  line-height: 1.2;
  font-size: 32px;
  color: #2f8f8b;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

/* --- THE "WE MANAGE" GAP FIX --- */
/* This forces space between the sentence and the bullets in Consultancy */
.text-box p + ul {
  margin-top: 25px !important; 
}

/* --- WRITING SPACING --- */
.text-box p, .text-box ul li {
  line-height: 1.5 !important;    
  margin-bottom: 10px !important; 
}

.text-box ul {
  padding-left: 20px;
  margin-top: 15px; 
  margin-bottom: 10px;
}

/* --- THE PHOTOS --- */
.image-side {
  width: 60% !important;
}

.image-side img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: cover;
  display: block;
}
/* --- 5. CONTACT & FOOTER (Turquoise fix & Spacing) --- */
.contact-section {
  background: #0b0b0b;
  color: white;
  text-align: center;
  padding: 100px 20px;
  width: 100%;
}

.contact-section h2 {
  margin-bottom: 25px; /* Space between the "Contact Us" title and the email */
  font-size: 32px;
}

.contact-email a {
  font-weight: bold;
  font-size: 26px; /* Slightly larger for impact */
  color: #2f8f8b !important; /* Forces the Turquoise color back */
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.contact-email a:hover {
  color: #5fd0c9 !important; /* Glow effect on hover */
}

.badges-footer {
  background: #0b0b0b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 60px 20px;
  width: 100%;
}

.badges-footer img {
  height: 65px;
}

/* --- 6. THE MOBILE SHIELD (iPhone Protected) --- */
@media (max-width: 768px) {
  .top-bar { height: 80px !important; }
  .big-logo { height: 50px !important; }

  .services-nav {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px !important;
  }

  .service-box, .linkedin-button {
    width: 90% !important;
    max-width: 100% !important;
    height: 55px !important;
    margin: 0 auto !important;
    font-size: 1rem !important;
    min-width: unset !important;
  }

  .split-section, .split-section.reverse {
    flex-direction: column !important;
    margin: 15px 0 !important;
  }

  .image-side { order: 1 !important; width: 100% !important; }
  .text-box { order: 2 !important; width: 100% !important; padding: 30px 20px !important; }

  .image-side img {
    height: 400px !important;
  }
  /* 6. Footer Badges (Mobile Fix: Wrap to two rows) */
  .badges-footer {
    display: flex !important;
    flex-wrap: wrap !important; /* This allows them to move to a new line */
    justify-content: center !important;
    gap: 20px !important; /* Tightened gap so more fit on one line */
    padding: 40px 15px !important;
    width: 100% !important;
  }

  .badges-footer img { 
    height: 45px !important; /* Slightly smaller so they fit better */
    width: auto !important;
    margin: 5px !important;
  }
}