*{
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
 
}
#div1f {
  position: relative;
  text-align: center;
  color: white;
}

#img1f {
  width: 100%;
  height: 500px; /* Reduced height */
  object-fit: cover;
  display: block;
}

#div1-d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  animation: fadeInf 2s ease-in-out;
}

#h1 {
  font-size: 2.5em;
  margin: 0;
  animation: slideInFromLeftf 1s ease-in-out;
}

#div1f hr {
  border: 0;
  height: 2px;
  background: #fff;
  margin: 10px 0;
  width: 80%;
  animation: growWidthf 1s ease-in-out;
}

#h3 {
  font-size: 1.2em;
  margin: 10px 0 0;
  text-align: center;
  animation: slideInFromRightf 1s ease-in-out;
}

#h3 span {
  color: #5bb949;
  font-weight: bold;
}

@keyframes fadeInf {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromLeftf {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes slideInFromRightf {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes growWidthf {
  from { width: 0; }
  to { width: 80%; }
}

@media (max-width: 768px) {
  #div1f{
    height: 250px;
  }
  #div1f img{
    height: 250px;
  }
  #h1 {
      font-size: 2em;
  }

  #h3 {
      font-size: 1em;
  }

  #div1-d {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  #h1 {
      font-size: 1.5em;
  }

  #h3 {
      font-size: 0.9em;
  }

  #div1-d {
      padding: 10px;
  }
}
/* ****************************8 */

/* Section Styling */
#sec-1f {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* background: linear-gradient(to bottom right, #1e3c72, #2a5298); */
  /* color: white; */
  background-color: #e5f3ff;
}

/* Image Styling */
#sec-1f img {
  flex: 0 0 300px;
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 20px;
}

/* Text Container */
.text-container {
  flex: 1 1 500px;
  margin: 20px;
}

#sec-1f p {
  font-size: 1.2rem;
  text-align: justify;
  margin-bottom: 15px;
}

/* Highlight Span */
#p1f span {
  font-weight: bold;
  color:#084c7f;
}

/* Contact Link */
#p2f a {
  color: #084c7f;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

#p2f a:hover {
  /* color: #e5f3ff; */
  box-shadow: 0 0 5px #084c7f, 0 0 10px #084c7f;
  border-radius: 10px;
  padding: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #sec-1f {
    flex-direction: column;
    text-align: center;
  }

  #sec-1f img {
    max-width: 90%;
    margin-bottom: 20px;
  }

  .text-container {
    margin: 0;
    flex: 1 1 200px;
  }

  #sec-1f p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #sec-1f p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  #p2f a {
    display: inline-block;
    margin-top: 10px;
  }
}


/* *****************************88 */


.containerar {
  padding: 40px 20px;

  max-width: 1200px;
  margin: 10px auto;
  background: #084c7f;
  /* padding: 30px; */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

#ar .title {
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
  color: #f8f9fa;
  margin-bottom: 20px;
}

.descriptionar {
  color: #f8f9fa;
  margin-bottom: 20px;
  text-align: justify;
  font-size: 1.1em;
}

.ar-services {
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  margin-bottom: 20px;
  background-color: #f8f9fa;
  animation: slideInLeft 1s ease-in-out;
}

.ar-services:nth-child(even) {
  flex-direction: column-reverse;
  animation: slideInRight 1s ease-in-out;
}

.postcard__img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  animation: fadeIn 1s ease-in-out;
}

.postcard-content {
  padding: 20px;
  animation: fadeIn 1s ease-in-out;
}

.postcard-content h1 {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}

