@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Base Reset */
* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;

} 

body {

  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #1E1E1E;

}

/* Header */
.top-header {
  background-color: #1E4B8B;
  color: #ffffff;
  text-align: center;
  padding: 86px;
  margin: 0 auto;
}

.top-header h1 {
  font-family: "Merriweather", serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 28px;
}
@media (max-width: 580px) {
  .top-header {
      padding: 50px 20px;
  }
  .top-header h1 {
      font-size: 50px;
      font-weight: 400;
      font-family: "Merriweather", serif;
      line-height: 60px;
  } 
}
/* Container */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0px 130px;
}
@media(max-width:1600px) {
  .container {
    padding: 30px 80px;
}
}
@media(max-width:1200px) {
  .container {
    padding: 30px 40px;
}
}
@media(max-width:600px) {
  .container {
    padding: 30px 20px;
}
}
/* Story Section */
.story-section {
  display: block;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;

}

.timeline-services-flex {
  align-items: flex-start;
  /* forces both columns to align at the top */
}

.services-column h2 {
  font-family: "Merriweather", serif;
  font-size: 32px;
  font-weight: 400;
}

.services-column h3 {
  font-family: "Merriweather", serif;
  font-size: 24px;
  font-weight: 400;
  color: #1E1E1E;
}

.services-column p {
  font-size: 24px;
}

.services-column {
  /* margin-top: 2.5rem; */
  /* adjust this number until "What We Do" lines up with "1980s" */
}

.how-we-help-descritpion {
  margin-bottom: 25px;
  color: #000;
}

.sub-headings-section {
  padding-left: 45px;
}

.text-content p {
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  max-width: 100%;
  padding-top: 10px;
  color: #1E1E1E;
}

