/* ==========================================================================
   FONTS
   ========================================================================== */

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

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

: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;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

/* ==========================================================================
   MOBILE NAVBAR
   ========================================================================== */

.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;
  z-index: 1001;
}

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

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

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

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;
  background: var(--navy);
  padding: 40px 25px;
  transition: 0.5s ease;
  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
   ========================================================================== */

.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
   ========================================================================== */

.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 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.main {
  margin-left: 260px;
  padding: 60px 10%;
  animation: fadeUp 1s ease;
}

.section {
  margin-bottom: 60px;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

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;
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */

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

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

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

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

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

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

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

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.service-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 30px 0;
}

/* ==========================================================================
   CARDS & ITEMS
   ========================================================================== */

.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;
}

/* ==========================================================================
   MISSION & VISION
   ========================================================================== */

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

/* ==========================================================================
   USE CASES
   ========================================================================== */

.use-cases {
  margin-top: 30px;
  padding: 25px;
  background: #f0f4f8;
  border-left: 4px solid var(--steel);
}

/* ==========================================================================
   PACKAGES
   ========================================================================== */

.package-item {
  padding: 30px;
  background: #f8f9fa;
  border: 2px solid var(--gray);
  text-align: center;
  transition: all 0.3s ease;
}

.package-item:hover {
  border-color: var(--navy);
  transform: translateY(-5px);
}

/* ==========================================================================
   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;
}

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

/* ==========================================================================
   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;
}

/* ==========================================================================
   DROPDOWN (MOBILE)
   ========================================================================== */

.dropdown-container {
  position: relative;
  margin-bottom: 25px;
}

.dropdown-trigger {
  width: 100%;
  padding: 15px 25px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.dropdown-trigger:hover {
  background: #0f2a3f;
}

.dropdown-trigger::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.dropdown-container:hover .dropdown-trigger::after {
  transform: rotate(45deg);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-left: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s ease;
}

.dropdown-container:hover .dropdown-content {
  max-height: 500px;
  padding: 20px 25px;
}

.dropdown-content ul {
  margin-bottom: 0;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */

.floating-buttons {
  position: fixed;
  bottom: 35px;
  right: 35px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1200;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.float-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  animation: ripple 2s ease infinite;
}

.float-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.float-btn.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

.float-btn.email {
  background: #163757;
}

/* ==========================================================================
   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);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.4);
    opacity: 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 DESIGN - TABLET & MOBILE
   ========================================================================== */

@media (max-width: 768px) {
  /* Mobile Navbar */
  .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.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 950;
    padding: 0 20px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-logo {
    display: block;
  }

  /* Sidebar */
  .sidebar {
    transform: translateX(-100%);
  }

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

  /* Main Content */
  .main {
    margin-left: 0;
    padding: 80px 7% 40px;
  }

  /* Typography */
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* All Grids */
  .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 */
  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Sections */
  .section {
    margin-bottom: 40px;
  }

  /* Floating Buttons */
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

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

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

  /* Dropdown */
  .dropdown-trigger {
    font-size: 1rem;
    padding: 12px 20px;
  }
}
