:root{
    --primary:#2643ea;
    --primary-0: #392fcb;
    --primary-1:#d8d6fe;
    --body: #fff;
    --text: #211e1e;
    --footer: #0f172a; /*#0f172a #0f1b5c*/
    --hero-bg:url("../img/header-bg.jpg");
    --contact-primary-color: #004a99;
}

/*===================
===== Common =====
=====================*/
html,
body{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.section{
    padding: 70px 0;
}

.section .main-title{
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 2px;
}
.section .title{
    text-align: center;
    font-size: 2.5rem;
}
.section .subtitle{
    padding-bottom: 40px;
    text-align: center;
}

.btn-primary{
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 0;
    border: 2px solid var(--primary);
}
.btn-primary:hover{
    background-color: var(--primary-1);
    border: 2px solid var(--primary);
    color: var(--primary);
}

/*===================
===== Navbar =====
=====================*/
.navbar #mobile-menu{
    display: none;
}
.navbar{
    padding: 0;
    border: 1px solid #ddd;
}
.navbar .navbar-brand img{
    width: 50px;
    transition: all 0.4s ease-in-out;
}
.navbar .nav-item{
    padding: 20px 0;
    cursor: pointer;
}
.navbar .nav-link{
    color: var(--text);
    position: relative;
    transition: all 0.3s ease-in-out;
}
.navbar .nav-item:not(.navbar .sub .submenu .nav-item):hover > .nav-link{
    color: var(--primary);
}
.navbar .nav-link::after{
    content: "";
    display: block;
    background-color: var(--primary);
    width: 0px;
    position: absolute;
    height: 5px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}
.navbar .nav-item:not(.navbar .sub .submenu .nav-item):hover > .nav-link::after{
    width: 20px;
}
.navbar .nav-item:not(.navbar .sub .submenu .nav-item):hover .submenu{
    top: 102%;
}

/* Submenu */
.navbar .sub{
    position: relative;
}
.navbar .sub .submenu{
    visibility: hidden;
    background-color: var(--body);
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-70%);
    margin-left: 0;
    padding-left: 0;
    top: 81px;
    box-shadow: 0px 6px 10px #00000088;
    white-space: nowrap;
    overflow: hidden;
    padding: 20px;
    z-index: 99999;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}


.navbar .wide-menu{
    
    min-width: 700px;
}
.navbar .sub .wide-menu .nav-item{
    padding: 0;
    margin-left: 30px;
    cursor: auto;
}
.navbar .sub .nav-item{
    padding: 0;
}
.navbar .sub .submenu .nav-link{
    display: inline-block;
    margin-bottom: 5px;
    padding: 5px 10px;
    font-size: 0.9rem;
}
.navbar .sub .submenu .nav-link:hover{
    color: var(--primary);
}
.navbar .nav-item:hover .submenu{
    visibility: visible;
    transform: translateX(-50%);
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.navbar .sub .submenu .sub-heading{
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 15px;
}
.navbar .sub .submenu .sub-heading::before{
    content: "";
    border-top: 1px solid #000;
    height: 1px;
    margin-right: 5px;
    width: 20px;
}
/* Offcanvas */
.navbar .offcanvas{
    width: 300px !important;
}

/* Mobile Menu */
#mobile-menu{
    transition: all 0.3s ease-in-out;
}
#mobile-menu .nav-item{
    padding: 0;
    
}


/*===================
===== Hero =====
=====================*/
.hero{
    position: relative;
    height: 700px;
    overflow: hidden;
}
.hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(25deg,rgba(2, 1, 8, 0.601) 0%, rgba(8, 1, 23, 0.437) 50%), var(--hero-bg) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: -999;
    filter: blur(1px);
    /* animation-name: zoomin;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out; */
}

/* @keyframes zoomin {
    0%{
        transform: scale(1);
    }100%{
        transform: scale(1.1);
    }
} */

.hero .hero-text .hero-title{
    font-size: 3rem;
    font-weight: 700;
}
.hero .hero-text .hero-subtitle{
    font-size: 1.5rem;
    margin: 20px 0;
}

.hero .hero-text form{
    margin-top: 30px;
}
.hero .hero-text .form-control{
    padding: 15px 15px;
}
.hero .hero-text .form-control:focus{
    box-shadow: none;
}
.hero .hero-text button{
    background-color: var(--primary);
    color: var(--body);
}


