/* =========================================================
   JCW COMPANY LIMITED
   MAIN STYLESHEET
   ========================================================= */

/* =========================================================
   RESET & GLOBAL STYLES
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111936;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:root {
  --navy: #111936;
  --blue: #17549a;
  --cyan: #2eb8e6;
  --white: #ffffff;
  --light-gray: #f4f7fa;
  --border: #dce4ec;
  --text: #263449;
  --muted: #64748b;
}

/* =========================================================
   GLOBAL SECTIONS
   ========================================================= */

.section {
  padding: 100px 7%;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-tag,
.hero-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.section-heading h2,
.section-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.section-heading p,
.section-content p {
  color: var(--muted);
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(17, 25, 54, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1250px;
  min-height: 75px;
  margin: auto;
  padding: 0 7%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #e8edf5;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.menu-toggle {
  display: none;

  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 7% 80px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;

  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;

  width: 450px;
  height: 450px;

  right: -180px;
  top: -180px;

  border: 1px solid rgba(46, 184, 230, 0.18);
  border-radius: 50%;

  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;

  width: 300px;
  height: 300px;

  right: 50px;
  bottom: -200px;

  border: 1px solid rgba(46, 184, 230, 0.12);
  border-radius: 50%;

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 25px;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero p {
  max-width: 600px;
  margin-bottom: 35px;

  color: #d3dbea;
  font-size: 1.1rem;
}

.hero-tag {
  position: relative;
  padding-left: 45px;
}

.hero-tag::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 32px;
  height: 2px;

  background: var(--cyan);

  transform: translateY(-50%);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  color: var(--white);
  font-size: 0.9rem;
}

.trust-item span {
  color: #8f9bb0;
  font-size: 0.75rem;
}

.trust-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
  position: relative;
  z-index: 2;

  height: 580px;
  overflow: hidden;

  border-radius: 14px;
  border: 1px solid rgba(46, 184, 230, 0.35);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  height: 100%;
  object-fit: cover;

  transition: transform 0.8s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(135deg, rgba(17, 25, 54, 0.25), transparent 60%);

  pointer-events: none;
}

.hero-image-label {
  position: absolute;
  z-index: 2;

  left: 25px;
  bottom: 25px;

  display: flex;
  flex-direction: column;

  padding: 15px 18px;

  background: rgba(17, 25, 54, 0.9);
  border-left: 3px solid var(--cyan);

  backdrop-filter: blur(8px);
}

.hero-image-label span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-image-label strong {
  margin-top: 3px;
  color: var(--white);
  font-size: 0.85rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0 25px;

  border-radius: 6px;
  font-weight: 700;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cyan);
  color: var(--navy);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  background: var(--white);
}

.about .section-container {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section-image {
  position: relative;
  overflow: visible;
}

.about-image-frame {
  position: relative;
  overflow: hidden;

  border-radius: 14px;
  border: 1px solid var(--border);

  box-shadow: 0 20px 45px rgba(17, 25, 54, 0.12);
}

.about-image-frame img {
  height: 500px;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.about-image-frame:hover img {
  transform: scale(1.04);
}

.about-accent {
  position: absolute;

  width: 90px;
  height: 90px;

  right: -20px;
  bottom: -20px;

  border-right: 5px solid var(--cyan);
  border-bottom: 5px solid var(--cyan);

  pointer-events: none;
}

.about-highlight {
  color: var(--blue);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text) !important;
}

.section-content p {
  margin-bottom: 18px;
}

.about-points {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.point-icon {
  flex-shrink: 0;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--blue);
  background: rgba(46, 184, 230, 0.1);

  border: 1px solid rgba(46, 184, 230, 0.3);
  border-radius: 6px;

  font-size: 0.75rem;
  font-weight: 800;
}

.about-point h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1rem;
}

.about-point p {
  margin: 0;
  font-size: 0.9rem;
}

.text-link {
  display: inline-block;
  margin-top: 15px;

  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--cyan);
}

