/* Commco-Home-2 Custom Styles */
:root {
  --commco-red: #ed1c24;
  --commco-blue: #42b7e7;
  --commco-bg-light: #f5f8fa;
  --commco-dark: #000;
  --commco-gray: #93959a;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #000;
}

.commco-header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8vw 0 310px;
  position: relative;
  z-index: 10;
}
.commco-header1__logo img {
  height: 42px;
}
.commco-header1__nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
.commco-header1__nav a {
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  margin-left: 30px;
}
.commco-header1__contact-btn {
  background: var(--commco-red);
  color: #fff !important;
  border-radius: 25px;
  padding: 12px 32px;
  font-weight: 600;
  margin-left: 30px;
  transition: background 0.2s;
}
.commco-header1__contact-btn:hover {
  background: #b80d18;
}

/* Hamburger Menu Styles */
.commco-header1__menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}
.commco-header1__hamburger {
  width: 25px;
  height: 3px;
  background: #000;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.commco-header1__menu-toggle.active .commco-header1__hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.commco-header1__menu-toggle.active .commco-header1__hamburger:nth-child(2) {
  opacity: 0;
}
.commco-header1__menu-toggle.active .commco-header1__hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.commco-hero1 {
  position: relative;
  width: 100%;
  height: 667px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.commco-hero1__bg-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(62.29% 62.29% at 50% 100%, #ED1C24 0%, #FFF 100%);;
  z-index: 1;
}
.commco-hero1__video {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 2;
  mix-blend-mode: exclusion;
}
.commco-hero1__overlay-img {
  position: absolute;
  left: -20%;
  top: 8%;
  width: 120vw;
  height: 80%;
  background: url('../img/hero-overlay.png') no-repeat center/cover;
  opacity: 1;
  z-index: 3;
}
.commco-hero1__headline {
  position: relative;
  z-index: 4;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: #000;
  top: 0;
}

.commco-vision-mission1 {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  max-width: 1700px;
  margin: 120px auto 0 auto;
  padding: 0 8vw;
}
.commco-vision1, .commco-mission1 {
  width: 640px;
}
.commco-vision1 h2, .commco-mission1 h2 {
  font-size: 2rem;
  color: var(--commco-red);
  margin-bottom: 10px;
  margin-top: 20px;
}
.commco-vision1 p, .commco-mission1 p {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.6;
}

.commco-who1 {
  margin: 15% 0 0 20%;
}
.commco-who1__title {
  font-size: 2.5rem;
  font-weight: 700;
  /* border-bottom: 4px solid var(--commco-red); */
  display: inline-block;
  padding-bottom: 10px;
}

.commco-brands1 {
  margin: 120px auto 0 auto;
  text-align: center;
}
.commco-brands1__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.commco-brands1__logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.commco-brands1__logos img {
  max-width: 120px;
  height: auto;
}

/* Responsive: Max 2 logos per row on smaller screens */
@media (max-width: 768px) {
  .commco-brands1__logos {
    gap: 30px;
    max-width: 350px;
  }
  
  .commco-brands1__logos img {
    flex: 0 0 calc(50% - 15px);
    max-width: 100px;
  }
  
  /* Center the last item if odd number */
  .commco-brands1__logos img:nth-child(odd):last-child {
    flex: 0 0 calc(50% - 15px);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .commco-brands1__logos {
    gap: 20px;
    max-width: 280px;
  }
  
  .commco-brands1__logos img {
    max-width: 80px;
  }
}
.commco-brands1__logo {
  width: 168px;
  height: 35px;
  background: #e0e0e0;
  border-radius: 8px;
  display: inline-block;
}

.commco-team1 {
  background: var(--commco-bg-light);
  margin-top: 120px;
  padding: 60px 0;
}
.commco-team1__title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}
/* Our Team Section - Horizontal Row with Staggered Images */
.commco-team1__members {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 40px;
  /* Enhanced touch scrolling */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for webkit browsers */
.commco-team1__members::-webkit-scrollbar {
  display: none;
}
.commco-team1__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  min-width: 150px;
}
.commco-team1__member:nth-child(even) {
  margin-top: 80px; /* Stagger even members down by 80px (about 1/3 typical image height) */
}
.commco-team1__img {
  width: 150px;
  height: 180px;
  border-radius: 3%;
  background: #eee;
  margin-bottom: 16px;
  /* Add your background-image or image styles here */
}
.commco-team1__name {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}
.commco-team1__name span {
  display: block;
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

/* Mobile styles for team section */
@media (max-width: 768px) {
  .commco-team1__members {
    justify-content: flex-start;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .commco-team1__members {
    justify-content: flex-start;
    padding: 0 15px;
  }
}

.commco-careers1 {
  position: relative;
  /* margin-top: 120px; */
  height: 282px;
  background: var(--commco-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.commco-careers1__content {
  text-align: center;
  color: #fff;
  z-index: 2;
}
.commco-careers1__subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.commco-careers1__desc {
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.commco-careers1__btn {
  display: inline-block;
  background: #fff;
  color: #000;
  border-radius: 20px;
  padding: 10px 36px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.commco-careers1__btn:hover {
  background: #222;
  color: #fff;
}
.commco-careers1__btn-icon {
  margin-left: 10px;
  color: var(--commco-red);
  font-size: 1.2em;
}

/* Careers Form Styles */
.commco-careers-form {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: calc(100vh - 160px);
}

.commco-careers-form__container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.commco-careers-form__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--commco-red);
  text-align: center;
  margin-bottom: 10px;
}

.commco-careers-form__subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.commco-careers-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.commco-careers-form__row {
  display: flex;
  gap: 20px;
}

.commco-careers-form__field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.commco-careers-form__field label {
  font-weight: 600;
  color: var(--commco-red);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.commco-careers-form__field input,
.commco-careers-form__field select,
.commco-careers-form__field textarea {
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.commco-careers-form__field input:focus,
.commco-careers-form__field select:focus,
.commco-careers-form__field textarea:focus {
  outline: none;
  border-color: var(--commco-red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

.commco-careers-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.commco-careers-form__file-upload {
  position: relative;
  border: 2px dashed #e1e5e9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.commco-careers-form__file-upload:hover {
  border-color: var(--commco-red);
  background-color: rgba(237, 28, 36, 0.02);
}

.commco-careers-form__file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

.commco-careers-form__file-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.commco-careers-form__file-text {
  font-weight: 500;
  color: var(--commco-red);
}

.commco-careers-form__file-size {
  font-size: 0.9rem;
  color: #666;
}

.commco-careers-form__submit {
  background: linear-gradient(135deg, var(--commco-red) 0%, #b80d18 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  align-self: center;
  min-width: 200px;
}

.commco-careers-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 28, 36, 0.3);
}

.commco-careers-form__submit:active {
  transform: translateY(0);
}

/* Message Box Styles */
.message-box-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.message-box {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: messageBoxSlideIn 0.3s ease-out;
}

@keyframes messageBoxSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.message-box__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: bold;
}

.message-box__icon--success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.message-box__icon--error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.message-box__icon--info {
  background: #d1ecf1;
  color: #0c5460;
  border: 2px solid #bee5eb;
}

.message-box__content h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.message-box__content p {
  margin: 0 0 25px 0;
  color: #666;
  line-height: 1.5;
}

.message-box__btn {
  background: var(--commco-red);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.message-box__btn:hover {
  background: #b80d18;
  transform: translateY(-1px);
}

.message-box__btn:active {
  transform: translateY(0);
}

/* Responsive Design for Careers Form */
@media (max-width: 768px) {
  .commco-careers-form {
    padding: 40px 15px;
  }
  
  .commco-careers-form__container {
    padding: 30px 20px;
  }
  
  .commco-careers-form__title {
    font-size: 2rem;
  }
  
  .commco-careers-form__row {
    flex-direction: column;
    gap: 15px;
  }
  
  .commco-careers-form__submit {
    width: 100%;
  }
  
  .message-box {
    padding: 25px 20px;
  }
  
  .message-box__icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .commco-careers-form__container {
    padding: 20px 15px;
  }
  
  .commco-careers-form__title {
    font-size: 1.8rem;
  }
  
  .commco-careers-form__subtitle {
    font-size: 1rem;
  }
}

.commco-footer1 {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
.commco-footer1__red {
  width: 100%;
  height: 111px;
  background: var(--commco-red);
}
.commco-footer1__black {
  width: 100%;
  height: 111px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 310px;
  position: absolute;
  top: 0;
  left: 0;
}
.commco-footer1__logo img {
  height: 42px;
  filter: brightness(0) invert(1);
}
.commco-footer1__contact {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 1.1rem;
  gap: 6px;
}
.commco-footer1__phone, .commco-footer1__email {
  display: flex;
  align-items: center;
  gap: 8px;
}
.commco-footer1__socials {
  display: flex;
  gap: 18px;
}
.commco-footer1__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.commco-footer1__icon--fb::before {
  content: 'f';
  font-size: 1.6rem;
  color: #fff;
}
.commco-footer1__icon--ig {
  position: relative;
}
.commco-footer1__icon--ig::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 4px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.commco-footer1__icon--ig::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.commco-footer1__icon--tk::before {
  content: '♪';
  font-size: 1.3rem;
  color: #fff;
}
.commco-footer1__icon--in::before {
  content: 'in';
  font-size: 1.3rem;
  color: #fff;
}
.commco-footer1__icon--yt::before {
  content: '▶';
  font-size: 1.3rem;
  color: #fff;
}

/* Container for Who We Are + Vision/Mission */
.commco-vmw-container {
  display: flex;
  max-width: 100%;
  /* margin: 120px auto 0 auto; */
  /* padding: 0 8vw; */
  /* gap: 80px; */
  align-items: flex-start;
}

/* Left column - Who We Are */
.commco-who1 {
  flex: 0 0 auto;
  /* width: 400px; */
}
.commco-who1__title {
  font-size: 4rem;
  font-weight: 700;
  display: inline-block;
  /* padding-bottom: 10px; */
  color: transparent;
  -webkit-text-stroke: 2px var(--commco-red);
  text-stroke: 2px var(--commco-red);
}

/* Right column - Vision/Mission */
.commco-vision-mission1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.commco-vision1, .commco-mission1 {
  width: 100%;
}
.commco-vision1 h2, .commco-mission1 h2 {
  font-size: 2rem;
  color: var(--commco-red);
  margin-bottom: 10px;
  margin-top: 0;
}
.commco-vision1 p, .commco-mission1 p {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.6;
}

@media (max-width: 1400px) {
  .commco-header1, .commco-footer1__black {
    padding-left: 40px;
    padding-right: 40px;
  }
}



/* Responsive Header with Hamburger Menu */
@media (max-width: 900px) {
  .commco-header1 {
    padding: 20px 40px;
  }
  
  .commco-header1__menu-toggle {
    display: flex;
  }
  
  .commco-header1__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .commco-header1__nav.active {
    right: 0;
  }
  
  .commco-header1__nav a {
    margin-left: 0;
    font-size: 1.2rem;
    padding: 15px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  .commco-header1__contact-btn {
    margin-left: 0 !important;
    width: 80% !important;
    text-align: center;
    border-bottom: none;
  }
  
  /* Vision/Mission/Who We Are Mobile Layout */
  .commco-vmw-container {
    flex-direction: column;
    /* gap: 40px; */
    /* padding: 0 20px; */
    /* margin-top: 60px; */
  }
  
  .commco-who1 {
    /* width: 100%; */
    text-align: center;
  }
  
  .commco-who1__title {
    font-size: 3rem;
    margin-bottom: 0;
  }
  
  .commco-vision-mission1 {
    /* gap: 40px; */
  }
  
  .commco-vision1 h2, .commco-mission1 h2 {
    font-size: 1.8rem;
    text-align: left;
    /* margin-bottom: 15px; */
  }
  
  .commco-vision1 p, .commco-mission1 p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .commco-footer1__black {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    height: auto;
    min-height: 140px;
    position: relative;
  }
  
  .commco-footer1__contact {
    text-align: center;
    order: 2;
  }
  
  .commco-footer1__socials {
    order: 3;
    justify-content: center;
  }
  
  .commco-footer1__logo {
    order: 1;
  }
  
  .commco-footer1__red {
     height: auto;
     min-height: 140px;
   }
}

@media (max-width: 480px) {
  .commco-footer1__black {
    padding: 15px;
    gap: 15px;
    min-height: 120px;
  }
  
  .commco-footer1__contact {
    font-size: 1rem;
    gap: 4px;
  }
  
  .commco-footer1__socials {
    gap: 12px;
  }
  
  .commco-footer1__icon {
    width: 36px;
    height: 36px;
  }
  
  .commco-footer1__red {
    min-height: 120px;
  }
}