@import url('https://fonts.googleapis.com/css2?family=Fira+Sans: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&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin: 0;
    font-family: "Ubuntu", serif;

}

body {
    padding: 0;
    box-sizing: border-box;

}

.bg-color {
    background-color: rgb(20 30 73);
}

.pd {
    padding: 30px;
}
img{
    height:auto;
    width:100%;
}
.logo {
    max-width: 120px;
}

.nav-item {
    padding: 0px 5px;
}
.nav-btn{
    background-color: white;
    color:black;
    border-radius: 10px;
    padding:8px 10px;
}
.navbar {
    /* background-color:  rgb(20 30 73); */
    background-color: transparent;
    position: fixed;
}

.navbar button span{
    width:30px;
}
.search-container {
  position: relative;
 display: flex;
 gap:20px;
 align-items: center;
 margin:15px 0px;
}
#search-input{
    width:0;
    padding:8px;
    opacity: 0;
    transition:all 0.3s ease-in;
   
}
#search-input.active{
    width:200px;
    opacity:1;
   
}
.hero-sec {
    min-height: 500px;
    margin: auto;
    text-align: center;
    background-image: url('../images/hero1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.636);
    border-radius: 30px;
}
.hero-cont h1{
  /* -webkit-text-stroke: 1px black; */
}
.servc-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 30px 0px; */
    gap: 10px;
    overflow: hidden;

}

.con {
    border: 2px solid white;
    width: 20%;
    height: 400px;
    border-radius: 20px;
    transition: 2s ease-in-out;
    object-fit: cover;
    position: relative;

}

.srvc-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100px);
    /* Start slightly below */
    transition: transform 1s ease-out, opacity 2s ease-out;
}

.con:hover .srvc-text {
    opacity: 1;
    transform: translateY(0);
}

.con:hover {
    width: 100%;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.46);
}

.con:nth-child(1) {
    background-image: url('../images/1.png');
    background-position: center;
    background-size: cover;
}

.con:nth-child(2) {
    background-image: url('../images/2.png');
    background-position: center;
    background-size: cover;
}

.con:nth-child(3) {
    background-image: url('../images/3.png');
    background-position: center;
    background-size: cover;
}

.con:nth-child(4) {
    background-image: url('../images/4.png');
    background-position: center;
    background-size: cover;
}

