:root {
  --primary: #050a4f;
  --primary-dark: #03062f;
  --secondary: #0e6acc;
  --green: #00a843;
  --green-light: #00c853;
  --gold: #d4a63c;
  --white: #ffffff;
  --soft: #f6f8ff;
  --text: #222222;
  --muted: #5b6170;
  --border: rgba(14, 106, 204, 0.12);
  --shadow: 0 10px 30px rgba(5, 10, 79, 0.09);
  --shadow-hover: 0 20px 46px rgba(5, 10, 79, 0.18);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

section {
  padding: 82px 8%;
  scroll-margin-top: 88px;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background:
    radial-gradient(
      circle at top right,
      rgba(14, 106, 204, 0.08),
      transparent 34%
    ),
    var(--soft);
}

.section-heading {
  width: min(880px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-label,
.hero-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 13px;
  color: var(--secondary);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.22;
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

/* Navbar */

.navbar {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 3000;
  padding: 12px 6%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 22px rgba(5, 10, 79, 0.1);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  color: var(--primary);
  font-size: 1.18rem;
}

.logo-text span {
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.navbar nav a {
  position: relative;
  padding: 8px 0;
  color: #181818;
  font-size: 0.91rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar nav a::after {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 2px;
  border-radius: 8px;
  background: var(--green);
  transition: width 0.3s ease;
}

.navbar nav a:hover {
  color: var(--green);
}

.navbar nav a:hover::after {
  width: 100%;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
}

/* Hero */

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 105px;
  padding-bottom: 105px;
  color: var(--white);
  text-align: center;
  background:
    url("https://picsum.photos/seed/business-hero/1920/1080")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(3, 6, 47, 0.92),
      rgba(14, 106, 204, 0.74)
    );
}

.hero-content {
  width: min(930px, 100%);
  position: relative;
  z-index: 1;
}

.hero-label {
  color: #82ffb4;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.13;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #edf2ff;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--green-light);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 200, 83, 0.28);
}

.btn-primary:hover {
  background: var(--green);
  box-shadow: 0 15px 32px rgba(0, 200, 83, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* About */

.about-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
  margin: 0 auto;
}

.about-content h3 {
  margin-bottom: 13px;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.about-content > p {
  color: var(--muted);
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(5, 10, 79, 0.05);
}

.about-point > i {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  background: #eafff2;
  color: var(--green);
  font-size: 1.2rem;
}

.about-point h4 {
  color: var(--primary);
  font-size: 1rem;
}

.about-point p {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-image {
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

/* Associates */

.associates-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0 auto;
}

.associate-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.associate-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.associate-image {
  height: 285px;
  overflow: hidden;
  position: relative;
  background: #e7ebf5;
}

.associate-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 10, 79, 0.5),
      transparent 58%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.associate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.associate-card:hover .associate-image img {
  transform: scale(1.08);
}

.associate-card:hover .associate-image::after {
  opacity: 1;
}

.associate-content {
  min-height: 138px;
  position: relative;
  padding: 25px 19px 28px;
  text-align: center;
}

.associate-content::before {
  content: "";
  width: 48px;
  height: 3px;
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 20px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.associate-card:hover .associate-content::before {
  width: 96px;
}

.associate-content span {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.85px;
  text-transform: uppercase;
}

.associate-content h3 {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.15rem;
}

.associate-content p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Leadership */

.leader-card {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 38px;
  margin: 0 auto 34px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.leader-card:last-child {
  margin-bottom: 0;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.leader-card.reverse {
  grid-template-columns: 1fr 320px;
}

.leader-card.reverse .leader-image {
  order: 2;
}

.leader-card.reverse .leader-content {
  order: 1;
}

.leader-image {
  height: 330px;
  overflow: hidden;
  border-radius: 18px;
  background: #e8ebf3;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-content > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.leader-content h3 {
  margin: 4px 0 12px;
  color: var(--primary);
  font-size: 1.65rem;
}

.leader-content > p {
  color: var(--muted);
}

.leader-content ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.leader-content li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #383d48;
  font-size: 0.93rem;
  font-weight: 500;
  list-style: none;
}

.leader-content li i {
  margin-top: 4px;
  color: var(--green);
}

/* Services */

.services-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 0 auto;
}

.service-card {
  min-height: 278px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card::before {
  content: "";
  width: 5px;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  background:
    linear-gradient(
      to bottom,
      var(--secondary),
      var(--green-light)
    );
  transition: height 0.4s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 17px;
  background: #eafff2;
  color: var(--green);
  font-size: 1.75rem;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.service-card:hover .service-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(-5deg) scale(1.04);
}

.service-card h3 {
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 1.13rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.service-card > span i {
  transition: transform 0.3s ease;
}

.service-card:hover > span i {
  transform: translateX(5px);
}

/* Forum */

.forum-section {
  background:
    linear-gradient(
      135deg,
      rgba(5, 10, 79, 0.025),
      rgba(0, 168, 67, 0.035)
    ),
    var(--white);
}

.forum-grid {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 0 auto;
}

.forum-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 166, 60, 0.34);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(5, 10, 79, 0.11);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.forum-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 21px 48px rgba(5, 10, 79, 0.2);
}

.forum-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  padding: 0;
  background: var(--primary-dark);
  cursor: zoom-in;
}

.forum-image::after {
  content: "\f00e";
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-family: "Font Awesome 6 Free";
  font-size: 1.15rem;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.8);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.forum-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.55s ease,
    filter 0.35s ease;
}

.forum-card:hover .forum-image img {
  transform: scale(1.025);
  filter: brightness(0.72);
}

.forum-card:hover .forum-image::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.forum-content {
  min-height: 112px;
  padding: 19px 21px 22px;
  border-top: 4px solid var(--gold);
}

.forum-content span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.forum-content h3 {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.42;
}

/* Vision */

.vision-grid {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin: 0 auto;
}

.vision-card {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.vision-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.vision-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: #eafff2;
  color: var(--green);
  font-size: 1.8rem;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.vision-card:hover .vision-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(7deg);
}

.vision-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.25rem;
}

.vision-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Gallery */

.gallery-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
}

.gallery-item {
  height: 270px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 10, 79, 0.58),
      transparent 62%
    );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Contact */

.contact-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
}

