/* AboutGurusoft.css */
.about-page {
  font-family: "Noto Sans", sans-serif;

}

.hero-section {
  background: url("/images/about.jpg") center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section .text-overlay {
  max-width: 1300px;
  position: absolute;
  margin: 0 auto;
  bottom: 5%;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-section h1 {
  font-size: 3.8rem;
  margin-top: 1rem;
  font-weight: 800;
  color: white;
}

.hero-section h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: 300;
  color: white;
}
@media (max-width: 1024px) {
  .hero-section {
    background-position: center;
    height: 80vh; /* reduce height on smaller screens */
    padding: 2rem;
    justify-content: flex-start;
  }

  .hero-section.text-overlay {
    max-width: 100%;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-top: 0.5rem;
  }

  .hero-section h2 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0 1rem;
    
  }

  .hero-section .text-overlay {
    bottom: 0;
    padding: 1rem;
    bottom: 1rem;
    text-align: center;
  }

  .hero-button {
    padding: 8px 30px;
    font-size: 1.1rem;
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    background: url("/images/aboutusS.jpg") center/cover no-repeat;
    
    height: 70vh;
    padding: 0 0.5rem;
  }

  .hero-section h1 {
  
    text-align: left;
    font-size: 22px;
    margin-top: 0.3rem;
    margin: 0;
  }

  .hero-section h2 {
    font-size: 13px;
    margin-top: 0.3rem;
    text-align: left;
  }

  .hero-button {
    padding: 6px 20px;
    font-size: 1rem;
    margin-left: 0.3rem;
  }
}
.astats-section {
  padding: 60px 0;
  font-family: "Noto Sans", sans-serif;
}

.astats-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.astats-box {
  flex: 1;
  min-width: 250px;
  text-align: left;
  padding: 0 20px;
}

.astats-header {
  font-size: 2.5rem;
  color: #bb1a1a; /* red */
  font-weight: 700;
  margin: 0;
}

.astats-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #888; /* grey */
  margin: 10px 0;
}

.astats-desc {
  font-size: 1rem;
  color: #000; /* black */
  line-height: 1.6;
}

.astats-divider {
  width: 2px;
  background: #bb1a1a; /* red divider */
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .astats-section{
    padding: 0;
  }
  .astats-container {
    padding: 0 20px;
    flex-direction: column;
  }

  .astats-divider {
    display: none;
  }

  .astats-box {
    padding: 20px 0;
    border-bottom: 2px solid #bb1a1a;
  }

  .astats-box:last-child {
    border-bottom: none;
  }
  
.astats-header {
  font-size: 2rem;
  color: #bb1a1a; /* red */
  font-weight: 700;
  margin: 0;
}

.astats-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #888; /* grey */
  margin: 10px 0;
}

.astats-desc {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}
}

/* Solution Section */
.story-section {
  background: url('/images/story.jpg') no-repeat center center/cover;
  padding: 200px 20px;
  color: #fff;
}

.story-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: left;
}

.story-container h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: capitalize; /* ensures first letters are capital */
}

.story-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #fff;
  color: #bb1a1a;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.story-btn:hover {
  background: #bb1a1a;
  color: #fff;
}