.founder-image {
  float: right;
  max-width: 452px;
  margin: 0 0 1rem 2rem;
  text-align: center;
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.founder-image figcaption {
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  color: #000;
  text-align: right;
}

.text-content h1,
.text-content h2 {
  color: #1E1E1E;
  font-weight: 600;
  margin-top: 0;
  font-weight: 400;
}

.text-content h2 {
  font-family: "Merriweather", serif;
  font-size: 32px;
  margin-top: 48px;
  line-height: 100%;
  font-weight: 400;
}

.text-content p {
  font-size: 24px;
  margin-bottom: 1rem;
  padding-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/* Accessibility */
:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
.heading-3{
  font-size: 24px;
  font-family: "Merriweather", serif;
  font-weight: 400;
  margin-bottom: 14px;
}
.ending-container1 > .peragraph{
  font-size: 20px;
}
.how-we-help-points{
  padding-left: 36.93px;
}
@media(max-width:1180px){
  .today-box p{
    font-size: 25px !important;
  }
}

@media(max-width:1080px){
  .today-box p{
    font-size: 20px !important;
  }
}

@media (max-width:950px){
  .ending-container2 h2,
  .ending-container1 h2,
  .services-column h2,
  .text-content h2{
    font-size:25px !important ;
  }
  .ending-container1 p,
  .ending-container2 p,
  .services-column h3,
  .services-list li,
  .services-column p,
  .text-content p{
    font-size: 20px !important;
  }
}

/* Responsive Founder Image */
@media (max-width: 960px) {
  .founder-image {
    float: none;
    width: 100%;
    max-width: 452px;
    margin: 1rem 0;
  }
}
@media (max-width: 768px) {
  /* .container{
    padding: 0px 20px;
  } */


  .timeline-content p{
    font-size: 14px !important;
  }

}
.cta-container .container {
  padding: 0px !important;
}
/* Timeline and Services Layout */
.timeline-services-flex {
  display: flex;
  max-width: 1920px;
  width: 100%;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.main-headings-div{
  padding: 0px 20px;
}

.timeline-column,
.services-column {
  flex: 1 1 28%;
  max-width: 885px;
  display: flex; 
  flex-direction: column;
}

.services-column {

  flex: 1 1 40%;

  justify-content: center;
}

/* Timeline Center */
.timeline-center {
  background-color: #17A2B8;
  padding: 0.5rem 1rem;
  color: white;
  position: relative;
}

/* Timeline Wrapper */
.timeline-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 50%;
  /* width: 1px; */
  height: calc(100% - 2rem);
  /* background-color: #1E4B8B; */
  border-right: 1px solid #1E4B8B;
  ;
  transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 30px;

}

.timeline-item.left {
  left: 0;
  text-align: right;
   padding-right: 18px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
   padding-left: 18px;
}

.timeline-item::before {

  position: absolute;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  background-color: #1e3a8a;
  border: 3px solid white;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-item.full {
  width: 100%;
  text-align: center;
  margin-top: 0rem;
  left: 0;
}

.timeline-content {
  /* padding: 0.5rem; */
  border-radius: 6px;
  position: relative;
  z-index: 2;
}

.timeline-content h4 {
  font-size: 22px;
  margin-bottom: 0.2rem;
  color: #1E4B8B;
}

.timeline-content p {
  font-size: 18px;
  padding-top: 10px;
  margin-bottom: 0;
}

/* Today Box */
.today-box h4 {
  font-size: 1.3rem;
  color: #1E4B8B;
}

.today-box p {
  font-size: 28px;
  text-align: center;
  font-weight: 400;
  color: white;
  margin-top: 0.5rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-wrapper {
    /* padding: 1rem; */
  }

  .timeline-wrapper::before {
    height: calc(100% - 3.5rem);
  }
  .timeline-item.full .timeline-content.today-box {
    padding-top: 0px !important;
}
  /* .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    padding: 1.5rem 1rem 1.5rem 2.5rem;
    text-align: left;
  } */

  .timeline-item::before {
    top: 1rem;
    left: 14px;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    background-color: #1e3a8a;
    transform: translateX(0);
  }

  .timeline-content {
    padding: 1rem 1.25rem;
    margin-left: 0.5rem;
  }

  .timeline-item.full {
    text-align: center;
    padding-left: 0;
    /* padding-top: 40px; */
  }
  /* .container {
    padding: 0px 30px;
} */

  .timeline-item.full::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.services-list li::marker {
  font-size: 14px; /* smaller marker */
  color: #000; /* Figma ke color ke hisab se */
  font-weight: 300; /* thinner look */
}
/* Services List */
.services-list {
  padding-left: 70px;
  margin-bottom: 50px;
}

.services-list li {
  margin-bottom: 0.5rem;
  font-size: 24px;
}

/* Info, Testimonials, CTA */
.info-section,
.testimonials-section,
.cta-section {
  padding: 2rem 1rem;
}

.testimonials {
  margin-top: 25px;
}

.info-section h2,
.testimonials-section h2,
.cta-section h2 {
  font-family: "Merriweather", serif;
  font-size: 40px;
  color: #1E1E1E;
  margin-bottom: 1rem;
}
.cta-section h2 {
  line-height: 28px;
}

/* Testimonials */
.testimonial {
  background-color: #4A90E2;
  color: #ffffff;
  max-width: 1350px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 1rem;  
}

.testimonial p {
  margin: 0;
}
h2#cta-heading {
  margin-top: 30px;
  color: #1E1E1E !important;
}
/* CTA */
.cta-image {
  width: 100%;
  max-height: 379px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.cta-section h2 {
  text-align: center;
}

.cta-button-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.cta-button {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background-color: #17A2B8;
  color: #fff;
  font-size: 32px;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 25px;
  transition: background 0.3s ease;
  line-height: 24px;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #0284c7;
  outline: none;
}

.ending-container1 h2 {
  font-family: "Merriweather", serif;
  font-size: 32px;
  font-weight: 400;
}

.ending-container1 p {
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
}

.ending-container2 h2 {
  font-family: "Merriweather", serif;
  font-size: 32px;
  font-weight: 400;
}

.ending-container2 p {
  font-size: 20px;
  font-family: "Merriweather", serif;
  font-weight: 400;
}

.why-chooseus-description {
  font-size: 24px;
  font-family: "Montserrat", sans-serif !important;
}
@media (max-width: 1024px) {
  .timeline-services-flex{
    flex-direction:column;
    justify-content:center ;
    align-items: center;
  }
  .cta-section h2 {
    line-height: 45px;
  }
}
@media (max-width: 768px) {
 
  .testimonial {
    font-size: 0.95rem;
  }

  .cta-button{
    font-size: 22px !important;
  }

  .cta-section h2 {
    font-size: 32px;
  }
  .services-column{
    margin-top: 0px !important;
  }
  .info-section, .testimonials-section, .cta-section{
    padding: 1rem 1rem !important;
  }

  /* .cta-button {
    width: 100%;
  } */
}

h3 {
  margin-bottom: 1px;
}

h2 {
  margin-bottom: 2px;
}

@media (max-width:425px){
 .services-column h2,.text-content h2,.today-box p,.ending-container1 h2,.ending-container2 h2,.cta-section h2,.cta-button{
    font-size: 26px !important;
  }
  
  .cta-image{
    height: 150px;
  }

  /* .container{
    padding: 0px 20px;
  } */

  .text-content p,.services-column p,.services-list li,.ending-container1 p,.ending-container2 p {
    font-size: 16px !important;
  }
  
}


@media(min-width:1440px){
  .services-list {
    padding-left: 40px !important;
  }
  .sub-headings-section{
    padding-left: 20px !important;
  }
  .sub-headings-section p{
    font-size: 20px;
    margin-top: 15px;
  }
  .timeline-content h4{
    font-weight: 500;
  }
  .timeline-content p{
    padding-top: 0px;
  }
  .container{
    /* padding: 0px 100px !important; */
  }
  .info-section h2, .testimonials-section h2, .cta-section h2{
    font-weight: 400;
  }
  .today-box h4{
    font-size: 36px !important;
  }
  .timeline-content{
    /* padding: 0.5rem 16px; */
  }
  .ending-container2 p{
    font-size: 20px;
  }
}

@media(max-width:547px){
  .timeline-item.right .timeline-content {
    padding: 0.5rem;
}
.timeline-item.right{
  padding-left: 0px !important;
}
.timeline-item.left .timeline-content {
  padding: 0.5rem;
  margin-right: 0.5rem;
  margin-left: 0rem !important;
}
.timeline-item.left{
  padding-right: 0px !important;
}
}

@media(max-width:1024px){
  section.info-section {
    padding-top: 0px !important;
}
}