html {
    height:100%;
    width: 100%;
  }
  
  body {
    margin:0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #001c57;
    height:100%;

  }

  p{
    font-size: 16px;
    color: #001c57;
  }

  h1{
    color: #001c57;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  }

  #vanta-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
}

  .bg7{
    background-image: linear-gradient(0deg, rgb(0, 0, 0) 35%, rgba(62, 52, 96, 0.151) 70%);    
    bottom:0;
    left:-50%;
    opacity:.8;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
    
  }
  
  
/* Header Base Styling */
.animated-header {
    background-color: rgba(251, 249, 249, 0.8);
    width: 25%;
    padding: 15px;
    display: flex;
    align-items: center;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-radius: 0px 0px 100px 0px;
    animation: rightEdgeWave 3s infinite alternate ease-in-out;
    transition: background-color 0.5s ease-in-out;
}

/* Logo Styling */
.logo {
    width: 70px;
    height: auto;
    animation: floating 3s infinite ease-in-out;
    transition: transform 0.3s ease-in-out;
}

/* Title Styling */
.title {
    color: #0045bb; 
    padding-left: 30px;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    animation: floating 2s infinite ease-in-out;

}

/* Header Hover Effect */
.animated-header:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Floating Logo Animation */
@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
    
}

/* Right Edge Waving Effect */
@keyframes rightEdgeWave {
    0% {
        border-radius: 0px 0px 100px 0px;
        width: 32%;
    }
    50% {
        border-radius: 0px 0px 120px 0px;
        width: 35%;
    }
    100% {
        border-radius: 0px 0px 100px 0px;
        width: 32%;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .animated-header {
        width: 100%;
        border-radius: 0px 0px 80px 0px;
    }
    @keyframes rightEdgeWave {
        0% {
            border-radius: 0px 0px 100px 0px;
            width: 85%;
        }
        50% {
            border-radius: 0px 0px 120px 0px;
            width: 90%;
        }
        100% {
            border-radius: 0px 0px 100px 0px;
            width: 85%;
        }
    }
}


/*Hero Section*/
.hero{
    margin: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content{
    width: 100%;     
    max-width: 950px; 
}

.hero h2{
    font-size: 2rem;
    color: rgb(255, 255, 255);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-top: 15%;
}

.hero h1{
    font-size: 6rem;
    color: rgb(255, 255, 255);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

}

@media screen and (min-width: 990px){
    .hero h1{
        font-size: 24rem;
        color: rgb(255, 255, 255);
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        margin-top: -55px;
    }
    .about .aboutbox1{
        min-height: 400px; 
        margin-left: 65px; 
        margin-right: 65px;
        margin-top: -150px !important;

    }
}

.about{
    margin-left: 30px;
    margin-right: 30px;
    top: 0;
    
}

.about .aboutbox1{
    width: 100%; 
    background-color: white; 
    /* margin-top: -70px; */
    margin-bottom: 30px;
    border-radius: 5px;
}

.about .aboutbox2{
    min-height: 500px; 
    border-radius: 5px;
    position: relative;
    width: 55%;
    overflow: hidden;
    display: flex;
    padding-bottom: 30px;
    

}



.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-bg1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  z-index: 1;
  /* rotate: 90deg; */
}

.video-overlay {
    z-index: 2;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 33px;
    overflow: hidden;
    position: relative;
}

.video-overlay h5{
    font-size: 16px;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    margin: auto;
}

.gridboxes{
    background-color: rgba(255, 255, 255, 0.558);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: #001c57 2px 2px 5px;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;  
    margin-left: 5px;

}


.gridboxes:hover{
    background-color: rgb(255, 255, 255);
    transition: all 0.3s ease-in-out;
}

.aboutbox3{
  position: relative;
  width: 100%; 
  background-color: white; 
  margin-top: 30px;
  /* margin-bottom: 30px; */
  border-radius: 5px;
  /* display: flex;  */
  justify-content: center;
  margin-left: 75px;
  margin-right: 75px;
  /* padding-top: 30px; */
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 40px;
  overflow: hidden;
}

.productrow{
  display: grid; 
  grid-template-columns: repeat(6,1fr);

}

@media screen and (max-width: 1050px) {
  .productrow{ 
    display: grid;
    grid-template-columns: repeat(2,1fr) !important;
  
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .aboutbox3 {
    margin: 20px 0;
    padding: 20px 10px 10px;
  }
  
  .video-overlay {
    padding: 20px 10px 10px;
  }
}

@media (max-width: 767px) {
  .aboutbox3 {
    margin: 15px 0;
    padding: 15px 5px 5px;
  }
  
  .video-overlay {
    padding: 15px 5px 5px;
  }
  
  .gridboxes, .gridboxes1 {
    min-height: 70px;
    margin-bottom: 15px;
  }
  
  .gridbox-image {
    height: 70px;
  }
}

@media (max-width: 575px) {
  .aboutbox3 {
    margin: 10px 0;
    padding: 10px 5px 5px;
    padding-bottom: 30px;
  }
  
  .gridboxes, .gridboxes1 {
    min-height: 60px !important;
    margin-bottom: 10px;
    padding: 8px !important;
  }
  
  
  .gridbox-image {
    height: 45px !important;
  }
}


.gridboxes1{
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: #001c57 2px 2px 5px;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;  
  overflow: hidden;
  margin-right: 5px;

}

.gridbox-image{
  max-height: 65px;
  text-align: center;
  display: flex;
  justify-content: center;
  max-width: 130px;
}


.about .about-title{
    font-size: 3rem;
    font-family: Impact;
    text-align: center;
    margin-top: 30px;
}

.about .aboutbox2 .servicebox{
    width: 100%;   
    height: 140px;
    border-radius: 5px;
    margin: 10px auto;
    background-color: rgba(255, 255, 255, 0.83);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.507);
    padding: 15px;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    align-self: center;
}


.about .aboutbox2 .servicebox:hover{
    background-color: rgb(248, 248, 248);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.507);
    transition: all 0.3s ease-in-out;

    
}