/* Tablets landscape */
@media (max-width: 992px) {
  .story-container h2 {
    font-size: 1.8rem;
  }
  .story-section {
    padding: 120px 20px;
  }
  .story-btn {
    font-size: 14px;
    padding: 7px 20px;
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .story-container h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  .story-section {
    padding: 100px 15px;
    text-align: center;
  }
  .story-btn {
    font-size: 14px;
    padding: 6px 18px;
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

/* Mobile devices */
@media (max-width: 486px) {
  .story-container h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .story-section {
    padding: 80px 15px;
  }
  .story-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}


/* datas secition ======================*/

.customer-datas {
  position: relative;
  overflow: hidden;
  padding: 80px 0px;
  font-family: "Noto Sans", sans-serif;
}

.data-header {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size:2rem;  /* adjust as needed */
  font-weight: 700; /* bold */
  color: #000;      /* black */
}


.customer-datas .container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  z-index: 2;
  padding: 0 ; /* safe horizontal padding */
}

.datas-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.data-card {
  display: flex;
  align-items: stretch;
  gap: 150px;
  text-align: left;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.data-card.reverse {
  flex-direction: row-reverse;
}

.dataicon-box {
  flex: 1;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0;
}

.dataicon-box img {
  width:90%;
  height: auto;
  object-fit: cover;
  
}

.datatext-box {
  flex: 2;
  max-width: 550px;
  display: flex;
  align-items: left;
  flex-direction: column;
  justify-content: center;
}

.datatext-box h4 {
  font-size: 14px;
  margin-bottom: 0;
}
.datatext-box h3 {
  font-size: 2.5rem;
  font-weight: 300;
}

.datatext-box p {
  font-size: 18px;
  color: black;
  font-weight: 400;
}
/* Button for visibility */
.datatext-box .btn-red {
  display: block; /* makes it adjustable */
  width: fit-content; /* adjusts to content size */
  margin-top: 20px;
  background: #bb1a1a;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}


.datatext-box .btn-red:hover {
  background: #a11616;
}/* ✅ Tablet and below (768px) */
@media (max-width: 768px) {

  .customer-datas{
    padding: 1rem 0;
  }
  
.customer-datas .container {
  padding: 0 1rem; /* safe horizontal padding */
}
  .data-card,
  .data-card.reverse {
    flex-direction: column;   /* image first, then text */
    gap: 20px;
    align-items: center;     /* center text for mobile */
  }

  .dataicon-box {
    max-width: 100%;          /* allow full width */
  }

  .dataicon-box img {
    width: 100%;
    height: auto;             /* adjust height naturally */
    max-height: 300px;
  }

  .datatext-box {
    max-width: 100%;
  }

  .datatext-box h3 {
    font-size: 1.3rem;
  }

  
.data-header {
  font-size:1.3rem;  /* adjust as needed */
}
.datatext-box h4 {
  font-size: 14px;
  margin-bottom: 0;
}

  .datatext-box p {
    font-size: 14px;
  }
}

/* ✅ Small mobile (486px) */
@media (max-width: 486px) {
  .datas-grid {
    gap: 50px;
  }

  .data-card {
    gap: 20px;
  }
  
.datatext-box h4 {
  font-size: 13px
}
  .datatext-box h3 {
    font-size: 2rem;
  }

  .datatext-box p {
    font-size: 13px;
    line-height: 1.5;
  }

  .datatext-box .btn-red {
    padding: 8px 16px;
    font-size: 14px;
  }
}
/* Section background */
.principles-section {
  background-color: #f5f5f5; /* light grey */
 padding: 20px 20px 60px;   /* top=60, left&right=20, bottom=40 */

}

/* Container */
.principles-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Title */
.principles-title {
  margin: 0;
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  font-family: "Noto Sans", sans-serif;
}

/* Grid Layout */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Individual card */
.principle-card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.197);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


/* Image */
.principle-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Content */
.principle-content {
  padding: 20px;
}

.principle-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.principle-content p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width:900px) {
  .principles-section{
    padding: 2rem;
  }
  .principles-grid {
     grid-template-columns: 1fr;
    gap: 20px;
  }

  .principles-title {
    padding: 0;
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .principle-card img {
    height: 200px;
  }

  .principle-content h3 {
    font-size: 1.5rem;
  }

  .principle-content p {
    font-size: 0.95rem;
  }
}

/* Small Phones (≤486px) → Switch to single column */
@media (max-width: 486px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .principles-title {
    font-size: 2rem;
  }

  .principle-card img {
    height: 180px;
  }

  .principle-content h3 {
    font-size: 1.2rem;
  }

  .principle-content p {
    font-size: 1rem;
  }
}


/* Partnerships Section */
.partnerships-section {
  background-color: rgb(255, 235, 235);
  color: black;
  text-align: center;
  padding: 2rem; /* balanced space top & bottom */
  box-sizing: border-box;
  min-height: 10vh;
}

/* Heading */
.section-heading {
  font-size: 3rem;
  font-weight: 800;
}

/* Partner Grid Layout */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1rem; /* tighter spacing, previously 2rem */
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
  margin-bottom: 2rem;
}
.partners-grid .center-last {
  grid-column: 2; /* force it into the middle column */
}

/* Individual Partner Card */
.partner-card {
  background: #fff;
  padding: 1.5rem;
  width:420px;
  height: 300px; /* fixed height, adjust as needed */
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.partner-card img {
  height: 80px;
  margin: 0;
  width: auto;
  object-fit: contain;
}

.partner-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
}

.partner-card p {
  font-size: 16px;
  font-weight: 100;
}
@media (max-width: 1300px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: auto; /* auto rows, will adjust automatically */
  }
  .partners-grid .center-last {
    grid-column: auto; /* remove center forcing on smaller screens */
  }
}
/* Tablets and below (≤768px) */
@media (max-width: 900px) {

  .section-heading {
  font-size: 2rem;
  font-weight: 800;
}
  .partners-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .partner-card {
    width: 100%;
    height: auto;
    padding: 1.25rem;
  }

  .partner-card img {
    height: 60px;
  }

  .partner-card h4 {
    font-size:18px;
  }

  .partner-card p {
    font-size: 16px;
    font-weight: 100;
  }
}

/* Connect section */
/* Connect1= get in touch section */
.connect1-section {
  position: relative;
  background-color: #ffdbdb;
  padding: 1rem;
  display: flex;
  justify-content: center;  /* centers .connect-box horizontally */
  align-items: center;
  overflow: hidden; /* hide overflow of image */
}

.connect1-box {
  color:black;
  position: relative;
  max-width: 600px;
  text-align: center;
  z-index: 2; /* above the image */
  padding: 1rem;
}

.connect1-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.connect1-box p {
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.connect1-buttons {
  display: flex;
  justify-content: center; /* center buttons horizontally */
  gap: 2rem;
  margin-bottom: 2rem;
}

.connect-section {
  position: relative;
  background-color: #bb1a1a;
  padding:1rem;
  display: flex;
  justify-content: center;  /* centers .connect-box horizontally */
  align-items: center;
  overflow: hidden; /* hide overflow of image */
}

.connect-image {
  position: absolute;
  top: 70%;
  right: 0; /* position on right edge of section */
  transform: translateY(-50%);
  max-width: 1300px; /* adjust as needed */
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.connect-box {
  position: relative;
  max-width: 800px;
  color: white;
  text-align: center;
  z-index: 2; /* above the image */
  padding: 2rem;
}

.connect-box h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.connect-box p {
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #f8f8f8;
}

.connect-buttons {
  display: flex;
  justify-content: center; /* center buttons horizontally */
  gap: 2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 12px 20px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  /* Remove margin-left to center buttons */
}
.btn-red {
  background: #bb1a1a;
  color: white;
  border: 2px solid #bb1a1a;
}

.btn-red:hover {
  background: transparent;
  color: #bb1a1a;
}

.btn-white {
  background: white;
  color: #bb1a1a;
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
}

.btn-dark {
  background: #661010;
  border: 2px solid #661010;
  color: white;
}

.btn-dark:hover {
  background-color: transparent;
  color: #661010;
}

@media (max-width: 768px) {
  .connect-box {
    padding: 1rem;
    text-align: center;
  }
  .connect-image {
  top: 50%;
  left:10%;
  max-width: 500px;
  z-index: 1;
}
  .connect-box h2 {
    font-size: 1.2rem;
  }
.connect-box p {
  font-size: 13px;
  }

  .connect-buttons {
    align-items: center;
  }
 
  .btn {
    font-size: 14px;
  }

}

@media (max-width: 480px) {
  .connect-section{
    padding: 1rem;
  }

.connect-box {
    padding: 0.5rem;
    text-align: center;
  }
  .connect-image {
  max-width: 600px;
  z-index: 1;
}
  .connect-box h2 {
    font-size:1.5rem;
    margin-bottom: -5px;
  }
  .connect-box p {
    margin-bottom: 10px;
  font-size:14px;
  }
  .connect-buttons {
    align-items: center;
  }
 .btn {
  padding: 5px 1rem;
  font-weight: 600;
  font-size: 14px;
}
}

/*Get in touch w us ----------------------------------*/
@media (max-width: 768px) {
  .connect1-box {
    padding: 1rem;
    gap: 0;
    text-align: center;
  }
  .connect1-box h2 {
    font-size: 2rem;
    font-weight: 800;
    padding: 0;
    margin: 0;
  }
.connect1-box p {
font-size: 15px; 
margin: 14px; }

  .connect1-buttons {
    align-items: center;
    margin: 0;
  }
 
  .btn {
    font-size: 14px;
  }

}
