.services {
  display: flex;
  gap: 20px;
  padding: 40px;
}

.card {
  background: #1c3b5a;
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content .title {
  text-align: start;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card-header h3 {
  font-size: 18px;
  margin: 0;
  color: #f1c40f;
}

.read-more {
  font-size: 13px;
  text-decoration: none;
  color: #0b2a4a;
  border: 1px solid #b0993b;
  padding: 10px 18px;   /* smaller */
  border-radius: 20px;
  transition: 0.3s;
  white-space: nowrap;
  width: max-content;
  /* position:absolute; */
 
cursor: pointer;
margin-top: auto;   /* ⭐ THIS is the key */
font-weight: 600;
}

.read-more:hover {
  background: #b0993b;
  color: #0f2a44;
  text-decoration: underline;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
}




  /* GRID */
   /* .container123 {
        max-width: 1200px;
        margin: auto;
        padding: 0px 20px 40px 20px ;
        display: grid;
        gap: 25px;
         grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
         place-items: center;

    } */

    .card1 {
        background: #f8f6f6;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 
        0 4px 10px rgba(248, 228, 7, 0.1),
        0 8px 20px rgba(252, 240, 22, 0.08);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
       
        position: relative;
         display: flex;
        flex-direction: column;
        height: 100%;
    }

    .card1:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 65px rgba(0,0,0,0.35);
         
}

    .card1:hover {
        transform: translateY(-8px);
    }

    .card1 img {
        width: 100%;
    height: 300px;   /* increased from 240/260 */
    object-fit: fill;
    overflow: hidden;
    
    }

    .card1 img {
    transition: transform 0.5s ease;
}

.card1:hover img {
    transform: scale(1.08);
}

    .card1-content {
        padding: 16px;   /* reduced from 28px */
        display: flex;
        flex-direction: column;
        flex: 1; /* take full height */
        padding: 16px;

    }

    /* OPTIONAL description */
.card1-text {
  line-height: 1.5;
  margin-bottom: 10px;
}

 .card1-title  {
        font-size: 18px;
        color: #1a1a1a;
        margin-bottom: 10px;
        line-height: 1.4;
         /* makes text wrap cleanly */
        word-break: break-word;
        text-align: start;

    }

/* 📱 Tablets */
@media (max-width: 992px) {

  .card1 img {
    height: 240px; /* slightly smaller image */
  }

  .card1-title {
    font-size: 16px;
  }

  .card1-text {
    font-size: 14px;
  }
}


/* 📱 Mobile */
@media (max-width: 768px) {
    
    .modal-content{
        padding: 20px!important;
    }
    .modal{
        z-index: 99999!important;
    }
    
    .close{
            position: absolute;
    top: -10px!important;
    right: -10px!important;
    font-size: 40px!important;
    cursor: pointer!important;
    background: #000!important;
    width: 50px!important;
    height: 50px!important;
    border-radius: 50%!important;
    text-align: center!important;
    color: red!important;
    }
    
}


/* 📱 Mobile */
@media (max-width: 600px) {
    
    .modal-content{
        padding: 20px;
    }

  .card1 {
    border-radius: 12px;
  }

  .card1 img {
    height: 200px; /* reduce height for mobile */
  }

  .card1-content {
    padding: 12px;
  }

  .card1-title {
    font-size: 15px;
  }

  .card1-text {
    font-size: 13px;
  }

  .read-more {
    font-size: 12px;
    padding: 8px 14px;
  }
}


/* Desktop → 3 cards */
/* .container123 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  
} */

.container123 {
    max-width: 1200px;
    margin: auto;
    padding: 0px 0px 40px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.container123 > * {
    flex: 1 1 300px;
    max-width: 350px;
}

/* Tablet → 2 cards */
@media (max-width: 992px) {
  .container123 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
  }
}

/* Mobile → 1 card */
@media (max-width: 600px) {
  .container123 {
    grid-template-columns: 1fr;
  }
}






    .category {
        font-size: 12px;
        letter-spacing: 2px;
        color: #0b2a4a;
        text-transform: uppercase;
        margin-bottom: 8px;
        font-weight: 600;
        
    }

   
  


   /* BACKDROP */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ACTIVE STATE */
.modal.show {
    opacity: 1;
    visibility: visible;
}

/* MODAL BOX */
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 14px;

    width: 95%;
    max-width: 1100px;

    transform: translateY(40px) scale(0.95);
    transition: all 0.4s ease;

    max-height: 80vh;
    overflow-y: auto;

    line-height: 1.6;
    color: #000;
}

/* ✅ SCROLLBAR STYLE */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #0b2a4a;   /* your theme blue */
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #08203a;
}



/* Animate IN */
.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

/* SCROLLBAR STYLE (optional premium look) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #0b2a4a;
    border-radius: 10px;
}

.modal-btn {
  background: #b0993b;
  color: #101010;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-btn:hover {
  background: #b0993b;
   color: #faf6f6;
}



.tag-line {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";;
    color: #f2f2f3;
    font-size: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 8px 20px; /* row gap, column gap */
}

/* Mobile responsive */
@media (max-width: 600px) {
    .tag-line {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}




.tag-line span {
    margin-right: 3px;
    
}

.tag-line div::before {
    content: "• ";
    color: #468cec;
}

/* remove last dot */
.tag-line span:last-child::after {
    content: "";
}



.custom-list {
    list-style: none;
    padding-left: 0;
    color: #c9d6e5;
    font-size: 15px;
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    letter-spacing: normal;
    text-align: start;
    color: white;
}

/* Bullet */
.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4da3ff;
    font-size: 18px;
}