.servicebox h3{
    font-size: 1.2rem;
    font-weight: 900;
}

.servicebox p{
    font-size: 16px;
}

.gridboxes h5{
    font-size: 16px;
    color: #001c57;
}


/* Contact Section Styling */
.contact {
    background-color: black;
    margin: 30px 85px;
    border-radius: 10px;
    padding-left: 0px;  
    position: relative;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

/* Subtle Glow Effect on Hover */
.contact:hover {
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.3);
}

/* Video Styling */
.video1 {
    width: 100%;
    height: 100%;
    margin-bottom: -8px;
    margin-left: -8px;
}

/* Contact Info Styling */
.contact-info {
    text-align: center;
    color: white;
    padding: 30px;
    animation: fadeIn 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

/* Contact Heading */
.contact-heading {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    color: rgb(1, 110, 227);
}

/* Underline Animation for Heading */
.contact-heading::after {
    content: "";
    display: block;
    width: 50%;
    height: 3px;
    background: white;
    margin: 5px auto 0;
    transition: width 0.3s ease-in-out;
}

.contact-heading:hover::after {
    width: 100%;
}

/* Contact Links */
.contact-link {
    display: block;
    font-size: 1.2rem;
    color: #00c3ff;
    text-decoration: none;
    margin: 8px 0;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.contact-link:hover {
    color: #ffffff;
    text-shadow: 0px 0px 10px #ffcc00;
}

/* Contact Address */
.contact-address {
    margin-top: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;

}

/* Contact Item Layout */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.morefromus{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 85px;
    margin-right: 85px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
}


.line{
    width : 20%; 
    background-color: #001c57; 
    height: 5px; 
    display: flex; 
    vertical-align: middle; 
    justify-content: center;
    margin-right: 30px;
    margin-left: 30px;
}

.logos{
    display: flex;
    justify-content: center;
    align-items: center;    
    height: auto;
    width: 40% ;
}

.logos1{
    width: 30%;
}

.morefromus-link {
    font-size: 1rem;
    color: #680323;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    vertical-align: middle;
}

.morefromus-link:hover {
    color: #a40c0c;
    text-shadow: 0px 0px 10px #ffcc00;
}



.footer{
    margin-top: 30px;
    width: 100%;
    background-color: #00000065;
    text-align: center;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding: 15px;
}

.footer a{
    color: rgba(194, 193, 193, 0.749);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin-bottom: 0px;
}

.footer p{
    color: rgba(194, 193, 193, 0.749);
    margin-bottom: 0px;
}

.footer a:hover{
    color: #ffffff;
    text-shadow: 0px 0px 10px #ffcc00;
}



@media screen and (max-width: 991px) {
    .hero h1 {
      font-size: 10rem !important;
      margin-top: 0;
      margin-bottom: -80px;
    }
    
    .hero h2 {
      font-size: 1.5rem;
    }
    
    .about .aboutbox1 {
      margin-left: 5px;
      margin-right: 15px;
    }
    .about .aboutbox2 {
        width: 100%;
        padding-right: 10px;
        margin-left: 5px;
        margin-right: 15px;
        margin-top: 30px;
      }
    .about-title {
      font-size: 2.5rem !important;
    }
    
    .contact {
      margin: 30px 15px;
    }
    
    .morefromus {
      margin-left: 15px;
      margin-right: 15px;
    }
  }
  
  /* Tablet Adjustments */
  @media screen and (max-width: 768px) {
    .hero h1 {
      font-size: 4rem;
    }
    
    .about .aboutbox1 .row {
      flex-direction: column;
    }
    
    .about .aboutbox1 .col-7,
    .about .aboutbox1 .col-5 {
      width: 100%;
      padding: 15px;
    }
    
    .about .aboutbox1 .col-5 {
      justify-content: center !important;
    }
    
    #json-animation {
      width: 300px !important;
      height: 300px !important;
      margin: 0 auto;
    }
    
    .about .aboutbox1 div[style="margin-left: 50px; margin-bottom: 20px;"] {
      margin-left: 10px !important;
    }
    
    .about .aboutbox2 {
      width: 100% !important;
      margin-right: 0 !important;
      margin-bottom: 20px;
    }
    
    .row .aboutbox2 + .aboutbox2 {
      margin-top: 20px;
    }
  
    .servicebox {
      flex-direction: column;
      height: auto !important;
      text-align: center !important;
    }
    
    .servicebox div[style="text-align: right;"] {
      text-align: center !important;
    }
    
    .servicebox div[id^="aboutIcon"] {
      margin: 10px auto;
    }
    
    .video-overlay h5 {
      font-size: 14px;
    }
    
    .contact .row {
      flex-direction: column;
    }
    
    .contact .col-md-6 {
      width: 100%;
    }
    
    .contact-heading {
      font-size: 2rem;
    }
    
    .morefromus .col-6 {
      width: 100%;
      flex-direction: column;
    }
    
    .logos {
      width: 60%;
      margin-bottom: 15px;
    }
    
    .logos1 {
      width: 50%;
    }
  }
  
  /* Small Mobile Devices */
  @media screen and (max-width: 576px) {
    .hero h1 {
      font-size: 6rem !important;
      margin-bottom: -60px;
    }
    
    .hero h2 {
      font-size: 1.2rem;
    }
    
    .about-title {
      font-size: 2rem !important;
    }
    
    .about-title span[style="font-size: 65px;"] {
      font-size: 35px !important;
    }
    
    .about-title span[style="font-size: 4.75rem;"] {
      font-size: 2.5rem !important;
    }
    
    .video-overlay h5 {
      font-size: 12px;
      padding: 8px !important;
    }
    
    .gridboxes {
      min-height: 60px;
    }
    
    .gridboxes h5 {
      font-size: 12px;
    }
    
    .row .col-3 {
      width: 50%;
    }
    
    .morefromus h1 {
      font-size: 1.5rem;
    }
    
    .morefromus-link {
      font-size: 0.8rem;
    }
    
    .morefromus h4 {
      font-size: 1rem;
      text-align: center;
    }
    
    .morefromus .col-6 div[style*="flex-direction: row"] {
      flex-direction: column !important;
    }
    .aboutbox21{
        font-size: 30px !important;
    }
  }
  
  /* Very Small Screens */
  @media screen and (max-width: 400px) {
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .animated-header {
      padding: 10px;
    }
    
    .logo {
      width: 50px;
    }
    
    .title {
      font-size: 16px;
      padding-left: 15px;
    }
    
    /* .row .col-3 {
      width: 100%;
    } */
    
    .contact-link {
      font-size: 1rem;
    }
    
    .footer p {
      font-size: 10px;
    }
    .logos{
        width: 25%;
    }
    .morefromus{
        padding-right: 10px;
    }
    .moredfromushead{
        margin-left: 0px !important;
        margin-right: 0px !important;
        
      }
  }
  
  .moredfromushead{
    margin: 30px;
  }
  

  .aboutbox{
    padding-left: 5%;
    padding-right: 5%;
  }


  /* Add these to your styles.css file */

/* Preloader styling */
.is-preloading * {
  transition: none !important;
}

/* Basic transitions for all elements */
body {
  overflow-x: hidden;
}

/* Header animation when scrolled */
header {
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Smooth reveal animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation for service boxes */
.servicebox {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicebox:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation for grid boxes */
.gridboxes, .gridboxes1 {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gridboxes:hover, .gridboxes1:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Contact section animations */
.contact-item {
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

/* Logo animations */
.logos {
  transition: transform 0.4s ease;
}

.logos:hover {
  transform: scale(1.1);
}

/* Custom animation for hero section */
.hero-content h1 {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards 0.5s;
}

.hero-content h2 {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Add this to your styles.css file */

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
  text-align: center;
  animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #ffffff;
  border-radius: 100%;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0;
  animation-delay: -1.0s;
}

@keyframes sk-rotate {
  100% { transform: rotate(360deg); }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
  }
}