/********** Template CSS **********/
:root {
    --primary: #002454;
    --secondary: #00541D;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.h1 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 15px;
      letter-spacing: -1px;
      color: #031E49;
    }
.h1 i {
      color: #068A31;
      font-style: normal;
    }
.h2 {
      font-size: 3.2rem;
      font-weight: 500;
      line-height: 1.15;
      margin-bottom: 15px;
      letter-spacing: -1px;
      color: #031E49;
    }
.h2 i {
      color: #068A31;
      font-style: normal;
    }
.h3 i {
      font-size: 3.2rem;
      font-weight: 300;
      line-height: 1.15;
      margin-bottom: 15px;
      letter-spacing: -1px;
      color: #031E49;
    }
  	h3  {
	  color: #068A31;
	  font-style: normal;
	}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

@media (max-width: 991.98px) {
    #header-carousel .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        height: 50vh;
        min-height: 300px;
    }
}

.page-header {
    background: url("../img/home page.jpg") center center no-repeat;
    background-size: cover;
}

.about_page-header {
    background: url("../img/about-us.jpg") center center no-repeat;
    background-size: cover;
}
.services_page-header {
    background: url("../img/services-header.jpg") center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}

 /* hero */
    .hero {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 50px 0 50px;
      gap: 20px;
    }

    .hero-text {
      flex: 1 1 480px;
    }
   .hero-text .badge {
      background: #021437;
      color: #FDFDFD;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 15px 15px;
      border-radius: 50px;
      display: inline-block;
      margin-bottom: 25px;
      letter-spacing: 0.3px;
    }
    
    .hero-text p {
      font-size: 1.2rem;
      color: #2d3b4e;
      max-width: 520px;
      margin-bottom: 30px;
    }

    .hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      margin-top: 8px;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
    }
    .stat-number {
      font-size: 2.2rem;
      font-weight: 700;
      color: #0b2b4f;
    }
    .stat-label {
      font-size: 0.85rem;
      color: #4a5a6e;
      letter-spacing: 0.2px;
    }

    .hero-image {
		flex: 4 1 320px;
		border-radius: 32px;
		height: 350px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #1e2a3a;
		font-weight: 500;
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		text-align: center;
		padding: 20px;
	}
    .hero-image span {
      padding: 8px 22px;
      border-radius: 60px;
      backdrop-filter: blur(2px);
      font-weight: 600;
      color: #0b2b4f;
    }
 /* trusted by */
    .trusted {
      padding: 24px 0 10px;
      border-top: 1px solid rgba(0,0,0,0.03);
      margin-top: 10px;
    }
    .trusted p {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: #5d6f82;
      margin-bottom: 18px;
    }
    .trusted-logos {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
      justify-content: space-between;
    }
    .trusted-logos span {
      font-weight: 500;
      color: #1e2a3a;
      opacity: 0.6;
      font-size: 1rem;
    }