.contact-header {
    max-width: 1200px;
    margin-bottom: 30px;
}

/* HEADING */
.contact-header h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    margin-top: 41px;
}

/* subtle underline accent */
.contact-header h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
   
    margin-top: 8px;
}

/* PARAGRAPH */
.contact-header p {
    font-size: 15px;
    color: #fbfbfb;
    line-height: 1.6;
}



/*FAQ's*/
.faq-section {
  background-color: #132f57; /* deep blue */
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 25px;
  margin-top:50px;
  margin-bottom: 30px;
}

.container1 {
  max-width: 800px;
  margin: auto;
}

.faq-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  
  padding-left: 10px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  text-align: left;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 0 0 15px;
  color: #f8f9fa;
  max-width: 90%;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  border: none;
}

.faq-item:focus, .faq-item button:focus {
  border: none !important;
  outline: none !important;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg); /* turns + into x */
}



/* Shared container */
.container2 {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  margin-left: 85px;
}

/* ===== Related Insights ===== */
.insights-section {
   background: #132f57;
  padding: 40px 80px;   /* space from left */
  text-align: left;
}

.insights-section h3 {
   color: #f9fafc;
  font-size: 24px;
  margin-bottom: 10px;
  border-left: 4px solid #1d3b5c;
  padding-left: 10px;
}

.note {
  font-style: italic;
  color: #f7f7f8;
  margin-bottom: 20px;
}

.insights-list {
  list-style: none;
  padding-left: 0;
}

.insights-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  font-size: 15px;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";;
  
}

/* custom bullet */
.insights-list li::before {
  content: "•";
  color: #4da3ff; /* green bullet like your image */
  position: absolute;
  left: 0;
  top: 0;
}

/* links */
.insights-list a {
  text-decoration: none;
  color: #f1f2f3;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";;
  line-height: 1.6;
  transition: color 0.3s ease;
   word-break: break-word;
   font-size: 15px;
  display: block; /* important for wrapping */
}

.insights-list a:hover {
  color: #c8a951; /* gold hover */
}


/* 📱 Mobile fix */
@media (max-width: 768px) {
  .container2{
    margin-left: 0;
  }

  .insights-section {
    padding: 20px !important; /* ensure spacing */
  }

  .insights-list li {
    margin-bottom: 10px !important;
    padding-left: 16px !important;
  }

  .insights-list li::before {
    font-size: 14px;
    top: 2px;
  }

  .insights-list a {
    font-size: 14px !important;
    line-height: 1.6;
    word-break: break-word; /* prevents overflow */
  }
}

/* ===== Contact Section ===== */
.contact-section {
  background: #0b2e4f; /* deep navy */
  color: #ffffff;
}

.contact-section h2 {
  font-size: 42px;
  color: #c8a951; /* gold */
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-info {
  margin-top: 15px;
  font-size: 18px;
}

/* phone link */
.contact-info a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 5px;
}

.contact-info a:hover {
  color: #c8a951;
}

.cursor-pointer {
  cursor: pointer;
}

.section-heading1 {
  font-size: 36px;
  line-height: 1em;
  margin-bottom: 20px;
  margin-top: 0;
  padding-bottom: 5px;
  position: relative;
  color: #fafafa; }
  .section-heading:after {
    content: ''; }
  .section-heading.light {
    color: #b0993b; }
    .section-heading.light span {
      color: #ffffff; }
    .section-heading.light:after {
      background: #ffffff; }
  .section-heading.text-center {
    text-align: center; }
    .section-heading.text-center:after {
      margin-left: auto;
      margin-right: auto;
      content: '';
      display: block;
      vertical-align: bottom;
      width: 70px;
      height: 10px;
      background: transparent;
      margin-bottom: 10px;
      margin-top: 33px;
 }


    .subheading1.text-center {
    width: 60%;
    margin-left: auto;
    margin-right: auto; }


    


.tag-line1 {
  max-width: 700px;
  margin: auto;
}

.tag-item1 {
  position: relative;
  background: #d9d9d9; /* light grey */
  color: #000;
  padding: 14px 20px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}

/* Arrow part */
.tag-item1::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 25px solid #0b8f87; /* teal color */
}

/* Colored block before arrow */
.tag-item1::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: #0b8f87; /* teal */
}

/* spacing so text doesn't overlap arrow */
.tag-item1 {
  padding-right: 80px;
}

/* alternate color (optional like image style) */
.tag-item1:nth-child(even)::before {
  background: #f5a623; /* orange */
}

.tag-item1:nth-child(even)::after {
  border-left-color: #f5a623;
}

/* responsive */
@media (max-width: 600px) {
  .tag-item1 {
    font-size: 14px;
    padding: 12px 70px 12px 15px;
  }
}





.tag-line2 {
  max-width: 700px;
  margin: auto;
}

.tag-item2 {
  position: relative;
  background: #d9d9d9; /* light grey */
  color: #000;
  padding: 14px 20px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}

/* Arrow part */
.tag-item2::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 25px solid #0b8f87; /* teal color */
}

    /* Colored block before arrow */
.tag-item2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: #0b8f87; /* teal */
}

/* spacing so text doesn't overlap arrow */
.tag-item2 {
  padding-left: 80px;
}

/* alternate color (optional like image style) */
.tag-item2:nth-child(even)::before {
  background: #f5a623; /* orange */
}

.tag-item2:nth-child(even)::after {
  border-left-color: #f5a623;
}

/* responsive */
@media (max-width: 600px) {
  .tag-item2 {
    font-size: 14px;
    padding: 12px 70px 12px 70px;
  }
}