.contact-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #eafff2;
  color: var(--green);
  font-size: 1.55rem;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.contact-card:hover .contact-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(7deg);
}

.contact-card h3 {
  color: var(--primary);
  font-size: 1.08rem;
}

.contact-card a {
  color: #454b57;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--green);
}

/* Footer */

footer {
  padding: 25px 8%;
  background: var(--primary-dark);
  color: var(--white);
}

.footer-content {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto;
}

.footer-content h3 {
  font-size: 1.08rem;
}

.footer-content p {
  color: #dbe2ff;
  font-size: 0.84rem;
}

/* Modals */

.modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 32, 0.86);
  backdrop-filter: blur(7px);
}

.modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.22rem;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.modal-close:hover {
  background: var(--green);
  color: var(--white);
  transform: rotate(90deg);
}

.service-modal-box {
  width: min(1000px, calc(100% - 36px));
  max-height: calc(100vh - 46px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -45%) scale(0.95);
  transition: transform 0.35s ease;
}

.modal.active .service-modal-box {
  transform: translate(-50%, -50%) scale(1);
}

.service-modal-image {
  min-height: 530px;
  background: #e9edf7;
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal-content {
  padding: 55px 43px 42px;
}

.service-modal-content > span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-modal-content h2 {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.9rem;
  line-height: 1.3;
}

.service-modal-content > p {
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 0.93rem;
}

.service-modal-content ul {
  display: grid;
  gap: 12px;
}

.service-modal-content li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #383d47;
  font-size: 0.89rem;
  list-style: none;
}

.service-modal-content li i {
  margin-top: 4px;
  color: var(--green);
}

.service-enquiry {
  margin-top: 27px;
}

/* Forum Lightbox */

