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

/* ===========================
   CSS VARIABLES
   =========================== */
:root {
  --navy:       #1c1c5e;
  --blue:       #2d5fa6;
  --cyan:       #4bbcd4;
  --cyan-light: #87d9ec;
  --light-bg:   #f0f6fa;
  --white:      #ffffff;
  --text:       #2b2b2b;
  --text-light: #555;
  --border:     #d4e8f0;
}

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

body {
  font-family: Poppins, sans-serif;
  color: var(--text);
  line-height: 1.7;
}

input,
textarea {
  font-family: Poppins, sans-serif;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
}

.top-flex {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  align-items: center;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-item .label {
  font-weight: 600;
  letter-spacing: .5px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--cyan-light);
}

.top-item i {
  color: var(--cyan);
  font-size: 13px;
}

.top-item a {
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}

.top-item a:hover {
  color: var(--cyan-light);
}

/* ===========================
   HEADER & NAV
   =========================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(28, 28, 94, .1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo img {
  height: 72px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .3px;
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .3s;
}

.nav-menu a:hover {
  color: var(--cyan);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, rgba(28, 28, 94, .9) 0, rgba(45, 95, 166, .82) 60%, rgba(75, 188, 212, .65) 100%),
              url('assets/hero-bg.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  max-width: 700px;
  padding: 60px 0;
}

.hero-tag {
  display: inline-block;
  background: rgba(75, 188, 212, .25);
  border: 1px solid var(--cyan);
  color: var(--cyan-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 17px;
  opacity: .88;
  margin-bottom: 32px;
}

/* ===========================
   BUTTON
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(75, 188, 212, .4);
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(75, 188, 212, .5);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   SECTIONS
   =========================== */
.section-padding {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 560px;
  margin: auto;
}

.section-title .underline {
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--blue));
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 12px 40px rgba(28, 28, 94, .12);
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 15px;
}

.about-text p:first-child {
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
}

.about-text .cta-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .3px;
}

.about-text .cta-link:hover {
  color: var(--blue);
}

/* ===========================
   SERVICES
   =========================== */
.services,
.testimonials {
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-box {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 28, 94, .07);
  transition: transform .3s, box-shadow .3s;
  border-top: 3px solid transparent;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(28, 28, 94, .13);
  border-top-color: var(--cyan);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon i {
  color: var(--white);
  font-size: 22px;
}

.service-box-inner {
  padding: 28px;
}

.service-box h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ===========================
   INDUSTRIES
   =========================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 22px;
  border-radius: 14px;
  text-align: center;
  transition: all .3s;
  box-shadow: 0 2px 12px rgba(28, 28, 94, .05);
}

.industry-box:hover {
  border-color: var(--cyan);
  box-shadow: 0 6px 24px rgba(75, 188, 212, .18);
  transform: translateY(-4px);
}

.industry-icon {
  width: 52px;
  height: 52px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.industry-icon i {
  color: var(--blue);
  font-size: 20px;
}

.industry-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.industry-box p {
  color: var(--text-light);
  font-size: 13px;
}

/* ===========================
   TESTIMONIALS CAROUSEL
   =========================== */
.carousel-outer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.carousel-slide--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.tcard {
  background: var(--white);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(28, 28, 94, .07);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.tcard-stars {
  color: #fbbc04;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.tcard-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 22px;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: auto;
}

.tcard-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
}

.tcard-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.tcard-author span {
  font-size: 11px;
  color: var(--text-light);
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(28, 28, 94, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.carousel-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}

.cdot.active {
  width: 26px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--cyan), var(--blue));
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: linear-gradient(135deg, var(--navy) 0, var(--blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: rgba(75, 188, 212, .08);
  border-radius: 50%;
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.contact-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  margin-bottom: 10px;
}

.contact-header .tagline {
  font-size: 16px;
  opacity: .8;
  margin-bottom: 6px;
}

.contact-header .sub-tagline {
  font-size: 14px;
  opacity: .65;
}

.contact-header .underline {
  width: 50px;
  height: 3px;
  background: var(--cyan);
  margin: 16px auto 0;
  border-radius: 2px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.contact-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--cyan-light);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item .icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(75, 188, 212, .15);
  border: 1px solid rgba(75, 188, 212, .3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item i {
  color: var(--cyan);
  font-size: 16px;
}

.contact-info-item .info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  opacity: .6;
  display: block;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: var(--cyan-light);
}

.contact-form-box {
  background: var(--white);
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}

.contact-form-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e7ef;
  border-radius: 8px;
  background: #f8fbfc;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: 0;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(75, 188, 212, .12);
  background: var(--white);
}

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

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
  height: 65px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 12px;
  opacity: .55;
  margin-top: 8px;
}

.footer h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan-light);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  text-decoration: none;
  transition: all .2s;
}

.social-icons a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: .45;
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
  z-index: 9999;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .55);
}

/* ===========================
   HAMBURGER / MOBILE NAV
   =========================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

.nav-toggle.open span:first-child  { transform: translateY(7px)  rotate(45deg);  }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 1002;
}

.nav-close:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ===========================
   RESPONSIVE — TABLET (<=900px)
   =========================== */
@media (max-width: 900px) {
  .top-flex {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu.open .nav-close {
    display: flex;
  }

  .nav-menu a {
    font-size: 20px;
    font-weight: 600;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .carousel-outer {
    gap: 8px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ===========================
   RESPONSIVE — MOBILE (<=600px)
   =========================== */
@media (max-width: 600px) {
  .top-bar {
    font-size: 12px;
    padding: 8px 0;
  }

  .top-flex {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .logo img {
    height: 56px;
  }

  .hero {
    min-height: 100svh;
    padding: 20px 0;
  }

  .hero-content {
    padding: 80px 0 60px;
  }

  .hero-tag {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .about-grid img {
    max-height: 260px;
  }

  .about-text p {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .industry-box {
    padding: 20px 14px;
  }

  .contact-header h2 {
    font-size: 26px;
  }

  .contact-form-box {
    padding: 24px 18px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 16px;
    right: 16px;
  }
}