.postcard-content p {
  color: #333;
  text-align: justify;
  font-size: 1.1em;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideInRight {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@media (min-width: 768px) {
  .ar-services {
      flex-direction: row;
  }

  .ar-services:nth-child(even) {
      flex-direction: row-reverse;
  }

  .postcard__img {
      width: 20%;
      height: auto;
  }
}
/* ****************************************************8 */
.security-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-color: #e5f3ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 50px auto;
  max-width: 100%;
  width: 90%;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.security-section span{
  color: #084c7f;
  font-weight: bold;
}
.security-content {
  text-align: center;
}

.security-content h1 {
  font-size: 2.5em;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #084c7f, #2c3e50);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.security-content h3 {
  font-size: 1.8em;
  color: #084c7f;
  margin-bottom: 20px;
  font-style: italic;
}

.security-content p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.security-content .enquire-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.security-content .enquire-btn:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  .security-section {
      padding: 30px 10px;
  }

  .security-content h1 {
      font-size: 2em;
  }

  .security-content h3 {
      font-size: 1.5em;
  }

  .security-content p {
      font-size: 1em;
  }

  .security-content .enquire-btn {
      font-size: 1em;
      padding: 10px 20px;
  }
}

.security-section.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ****************************************88888 */
.how-we-helpf {
  background-color: #f8f9fa;
  padding: 20px 40px;
  /* max-width: 1200px; */
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  animation: fadeInf 1s ease-in-out;
}
.how-we-helpf p {
  font-size: 1.1em;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}
.how-we-helpf .highlightf {
  font-weight: 700;
  color: #007BFF;
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}
.case-studiesf {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.case-studyf {
  background-color: #f8f9fa;
  padding: 20px;
  border-left: 5px solid #007BFF;
  border-radius: 5px;
  flex: 1 1 calc(33.333% - 20px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.case-studyf:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.case-studyf::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #c7dff4, #084c7f);
  transition: height 0.3s ease;
}
.case-studyf:hover::before {
  height: 100%;
  color: #e5f3ff;
}
.case-studyf h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}
.case-studyf p {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
  z-index: 1;
  position: relative;
}
.how-we-helpf .contactff {
  text-align: center;
  /* margin-top: 10px; */
}
.how-we-helpf .contactff a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #084c7f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.how-we-helpf .contactff a:hover {
  background-color: #5bb949;
}
@keyframes fadeInf {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
@media (max-width: 1024px) {
  .case-studyf {
      flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  .how-we-helpf {
      padding: 30px 15px;
  }
  .case-studyf {
      flex: 1 1 100%;
  }
  .case-studyf h3 {
      font-size: 1.5em;
  }
}
@media (max-width: 480px) {
  .how-we-helpf {
      padding: 20px 10px;
  }
  .case-studyf h3 {
      font-size: 1.3em;
  }
}
/* ****************************** */
.sectionc {
  padding: 40px 20px;
  width: 100%;
}

.containerc {
  max-width: 1200px;
  margin: 0 auto;
  background: #2c3e50;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInc 1s ease-in-out;
}

.titlec {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 20px;
  animation: slideInDownc 1s ease-in-out;
}

.subtitlec {
  text-align: center;
  font-size: 1em;
  color: #fff;
  margin-bottom: 20px;
  font-style: italic;
  animation: slideInUpc 1s ease-in-out;
}

.descriptionc {
  color: #fff;
  margin-bottom: 20px;
  text-align: justify;
  font-size: 0.9em;
  animation: fadeInc 1s ease-in-out;
}

.cta-buttonc {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  animation: bounceInc 1s ease-in-out;
}

.cta-buttonc:hover {
  background: #0056b3;
}

.text-centerc {
  text-align: center;
}

@keyframes fadeInc {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideInDownc {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideInUpc {
  from {
      transform: translateY(100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes bounceInc {
  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
      opacity: 0;
      transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
      transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
      transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
      opacity: 1;
      transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
      transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
      opacity: 1;
      transform: scale3d(1, 1, 1);
  }
}

@media (min-width: 768px) {
  .containerc {
      padding: 30px;
  }

  .titlec {
      font-size: 2em;
  }

  .subtitlec {
      font-size: 1.25em;
  }

  .descriptionc {
      font-size: 1em;
  }

  .cta-buttonc {
      padding: 15px 30px;
  }
}