* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  font-family: 'Raleway', sans-serif;
  color: white;
  width: 100%;
  overflow-x: hidden;
}

/*--------ALL PAGES---------*/
.bg-color {
    background-color: #C84A51;
    margin-top: 90px;
    height: 40vh;
    display: flex; /* Flex container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.bg-color p {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid #f39c12;
    font-size: 32px;
    font-weight: 700;
}

.divider {
    width: 40px;
    height: 3px;
    background: #f39c12;
    margin: 18px auto;
}

/* ==========================
   HERO SECTION – UNIFIED
   ========================== */

.hero {
  height: calc(100vh - 90px); /* navbar height */
  margin-top: 90px;
  background-image: url('../images/image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay – SAME for desktop & mobile */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 80px;

  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.65),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.05)
  );
}

/* Content */
.hero-content {
  max-width: 600px;
}

/* Subheading */
.subheading {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #5a0f12;
  font-weight: 700;
  text-transform: uppercase;
}

/* Heading */
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: #9b0f14;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
}

/* ==========================
   MOBILE – SAME DESIGN, SCALED
   ========================== */

@media (max-width: 768px) {

  .hero {
    height: calc(70vh - 70px);
    margin-top: 70px;
    background-position: center;
  }

  .hero-overlay {
    padding: 0 20px;

    /* SAME gradient, just slightly lighter */
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0)
    );
  }

  .hero-content {
    max-width: 90%;
  }

  .subheading {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.25;
  }
}

.cta-button {
  background: #B9121B;
  padding: 12px 24px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
}



/* ===============================
   ABOUT & SERVICE SECTIONS
================================ */

.about-section,
.service-section {
  padding: 70px 40px;
  background-color: #ffffff;
  font-family: 'Raleway', sans-serif;
}

/* Main container */
.about-container,
.service-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* ===============================
   ABOUT CONTENT
================================ */

.about-content {
  flex: 1;
}

.about-content .tag {
  display: inline-block;
  background-color: #B9121B;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-radius: 3px;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 15px;
}

.about-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-top: 30px;
  margin-bottom: 8px;
}

.about-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #C84A51;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

.founder-section {
  margin-top: -30px;   
  padding: 70px 40px;   /* inner spacing */
  background-color: #ffffff;
  border-top: 1px solid #eee;
}
/* Quote / Highlight line */
/* .about-content p:last-child {
  font-style: italic;
  font-weight: 600;
  color: #B9121B;
} */

.highlight-quote {
  color: #B9121B;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===============================
   ABOUT IMAGE (FOUNDER)
================================ */

.about-image {
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ===============================
   READ MORE BUTTON
================================ */

.read-more {
  background-color: #B9121B;
  color: #ffffff;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #9d0f16;
}

/* ===============================
   INFO BOXES (Optional Section)
================================ */

.info-boxes {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #eee;
  padding: 22px;
  flex: 1;
  min-width: 250px;
  border-radius: 6px;
  background-color: #fff;
}

.info-box i {
  font-size: 26px;
  color: #B9121B;
  margin-top: 5px;
}

.info-box h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.info-box p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE FIXES
================================ */

@media (max-width: 900px) {
  .about-container,
  .service-container {
    flex-direction: column;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-section,
  .service-section {
    padding: 50px 20px;
  }
  @media (max-width: 768px) {
  .founder-section {
    margin-top: 50px;
    padding: 50px 20px;
  }

  .about-content p {
    text-align: left;     /* remove justify */
    word-spacing: normal;
  }
}

}

/* ===============================
   SERVICE SECTION – FULL CSS
================================ */

.service-section {
  padding: 70px 40px;
  background-color: #ffffff;
  font-family: 'Raleway', sans-serif;
}

/* Top Content */
.service-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
}

.service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-content .tag {
  display: inline-block;
  background-color: #B9121B;
  color: #ffffff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-radius: 3px;
}

.service-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

/* ===============================
   SERVICE GRID
================================ */

.service-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* ===============================
   SERVICE CARD
================================ */

.service-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);

  /* Animation base */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
}

/* Scroll animation trigger */
.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover animation */
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ===============================
   SERVICE HEADER
================================ */

.service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.service-header i {
  font-size: 28px;
  color: #B9121B;
  transition: transform 0.4s ease, color 0.3s ease;
}

/* Icon hover effect */
.service-card:hover .service-header i {
  transform: scale(1.15) rotate(5deg);
  color: #9d0f16;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* ===============================
   SERVICE TEXT
================================ */

.service-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ===============================
   READ MORE BUTTON
================================ */

.service-card .read-more {
  display: inline-block;
  background-color: #B9121B;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, letter-spacing 0.3s ease;
}

.service-card .read-more:hover {
  background-color: #9d0f16;
  letter-spacing: 0.5px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .service-section {
    padding: 50px 20px;
  }

  .service-content h2 {
    font-size: 22px;
  }
}