/*===================
===== Status =====
=====================*/
.status .status-wrapper{
    width: 40%;
}
.status .status-wrapper .count{
    font-size: 2.5rem;
    margin-bottom: 0;
    background-color: var(--primary);
    text-align: center;
    color: var(--body);
    border-radius: 3px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 5px 10px;
}
.status .status-wrapper .count::after{
    content: "";
    width: 200px;
    height: 200px;
    display: block;
    background-color: var(--primary-0);
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    transform: rotate(48deg) translate(65px, -58px);;
}
.status .status-wrapper .title{
    font-size: 1.1rem;
    background-color: var(--primary-1);
    margin-bottom: 0;
    padding: 5px 10px;
    color: var(--primary);
    transform: translateX(20px);
}


/*===================
===== About =====
=====================*/
.about .title,
.about .main-title{
    text-align: left;
}
.about-bg{
    background: url("../img/header-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.about .about-wrapper{
    background-color: var(--primary-1);
    width: 100%;
    height: 100%;
    margin-left: -12px;
    padding: 30px;
}
.about .about-wrapper .about-info{
    text-align: justify;
}


/*===================
===== Feature =====
=====================*/
.feature .properties{
    box-shadow: 0px 0px 10px #00000021;
    margin: 15px;
}
.feature .properties .thumb-wrapper{
    position: relative;
    overflow: hidden;
}
.feature .properties .thumb-info{
    color: var(--body);
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgb(33 31 31 / 100%) 25%, rgb(254 226 214 / 0%) 100%);
    width: 100%;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}
