/* ================= GLOBAL VARIABLES & BASICS ================= */

:root {
  --primary-blue: #0B3C5D;
  --primary-teal: #008C95;
  --accent-orange: #F28C28;
  --light-bg: #F4F9FB;
  --dark-bg: #071A28;
}

/* Fix for horizontal scrolling and white space on mobile */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100vw;
  margin: 0;
  padding: 0;
}

body {
  /* Padding top is crucial so content isn't hidden behind the fixed header */
  padding-top: 70px; 
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--light-bg);
  line-height: 1.6;
  color: #333;
}

.section-padding {
  padding: 80px 0;
}

/* Fix hairline gaps between sections */
.hero-section, .bg-primary-gradient {
  margin-top: -1px; 
}

.text-teal { color: var(--primary-teal); }
.text-accent { color: var(--accent-orange); }
.text-primary-custom { color: var(--primary-blue); }
.bg-light { background-color: #E8F6F8 !important; }
.bg-primary-gradient { background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal)); }
.border-accent { border-color: var(--accent-orange) !important; }

/* ================= HEADER / NAVBAR ================= */

.custom-navbar {
  background: linear-gradient(90deg, #0B3C5D, #008C95);
  padding: 10px 0; /* Keep it relatively slim to match design */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-container {
  max-width: 1250px; /* Constrain width as requested */
}

/* Logo Box styling to match your design */
.logo-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  height: 45px;
  width: auto;
  display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
}

.brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 2px;
}

.brand-tagline {
  color: var(--accent-orange);
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-top: 2px;
}

.navbar-logo {
  height: 90px;  /* adjust if needed */
  width: auto;
}

/* Nav Links */
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 15px;
  margin: 0 8px;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

/* Subtle underline effect for active/hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Round Contact Button in Header */
.contact-btn {
  background-color: rgba(255,255,255,0.15);
  color: #fff !important;
  border-radius: 30px;
  padding: 8px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ================= HERO SECTION ================= */

.hero-section {
  min-height: 90vh; /* Takes up most of the screen, but not full */
  /* If you have a background image, use this format:
     background: linear-gradient(135deg, rgba(11,60,93,0.9), rgba(0,140,149,0.9)), url('../img/hero-bg.jpg') center/cover;
  */
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
}

/* ================= BUTTONS ================= */

.btn-accent {
  background: linear-gradient(90deg, #F28C28, #FF9F1C);
  color: #fff;
  border: none;
  border-radius: 30px; /* Pill shape */
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(242, 140, 40, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 140, 40, 0.4);
  color: #fff;
}

.btn-outline-light {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
}

/* ================= SECTION TITLES ================= */

.section-title {
  font-weight: 800;
  color: var(--primary-blue);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title.text-white {
    color: #fff;
}

/* Teal underline for section titles */
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-teal);
  border-radius: 2px;
}

/* ================= CARDS & UI ELEMENTS ================= */

.custom-card {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: rgba(0,140,149,0.2);
}

.result-box {
    transition: transform 0.3s ease;
}
.result-box:hover {
    transform: scale(1.02);
}

.industry-badge {
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    cursor: default;
}

.industry-badge:hover {
    background-color: var(--primary-teal) !important;
    color: white;
    border-color: var(--primary-teal) !important;
}

/* ================= FOOTER ================= */

.footer-section {
  /* Using the dark navy base with a hint of teal */
  background: linear-gradient(135deg, var(--dark-bg), #0a263a);
  color: #ffffff;
  padding: 70px 0 20px 0;
  position: relative;
  border-top: 4px solid var(--primary-teal);
}

.footer-heading {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 1px;
}

/* Footer Tagline Formatting */
.footer-section .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
}

.footer-section .brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 24px; 
  letter-spacing: 1px; 
  line-height: 1;
  margin-bottom: 2px;
}

.footer-section .brand-tagline {
  color: var(--accent-orange);
  font-size: 11px; 
  letter-spacing: 1.5px; 
  line-height: 1;
  margin-top: 2px;
}

/* Footer Links */
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 15px;
}
.footer-links a:hover, .hover-text-teal:hover {
  color: var(--primary-teal) !important;
}

/* Footer Contact Info */
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-teal);
  transform: translateY(-3px);
}

.social-icons a.whatsapp-icon:hover {
    background: #25D366; /* Specific WhatsApp brand color */
}

/* Footer Form */
.footer-form input,
.footer-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 6px;
}

.footer-form input:focus,
.footer-form textarea:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-teal);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 140, 149, 0.25);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ================= MOBILE RESPONSIVE TWEAKS ================= */
@media (max-width: 768px) {
  .navbar-logo {
    height: 60px;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
      background: var(--primary-blue);
      padding: 15px;
      border-radius: 8px;
      margin-top: 10px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  
  .navbar-nav .nav-link::after {
      display: none; /* remove underline effect on mobile */
  }
  
  .contact-btn {
      display: inline-block;
      margin-top: 10px;
  }
}

@media (max-width: 768px) {
  /* Updated padding from 80px to 60px to fix white gap below header */
  body { padding-top: 60px; } 
  
  .logo-box img { height: 35px; }
  
  .brand-name { font-size: 20px; }
  .brand-tagline { font-size: 9px; }
  
  .hero-section h1 { font-size: 32px; }
  
  .section-padding { padding: 50px 0; }
  
  .footer-section { padding-top: 50px; }
}