/********** Custom CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}



/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Drop down ***/  
.custom-nav-item {  
    position: relative;  
    
}  
   
.custom-dropdown-menu {  
    background-color: #fff;  
    padding: 20px;  
    min-width: 600px;  
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);  
    z-index: 1;  
    display: none; /* Added to initially hide the dropdown */  
}  
  
@media (min-width: 1040px) {    
    .custom-dropdown-menu {    
        position: absolute;    
        top: 100%;    
        left: -100%;    
        margin-top: -5px;   
        display: flex;    
        flex-wrap: wrap;    
        justify-content: space-between;    
        transform-origin: top;    
        transform: scaleY(0);    
        transition: transform 1s ease;    
    }    
  
    .dropdown-column {    
        flex-basis: 48%;    
    }    
  
    /* Added single column condition */    
    .dropdown-column.single {    
        flex-basis: 100%;    
    }  
    
    .dropdown-item {    
        padding: 3px 20px;   
        color: #21252998 ;  
        white-space: nowrap;    
        opacity: 0;    
        transform: translateY(-10px);    
        transition: opacity 1s ease, transform 1s ease;   
        background-color: white !important;     
          
    }    
       
    .custom-nav-item:hover .custom-dropdown-menu {    
        display: flex;   
        transform: scaleY(1);    
        transition-delay: 0.75s;  
          
    }    
    
    .custom-nav-item:hover .dropdown-item {    
        opacity: 1;    
        /* transform: translateY(0);   */  
        transition-delay: 0.75s;  
    }    
  
    /* Add transitions for non-hover state */  
    .custom-nav-item:not(:hover) .custom-dropdown-menu {  
        transform: scaleY(0);  
        transition: transform 0.10s ease;  
    }  
  
    .custom-nav-item:not(:hover) .dropdown-item {  
        opacity: 0;  
        transition: opacity 0.10s ease, transform 0.10s ease;  
    }  
}    
  
  
@media (max-width: 1039px) {    
     
    .custom-dropdown-menu {
        min-width: auto; /* Set minimum width to 'auto' for smaller screens */
        /* Any other styles you may need */
    }
    
    /* Add border between nav-items */
    .nav-item {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        box-sizing: border-box; 
        
    }
    


    .custom-nav-item:hover .custom-dropdown-menu {
      display: block;
      color: var(--primary); 
      
    }
  }
    

.bld-item {  
    color: var(--primary); /* Replace with your desired color, e.g., #FF5733 */  
    text-shadow: 0.3px 0.3px 0.3px rgba(0, 0, 0, 0.5); /* Adjust the shadow properties to your preference */  
}  
  
@media (min-width: 1040px) {  
    .bld-item {  
        padding-top: 20px; /* Adjust the padding value to your preference */  
       
    }  
}  

  

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: 0.5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/* Sign-Up button */
.btn-custom {  
    border: 2px solid rgb(0, 98, 128) !important;  
}  
  


/*** Navbar ***/  
.navbar-dark .navbar-nav .nav-link {  
    font-family: 'Nunito', sans-serif;      
    position: relative;  
    margin-left: 25px;  
    padding: 35px 0;  
    color: #FFFFFF;  
    font-size: 20px;  
    font-weight: 700;  
    outline: none;  
    transition: 0.5s;  
}  
  
.sticky-top.navbar-dark .navbar-nav .nav-link {  
    padding: 30px 0;  
    color: var(--dark);  
}  
  
.navbar-dark .navbar-nav .nav-link:hover,  
.navbar-dark .navbar-nav .nav-link.active {  
    color: var(--primary);  
}  
  
.navbar-dark .navbar-brand h1 {  
    color: #FFFFFF;  
}  
  
.navbar-dark .navbar-toggler {  
    color: var(--primary) !important;  
    border-color: var(--primary) !important;  
}  
  
@media (max-width: 1039px) { 

    .sticky-top.navbar-dark {  
        position: relative;  
        background: white !important; 
        z-index: 10000;  
    }  
  
    .navbar-dark .navbar-nav .nav-link,  
    .navbar-dark .navbar-nav .nav-link.show,  
    .sticky-top.navbar-dark .navbar-nav .nav-link {  
        padding: 10px 0;  
        color: var(--dark);  
    }  
  
    .navbar-dark .navbar-brand h1 {  
        color: var(--primary);  
    }  
} 

/*** Navbar for mobiles***/  

@media (max-width: 1039px) {
    .navbar-collapse {
      background-color: #ffffff;
      z-index: 1000;
      padding-bottom: 10px;
     
    }
  }
  
    
 
