
.preloader {
    background-color: #f7f7f7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s;
    margin: 0 auto
}

.preloader .preloader-circle {
    width: 100px;
    height: 100px;
    position: relative;
    border-style: solid;
    border-width: 1px;
    border-top-color: #091B40;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    z-index: 10;
    border-radius: 50%;
    -webkit-box-shadow: 0 1px 5px 0 rgba(35, 181, 185, 0.15);
    box-shadow: 0 1px 5px 0 rgba(35, 181, 185, 0.15);
    background-color: #fff;
    -webkit-animation: zoom 2000ms infinite ease;
    animation: zoom 2000ms infinite ease;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s
}

.preloader .preloader-circle2 {
    border-top-color: #041529
}

.preloader .preloader-img {
    position: absolute;
    top: 50%;
    z-index: 200;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-top: 6px;
    -webkit-transition: .6s;
    -o-transition: .6s;
    transition: .6s
}

.preloader .preloader-img img {
    max-width: 55px
}

.preloader .pere-text strong {
    font-weight: 800;
    color: #dca73a;
    text-transform: uppercase
}

@-webkit-keyframes zoom {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }
}

@keyframes zoom {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transition: .6s;
        -o-transition: .6s;
        transition: .6s
    }
}



.navbar-toggler-icon {
    filter: invert(1) brightness(2);
  }


.nav-link {
    text-transform: none;
    letter-spacing: 0.05em;
    color: #FAFAFA;
    text-decoration-line: none;
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    margin-right:12px;
}

.navbar-toggler {
    position: absolute;
    top: 10px;
    right: 10px;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(2);
  }

.navbar, .dropdown-menu {
    border-bottom: 2px solid #BF9A56;
    padding: 0px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: 2px 2px 10px hsla(39, 45%, 54%, 0.5);
    /* increased opacity and smaller values */
}

footer {
    border-top: 2px solid #BF9A56;
    box-shadow: 2px 2px 10px hsla(39, 45%, 54%, 0.5);
}

.nav-link:hover,
.nav-link:hover i {
    color: #091B40;
    background: #BF9A56;
}

.nav-item.active .nav-link {
    color: #BF9A56;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    overflow-x: hidden;
    /* Prevent horizontal scrollbar */
}

.white-bg {
    background: #ffffff
}

.gray-bg {
    background: #f7f7f7
}

.theme-bg {
    background: #021740
}

.theme-bg5 {
    background: rgb(2, 23, 64,0.5)
}
.theme-lk {
    color: #091B40;
    /* Dark blue text */
    font-weight: 500;
    /* Semi-bold font */
    cursor: pointer;
    /* Change cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.theme-lk:hover {
    color: #BF9A56;
    font-weight: 700;
    border-color: #BF9A56;
}
.brand-bg {
    background: #f1f4fa
}
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-card {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.contact-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.contact-card .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.contact-card .contact-item i {
    font-size: 24px;
    margin-right: 10px;
}
.testimonial-bg {
    background: #f9fafc
}

.white {
    color: #fff
}

.black {
    color: #16161a
}

.theme {
    color: #091B40;
}

.theme-u {
    text-decoration-line: underline;
    text-decoration-color: #BF9A56;
    color: #091B40;
}

.theme1 {
    color: #BF9A56;
}

.theme1i {
    color: #BF9A56;
    font-style: oblique;
}

.theme1-bg {
    background-color: #BF9A56;
}

.theme1-u {
    text-decoration-line: underline;
    /* Required to add the underline  */
    text-decoration-color: #091B40;
    color: #BF9A56;
}

.themew-u {
    text-decoration-line: underline;
    /* Required to add the underline  */
    text-decoration-color: #BF9A56;
    color: #eee9df;
}

.navbar-brand img {
    top: 50px;
    max-height: 70px;
    padding-left: 10%;
}

