@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --black: #000000;
  --navy: #163757;
  --steel: #6d8aa3;
  --gray: #b1b4bb;
  --gray-50: #f9f9f9;
  --gray-100: #f4f4f4;
  --gray-200: #ededed;
  --gray-250: #e9e9e9;
  --gray-300: #e5e5e5;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--gray-200);
  color: var(--navy);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

/* Sidebar */
/* Mobile Navbar Helper */
.mobile-navbar {
  display: none;
}

.menu-toggle {
  width: 45px;
  height: 45px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  
}

.menu-toggle:hover {
  transform: scale(1.05);
}

.mobile-logo {
  display: none;
  height: 40px;
  
}

.mobile-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;
  background: var(--navy);
  padding: 40px 25px;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.sidebar a:hover {
  opacity: 0.7;
}

/* Logo Styling */
.logo {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo img {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main */
.main {
  margin-left: 260px;
  padding: 100px 10%;
  animation: fadeUp 1s ease;
}

.section {
  margin-bottom: 120px;
}

.section-intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--steel);
  line-height: 1.8;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  color: var(--steel);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 15px;
}

ul {
  color: var(--steel);
  line-height: 1.8;
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li {
  margin-bottom: 12px;
}

/* Image Placeholder */
.image-box {
  width: 100%;
  height: 320px;
  background: var(--gray);
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  position: relative;
}

.image-box::after {
  content: "";
  display: none;
}

.image-box:has(img)::after {
  display: none;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-card,
.benefit-item,
.value-item,
.approach-item,
.why-item,
.industry-item,
.reason-item,
.contact-method {
  padding: 30px;
  background: #f8f9fa;
  border-left: 3px solid var(--navy);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover,
.benefit-item:hover,
.value-item:hover,
.approach-item:hover,
.why-item:hover,
.industry-item:hover,
.reason-item:hover,
.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3,
.benefit-item h3,
.value-item h3,
.approach-item h3,
.why-item h3,
.industry-item h3,
.reason-item h3,
.contact-method h3 {
  color: var(--navy);
  margin-bottom: 15px;
}

.service-card ul,
.benefit-item ul,
.value-item ul {
  margin-left: 0;
  list-style-position: inside;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Mission & Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.mission-box,
.vision-box {
  padding: 35px;
  background: #f0f4f8;
  border-left: 4px solid var(--navy);
}

/* Approach Grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

/* Lists */
.expertise-list,
.memberships-list,
.common-enquiries-list {
  max-width: 900px;
  margin-top: 25px;
}

.expertise-list li,
.memberships-list li,
.common-enquiries-list li {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 25px;
  margin-right: 15px;
  padding: 14px 32px;
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.btn.primary {
  background: var(--navy);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn.primary:hover {
  background: #0f2a3f;
  border-color: #0f2a3f;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 40px;
  background: #f0f4f8;
  border-radius: 8px;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Form Styling */
form {
  max-width: 700px;
  margin-top: 30px;
}

.contact-form {
  max-width: 800px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--gray);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--navy);
}

select {
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

button[type="submit"] {
  border: none;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in:nth-child(5) {
  animation-delay: 0.5s;
}
.fade-in:nth-child(6) {
  animation-delay: 0.6s;
}
.fade-in:nth-child(7) {
  animation-delay: 0.7s;
}
.fade-in:nth-child(8) {
  animation-delay: 0.8s;
}
.fade-in:nth-child(9) {
  animation-delay: 0.9s;
}
.fade-in:nth-child(10) {
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100; /* higher than sidebar */
  padding: 0 20px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}


  .menu-toggle {
  display: flex;
  width: 45px;
  height: 45px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}


  .mobile-logo {
    display: block;
  }

  .sidebar {
  position: fixed;
  top: 0;                /* 🔥 start from very top */
  left: 0;
  width: 230px;
  height: 100vh;         /* 🔥 full screen */
  background: var(--navy);
  padding: 40px 25px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1200;         /* 🔥 higher than navbar */
}

.sidebar.active {
  transform: translateX(0);
}


  .main {
    margin-left: 0;
    padding: 100px 7% 80px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .grid,
  .process-grid,
  .service-content-grid,
  .benefits-grid,
  .values-grid,
  .industries-grid,
  .testimonials-grid,
  .mission-vision-grid,
  .approach-grid,
  .why-choose-grid,
  .packages-grid,
  .contact-reasons-grid,
  .contact-methods-grid,
  .consultation-process {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 25px;
  }

  .logo {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .logo img {
    max-width: 150px;
  }

  .section {
    margin-bottom: 80px;
  }
}

/* Sticky Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1200;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.float-btn.whatsapp {
  background-color: #25d366;
}

.float-btn.linkedin {
  background-color: #0077b5;
}

.float-btn.email {
  background-color: #ea4335; /* Using the red shade from the example image */
}

/* Mobile Responsive adjustment for buttons */
@media (max-width: 768px) {
  .floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .float-btn {
    width: 45px;
    height: 45px;
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ========================================
   INDEX PAGE UNIQUE LAYOUTS
   ======================================== */

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  position: relative;
  padding: 25px;
  background: #f8f9fa;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.3;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.testimonial {
  padding: 35px;
  background: #f8f9fa;
  border-top: 3px solid var(--navy);
  position: relative;
}

.testimonial .quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial .author {
  color: var(--steel);
  font-size: 0.95rem;
}

/* Alternating Services Layout */
.services-alternating {
  max-width: 1200px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.service-row-right {
  /* Image left, text right */
  grid-template-columns: 1fr 1.2fr;
}

.service-text {
  position: relative;
}

.service-number {
  font-size: 5rem;
  font-weight: 700;
  opacity: 0.15;
  font-family: "Playfair Display", serif;
  line-height: 1;
  margin-bottom: -20px;
}

.service-text h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.service-text p {
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.service-features li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
  color: var(--steel);
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.service-image {
  position: relative;
}

.image-placeholder-small {
  width: 100%;
  height: 280px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  border-radius: 4px;
}

.image-placeholder-small::after {
  content: "[ Image Placeholder ]";
  opacity: 0.6;
}

/* Icon Boxes for Benefits */
.icon-boxes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.icon-box {
  text-align: center;
  padding: 40px 30px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 25px;
}

.icon-box h3 {
  color: var(--navy);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.icon-box p {
  color: var(--steel);
  font-size: 0.95rem;
  max-width: 100%;
}

/* Industry Cards */
.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.industry-card {
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--navy);
}

.card-header {
  padding: 25px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
  border-bottom: 3px solid;
}

.card-tech .card-header {
  border-bottom-color: #163757;
}

.card-professional .card-header {
  border-bottom-color: #2a4a65;
}

.card-healthcare .card-header {
  border-bottom-color: #3e5d73;
}

.card-manufacturing .card-header {
  border-bottom-color: #527081;
}

.card-retail .card-header {
  border-bottom-color: #66838f;
}

.card-financial .card-header {
  border-bottom-color: #7a969d;
}

.card-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.4rem;
}

.card-body {
  padding: 25px;
}

.card-body p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 100%;
}

/* Responsive for Index Page */
/* Also includes responsive styles for process-grid and testimonials-grid */
@media (max-width: 768px) {
  .service-row,
  .service-row-right {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .service-row-right .service-image {
    order: 2;
  }

  .service-row-right .service-text {
    order: 1;
  }

  .service-number {
    font-size: 3.5rem;
  }

  .image-placeholder-small {
    height: 220px;
  }

  .icon-boxes-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .industry-cards-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