.lightbox-box {
  width: min(1300px, calc(100% - 32px));
  max-height: calc(100vh - 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 20px;
  border-radius: 20px;
  background: #071027;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -45%) scale(0.96);
  transition: transform 0.35s ease;
}

.modal.active .lightbox-box {
  transform: translate(-50%, -50%) scale(1);
}

.lightbox-box img {
  width: 100%;
  max-height: calc(100vh - 115px);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-box h3 {
  margin-top: 12px;
  padding: 0 55px;
  color: var(--white);
  font-size: 1rem;
  text-align: center;
}

/* WhatsApp */

.whatsapp-float {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 4000;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.44);
  animation: whatsappPulse 1.9s infinite;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.whatsapp-float i {
  font-size: 1.7rem;
}

.whatsapp-float:hover {
  background: #1dbd5a;
  transform: translateY(-5px) scale(1.035);
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 12px 28px rgba(37, 211, 102, 0.44),
      0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  70% {
    box-shadow:
      0 12px 28px rgba(37, 211, 102, 0.44),
      0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow:
      0 12px 28px rgba(37, 211, 102, 0.44),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Laptop navigation */

@media (max-width: 1180px) {
  .navbar {
    padding-right: 4%;
    padding-left: 4%;
  }

  .navbar nav {
    gap: 14px;
  }

  .navbar nav a {
    font-size: 0.84rem;
  }
}

/* Tablet */

@media (max-width: 1024px) {
  section {
    padding: 72px 6%;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 12px 6%;
  }

  .menu-icon {
    display: block;
  }

  .navbar nav {
    width: 100%;
    max-height: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0;
    background: var(--white);
    transition:
      max-height 0.45s ease,
      padding 0.45s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 620px;
    padding: 14px 0 7px;
  }

  .navbar nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 0.94rem;
    text-align: center;
  }

  .navbar nav a:hover {
    background: #f2f7ff;
  }

  .navbar nav a::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }

  .associates-grid,
  .services-grid,
  .forum-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-card,
  .leader-card.reverse {
    grid-template-columns: 270px 1fr;
  }

  .leader-card.reverse .leader-image {
    order: 1;
  }

  .leader-card.reverse .leader-content {
    order: 2;
  }

  .leader-image {
    height: 310px;
  }

  .associate-image {
    height: 310px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-modal-box {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 30px));
  }

  .service-modal-image {
    min-height: 290px;
    height: 290px;
  }

  .service-modal-content {
    padding: 34px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  section {
    padding: 62px 5%;
  }

  .navbar {
    padding: 11px 5%;
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .logo-text strong {
    font-size: 1rem;
  }

  .logo-text span {
    font-size: 0.57rem;
  }

  .hero {
    min-height: 68vh;
    padding: 86px 5%;
  }

  .hero p {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(310px, 100%);
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading p {
    font-size: 0.91rem;
  }

  .associates-grid,
  .services-grid,
  .forum-grid,
  .vision-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .associate-card,
  .service-card,
  .forum-card,
  .vision-card,
  .contact-card {
    width: min(520px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .associate-image {
    height: 340px;
  }

  .leader-card,
  .leader-card.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
    text-align: center;
  }

  .leader-card.reverse .leader-image,
  .leader-card.reverse .leader-content {
    order: initial;
  }

  .leader-image {
    width: 100%;
    height: 350px;
  }

  .leader-content ul {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .forum-image {
    aspect-ratio: 3 / 2;
  }

  .gallery-item {
    width: min(520px, 100%);
    height: 260px;
    margin: 0 auto;
  }

  .contact-card {
    min-height: 190px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .service-modal-box {
    width: calc(100% - 22px);
    max-height: calc(100vh - 24px);
  }

  .service-modal-image {
    height: 225px;
    min-height: 225px;
  }

  .service-modal-content {
    padding: 28px 20px;
  }

  .service-modal-content h2 {
    padding-right: 28px;
    font-size: 1.47rem;
  }

  .modal-close {
    top: 11px;
    right: 11px;
  }

  .lightbox-box {
    width: calc(100% - 18px);
    padding: 11px;
  }

  .lightbox-box h3 {
    padding: 0 45px;
    font-size: 0.88rem;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    padding: 13px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float i {
    font-size: 1.85rem;
  }
}

/* Small mobile */

@media (max-width: 480px) {
  section {
    padding: 55px 5%;
  }

  .logo {
    gap: 7px;
  }

  .logo img {
    width: 43px;
    height: 43px;
  }

  .logo-text strong {
    font-size: 0.9rem;
  }

  .logo-text span {
    display: none;
  }

  .menu-icon {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 64vh;
  }

  .hero h1 {
    font-size: 1.78rem;
  }

  .hero p {
    font-size: 0.88rem;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .about-point {
    padding: 14px;
  }

  .about-point > i {
    width: 41px;
    height: 41px;
  }

  .associate-image {
    height: 285px;
  }

  .associate-content {
    min-height: 130px;
    padding: 22px 15px 25px;
  }

  .leader-image {
    height: 290px;
  }

  .leader-content h3 {
    font-size: 1.35rem;
  }

  .service-card {
    min-height: 255px;
    padding: 24px 20px;
  }

  .forum-content {
    min-height: auto;
    padding: 16px 17px 19px;
  }

  .forum-content h3 {
    font-size: 0.92rem;
  }

  .vision-card {
    padding: 30px 20px;
  }

  .gallery-item {
    height: 220px;
  }

  .service-modal-image {
    height: 190px;
    min-height: 190px;
  }

  .service-modal-content {
    padding: 25px 17px;
  }

  .service-modal-content h2 {
    font-size: 1.3rem;
  }

  .service-modal-content > p,
  .service-modal-content li {
    font-size: 0.84rem;
  }
}