/* tstimon */
.card {
    width: 400px;
    height: 500px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.card-content {
    overflow-y: auto;
}

.card img {
    height: 50px;
    width: 50px;
}

.srvc-card {
    min-height: 300px;
    max-width: 300px;
    border: 3px solid white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;

}

.srvc-card:hover {
    /* background-image: url('../images/1.png'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.8s ease;
    background-blend-mode: overlay;
    background-color: rgba(21, 26, 50, 0.646);
}
.serv-sect .row:nth-of-type(2) .srvc-card:nth-child(1):hover{
    background-image: url('../images/1.png');
}

.serv-sect .row:nth-of-type(2) .srvc-card:nth-child(2):hover{
    background-image: url('../images/2.png');
}

/* Second row images */
.serv-sect .row:nth-of-type(3) .srvc-card:nth-child(1):hover{
    background-image: url('../images/3.png');
}

.serv-sect .row:nth-of-type(3) .srvc-card:nth-child(2):hover{
    background-image: url('../images/4.png');
}
/* strp */
.strp {
    background-image: url('../images/strp.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
    background-color: rgb(20 30 73);
    margin: 5px;
    border-radius: 10px;
    position: relative;
    background-blend-mode: overlay;
    background-color: #19191a98;


}

.strp-cont {
    max-width: 400px;
    position: absolute;
    top: 52%;
    color: white;
    background-color: #141e49ab;
    border: 2px solid white;
    border-radius: 20px;
    padding: 20px;
    left: 5%;

}

/* mission-vision */
.misvison {
    z-index: 1;
}

.misvison-card {
    /* max-width: 400px; */
    padding: 20px;
    min-height: 230px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease; /* Transition for text color */
    border-radius: 20px;
}

.misvison-card h3, .misvison-card p {
    transition: color 0.3s ease; /* Transition for text color */
    color: #000; /* Default text color */
    position: relative; /* Allow for z-index stacking */
    z-index: 2; /* Keep text above pseudo-element */
    
}

.misvison-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: rgb(204, 210, 236);
    transition: width 3s ease;
    z-index: 1; /* Keep the pseudo-element below the text */
}

/* On hover, expand the pseudo-element width and change text color */
.misvison-card:hover::before {
    width: 720px;
    background-color: rgb(41, 65, 91); /* Change pseudo-element background on hover */
}

.misvison-card:hover {
    color: #fff; /* Change text color */
}

.misvison-card:hover h3, .misvison-card:hover p {
    color: #fff; /* Change text color inside card */
}
/* footer  */
.foot-btn {
    display: inline-block;
    position: relative;
    top: 11px;
    left: 20px;
    overflow: hidden;
    border-radius: 10px;
    border: 1.5px solid #fffeff;
    color: #ffffff;
    z-index: 1;
    letter-spacing: 0.8px;
    background: linear-gradient(180deg, #3a3c3f 0%, #063b71 100%);
    /* background-color: rgb(43, 66, 108); */
    width: 50%;
    height: 40px;
    margin: 0px auto;
    padding:8px !important;
}
.align-cen{
    align-items: center;
}
.form input {
    border-radius: 50px;
    background: #faf9fa;
    border: none;
    outline: none;
    padding: 5px 20px;
    color: #ffffff;
    width: 100%;
}
/* form */

    .form-container {
      max-width: 700px;
      margin: auto;
      background: #fff;
      padding: 30px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 10px;
      color: #222;
    }

    .form-container p {
      text-align: center;
      color: #666;
      margin-bottom: 25px;
    }

    .form-group {
      margin-bottom: 18px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
    }

    input,
    select,
    textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid #ccc;
      border-radius: 10px;
      font-size: 15px;
      outline: none;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: #4f46e5;
    }

    textarea {
      resize: vertical;
      min-height: 100px;
    }

    .conditional-section {
      display: none;
      margin-top: 20px;
      padding: 18px;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      background: #f9fafb;
    }

    button {
        max-width: 200px;
      width: 100%;
      padding: 14px !important;
      background: #4f46e5;
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      font-weight: bold;
    }

    button:hover {
      background: #07023d;
      color: #fff;
    }
/* about  */
.abt {
    background-image: url('../images/abt-img.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.477);
}

/* contact */
input[type=text],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #7032d0;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 16px 5px;
}

input[type=submit]:hover {
    background-color: #e69479;
}

.cont {
    background-image: url('../images/cont.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
}

/* responsive */
@media only screen and (max-width:767px) {
    .servc-cont {
        display: flex;
        flex-direction: column;
    }

    .con {
        border: 2px solid white;
        width: 100%;
        height: 400px;
        border-radius: 20px;
        transition: 2s ease-in-out;
        object-fit: cover;
        position: relative;
    }
.navbar-toggler{
    width:50px;

}
    .navbar-collapse {
        opacity: 0;
        transform: translate(100px);
        animation: fadeInRight 1s ease-out forwards;
    }

    @keyframes fadeInRight {
        0% {
            opacity: 0;
            transform: translateY(100px);

        }

        100% {
            opacity: 1;
            transform: translateY(0);
            /* Move to original position */
        }
    }
.strp-cont{
    max-width: 330px;
    position: absolute;
    top: 48%;
    color: white;
    background-color: #141e49ab;
    border: 2px solid white;
    border-radius: 20px;
    padding: 14px;
    left: 10%;
}
.foot-btn{
    margin:0px;
    position: relative;
    top: -19px;
    left: 4px;
}
.align-cen {
    align-items: center;
}
footer .row {
    text-align: center;
}
.mob-ma{
    margin:20px 0px;
}
.mob-cen{
    text-align: center;
}
}

@media only screen and (max-width:320px) {
    .logo {
        max-width: 170px;
    }

    .navbar-toggler-icon {
        width: 45px;
        height: 45px;
        padding: 5px;
    }
}