/* Add a class to control the menu appearance */  
.navbar-collapse.slide {  
    transition: transform 0.3s ease, opacity 0.3s ease;  
    
  }  
    
  /* Add a class for the hidden state of the menu */  
  .navbar-collapse.slide:not(.show) {  
    opacity: 0;  
    transform: translateX(100%);  
  }  
    
  @media (min-width: 1040px) {  
    .navbar-collapse.slide {  
      opacity: 1 !important;  
      transform: translateX(0) !important;  
      
    }  
  }  

 /* Ends for Moblie NAvbars */ 

 
.logo-sticky {    /* STicky logo */
    display: none;  
}  
  
.sticky-top .logo {  
    display: none;  
}  
  
.sticky-top .logo-sticky {  
    display: block;  
}  


@media (min-width: 1040px) {
    .navbar-dark {
        position: absolute;  /* This is transaparent navbar */
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 1000;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 6px;
        bottom: 20px;
        left: 50%;
        background: var(--primary);
        transition: 1s;
        border-radius: 6px; 
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

/* Add spacing between navbar menu text for devices with screen width greater than 992px */  
@media (min-width: 1040px) {  
    .navbar-nav .nav-item {  
      margin-right: 40px; /* Adjust the value as needed */  
    }  
  }  

 

/* Make the currently selected nav item bold */  
.navbar-nav .nav-link.active {  
    font-weight: 700;  
    font-size: 20px;
    
}  
  
  
  
/*** Carousel ***/  
.carousel-caption {  
    top: 0;  
    left: 0;  
    right: 0;  
    bottom: 0;   
    z-index: 1;  
}  
  
.carousel-image {  
    max-width: 100%;  
    max-height: 575px; /* Adjust this value according to your preference */  
    object-fit: cover;  
}  
  
.carousel-image-container {  
    position: relative;  
}  
  
.carousel-content {  
    position: absolute;  
    top: 0;  
    left: 0;  
    right: 0;  
    bottom: 0;  
}  
  
@media (max-width: 1039px) {  
    .carousel-caption h5 {  
        font-size: 18px ;  
        font-weight: 500 !important;  
    }  
  
    .carousel-caption h1 {  
        font-size: 30px;  
        font-weight: 600 !important;  
    }  
  
    .carousel-image {  
        opacity: 0; 
        
    }  
    .carousel-caption {  
        background: transparent;  
    }
}  
  
.smaller-text {  
    font-size: 50px; /* Adjust the font size as desired */  
}  
  
 


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 90px;
    bottom: -60px;
    left: 50%;
    margin-left: -40px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -10px;
    opacity: 1;
}


/*** Services in main page ***/
.testimonial-carousel .owl-dots {
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}


.image-text-container {  
    display: flex;  
    flex-direction: column;  
    align-items: center;  
}  
  
.text-container {  
    text-align: center;  
    margin-top: 10px;  
}  

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
    padding: 20 px;
    
    
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/* Add the custom-image-height class */  
.custom-image-height {  
    height: 250px; /* Adjust this value to your desired height */  
    object-fit: cover; /* This will maintain the aspect ratio of the image */  
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}

/*** Blog (Read More) Button***/  
.read-more {  
    display: inline-block;  
    text-decoration: none;  
    color: #000;  
    position: relative;  
    transition: transform 0.6s ease-in-out;  
    border-radius: 30px;  
    height: 50px;  
    line-height: 50px;  
    overflow: hidden;  
    padding-right: 20px;  
    padding-left: 50px; 
    width: 330px; /* Add this line to set the width of the button */  
}  
  
.read-more::before {  
    content: "";  
    position: absolute;  
    top: 0;  
    left: -100%;  
    width: 100%;  
    height: 100%;  
    background-color: var(--primary);  
    transition: left 0.6s ease-in-out;  
    z-index: -1;  
}  
  
.circle-icon {  
    position: absolute;  
    left: 0;  
    top: 50%;  
    transform: translateY(-50%);  
    display: inline-block;  
    width: 40px;  
    height: 40px;  
    border-radius: 50%;  
    text-align: center;  
    line-height: 40px;  
    background-color: var(--primary);  
    transition: background-color 0.6s ease-in-out;  
    z-index: 2;  
}  
  
.read-more:hover {  
    transform: translateX(5px);  
    color: #fff;  
}  
  
.read-more:hover::before {  
    left: 0;  
}  
  
.read-more:hover .circle-icon {  
    background-color: var(--primary);  
}  
  




/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: 0.2s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

.custom-modal-dialog {  
    position: fixed;  
    top: 0;  
    left: 0;  
    height: 100%;  
    width: 0;  
    overflow-x: hidden;  
    transition: width 0.3s ease-in-out;  
}  
  
.modal.show .custom-modal-dialog {  
    width: 100%;  
}  



/*---Additional Services-------*/
.add-service {  
    background-color: #f8f9fa;  
    padding: 20px;  
    border-radius: 10px;  
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);  
    text-align: left;   
    transition: all 0.3s ease;  
}  