.sect-title {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    text-align: center;
    display: block;
    margin: 0;
    position: relative;
    color:#091B40;
}
.tb-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    /* Converts 75px to rem assuming 16px base font */
    text-align: center;
    /* Aligns the text to the center */
    display: block;
    /* Ensures it takes only the necessary width */
    margin: 0;
    position: relative;
    /* Enables precise underline positioning */
    color:#091B40;
}

.sect-title1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    /* Converts 75px to rem assuming 16px base font */
    text-align: center;
    /* Aligns the text to the center */
    display: block;
    /* Ensures it takes only the necessary width */
    margin: 0;
    position: relative;
    /* Enables precise underline positioning */
    color:#FAFAFA;
}

.sect-stitle {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    /* Converts 75px to rem assuming 16px base font */
    text-align: center;
    /* Aligns the text to the center */
    display: block;
    /* Ensures it takes only the necessary width */
    margin: 0;
    position: relative;
    /* Enables precise underline positioning */
    color: #091B40;
}

.sect-stitle1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    /* Converts 75px to rem assuming 16px base font */
    text-align: center;
    /* Aligns the text to the center */
    display: block;
    /* Ensures it takes only the necessary width */
    margin: 0;
    position: relative;
    /* Enables precise underline positioning */
    color: #FAFAFA;
}

.sect-stitle1::after {
    content: '';
    /* Creates the underline effect */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* Centers the underline */
    bottom: 5px;
    /* Adjusts spacing below the text */
    width: 45px;
    /* Controls underline length */
    height: 3px;
    /* Thickness of the underline */
    background-color: #BF9A56;
    /* Underline color */
}

.swiper-container {
    width: 100vw;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    bottom: 20%;
    left: 30px;
    color: #FAFAFA;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;

}

.action-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: white;
    color: #091B40;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #091B40;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.action-button:hover {
    background-color: #BF9A56;
    color: #FAFAFA;
}

.action-button1 {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 24px;
    background-color: #091B40;
    color: #FAFAFA;
    text-decoration: none;
    border: 2px solid #091B40;
    border-radius: 5px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 243px;
    height: 46px;
}

.action-button1:hover {
    background-color: #FAFAFA;
    color: #BF9A56;
}
.action-button2 {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 24px;
    background-color: #FAFAFA;
    color: #091B40;
    text-decoration: none;
    border: 2px solid #091B40;
    border-radius: 5px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 243px;
    height: 46px;
}

.action-button2:hover {
    background-color: transparent;
    color: #BF9A56;
}
.btn-act1 {
    display: inline-block;
    margin: 5px;
    background-color: white;
    color: #091B40;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #091B40;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-act1:hover {
    background-color: #BF9A56;
    color: #FAFAFA;
}
.btn-act2 {
    display: inline-block;
    margin: 5px;
    background-color: #091B40;
    color: #FAFAFA;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-act2:hover {
    background-color: #BF9A56;
    color: #FAFAFA;
    border: 1px solid #091B40;
}
.signature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Ensures each line is centered */
    float: right;
    /* Aligns the block to the right of the paragraph */
    margin-top: 20px;
    /* Adds some spacing above */
}

.title {
    font-size: 4rem;
    opacity: 1;
}

footer h5 {
    font-weight: 600;
    text-transform: uppercase;
}

footer p {
    font-size: 14px;
    margin: 5px 0;
}

footer .fas {
    margin-right: 8px;
}

.footer-logo {
    width: 60px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/*Media Screen changes*/
.card-with-bg {
    position: relative;
    overflow: hidden;
}

.card-with-bg:hover {
    box-shadow: none !important;
    fill: none !important;
    cursor: zoom-in !important;
}

.card {
    display: flex;
    flex-direction: column;
    height: 260px;
}

.card-image-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Set the height to 60% */
    background-size: cover;
    /* Adjust as needed: cover, contain, etc. */
    background-position: center;
    z-index: 1;
    /* Place it behind the date and text */
}

.card-body-media {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    z-index: 2;
}

h-25 {
    height: 25%;
}

.card-date {
    position: absolute;
    z-index: 3;
    /* Ensure it's on top */
    color: #BF9A56;
    background: #091B40;
}