/* =========================================================
   SERVICES
   ========================================================= */

.services {
  background: var(--light-gray);
}

.cards-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* =========================================================
   GENERAL CARD
   ========================================================= */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;

  box-shadow: 0 8px 25px rgba(17, 25, 54, 0.06);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(17, 25, 54, 0.12);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.3rem;
}

.card-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-card {
  position: relative;

  min-height: 390px;
  padding: 30px;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.service-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: var(--blue);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  position: absolute;

  top: 22px;
  right: 25px;

  color: #dce5ef;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 25px;

  background: rgba(46, 184, 230, 0.1);
  border: 1px solid rgba(46, 184, 230, 0.25);
  border-radius: 10px;

  font-size: 1.7rem;

  transition: 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.service-card .card-content {
  padding: 0;
}

.service-card .card-content h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.service-card .card-content p {
  line-height: 1.7;
}

.service-link {
  display: inline-block;
  margin-top: 25px;

  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;

  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--cyan);
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
  background: var(--white);
}

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card {
  position: relative;

  min-height: 430px;

  overflow: hidden;

  border-radius: 14px;
  background: var(--navy);

  box-shadow: 0 12px 35px rgba(17, 25, 54, 0.12);
}

.project-card:first-child {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;

  object-fit: cover;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.project-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(17, 25, 54, 0.98) 0%,
    rgba(17, 25, 54, 0.55) 45%,
    rgba(17, 25, 54, 0.05) 100%
  );

  pointer-events: none;
}

.project-info {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 2;

  padding: 35px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 12px;
}

.project-meta span:first-child {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
}

.project-meta span:last-child {
  color: #d5deea;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.project-info h3 {
  margin-bottom: 10px;

  color: var(--white);
  font-size: 1.7rem;
}

.project-info p {
  max-width: 650px;

  margin-bottom: 15px;

  color: #c4cedd;
  font-size: 0.9rem;
}

.project-link {
  display: inline-block;

  color: var(--cyan);

  font-size: 0.85rem;
  font-weight: 700;

  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--white);
}

.projects-cta {
  margin-top: 45px;
  text-align: center;
}

.projects-cta .btn {
  gap: 12px;
}

.projects-cta .btn span {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.projects-cta .btn:hover span {
  transform: translateX(5px);
}

/* =========================================================
   WHY JCW
   ========================================================= */

.why-us {
  background: var(--light-gray);
}

.why-us .section-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.why-us .section-content {
  position: relative;
}

.why-us .section-content::before {
  content: "";

  position: absolute;

  left: -30px;
  top: -25px;

  width: 70px;
  height: 70px;

  border-left: 2px solid var(--cyan);
  border-top: 2px solid var(--cyan);

  opacity: 0.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  position: relative;

  padding: 25px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;

  overflow: hidden;

  transition: 0.3s ease;
}

.feature:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
}

.feature::after {
  content: "";

  position: absolute;

  right: -35px;
  bottom: -35px;

  width: 100px;
  height: 100px;

  border: 1px solid rgba(46, 184, 230, 0.12);
  border-radius: 50%;

  transition: transform 0.4s ease;
}

.feature:hover::after {
  transform: scale(1.25);
}

.feature-number {
  display: block;
  margin-bottom: 15px;

  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--navy);

  transition: color 0.3s ease;
}

.feature:hover h3 {
  color: var(--blue);
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;
  overflow: hidden;

  padding: 110px 7%;
  text-align: center;

  background:
    linear-gradient(rgba(17, 25, 54, 0.92), rgba(17, 25, 54, 0.96)),
    url("images/cta.jpg") center / cover no-repeat;
}

.cta::before,
.cta::after {
  content: "";

  position: absolute;

  border: 1px solid rgba(46, 184, 230, 0.2);
  border-radius: 50%;

  pointer-events: none;
}

.cta::before {
  width: 500px;
  height: 500px;

  left: -250px;
  top: -250px;
}

.cta::after {
  width: 350px;
  height: 350px;

  right: -175px;
  bottom: -175px;
}