.feature .properties .thumb-info .name{
    font-size: 1.2rem;
}
.feature .properties .thumb-info .location{
    font-size: 0.9rem;
}
.feature .properties .type{
    background-color: #fee2d6;
    color: var(--primary);
    position: absolute;
    top: 25px;
    left: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;

}
.feature .properties .link{
    color: var(--body);
    background-color: var(--primary);
    padding: 15px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    cursor: pointer;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* hover */
.feature .properties:hover .thumb-info{
    transform: translateY(80%);
}
.feature .properties .thumb-wrapper img{
    width: 100%;
    height: 250px;
    transition: all 0.3s ease-in-out;
}
.feature .properties:hover .thumb-wrapper img{
    transform: scale(1.2);
}
.feature .properties:hover .thumb-wrapper .link{
    visibility: visible;
    opacity: 1;
}



.feature .properties .facilities
{
    padding:20px 10px;
}
.feature .properties .facilities .fa-circle-check{
    color: var(--primary) !important;
}
.feature .properties .facilities p{
    width: 50%;
}
.feature .all-properties{
    text-decoration: none;
    padding: 5px 20px;
    color: var(--primary);
    background-color: var(--primary-1);
    margin-right: 15px;
    margin-bottom: 10px;
}

/*===================
===== All Project =====
=====================*/
.all-project .properties{
    border-radius: 10px;
}
.all-project .thumb-wrapper{
    border-radius: 10px;
}

/*===================
===== Services =====
=====================*/
#services{
    background: linear-gradient(11deg, #dce3f9 0%, #ffffff 100%);
    padding: 80px 0;
}
.service-card {
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 2.5rem;
    color: #0d6efd;
}
.card-active {
    border: 2px solid #0d6efd !important;
    background-color: #f8f9ff;
}
/*===================
===== Why =====
=====================*/

.why .why-wrapper{
    background-color: #d0e2fa;
    border: 1px solid var(--primary-1);
    padding: 20px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
    text-align: center;
}
.why .why-wrapper:hover{
    background-color: var(--primary-0);
    color: var(--body);
}
.why .why-wrapper:hover .icon{
    color: var(--body);
}
.why .why-wrapper .icon{
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease-in-out;
}
.why .why-wrapper .why-title{
    font-size: 1.2rem;
    font-weight: 500;
}
.why .why-wrapper .why-title::after{
    content: "";
    display: block;
    width: 20px;
    height: 4px;
    background-color: var(--primary);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}
.why .why-wrapper:hover .why-title::after{
    background-color: var(--body);
}
.why .why-wrapper .why-info{
    font-size: 1rem;
}


/*===================
===== Schedule =====
=====================*/
/* .schedule{
    overflow: hidden;
}
.schedule-bg{
    background-image: url("../img/calender.jpg");
    background-repeat: no-repeat;
    background-position: -300px;
    background-size: cover;
    background-attachment: fixed;
}
.schedule .title{
    text-align: left;
}
.schedule .schedule-wrapper{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.103);
    padding: 30px;
    background-color: var(--body);
    margin-right: -12px;
}
.schedule .schedule-wrapper .form-control{
    border-radius: 0;
} */

/*===================
===== Team Section =====
=====================*/
.team-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600') no-repeat center center fixed;
    background-size: cover;
    padding: 100px 0;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Dark professional overlay */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Team Cards */
.team-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.team-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.social-links a {
    color: #64748b;
    font-size: 1.1rem;
    transition: color 0.3s;
    margin: 0 8px;
}

.social-links a:hover {
    color: #0d6efd;
}


/*===================
===== CTA Section =====
=====================*/
.cta-full-width {
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.cta-title {
    color: #1a1a1a;
    letter-spacing: -1px;
}

.btn-contact {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px; /* Squared edges for a more corporate look */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Modern hover slide effect */
.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

/* Decorative element for white space */
.cta-divider {
    width: 60px;
    height: 4px;
    background-color: #0d6efd;
    margin: 0 auto 30px;
}



.why,
#services{
    padding: 120px 0;
}



/*===================
===== Contact =====
=====================*/



.contact-header {
    background: linear-gradient(rgba(0, 74, 153, 0.8), rgba(0, 74, 153, 0.8)), url('../img/contact.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}
.contact-info-icon {
    font-size: 2rem;
    color: var(--contact-primary-color);
    margin-bottom: 15px;
}
.card { border: none; box-shadow: 0 0 20px rgba(0,0,0,0.05); }
.btn-submit { background-color: var(--contact-primary-color); color: white; padding: 10px 30px; }
.btn-submit:hover { background-color: #003366; color: white; }


/*===================
===== Footer =====
=====================*/
footer{
    background-color: var(--footer);
}
footer a{
    text-decoration: none;
    color: var(--body);
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}
footer a:hover{
    text-decoration: underline;
}
footer .pages a:not(footer .pages a:last-child)::after{
    content: "";
    margin-left: 10px;
    border-right: 2px solid var(--body);
}

footer .pages a:hover{
    color: var(--primary);
}

/* Social */
footer .social-icon a {
    color: #fafafa;
    border-radius: 100%;
    background-color: var(--primary);
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1.7;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: 10px;
}

footer .social-icon a:nth-child(1):hover{
    color: #fff;
    background-color: #285091;
    border-color: #285091;
    transform: scale(1.1);
}
footer .social-icon a:nth-child(2):hover{
    color: #fff;
    background-color: #D92E2E;
    border-color: #D92E2E;
    transform: scale(1.1);
}
footer .social-icon a:nth-child(3):hover{
    color: #fff;
    background-color: #0073B1;
    border-color: #0073B1;
    transform: scale(1.1);
    
}
footer .social-icon a:nth-child(4):hover{
    color: #fff;
    background-image: linear-gradient(45deg, #8f36b7, #F6BA50);
    border-color: #8f36b7;
    transform: scale(1.1);
}
footer .social-icon a:nth-child(5):hover{
    color: #fff;
    background-color: #E11A21;
    border-color: #E11A21;
    transform: scale(1.1);
}
footer .social-icon a:nth-child(6):hover{
    color: #fff;
    background-color: #000;
    border-color: #000;
    transform: scale(1.1);
}


/*===================
===== Project Details =====
=====================*/
.project-header {
    background-size: cover; background-position: center;
    height: 400px; display: flex; align-items: flex-end;
    color: white; position: relative;
}
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}
.gallery-img {
    height: 150px; width: 100%; object-fit: cover;
    cursor: pointer; transition: 0.3s;
}
.gallery-img:hover { opacity: 0.8; }

/* Full-page Overlay Styles */
.modal-content { background: transparent; border: none; }
.modal-body { display: flex; align-items: center; justify-content: center; height: 80vh; }
.slider-img { max-height: 100%; max-width: 100%; object-fit: contain; }
.modal-header { border: none; }
.btn-close { filter: invert(1); }

/*===================
===== Responsive =====
=====================*/

@media (max-width:992px){
    .navbar{
        font-size: 14px;
        padding: 5px 0;
    }
    .btn-primary{
        font-size: 14px;
    }
    .navbar #mobile-menu{
        display: block;
    }
     .status .status-wrapper {
        width: 60%;
    }
}

@media (max-width:768px){
    html,body{
        font-size: 14px;
    }
    .btn-primary{
        font-size: 0.9rem;
    }
    .section{
        padding: 30px 0;
    }
    .hero{
        height: 500px;
    }
    .hero .hero-text .hero-title{
        font-size: 1.75rem;
    }
    .hero .hero-text .hero-subtitle{
        font-size: 1.1rem;
    }

    .section .title{
        font-size: 1.5rem;
    }
    .section .subtitle{
        font-size: 0.9rem;
    }

    .status .status-wrapper {
        width: 80%;
    }
    .status .status-wrapper .count{
        font-size: 1.5rem;
    }
    .status .status-wrapper .title{
        font-size: 0.9rem;
        transform: translateX(0);
    }

    .why .why-wrapper .icon{
        font-size: 2rem;
    }

    #services{
        padding: 50px 0;
    }
}