/* ==========================================================================
   GEC WORLD - Google Ads High-Converting Landing Page Stylesheet
   Company: Global Engineering (GEC)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Typography
   -------------------------------------------------------------------------- */
:root {
  --primary-navy: #0f2444;
  --secondary-navy: #19355e;
  --dark-navy: #0a172c;
  --accent-orange: #f36c21;
  --accent-orange-hover: #d95811;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1da851;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #2b354f;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 36, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 36, 68, 0.1);
  --shadow-lg: 0 16px 36px rgba(15, 36, 68, 0.14);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Section Subtitle Badges */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}
.section-badge.light {
  color: #38bdf8;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Custom Buttons */
.btn-orange {
  background-color: var(--accent-orange);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  border: 1px solid var(--accent-orange);
  box-shadow: 0 4px 12px rgba(243, 108, 33, 0.3);
  transition: var(--transition);
}
.btn-orange:hover, .btn-orange:focus {
  background-color: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 108, 33, 0.4);
}
.btn-orange:disabled,
.btn-orange[disabled],
.btn-orange.disabled {
  background-color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
  color: #ffffff !important;
  opacity: 0.9 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}
.btn-orange:disabled *,
.btn-orange[disabled] * {
  color: #ffffff !important;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp-icon {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  padding: 0;
  flex-shrink: 0;
}
.btn-whatsapp-icon:hover {
  background-color: var(--whatsapp-green-hover);
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.navbar-main .nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--primary-navy) !important;
  transition: var(--transition);
  padding: 0.5rem 0.85rem !important;
  border-radius: 4px;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus,
.navbar-main .nav-link.active {
  color: var(--accent-orange) !important;
  background-color: rgba(243, 108, 33, 0.06);
}

.btn-outline-light-custom {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  transition: var(--transition);
}
.btn-outline-light-custom:hover {
  background-color: #ffffff;
  color: var(--primary-navy);
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. Sticky Header
   -------------------------------------------------------------------------- */
.header-top {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-top a {
  color: rgba(255, 255, 255, 0.85);
}
.header-top a:hover {
  color: var(--accent-orange);
}

.navbar-main {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand img {
  max-height: 52px;
  width: auto;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
}
.header-phone-item i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   3. Hero Section & Carousel
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--dark-navy);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item {
  height: 100%;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 23, 44, 0.72) 0%, rgba(10, 23, 44, 0.45) 60%, rgba(10, 23, 44, 0.22) 100%);
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  padding: 4rem 1rem;
  color: #ffffff;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Hero Quote Form Card */
.hero-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.hero-form-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-control-custom, .form-select-custom {
  background-color: #f4f6f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control-custom:focus, .form-select-custom:focus {
  background-color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(243, 108, 33, 0.15);
  outline: none;
}

/* --------------------------------------------------------------------------
   4. Trust Strip / Highlights
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(15, 36, 68, 0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--primary-navy);
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Why GEC / About Section
   -------------------------------------------------------------------------- */
.why-gec-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.why-gec-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 380px;
}

.why-gec-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: var(--transition);
}
.why-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(243, 108, 33, 0.3);
  transform: translateY(-3px);
}

.why-card-icon {
  font-size: 1.6rem;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.why-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Products Section & Grid
   -------------------------------------------------------------------------- */
.products-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 36, 68, 0.2);
}

.product-img-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #edf2f7;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.08);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card-action {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.product-card:hover .product-card-action {
  color: var(--accent-orange-hover);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. Industries / Applications Section
   -------------------------------------------------------------------------- */
.industries-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.industry-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15, 36, 68, 0.88) 0%, rgba(15, 36, 68, 0.2) 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.industry-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. Manufacturing Capability (Dark Process Section)
   -------------------------------------------------------------------------- */
.manufacturing-section {
  padding: 5rem 0;
  background-color: var(--dark-navy);
  color: #ffffff;
  position: relative;
}

.process-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
  min-width: 150px;
  margin-bottom: 2rem;
}

.process-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem auto;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .process-icon-circle {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(243, 108, 33, 0.4);
}

.process-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Process connector arrows */
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -15px;
  top: 24px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   9. Quality & Reliability Section
   -------------------------------------------------------------------------- */
.quality-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.quality-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.quality-box:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 36, 68, 0.15);
}

.quality-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(15, 36, 68, 0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.quality-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.quality-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Client / Trusted Organizations Banner
   -------------------------------------------------------------------------- */
.clients-section {
  background-color: var(--secondary-navy);
  padding: 3rem 0;
  color: #ffffff;
}

.client-logo-item {
  background: #ffffff;
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.client-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.client-logo-item img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. Final Call To Action (CTA)
   -------------------------------------------------------------------------- */
.final-cta-section {
  position: relative;
  background: var(--dark-navy);
  padding: 5rem 0;
  color: #ffffff;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.final-cta-content {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer-main {
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 1.5rem 0;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  max-height: 44px;
  filter: brightness(0) invert(1);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0.75rem;
}
.footer-links a:hover {
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   13. Floating Mobile Action Bar
   -------------------------------------------------------------------------- */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1035;
  padding: 0.6rem 1rem;
}

.floating-mobile-bar .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.6rem 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   14. Modal & Toast Notifications
   -------------------------------------------------------------------------- */
.modal-content-custom {
  border-radius: 12px;
  border: none;
  overflow: hidden;
}

.modal-header-custom {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
}

.modal-header-custom .modal-title {
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.modal-header-custom .btn-close {
  filter: invert(1);
}

/* Bottom Static Form Card */
.bottom-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  text-align: left;
}

.bottom-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.3rem;
}

.bottom-form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .navbar-main {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1040 !important;
    box-shadow: 0 4px 16px rgba(15, 36, 68, 0.12) !important;
  }
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    margin-top: 64px;
  }
  .hero-content-wrapper {
    padding: 2.5rem 1.25rem !important;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-form-card {
    margin-top: 2rem;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .process-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .header-top {
    font-size: 0.78rem;
  }
  .header-contacts {
    display: none;
  }
  .hero-content-wrapper {
    padding: 2rem 1.25rem !important;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-form-card {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .floating-mobile-bar {
    display: flex;
    gap: 0.5rem;
  }
  body {
    padding-bottom: 60px; /* Space for mobile floating bar */
  }
}
