/* styles.css */

/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  
  color: #222;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradients and colors */
.bg-hero {
  background: linear-gradient(90deg, #1a365d 0%, #2c5282 100%);
  color: #fff;
}

.bg-orange-gradient {
  background: linear-gradient(90deg, #ffb300 0%, #ff6f00 100%);
  color: #fff;
}

.bg-yellow-gradient {
  background: linear-gradient(90deg, #ffe082 0%, #ffd54f 100%);
}

.bg-primary {
  background: #1a365d;
  color: #fff;
}

.bg-footer {
  background: linear-gradient(90deg, #1a365d 0%, #ff6f00 100%);
  color: #fff;
}

/* Header */
header {
  background: rgba(255,255,255,0.95);
  border-bottom: 2px solid #ffe082;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(26,54,93,0.04);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  background: none;
}

.logo {
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: #1a365d;
  font-family: 'Montserrat', Arial, sans-serif;
}

.logo img {
  height: 68px !important;
  max-height: 80px;
}

nav {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  margin-left: 2.5rem;
}

nav a {
  font-size: 0.75rem;
  padding: 0.4em 0em;
  border-radius: 999px;
  transition: color 0.2s;
  color: #1a365d;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  background: none;
  box-shadow: none;
}

nav a:hover, nav a:focus {
  background: none;
  color: #ffb300;
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 800px) {
  .logo img {
    height: 44px !important;
  }
  nav {
    gap: 1rem;
    margin-left: 1rem;
    font-size: 0.75rem;
  }
  nav a {
    font-size: 0.75rem;
    padding: 0.3em 0.7em;
  }
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-accent {
  background: #ffb300;
  color: #1a365d;
}

.btn-accent:hover {
  background: #ff6f00;
  color: #fff;
}

.btn-gradient, .aboutus-btn, .team-btn, .contact-send-btn {
  background: linear-gradient(90deg, #ffc700 0%, #E68E0A 50%, #FF6300 100%) !important;
  color: #222;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(26,54,93,0.10);
  display: inline-block;
  cursor: pointer;
}
.btn-gradient:hover, .aboutus-btn:hover, .team-btn:hover, .contact-send-btn:hover {
  background: linear-gradient(90deg, #FF6300 0%, #E68E0A 50%, #ffc700 100%) !important;
  color: #222;
  box-shadow: 0 6px 24px rgba(26,54,93,0.18);
  transform: scale(1.06);
}

.btn-outline {
  background: transparent;
  border: 2px solid #ffb300;
  color: #ffb300;
}

.btn-outline:hover {
  background: #ffb300;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding-top: 120px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-btns {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* Remove old hero-bg image style */
.hero-bg { display: none !important; }

/* Section spacing */
section {
  padding: 4rem 0;
}

.section-title, .team-title, .territories-title, .aboutus-title, .contact-title, .partners-title, .footer-title {
  background: linear-gradient(90deg, #ffc700 0%, #ffb216 50%, #ff7a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
  text-align: center;
}

/* Territories */
.territories-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 800px) {
  .territories-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

.territory-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.territory-item:hover {
  box-shadow: 0 8px 32px rgba(26,54,93,0.18);
  z-index: 2;
}
.territory-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s, transform 0.4s cubic-bezier(.25,.8,.25,1);
}
.territory-item:hover img {
  filter: brightness(0.7);
  transform: scale(1.08);
}
.territory-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.38) 60%, rgba(0,0,0,0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.territory-item:hover::after {
  opacity: 1;
}
.territory-label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.2rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 2;
  opacity: 0.85;
  transform: translateY(18px);
  transition: opacity 0.3s, transform 0.3s;
}
.territory-item:hover .territory-label {
  opacity: 1;
  transform: translateY(0);
}

.territory-name {
  font-weight: 600;
  color: #1a365d;
  font-size: 1.1rem;
}

/* Experts */
.experts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .experts-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #ffe082;
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* About */
.about {
  background: #1a365d;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(26,54,93,0.10);
}

/* Blog */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(26,54,93,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-title {
  font-weight: bold;
  color: #1a365d;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-link {
  color: #ffb300;
  font-weight: 600;
  margin-top: 1rem;
  text-align: left;
}

.blog-link:hover {
  color: #ff6f00;
}

/* Partners */
.partners-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .partners-list {
    grid-template-columns: repeat(6, 1fr);
  }
}

.partner-logo {
  height: 70px;
  width: auto;
  /* filter: brightness(0) invert(1); */
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
  background: none;
  box-shadow: none;
  border: 1px dashed #ffe082; /* TEMP: for debugging, remove later */
}

.partner-logo:hover {
  opacity: 0.8;
  transform: scale(1.06);
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-section p {
  margin-bottom: 2rem;
}

/* Footer Styles V2 - Matching Screenshot */
.footer-v2 {
  background-color: #828282; /* Dark grey background */
  color: #ffffff; /* White text */
  padding: 2.5rem 1.5rem 1.5rem 1.5rem; /* Padding around the footer */
  font-family: 'Montserrat', Arial, sans-serif;
}

.footer-v2 .footer-main {
  display: flex;
  flex-direction: column; /* Stack columns by default on mobile */
  gap: 2.5rem; /* Space between columns on mobile */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.footer-col {
  flex: 1 1 100%; /* Columns take full width on mobile */
  min-width: 180px; /* Minimum width for columns */
}

.footer-col.footer-logo-col {
  text-align: center; /* Center logo on mobile */
}

.footer-logo-img {
  width: 100%;
  max-width: 200px; /* Adjust logo size */
  display: block;
  margin: 0 auto; /* Center logo on mobile */
}

.footer-title {
  background: linear-gradient(90deg, #ffc700 0%, #ffb216 50%, #ff7a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Gold color for titles */
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center; /* Center title on mobile */
}

/* Quick Links and Contact Lists */
.footer-links-list, .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li,
.footer-contact-list li {
  margin-bottom: 0.8rem; /* Space between list items */
  font-size: 1rem;
  color: #ffffff; /* White text for list items */
  display: flex;
  align-items: flex-start; /* Align text with icon */
  justify-content: center; /* Center list items on mobile */
  text-align: center; /* Center text on mobile */
}

.footer-contact-list li svg {
  margin-right: 10px; /* Space between icon and text */
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.footer-links-list a,
.footer-contact-list a {
  color: #ffffff; /* White link color */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover,
.footer-contact-list a:hover {
  color: #ffc107; /* Gold hover color */
}

/* Connect Section */
.footer-social-icons {
  display: flex;
  gap: 1rem; /* Space between social icons */
  justify-content: center; /* Center icons on mobile */
  align-items: center;
}

.footer-social-icons img {
  width: 32px; /* Size of social icons */
  height: 32px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-social-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Bottom Bar and Copyright */
.footer-bottom-bar {
  width: 100%;
  height: 1px;
  background: #fff;
  opacity: 0.15;
  margin: 2rem auto 1.5rem auto; /* Space above and below bar */
}

.footer-copyright {
  text-align: center;
  color: #e0e0e0; /* Lighter grey for copyright */
  font-size: 0.9rem;
}

/* Desktop Layout */
@media (min-width: 900px) {
  .footer-v2 .footer-main {
    flex-direction: row; /* Arrange columns horizontally on desktop */
    justify-content: space-between; /* Space out columns */
    gap: 4rem; /* Space between columns on desktop */
    text-align: left;
  }

  .footer-col {
    flex: 1;
    flex-basis: auto; /* Allow columns to size based on content initially */
    min-width: 150px; /* Adjust minimum width for desktop */
  }

  .footer-col.footer-logo-col {
      flex: 0 0 220px; /* Fixed width for logo column */
      text-align: left;
  }

  .footer-logo-img {
      margin: 0; /* Remove auto margin on desktop */
  }

  .footer-title {
      text-align: left; /* Align title left on desktop */
  }

  .footer-links-list li,
  .footer-contact-list li {
    justify-content: flex-start; /* Align list items left on desktop */
    text-align: left;
  }

  .footer-social-icons {
    justify-content: flex-start; /* Align icons left on desktop */
  }

  .footer-col.footer-quicklinks-col {
      /* Specific flex basis if needed, otherwise default flex: 1 is fine */
      flex-basis: 180px; /* Adjust quick links column width */
  }

  .footer-col.footer-contact-col {
      /* Specific flex basis if needed */
      flex-basis: 280px; /* Adjust contact column width */
  }

  .footer-col.footer-connect-col {
      /* Specific flex basis if needed */
      flex-basis: 120px; /* Adjust connect column width */
  }

}
/* Remove old footer styles */
.footer-v3,
.footer-v3 .container,
.footer-col-left,
.footer-logo-v3,
.footer-col-right,
.footer-contact,
.footer-connect,
.footer-col-right h4,
.footer-col-right h5,
.footer-col-right ul,
.footer-col-right ul li,
.footer-col-right ul li i,
.footer-col-right ul li a
 { display: none !important; }

/* Sticky navbar with consistent light background */
.navbar-overlay {
  background: transparent;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.3s, position 0.3s;
}
.navbar-overlay.is-sticky {
  position: fixed;
  background: #282120;
  box-shadow: 0 2px 8px rgba(26,54,93,0.10);
  backdrop-filter: blur(4px);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* Hero video background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1 !important;
  filter: none !important;
  background: none !important;
}

#hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* Above video (z-index 1) and potentially content (z-index 2) */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

#hero-play-btn svg {
  display: block;
}

.results-hero {
  padding: 4rem 0 2.5rem 0;
  background: #fff;
  text-align: center;
}

.results-intro {
  font-size: 2rem;
  color: #222;
  font-weight: 400;
  margin-bottom: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.results-title {
  font-size: 5vw;
  font-weight: 700;
  color: #222;
  margin-bottom: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.02em;
}

.results-desc {
  font-size: 1.7rem;
  color: #222;
  font-weight: 400;
  margin-bottom: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 800px) {
  .results-title {
    font-size: 2.2rem;
  }
  .results-desc {
    font-size: 1.1rem;
  }
  .results-intro {
    font-size: 1.2rem;
  }
}

.territories-section {
  background: #fff;
  padding: 0 0 0 0;
}
.territories-header {
  text-align: center;
  padding-top: 2.5rem;
}
.territories-title {
  color: #ec7941;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.territories-divider {
  width: 60%;
  height: 2px;
  background: #444;
  margin: 0.5rem auto 2rem auto;
  opacity: 0.3;
}
.territories-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
}

.aboutus-section {
  background: #292322;
  color: #fff;
  padding: 3.5rem 0 3.5rem 0;
}
.aboutus-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 3.5rem;
}
.aboutus-logo img {
  width: 260px;
  max-width: 90vw;
  display: block;
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
}

.aboutus-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.aboutus-title {
  background: linear-gradient(90deg, #ffc700 0%, #ffb216 50%, #ff7a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.aboutus-divider {
  width: 60px;
  height: 2px;
  background: #fff;
  margin: 0.5rem auto 1.5rem auto;
  opacity: 0.3;
  transition: width 0.4s cubic-bezier(.25,.8,.25,1);
}
.aboutus-section:hover .aboutus-divider {
  width: 120px;
}
.aboutus-desc {
  color: #fff;
  font-size: 1.15rem !important;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  font-family: 'Montserrat', Arial, sans-serif;
}
.aboutus-btn {
  background: linear-gradient(90deg, #e7e24d 0%, #ec7941 100%);
  color: #222;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.8em 2.2em;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(26,54,93,0.10);
  display: inline-block;
  margin: 0 auto;
}
.aboutus-btn:hover {
  background: linear-gradient(90deg, #ffb300 0%, #ffe082 100%);
  color: #222;
  box-shadow: 0 6px 24px rgba(26,54,93,0.18);
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .container {
    padding: 0 0.7rem;
  }
  .header-content {
    flex-direction: column;
    height: auto;
    gap: 1rem;
    padding: 1rem 0;
  }
  nav {
    gap: 1rem;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .header-actions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .hero {
    min-height: 60vh;
    padding: 2rem 0 2rem 0;
  }
  .hero-content {
    padding-top: 60px;
  }
  .territories-grid {
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
  }
  .territory-item {
    height: 180px;
    flex: none;
    width: 100%;
    overflow: hidden;
  }
  .territory-item img {
    max-width: 100%;
    height: auto;
  }
  .aboutus-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
  .aboutus-logo img {
    width: 120px;
    margin: 0 auto;
  }
  .aboutus-text {
    align-items: center;
  }
  .partners-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .partners-title {
    margin-right: 0;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
  }
  .partners-logos {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .partner-logo {
    height: 44px;
  }
  .contact-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-globe-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .contact-form-side {
    min-width: 0;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  .footer-col {
    min-width: 0;
  }
  .footer-logo-img {
    width: 100px;
  }
}
@media (max-width: 600px) {
  .hero h1, .results-title {
    font-size: 1.5rem;
  }
  .section-title, .team-title {
    font-size: 1.2rem;
  }
  .team-btn, .btn, .contact-send-btn {
    font-size: 1rem;
    padding: 0.7em 1.2em;
  }
  .territory-label {
    font-size: 1rem;
    left: 0.7rem;
    bottom: 0.7rem;
  }
  .aboutus-logo img {
    width: 80px;
  }
  .partners-logos {
    gap: 0.7rem;
  }
  .partner-logo {
    height: 32px;
  }
  .footer-logo-img {
    width: 100px;
  }
  .footer-title {
    font-size: 1rem;
  }
  .footer-company {
    font-size: 1rem;
  }
  .footer-tagline {
    font-size: 0.85rem;
  }
  .footer-links a, .footer-contact-list, .footer-contact-list a {
    font-size: 0.95rem;
  }
  .footer-linkedin img, .footer-instagram img, .footer-facebook img {
    width: 28px !important;
    height: 28px !important;
  }
}