/* who we are + founder */
    .who-section {
      display: flex;
      flex-wrap: wrap;
      gap: 50px;
      padding: 50px 0 30px;
      align-items: center;
    }
    .who-text {
      flex: 2 1 400px;
    }
    .who-text h2 {
      font-size: 2.2rem;
      font-weight: 500;
      letter-spacing: -0.5px;
      color: #031E49;
      margin-bottom: 16px;
    }
    .who-text h2 i {
      color: #068A31;
      font-style: normal;
    }
    .who-text p {
      color: #2d3b4e;
      margin-bottom: 18px;
      font-size: 1.03rem;
      text-align: justify;
    }
    .who-text .highlight {
      background: #eef4f9;
      padding: 14px 20px;
      border-radius: 16px;
      border-left: 6px solid #068A31;
      font-style: italic;
      color: #1e2a3a;
      font-weight: 500;
    }

    .founder-section {
            background: #ffffff;
            border-radius: 28px;
            padding: 50px 60px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.06);
            border: 1px solid #eaedf2;
        }

        .founder-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .founder-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #031E49;
            letter-spacing: -0.5px;
        }

        .founder-header h2 span {
            color: #068A31;
        }

        .founder-content {
            display: flex;
            gap: 50px;
            align-items: flex-start;
        }

        /* Left side - Photo and Quote */
        .founder-left {
            flex: 0 0 280px;
            text-align: center;
        }

        .founder-photo {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background-image: url("../img/Naeem-Mirza.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border: 4px solid #068A31;
            box-shadow: 0 8px 25px rgba(6, 138, 49, 0.2);
        }

        .founder-quote {
            background: #f8f4f0;
            padding: 20px 24px;
            border-radius: 16px;
            border-left: 4px solid #068A31;
            font-style: italic;
            color: #2d3b4e;
            font-size: 0.95rem;
            line-height: 1.6;
            text-align: left;
        }

        .founder-quote i {
            color: #068A31;
            font-size: 1.2rem;
            margin-right: 6px;
        }

        .founder-quote .author {
            display: block;
            margin-top: 10px;
            font-weight: 600;
            font-style: normal;
            color: #031E49;
        }

        /* Right side - Bio */
        .founder-right {
            flex: 1;
        }

        .founder-right h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #031E49;
            margin-bottom: 4px;
        }

        .founder-right .role {
            color: #068A31;
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 20px;
        }

        .founder-right p {
            color: #2d3b4e;
            font-size: 1rem;
            margin-bottom: 16px;
            line-height: 1.7;
        }

        .founder-right p:last-child {
            margin-bottom: 0;
        }

        .founder-right ol {
            color: #2d3b4e;
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 16px;
            padding-left: 25px;
        }

        .founder-right ol li {
            margin-bottom: 4px;
        }

        .founder-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }

        .founder-tags span {
            background: #f0f4f8;
            color: #0b2b4f;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Values Footer - Integrated inside founder-section */
        .values-footer {
            border-radius: 28px;
            margin-top: 10px;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .value-item {
            text-align: center;
            padding: 5px 5px;
            border-right: 1px solid rgba(255,255,255,0.1);
            transition: transform 0.3s ease;
        }

        .value-item:last-child {
            border-right: none;
        }

        .value-item:hover {
            transform: translateY(-5px);
        }

        .value-icon {
            width: 60px;
            height: 60px;
            background: rgba(6, 138, 49, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 1.6rem;
            color: #068A31;
            transition: all 0.3s ease;
        }

        .value-item:hover .value-icon {
            background: rgba(6, 138, 49, 0.25);
            transform: scale(1.05);
        }

        .value-title {
            color: #068A31;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.5px;

            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .value-subtitle {
            color: #031E49;
            font-size: 0.95rem;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .value-description {
            color: 031E49;
            font-size: 0.85rem;
            line-height: 1.4;
        }

/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + 1.75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + 1.75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(3, 30, 73, 0.9), rgba(3, 30, 73, 0.9)), url(../img/carousel-1.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-2.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.service-item img{
    border-radius: 12px;
    object-fit: cover;
    height: 280px;
    width: 100%;
}

.service-item h3{
    font-weight: 700;
}

.service-item p{
    color: #666;
    line-height: 1.8;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(3, 30, 73, 0.9), rgba(3, 30, 73, 0.9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*************** Tablet ***************/
@media (max-width:991.98px){

    .h1,
    .h2{
        font-size:2.5rem;
        line-height:1.2;
    }

    .hero{
        padding:40px 0;
    }

    .hero-image{
        height:280px;
        flex:1 1 100%;
    }

    .hero-text{
        flex:1 1 100%;
    }

    .hero-text p{
        max-width:100%;
    }

    .hero-stats{
        gap:25px;
    }

    .founder-section{
        padding:40px;
    }

    .founder-content{
        flex-direction:column;
        text-align:center;
    }

    .founder-left{
        flex:unset;
        width:100%;
    }

    .founder-right{
        width:100%;
    }

    .founder-right p,
    .founder-right ol{
        text-align:left;
    }

    .values-grid{
        grid-template-columns:repeat(2,1fr);
        gap:25px;
    }

    .value-item{
        border-right:none;
    }

    .service-item img{
        height:220px;
    }
}


/*************** Mobile ***************/
@media (max-width:767.98px){

    body{
        overflow-x:hidden;
    }

    .container{
        padding-left:18px;
        padding-right:18px;
    }

    .h1,
    .h2{
        font-size:2rem;
        line-height:1.25;
        letter-spacing:0;
    }

    .who-text h2,
    .founder-header h2{
        font-size:1.8rem;
    }

    .hero{
        flex-direction:column;
        padding:25px 0;
        text-align:center;
    }

    .hero-text{
        order:2;
    }

    .hero-image{
        order:1;
        width:100%;
        height:220px;
        border-radius:20px;
    }

    .hero-text p{
        font-size:1rem;
        max-width:100%;
    }

    .hero-stats{
        justify-content:center;
        gap:20px;
    }

    .stat-number{
        font-size:1.7rem;
    }

    .trusted-logos{
        justify-content:center;
        gap:20px;
    }

    .who-section{
        gap:30px;
        padding:35px 0;
    }

    .founder-section{
        padding:25px;
        border-radius:18px;
    }

    .founder-photo{
        width:160px;
        height:160px;
    }

    .founder-right h3{
        font-size:1.5rem;
    }

    .founder-right p,
    .founder-right ol{
        font-size:.95rem;
        line-height:1.7;
    }

    .founder-tags{
        justify-content:center;
    }

    .values-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .value-item{
        padding:0;
    }

    .value-icon{
        width:55px;
        height:55px;
    }

    .service-item{
        margin-bottom:25px;
    }

    .service-item img{
        height:200px;
    }

    .carousel-caption{
        text-align:center;
        padding:20px;
    }

    .carousel-caption h1{
        font-size:2rem;
    }

    .carousel-caption p{
        font-size:1rem;
    }

    .page-header{
        background-position:center;
    }

    .footer{
        text-align:center;
    }

    .footer .btn.btn-link{
        text-align:center;
    }

    .back-to-top{
        right:15px;
        bottom:15px;
    }
}


/*************** Small Phones ***************/
@media (max-width:480px){

    .h1,
    .h2{
        font-size:1.7rem;
    }

    .hero-image{
        height:180px;
    }

    .founder-photo{
        width:140px;
        height:140px;
    }

    .stat-number{
        font-size:1.5rem;
    }

    .value-title{
        font-size:1rem;
    }

    .service-item img{
        height:180px;
    }

}