.media-height {
    height: 360px !important;
}

.theme-txtbg2 {
    background: #000046;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #1CB5E0, #000046);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #1CB5E0, #000046);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/*services page*/
.servsq {
    height: 175px;
}

.servrd {
    width: 80px;
    height: 80px;
}

.icon {
    width: 60px;
}

.srvttl {
    font-size: 1rem;
}


.content-area {
    padding-bottom: 40px; /* Add some padding at the bottom for scrolling */
}

.grid-container {
    max-width: 860px; /* Maximum width for the grid content */
    margin: 0 auto; /* Center the grid container horizontally */
}

.grid-item {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border:solid #091B40;
    min-height: 150px;;
    border-radius: 8px; /* Rounded corners for the grid items */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Subtle shadow for depth */
    height: 100%; /* Ensures all items in a row have the same height */
    display: flex; /* Use flexbox for vertical centering of content */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}

.grid-item h5 {
    margin-top: 0;
    margin-bottom: 0; /* Remove bottom margin to help with vertical centering */
    color: #333; /* Dark grey text color */
    font-size: 1.25rem; /* Adjust font size for better fit in smaller columns */
    line-height: 1.4; /* Improve readability */
}
.achiev {
    width: 100%;
    height: auto; /* Adjust height as needed */
    background-image: url('../img/achiev.avif');
    background-size: cover;
    background-position: center;
    z-index: -1; /* Ensures the background stays behind the content */
}


.border-theme{
     border: 1px solid #091B40;
}
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .gallery-item {
            aspect-ratio: 1 / 1;
            /* Square grid cells */
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #091B40;
            background-color: #f0f0f0;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Fill the container, cropping if needed */
            display: block;
        }

        .gallery-item a {
            display: block;
            /* Make the link fill the gallery item */
            width: 100%;
            /* Ensure the link takes full width */
            height: 100%;
            /* Ensure the link takes full height */
            display: flex;
            /* Use flexbox inside the link too */
            align-items: center;
            /* Vertically center the image */
            justify-content: center;
            /* Horizontally center the image */
        }

        .gallery-item picture {
            overflow: hidden;
            position: relative;
            width: auto;
            aspect-ratio: 1 / 1;
            filter: brightness(105%) contrast(105%);
        }

        .pagination {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 5px;
            background-color: #fff;
        }


        .pagination button {
            border: none;
            background: #eee;
            padding: 10px 16px;
            border-radius: 8px;
            transition: background 0.3s ease;
            margin: 0;
            cursor: pointer;
        }

        .pagination button.active,
        .pagination button:hover {
            background: #091B40;
            color: white;
        }

        .loading {
            text-align: center;
            margin-top: 20px;
            font-style: italic;
        }

        .error {
            text-align: center;
            margin-top: 20px;
            color: red;
        }

        #lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            cursor: pointer;
            flex-direction: column;
            /* To stack image and buttons */
        }

        #lightbox img {
            max-width: 90%;
            max-height: 80%;
            /* Reduced height to make space for buttons */
            object-fit: contain;
            margin-bottom: 10px;
        }

        #lightbox-controls {
            display: flex;
            gap: 20px;
        }

        #lightbox-controls button {
            padding: 10px 15px;
            cursor: pointer;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            border-radius: 5px;
        }

        #lightbox-controls button:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        div#portfolio {
            max-width: calc(3 * (779px / 3));
            /* Or a smaller value */
            margin: 0 auto;
            /* To center the grid if it's narrower than its container */
            grid-gap: 0;
            /* or */
            row-gap: 0;
            column-gap: 0;
        }
        
#back-top 
  	{
	  background: #091B40;
	  height: 50px;
	  width: 50px;
	  right: 31px;
	  bottom: 18px;
	  position: fixed;
	  color: #fff;
	  font-size: 20px;
	  text-align: center;
	  border-radius: 50%;
	  line-height: 48px;
	  border: 2px solid gold; 
	}

#back-top a i 
  	{
	  display: block;
	  line-height: 50px;
	}