:root {
  --base: #0F3567;
  --base-dark: #0a2649;
  --accent: #F04428;
  --accent-hover: #d93a20;
  --text: #616670;
  --text-dark: #333F4D;
  --gray: #F6F6F6;
  --gray2: #EDF4FA;
  --border: #DEDEDE;
  --white: #ffffff;
  --heading-font: "Rajdhani", sans-serif;
  --body-font: "Rubik", sans-serif;
  --shadow: 0 10px 40px rgba(15, 53, 103, 0.08);
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section--gray {
  background: var(--gray);
}

.section--navy {
  background: var(--base);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.tagline {
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  text-transform: capitalize;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--base);
}

.btn--outline-dark {
  background: transparent;
  color: var(--base);
  border: 2px solid var(--base);
}

.btn--outline-dark:hover {
  background: var(--base);
  color: var(--white);
}

/* Top bar */
.topbar {
  background: var(--base-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 10px 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar a {
  color: var(--white);
}

.topbar a:hover {
  color: var(--accent);
}

/* Header */
.site-header {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 100;
}

.site-header--inner {
  top: 0;
  position: relative;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.site-header.sticky {
  position: fixed;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.sticky + .page-offset,
.site-header--inner {
  /* inner pages */
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  text-transform: capitalize;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--base);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--base) center/cover no-repeat;
  margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 53, 103, 0.92) 0%, rgba(15, 53, 103, 0.55) 48%, rgba(15, 53, 103, 0.25) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  max-width: 640px;
  margin-bottom: 24px;
  text-transform: capitalize;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 600;
}

.hero__play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px;
}

/* Feature cards */
.features-row {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  margin: 0;
}

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

.about-images {
  position: relative;
}

.about-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-images .img-main {
  width: 85%;
}

.about-images .img-secondary {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 55%;
  border: 6px solid var(--white);
}

.experience-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  border-radius: var(--radius);
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}

/* Marquee */
.marquee {
  background: var(--gray);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  gap: 60px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}

.marquee__track span {
  font-family: var(--heading-font);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: rgba(15, 53, 103, 0.12);
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: var(--radius);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card a {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-size: 14px;
}

.service-card a:hover {
  color: var(--base);
}

/* CTA banner */
.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: var(--base);
  border-radius: var(--radius);
  padding: 50px;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-banner__art {
  text-align: center;
}

.cta-banner__art svg {
  max-width: 280px;
  margin: 0 auto;
}

/* Stats */
.stats-bar {
  background: var(--accent);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: var(--white);
}

.stat-item h3 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 4px;
}

.stat-item p {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  opacity: 0.95;
}

/* Pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.price-card {
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: var(--accent);
  border-width: 2px;
}

.price-card h3 {
  font-size: 24px;
}

.price-card .price {
  font-size: 48px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 700;
  margin: 16px 0;
}

.price-card .price small {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}

.price-card .btn {
  width: 100%;
  margin-top: 20px;
}

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

.gallery-4 img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.accordion-trigger::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
}

.accordion-item.open .accordion-trigger::after {
  content: "−";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 400px;
}

.accordion-panel p {
  padding-bottom: 18px;
  margin: 0;
}

/* Testimonials */
.testimonial-slider {
  position: relative;
}

.testimonial-card {
  background: var(--white);
  color: var(--text);
  padding: 36px;
  border-radius: var(--radius);
  max-width: 700px;
  margin: 30px auto 0;
  box-shadow: var(--shadow);
}

.testimonial-card .stars {
  color: #f5a623;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-card .author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 20px;
}

.slider-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
}

.benefits-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 22px;
  position: relative;
}

.blog-card .date-badge {
  position: absolute;
  top: -40px;
  left: 22px;
  background: var(--accent);
  color: var(--white);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
}

/* Page banner */
.page-banner {
  background: var(--base) center/cover no-repeat;
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 53, 103, 0.88);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: #c62828;
}

.field-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #2e7d32;
  padding: 20px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  margin-top: 20px;
}

.form-success.visible {
  display: block;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--gray);
  padding: 36px;
  border-radius: var(--radius);
}

.contact-info-card h3 {
  margin-bottom: 16px;
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card__body {
  padding: 22px;
}

.team-card span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--base-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.site-footer .logo img {
  margin-bottom: 18px;
  height: 48px;
}

.footer-subscribe {
  display: flex;
  margin-top: 16px;
  max-width: 320px;
}

.footer-subscribe input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px;
}

.footer-subscribe button {
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: 0 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 18px;
}

.footer-grid h4 {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 20px;
  margin-bottom: 22px;
}

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

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

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-legal a {
  margin-left: 16px;
}

.footer-legal a:hover {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.mb-40 {
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3,
  .blog-grid,
  .gallery-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .cta-banner,
  .pricing-layout,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-images .img-secondary {
    position: relative;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .hero .container {
    padding-top: 100px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s;
    z-index: 200;
  }

  .main-nav.open {
    right: 0;
  }

  .features-grid,
  .cards-3,
  .blog-grid,
  .gallery-4,
  .stats-grid,
  .benefits-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .features-row {
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal a {
    margin: 0 8px;
  }
}
