:root {
  --blue: #0b3d91;
  --blue-dark: #061f4f;
  --blue-soft: #eaf1ff;
  --orange: #ff7a00;
  --orange-dark: #df6500;
  --white: #ffffff;
  --light: #f5f8fc;
  --text: #172033;
  --muted: #657084;
  --border: #dfe7f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  color: var(--blue);
}

.logo span {
  color: var(--orange);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.desktop-nav a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.desktop-nav a:not(.nav-btn):hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 18px;
  border-radius: 6px;
}

/* CSS-only mobile nav */

.nav-toggle {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 6px;
  cursor: pointer;
  padding-top: 10px;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: 0.3s ease;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 18px 35px rgba(6, 39, 95, 0.12);
  transition: max-height 0.35s ease;
}

.mobile-nav a {
  display: block;
  padding: 16px 4%;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  margin: 16px 4%;
  border-radius: 6px;
  border-bottom: none;
}

.nav-toggle:checked ~ .mobile-nav {
  max-height: 360px;
}

.nav-toggle:checked + .nav .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo img {
  height: 46px;
}

/* Hero */

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(6, 31, 79, 0.95), rgba(11, 61, 145, 0.78)),
    radial-gradient(circle at 85% 25%, rgba(255, 122, 0, 0.35), transparent 30%),
    var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border: 36px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: slowFloat 8s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp 0.8s ease both;
}

.eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero p {
  font-size: 19px;
  max-width: 640px;
  color: #e7eefb;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
}

.btn.secondary {
  background: var(--white);
  color: var(--blue);
}

.btn:hover,
.nav-btn:hover,
.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.28);
}

.btn.primary:hover,
.nav-btn:hover,
.contact-form button:hover {
  background: var(--orange-dark);
}

/* Trust strip */

.trust-strip {
  background: var(--blue-dark);
  color: var(--white);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-grid div {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.trust-grid strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.trust-grid span {
  color: #c8d7f2;
  font-size: 14px;
}

/* Sections */

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-content h2,
.contact-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.section-heading p,
.about-content p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 15px 40px rgba(11, 61, 145, 0.08);
  transition: all .45s cubic-bezier(.175,.885,.32,1.275);
  animation: fadeUp .8s ease both;
}

/* Stagger animation */
.service-card:nth-child(2){animation-delay:.15s;}
.service-card:nth-child(3){animation-delay:.30s;}
.service-card:nth-child(4){animation-delay:.45s;}

/* Blue glow border */
.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:14px;
    padding:2px;
    background:linear-gradient(135deg,#0b5cff,#1da1ff,#0b5cff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:0;
    transition:.4s;
}

/* Hover */
.service-card:hover{
    transform:translateY(-14px) scale(1.02);
    box-shadow:0 30px 60px rgba(11,61,145,.22);
}

.service-card:hover::before{
    opacity:1;
}

/* ===========================
   IMAGE
=========================== */

.service-image{
    height:210px;             /* Every image same height */
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:linear-gradient(135deg,#0b5cff,#0a347e);
}

.service-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transition:transform .7s ease;
}

/* Smooth zoom */
.service-card:hover .service-image img{
    transform:scale(1.12);
}

/* ===========================
   CONTENT
=========================== */

.service-content{
    padding:28px 22px;
    flex:1;
}

.service-content h3{
    color:var(--blue);
    margin-bottom:15px;
    transition:.35s;
    font-size:1.65rem;
}

.service-content p{
    line-height:1.8;
    color:#5f6c84;
}

.service-card:hover h3{
    color:var(--orange);
    transform:translateX(6px);
}

/* ===========================
   ICON SHINE EFFECT
=========================== */

.service-image::after{
    content:"";
    position:absolute;
    width:60%;
    height:220%;
    background:rgba(255,255,255,.18);
    transform:rotate(25deg) translateX(-350px);
    transition:1s;
}

.service-card:hover .service-image::after{
    transform:rotate(25deg) translateX(550px);
}

/* ===========================
   ABOUT IMAGE
=========================== */

.about-image{
    background:
        linear-gradient(135deg,rgba(11,61,145,.92),rgba(6,31,79,.92)),
        var(--blue);
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    text-align:center;
}
.about-image {
  background:
    linear-gradient(135deg, rgba(11, 61, 145, 0.92), rgba(6, 31, 79, 0.92)),
    var(--blue);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
}

.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 450px;   /* Adjust if you want it larger */
  max-height: 450px;  /* Adjust if you want it larger */
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.service-image {
  height: 210px;
}

.service-image span,
.about-image span {
  border: 2px dashed rgba(255, 255, 255, 0.6);
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 800;
  color: #eef4ff;
}

.service-content {
  padding: 22px;
}

.service-content h3 {
  color: var(--blue);
  font-size: 21px;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--muted);
  font-size: 15px;
}

/* About */

.about-section {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-image {
  height: 520px;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(6, 39, 95, 0.16);
  animation: fadeUp 0.8s ease both;
}

.about-content {
  animation: fadeUp 0.8s ease both;
}

.feature-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.feature-list div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list span {
  background: var(--orange);
  color: var(--white);
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 900;
}

/* Why */

.why-section {
  background: var(--blue-dark);
}

.section-heading.light h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 28px;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  animation: fadeUp 0.8s ease both;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
}

.why-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.why-card p {
  color: #c8d7f2;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--orange);
  background: var(--light);
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-form {
  background: var(--blue-dark);
  padding: 32px;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  box-shadow: 0 24px 55px rgba(6, 39, 95, 0.16);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.38);
  transform: translateY(-2px);
}

.contact-form button {
  border: none;
  background: var(--orange);
  color: var(--white);
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Footer */

.footer {
  background: #041c46;
  color: var(--white);
  padding: 24px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #c8d7f2;
  font-size: 14px;
}

/* Animations */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowFloat {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-28px) scale(1.04);
  }
}

/* Responsive */

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .trust-grid,
  .services-grid,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 68px;
  }

  .logo {
    font-size: 26px;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 68px 0;
  }

  .trust-grid,
  .services-grid,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 360px;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}