.add-service:hover {  
    transform: translateY(-5px);  
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);  
    background-color: #72bcd63e;
}  

.add-service .service-content {  
    display: flex;  
    align-items: center;   
    justify-content: left;    
}  

.add-service i {  
    color: var(--primary);  
    margin-right: 10px;  
}  

.add-service h4 {  
    margin: 0;  
}  

.add-service h4 a {  
    color: #333;  
    text-decoration: none;  
    transition: color 0.3s ease;  
}  

.add-service h4 a:hover {  
    color: #007bff;  
}  

.add-service p {  
    color: #666;  
    line-height: 1.5;  
    margin-top: 10px;  
}


/*** IAAS SAAS PAAS ***/
.image-text-container {  
    display: flex;  
    flex-direction: column;  
    align-items: center;  
}  
  
.text-container {  
    text-align: center;  
    margin-top: 10px;  
}  

.testimonial-item {
    background: #FFFFFF;
    box-shadow: 0 0 30px #DDDDDD;
    padding: 20px;
    border-radius: 10px; /* Added border-radius for rounded corners */
    transition: transform 0.3s ease; /* Added transition for smooth hover effect */
}

.testimonial-item:hover {
    transform: translateY(-10px); /* Added hover effect to move item up slightly */
}

/* Add the custom-image-height class */  
.custom-image-height {  
    height: 250px; /* Adjust this value to your desired height */  
    object-fit: cover; /* This will maintain the aspect ratio of the image */  
}

/* Added a cool hover effect for the testimonial image */
.centered-image {
    transition: transform 0.3s ease;
}

.centered-image:hover {
    transform: scale(1.05); /* Enlarge the image on hover */
}

/* Added a cool hover effect for the testimonial image */
.centered-image-1 {
    transition: transform 0.3s ease;
    height: 200px; /* Adjust this value to your desired height */  
    width: 350px;
    object-fit: cover; 
}

.centered-image-1:hover {
    transform: scale(1.05); /* Enlarge the image on hover */
}

/* About us Display */
.about-us-display {
    
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-us-display:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.about-us-display:hover {
    background-color: #e9ecef;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.about-us-display:hover:before {
    transform: translateY(0);
}

/* Display Content */
.display-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.display-content i {
    color: #6c757d;
    margin-bottom: 10px;
}

.display-content h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
}

.about-us-display p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.display-content img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.about-paragraph {
    text-align: center;
    font-style: italic;
    border-left: 3px solid var(--primary); /* Adjust the border color to your preference */
    background-color: #F5F5F5; /* Adjust the background color to your preference */
    padding: 10px;
    margin: 5px;
    position: relative;
    font-size: 1.2em;
   
}

.about-paragraph::before {
    content: "“";
    font-size: 3em;
    position: absolute;
    left: 10px;
    top: -10px;
}

/* about Image */
.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-image img {
    display: none;
    height: 800px;
    object-fit: cover;
    margin-top: 20px;
}

@media only screen and (min-width: 1025px) {
    .about-image img {
        display: block;
    }
}

  


@media (min-width: 1025px) {
    .about-paragraph {
        padding-left: 100px; /* Adjust the left padding value to your preference */
        padding-right: 100px; /* Adjust the right padding value to your preference */
    }
}

@media screen and (max-width: 1024px) {
    .row.g-5-custom {
        display: flex;
        flex-direction: column-reverse;
    }
    
    
}

/* Blog Image */
.img-wide {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* No-Image Show */
@media (max-width: 1024px) {
    .no-mobile-show {
        display: none;
    }
}


/* Highligthing search*/
.highlight {  
    background-color: yellow;  
}  



/* Login-Page */  
.login-form {  
    margin-top: 20px;  
}  
  
.website-logo {  
    display: block;  
    width: 150px;  
    height: auto;  
    margin: 0 auto 20px;  
}  
  
form {  
    width: 100%;  
    max-width: 500px;  
    margin: 0 auto;  
}  
  
.form-group {  
    margin-bottom: 20px;  
}  

/* to show if all field not selected in form input */
.invalid {  
    border-color: red !important;  
}

@media (max-width: 750px) {  
    .custom-row-form .form-group.name-group {  
      margin-top: -50px;  
    }  
}  

@keyframes swipeRight {  
    0% {  
      transform: translateX(-100%);  
      opacity: 0;  
    }  
    100% {  
      transform: translateX(0);  
      opacity: 1;  
    }  
  }  
    
.swipe-right {  
    animation: swipeRight 0.5s ease-out;  
} 

/* DOB form calender */
.input-group {  
    position: relative;  
}  

.input-group .fas {  
    position: absolute;  
    right: 10px;  
    top: 50%;  
    transform: translateY(-50%);  
    cursor: pointer;  
} 
  
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}