.cta-content {
  position: relative;
  z-index: 2;

  max-width: 750px;
  margin: 0 auto;
}

.cta .section-tag {
  color: var(--cyan);
}

.cta h2 {
  margin-bottom: 20px;

  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;

  color: #d3dbea;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-buttons .btn {
  min-width: 190px;
}

.cta-buttons .btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.cta-buttons .btn-primary:hover {
  background: var(--white);
}

.cta-buttons .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  background: var(--white);
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;

  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.contact-item h3 {
  margin-bottom: 8px;

  color: var(--blue);
  font-size: 1rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
}

.contact-item a:hover {
  color: var(--cyan);
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  padding: 35px;

  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;

  color: var(--navy);
  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 7px;

  outline: none;
  resize: vertical;

  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.contact-form .btn {
  align-self: flex-start;

  border: none;
  cursor: pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--navy);
  border-top: 1px solid rgba(46, 184, 230, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 65px 7%;

  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 60px;

  align-items: start;
}

.footer-brand h2 {
  margin-bottom: 5px;

  color: var(--white);
  font-size: 2rem;
  letter-spacing: 3px;
}

.footer-brand > p {
  color: var(--cyan);

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-tagline {
  max-width: 300px;
  margin-top: 18px;

  color: #9ba8bb !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.7;

  letter-spacing: 0 !important;
  text-transform: none !important;
}

.footer-navigation h3 {
  margin-bottom: 18px;

  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links a {
  color: #9ba8bb;
  font-size: 0.9rem;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-action > span {
  margin-bottom: 12px;

  color: #7f8da2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-cta {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;

  transition: color 0.3s ease;
}

.footer-cta:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;

  padding: 22px 7%;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: #68778c;
  font-size: 0.75rem;
}

/* =========================================================
   TABLET / IPAD
   701px - 1000px
   ========================================================= */

@media (min-width: 701px) and (max-width: 1000px) {
  /* ---------- GLOBAL ---------- */

  .section {
    padding: 90px 6%;
  }

  .section-heading {
    max-width: 760px;
    margin-bottom: 50px;
  }

  .section-heading h2,
  .section-content h2 {
    font-size: 2.7rem;
  }

  .section-heading p,
  .section-content p {
    font-size: 1rem;
  }

  /* ---------- NAVBAR ---------- */

  .nav-container {
    padding: 0 6%;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  /* ---------- HERO ---------- */

  .hero {
    min-height: auto;

    padding: 125px 6% 75px;

    grid-template-columns: 1fr 1fr;
    gap: 35px;

    align-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.3rem);
    margin-bottom: 20px;
  }

  .hero p {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons .btn {
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .hero-trust {
    gap: 14px;
    margin-top: 35px;
  }

  .trust-item strong {
    font-size: 0.8rem;
  }

  .trust-item span {
    font-size: 0.7rem;
  }

  .hero-image {
    height: 480px;
  }

  /* ---------- ABOUT ---------- */

  .about .section-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .about-image-frame img {
    height: 450px;
  }

  .about-lead {
    font-size: 1.05rem;
  }

  .about-point p {
    font-size: 0.85rem;
  }

  /* ---------- SERVICES ---------- */

  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    min-height: 360px;
    padding: 25px;
  }

  .service-card .card-content h3 {
    font-size: 1.2rem;
  }

  .service-card .card-content p {
    font-size: 0.9rem;
  }

  /* ---------- PROJECTS ---------- */

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-card:first-child {
    grid-column: span 2;
  }

  .project-card,
  .project-card img {
    min-height: 400px;
  }

  .project-info {
    padding: 28px;
  }

  /* ---------- WHY JCW ---------- */

  .why-us .section-container {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature {
    padding: 22px;
  }

  .feature h3 {
    font-size: 1rem;
  }

  .feature p {
    font-size: 0.85rem;
  }

  /* ---------- CONTACT ---------- */

  .contact-container {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  /* ---------- FOOTER ---------- */

  .footer-container {
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 30px;
    padding: 55px 6%;
  }

  .footer-bottom {
    padding: 20px 6%;
  }
}

/* =========================================================
   MOBILE
   700px AND BELOW
   ========================================================= */

@media (max-width: 700px) {
  /* ---------- GLOBAL ---------- */

  .section {
    padding: 75px 5%;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .section-content h2 {
    font-size: 2.2rem;
  }

  /* ---------- NAVBAR ---------- */

  .nav-container {
    padding: 0 5%;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;

    position: absolute;
    top: 75px;
    left: 0;

    width: 100%;

    flex-direction: column;
    align-items: center;
    gap: 0;

    padding: 20px 0;

    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active a {
    width: 100%;
    padding: 15px;

    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  /* ---------- HERO ---------- */

  .hero {
    min-height: auto;

    padding: 110px 5% 60px;

    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
    margin-top: 35px;
  }

  .trust-item strong {
    font-size: 0.8rem;
  }

  .trust-item span {
    font-size: 0.7rem;
  }

  .trust-divider {
    height: 30px;
  }

  .hero-image {
    height: 330px;
  }

  .hero-image-label {
    left: 15px;
    bottom: 15px;
  }

  /* ---------- ABOUT ---------- */

  .about .section-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-image-frame img {
    height: 350px;
  }

  .about-lead {
    font-size: 1.05rem;
  }

  .about-point p {
    font-size: 0.9rem;
  }

  .about-accent {
    width: 65px;
    height: 65px;

    right: -10px;
    bottom: -10px;
  }

  /* ---------- SERVICES ---------- */

  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    min-height: auto;
    padding: 25px;
  }

  .card img {
    height: 240px;
  }

  /* ---------- PROJECTS ---------- */

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card:first-child {
    grid-column: span 1;
  }

  .project-card,
  .project-card img {
    min-height: 350px;
  }

  .project-info {
    padding: 25px;
  }

  .project-info h3 {
    font-size: 1.35rem;
  }

  .project-info p {
    font-size: 0.85rem;
  }

  /* ---------- WHY JCW ---------- */

  .why-us .section-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .why-us .section-content::before {
    left: -10px;
    top: -20px;

    width: 50px;
    height: 50px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* ---------- CTA ---------- */

  .cta {
    padding: 80px 5%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* ---------- CONTACT ---------- */

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form .btn {
    width: 100%;
  }

  /* ---------- FOOTER ---------- */

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 5%;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-bottom {
    padding: 20px 5%;

    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   IPAD FONT SIZE FIX
========================= */

@media (min-width: 701px) and (max-width: 1000px) {
  body {
    font-size: 17px;
  }

  .section-heading h2,
  .section-content h2 {
    font-size: 2.8rem;
  }

  .section-heading p,
  .section-content p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .hero-buttons .btn {
    font-size: 1rem;
  }

  .trust-item strong {
    font-size: 0.9rem;
  }

  .trust-item span {
    font-size: 0.8rem;
  }

  .about-lead {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .about-point h3 {
    font-size: 1.1rem;
  }

  .about-point p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-card .card-content h3 {
    font-size: 1.3rem;
  }

  .service-card .card-content p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .project-info h3 {
    font-size: 1.6rem;
  }

  .project-info p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .feature h3 {
    font-size: 1.1rem;
  }

  .feature p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .contact-item h3 {
    font-size: 1.05rem;
  }

  .contact-item p,
  .contact-item a {
    font-size: 1rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .footer-tagline {
    font-size: 0.95rem !important;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* =========================
   IPAD PARAGRAPH SIZE
========================= */

@media (min-width: 701px) and (max-width: 1000px) {
  .section-heading p,
  .section-content p,
  .hero p,
  .about-point p,
  .service-card .card-content p,
  .project-info p,
  .feature p,
  .contact-item p,
  .contact-item a,
  .footer-tagline {
    font-size: 1.3rem !important;
    line-height: 1.75;
  }
}
