/* ========================================
   SECTION 1 - HERO SECTION
   ======================================== */
.hero_section {
  width: 100%;
  height: 937px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  position: relative;
  display: flex;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero_section_container {
  width: var(--Global-Width);
  margin: auto;
  position: relative;
}

.hero_section_container .start {
  font-size: var(--font-body);
  font-weight: 700;
  color: #1C1C1C;
  font-family: var(--Neue-Montreal-Bold);
  text-transform: uppercase;
  letter-spacing: 5px;
}

.hero_section_container h1 {
  font-family: var(--Red-Hat-Display);
  font-weight: 500;
  font-size: var(--font-h1);
  color: #4C2A4F;
  line-height: 1em;
}

.hero_section_container span {
  font-family: var(--Red-Hat-Display);
  font-weight: 400;
  font-size: var(--font-h2);
  color: #4C2A4F;
}

.hero_section_container p {
  font-family: var(--Neue-Montreal-Regular);
  font-weight: 400;
  font-size: var(--font-body);
  color: #444444;
  line-height: 1.4em;
  width: 58%;
  padding-top: 3%;
}

.text_wrapper p {
  width: auto !important;
}

.hero_btns {
  padding-top: 3%;
  display: flex;
  gap: 20px;
}

.hero_btns .let_connect {
  display: contents;
  width: 100%;
  gap: 20px;
}

.hero_btns a .let_connect_content {
  background-color: #4C2A4F;
  overflow: hidden;
  padding: 1% 2%;
  border-radius: 50px;
  align-self: center;
}

.let_connect_content p {
  color: #fff;
  font-size: var(--font-body);
  font-weight: 400;
  font-family: var(--Red-Hat-Display);
  display: block;
  width: auto;
}

.hero_btns a .plane_img {
  background-color: #4C2A4F;
  padding: 1.5%;
  border-radius: 50px;
  display: flex;
}

.hero_btns a .plane_img img {
  width: 100%;
  height: auto;
}

.let_connect:hover .let_connect_content p {
  animation: rollup 0.6s ease forwards;
}

.let_connect:hover .plane_img img {
  animation: rollright 0.6s ease forwards;
}

/* ========================================
   ABOUT HERO SECTIONS (CONSOLIDATED)
   ======================================== */
.about-hero,
.about-hero-reverse {
  padding: 5rem 1.5rem;
  background-color: #ffffff;
  font-family: var(--Red-Hat-Display);
  font-weight: 400;
}

.about-hero .container,
.about-hero-reverse .container {
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

.about-hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.about-hero-reverse .content-wrapper {
  flex-direction: column-reverse;
}
	
	

@media (min-width: 1024px) {
  .about-hero .content-wrapper {
    flex-direction: row;
    gap: 5rem;
  }
  
  .about-hero-reverse .content-wrapper {
    flex-direction: row-reverse;
    gap: 5rem;
  }
}

.about-hero .content,
.about-hero-reverse .content {
  flex: 1;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .about-hero .content,
  .about-hero-reverse .content {
    max-width: 50%;
  }
}

.about-hero h2,
.about-hero-reverse h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

@media (min-width: 1024px) {
  .about-hero h2,
  .about-hero-reverse h2 {
    font-size: 3.125rem;
  }
}

.about-hero p,
.about-hero-reverse p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 1rem 0;
}

.about-hero .cta-button,
.about-hero-reverse .cta-button {
  background-color: #2563eb;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.about-hero .cta-button:hover,
.about-hero-reverse .cta-button:hover {
  background-color: #1d4ed8;
}

.about-hero .image-panel,
.about-hero-reverse .image-panel {
  flex: 1;
  max-width: 100%;
  height: 24rem;
}

@media (min-width: 1024px) {
  .about-hero .image-panel,
  .about-hero-reverse .image-panel {
    height: 31.25rem;
  }
}

.about-hero .hero-image,
.about-hero-reverse .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   VERTICALS SECTION
   ======================================== */
.verticals-section {
  padding: 4rem 1.5rem;
  background: #f8fafc;
}

.verticals-section .container {
  margin: 0 auto;
  padding: 0 10%;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

/* Modified to Grid Layout */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This centers the last row items */
    gap: 20px;
    width: 90%;
    margin: auto;
    padding-bottom: 4%;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    padding: 5px;
    /* This defines the "Grid Cell" width */
    flex: 0 1 260px; 
}

/* Scrollbar hide is no longer necessary for grid, but kept if you use it elsewhere */
::-webkit-scrollbar {
    display: none;
}
.client-logo-content{
	margin-bottom: 20px;
}
.client-logo-content h2 {
    font-family: var(--Red-Hat-Display);
    text-align: center;
    font-size: 3.125rem;
    line-height: 1.2;
    font-weight: 400;
    color: #111827;
}


.logo-link:hover {
    transform: translateY(-4px);
    color: #2563eb;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 100%; /* Safety for grid scaling */
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-name {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
    font-family: var(--Neue-Montreal-Regular);
    text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* (Kept your existing hero styles) */
    .about-hero, .about-hero-reverse { padding: 3rem 1rem; }
    .about-hero .container, .about-hero-reverse .container { padding: 0rem; }
    .about-hero h2, .about-hero-reverse h2 { font-size: 2rem; }
    .about-hero .image-panel, .about-hero-reverse .image-panel { height: 20rem; }
    .hero_section { height: 400px; }
    
    /* Grid adjustment for tablets: 3 columns */
    .logo-link {
        flex: 0 1 30%; /* Roughly 3 columns, centered if 2 remain */
    }
}

@media (max-width: 640px) {
    /* Changed from flex-direction to grid columns */
    .logo-link {
        flex: 0 1 45%; /* 2 columns, centered if 1 remains */
    }
    
    .logo-img {
        height: 80px; /* Slightly smaller for mobile grid */
    }
    .client-logo-content h2 {
        font-size: 2rem;
    }
    .hero_section {
        height: 400px;
    }
}


@media (max-width: 480px) {
  .about-hero p,
  .about-hero-reverse p {
    font-size: 1.1rem;
  }
  
  .about-hero .cta-button,
  .about-hero-reverse .cta-button {
    width: 100%;
    text-align: center;
  }
	.hero_section{
		height: 400px;
	}
  .client-logos {
       grid-template-columns: 1fr; /* 1 column on very small screens */
   }
}
	/* FIX ALIGNMENT FOR REVERSE LAYOUT */
.about-hero-reverse .content-wrapper {
  align-items: stretch !important; /* Stretch both sides equally */
}

.about-hero-reverse .content,
.about-hero-reverse .image-panel {
  align-self: stretch; /* Ensure both children stretch */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical center content */
}

.about-hero-reverse .content {
  justify-content: flex-start; /* Content aligns top */
  padding-right: 2rem; /* Balance image padding */
}

@media (max-width: 1024px) {
  .about-hero-reverse .content-wrapper {
    align-items: center !important;
  }
  
  .about-hero-reverse .content {
    padding-right: 0;
  }
}
/* FIXED ALIGNMENT FOR REVERSE LAYOUT - Replace the bottom section */
.about-hero-reverse .content-wrapper {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-hero-reverse .content-wrapper {
    flex-direction: row;
    align-items: stretch; /* KEY FIX: Stretch alignment */
    gap: 5rem;
  }
}

.about-hero-reverse .content,
.about-hero-reverse .image-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-reverse .content {
  justify-content: flex-start;
  padding-right: 1rem;
}

