/* =========================================
   Jaatek Global — Custom Styles
   Brand colors:
     Primary red:   #f3525a
     Dark navy:     #20304f
     Navy hover:    #2a4068
     Darkest navy:  #162440
     Body gray:     #6e6e6e
     Light bg:      #f5f5f5
   ========================================= */

:root {
  --red:       #f3525a;
  --navy:      #20304f;
  --navy-dark: #162440;
  --gray-body: #6e6e6e;
  --gray-bg:   #f5f5f5;
  --white:     #ffffff;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Lato', sans-serif;
  color: var(--gray-body);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Lato', sans-serif;
  color: var(--navy);
  font-weight: 700;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--navy); }

/* ---- Utilities ---- */
.text-red   { color: var(--red) !important; }
.text-navy  { color: var(--navy) !important; }
.bg-navy    { background-color: var(--navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-light-gray { background-color: var(--gray-bg) !important; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title-white {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.divider-red {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 1.5rem;
}

.divider-red-left {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.5rem;
}

/* ---- Buttons ---- */
.btn-jaatek-primary {
  background-color: var(--red);
  color: #fff;
  border: none;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.btn-jaatek-primary:hover {
  background-color: #d9434b;
  color: #fff;
}

.btn-jaatek-outline {
  background-color: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-jaatek-outline:hover {
  background-color: var(--red);
  color: #fff;
}

.btn-jaatek-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-jaatek-outline-white:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ---- Navbar ---- */
.navbar-jaatek {
  background-color: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.navbar-jaatek .navbar-brand img {
  height: 44px;
}

.navbar-jaatek .navbar-nav .nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.25rem 1rem;
  transition: color 0.2s ease;
}
.navbar-jaatek .navbar-nav .nav-link:hover,
.navbar-jaatek .navbar-nav .nav-link.active {
  color: var(--red);
}

.navbar-top-bar {
  background-color: var(--navy-dark);
  font-size: 0.78rem;
  padding: 0.4rem 0;
}
.navbar-top-bar a {
  color: rgba(255,255,255,0.75);
}
.navbar-top-bar a:hover { color: #fff; }
.navbar-top-bar .phone-num {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* ---- Hero ---- */
.hero-section {
  background-image: url('../images/home-banner-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,36,64,0.88) 0%, rgba(32,48,79,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
}

/* ---- Stats ---- */
.stats-section {
  background-color: var(--red);
  padding: 3.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.25);
  align-self: stretch;
  margin: 0.5rem 0;
}

/* ---- Services ---- */
.services-section {
  padding: 5rem 0;
  background-color: #fff;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-card .svc-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(243,82,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card .svc-icon i {
  color: var(--red);
  font-size: 1.25rem;
}

.service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.service-card ul li {
  font-size: 0.84rem;
  color: var(--gray-body);
  margin-bottom: 0.35rem;
}

/* ---- About ---- */
.about-section {
  padding: 5rem 0;
  background-color: var(--gray-bg);
}

.about-lead {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.75;
}

.about-pledge {
  font-size: 0.92rem;
  color: var(--gray-body);
  line-height: 1.8;
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}

/* ---- Testimonials ---- */
.testimonials-section {
  padding: 5rem 0;
  background: var(--navy);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/testimonials-header-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  position: relative;
}

.testimonial-card .quote-icon {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.testimonial-card .quote-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}

.testimonial-card .author-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.testimonial-card .author-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  margin-top: 0.75rem;
}

/* Testimonials toggle */
.testimonials-extra { display: none; }
.testimonials-extra.show { display: flex; }

/* ---- Partners ---- */
.partners-section {
  padding: 3.5rem 0;
  background: var(--gray-bg);
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
}

.partner-logo-wrap img {
  max-height: 40px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-logo-wrap img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---- Contact ---- */
.contact-section {
  padding: 5rem 0;
  background: #fff;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .ci-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(243,82,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .ci-icon i {
  color: var(--red);
  font-size: 1rem;
}

.contact-info-item .ci-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.contact-info-item .ci-text span,
.contact-info-item .ci-text a {
  font-size: 0.9rem;
  color: var(--gray-body);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  font-size: 0.88rem;
  padding: 0.65rem 0.9rem;
  color: #444;
  box-shadow: none;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(243,82,90,0.12);
}

.contact-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
}

.site-footer h6 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.83rem;
  transition: color 0.2s;
}

.site-footer ul li a:hover {
  color: var(--red);
}

.footer-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 1.5rem 0 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ---- Navbar toggler ---- */
.navbar-toggler {
  border-color: rgba(255,255,255,0.2);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Section spacing ---- */
section { scroll-margin-top: 64px; }
