/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #1f2937;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #0f2d5e;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: #ffffff;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: #f59e0b;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  gap: 4px;
}

.lang-toggle button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 2px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s;
  font-family: 'Open Sans', sans-serif;
}

.lang-toggle button.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0f2d5e;
  font-weight: 700;
}

.lang-toggle button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-toggle button.active:hover {
  background: #d97706;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

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

.navbar-logo img {
  height: 55px;
  width: auto;
}

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f2d5e;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a56db;
  transition: width 0.3s;
}

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

.nav-links a:hover {
  color: #1a56db;
}

.btn-cta {
  display: inline-block;
  background: #f59e0b;
  color: #0f2d5e;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-cta:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 6px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #0f2d5e;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1400&q=80') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 45, 94, 0.82) 0%, rgba(26, 86, 219, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: #ffffff;
}

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

.section-header h2 {
  font-size: 2.2rem;
  color: #0f2d5e;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.section-header .underline {
  width: 60px;
  height: 4px;
  background: #f59e0b;
  margin: 16px auto 0;
  border-radius: 2px;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #1a56db;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #1a56db;
  transition: all 0.3s;
}

.service-card:hover .icon {
  background: #1a56db;
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.15rem;
  color: #0f2d5e;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: #f9fafb;
}

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

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.about-text h2 {
  font-size: 2rem;
  color: #0f2d5e;
  margin-bottom: 16px;
}

.about-text > p {
  color: #6b7280;
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature i {
  color: #1a56db;
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 0.95rem;
  color: #0f2d5e;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: #ffffff;
}

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

.testimonial-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-card .quote {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .quote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: #1a56db;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1a56db;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f2d5e;
}

.testimonial-author .role {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* ===== QUOTE FORM ===== */
.quote-form-section {
  padding: 80px 0;
  background: #e8f0fe;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f2d5e;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  color: #1f2937;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 6px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.95rem;
}

.radio-group input[type="radio"] {
  width: auto;
  accent-color: #1a56db;
}

.conditional-fields {
  display: none;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 12px;
}

.conditional-fields.visible {
  display: block;
}

.conditional-fields .form-group:last-child {
  margin-bottom: 0;
}

.form-submit {
  margin-top: 28px;
}

.form-submit .btn-cta {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}

.thank-you-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.thank-you-message.visible {
  display: block;
}

.thank-you-message i {
  font-size: 3.5rem;
  color: #10b981;
  margin-bottom: 16px;
}

.thank-you-message h3 {
  font-size: 1.6rem;
  color: #0f2d5e;
  margin-bottom: 12px;
}

.thank-you-message p {
  color: #6b7280;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f2d5e;
  color: #ffffff;
  padding: 50px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.footer-contact h4,
.footer-hours h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #f59e0b;
}

.footer-contact p,
.footer-hours p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== FLOATING CALL BUTTON ===== */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f59e0b;
  color: #0f2d5e;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.3s;
  animation: pulse-shadow 2s infinite;
}

.floating-call:hover {
  background: #d97706;
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.floating-call i {
  font-size: 1.2rem;
}

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.7);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .about-image {
    order: -1;
  }

  .about-image img {
    min-height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Form */
  .form-wrapper {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Top bar */
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Floating call — larger on mobile */
  .floating-call {
    bottom: 16px;
    right: 16px;
    padding: 16px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 280px;
  }
}
