/********** Template CSS **********/
:root {
    --primary: #ff2714;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02435b;
    /* Override Bootstrap 5 primary so utility classes (text-primary, btn-primary, etc.) use our color */
    --bs-primary: #ff2714;
    --bs-primary-rgb: 255, 39, 20;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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;
    font-weight: 500;
	border: 0;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.bg-primary{
	background: var(--primary) !important;;
}
.text-primary{
	color: var(--primary) !important;
}
 .btn-primary{
	background: var(--primary) !important;
 }

.btn-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;
}


/* Old topbar + navbar rules removed — now in css/header.css */


/*** Hero Section ***/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg img {
    animation: kenburns 25s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-1%, -1%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 67, 91, 0.88) 0%, rgba(255, 39, 20, 0.30) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.9;
    margin-bottom: 2.25rem;
    max-width: 600px;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 39, 20, 0.35);
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Scroll-down indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 100svh;
        min-height: 500px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 20px 0;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/*** About Section ***/
.about-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.about-content {
    padding-left: 20px;
}

.about-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 39, 20, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}

.about-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 1.25rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--secondary);
    margin-bottom: 2rem;
}

/* Feature Grid */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
}

.about-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.about-feature-text {
    font-size: 0.82rem;
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

/* About CTA */
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.about-cta:hover,
.about-cta:focus {
    background: transparent;
    color: var(--primary);
    text-decoration: none;
}

/* About Images */
.about-images {
    position: relative;
    padding: 30px 0 30px 30px;
}

.about-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    left: -30px;
    width: 55%;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-image-secondary img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Experience Badge */
.about-experience-badge {
    position: absolute;
    top: 15px;
    left: -10px;
    background: var(--dark);
    color: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(2, 67, 91, 0.35);
    z-index: 2;
    border-right: 4px solid var(--primary);
}

.about-experience-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.about-experience-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

/* About Responsive */
@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        padding-left: 0;
    }

    .about-images {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-images {
        padding: 20px 0 20px 20px;
    }

    .about-image-secondary {
        left: -15px;
        width: 50%;
    }

    .about-experience-badge {
        left: -5px;
        padding: 14px 16px;
    }

    .about-experience-number {
        font-size: 1.8rem;
    }
}


.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../imgs/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}



/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(91, 2, 2, 0.337);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/* Old .project-* styles removed — replaced by gallery-home.css */


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/* Old footer rules removed — now in css/footer.css */

/* Footer Contact Buttons Styles */
.footer-contact-btns {
	z-index: 99;
	position: fixed;
	width: 100%;
	bottom: 20px;
	padding: 20px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-pack: justify;
		-ms-flex-pack: justify;
			justify-content: space-between;
	  visibility: hidden;
  }

  .footer-contact-btns .btn-phone,
  .footer-contact-btns .btn-whatsapp {
	position: relative;
	z-index: 100;
	  visibility: visible !important;
  }

  .footer-contact-btns a {
	position: relative;
	z-index: 1000;
	height: 60px;
	width: 60px;
	padding: 5px;
	background: #FFF;
	border-radius: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	color: var(--primary);
	border: 2px solid var(--primary);
	font-weight: bold;
	font-size: 25px;
	transition: .2s;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	-webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
			box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  }

  .footer-contact-btns .btn-phone:hover a {
	color: #FFF;
	border-color: #5B6CBF;
	background-color: #5B6CBF;
  }

  .footer-contact-btns .btn-whatsapp:hover a {
	color: #FFF;
	border-color: #1BD741;
	background-color: #1BD741;
  }

  .footer-contact-btns .btn-phone span {
	right: -109px;
	top: -35px;
  }

  .footer-contact-btns .btn-whatsapp span {
	right: 20px;
	top: -36px;
  }

  .footer-contact-btns .btn-phone span,
  .footer-contact-btns .btn-whatsapp span {
	position: absolute;
	font-size: 14px;
	display: none;
	background: #EFEFEF;
	letter-spacing: 2px;
	font-weight: 700;
	color: #666;
	width: 150px;
	padding: 3px;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	border-radius: .3rem;
	-webkit-border-radius: .3rem;
	-moz-border-radius: .3rem;
	-ms-border-radius: .3rem;
	-o-border-radius: .3rem;
	transition: .5s;
	-webkit-transition: .5s;
	-moz-transition: .5s;
	-ms-transition: .5s;
	-o-transition: .5s;
  }

  .footer-contact-btns .btn-phone a:hover + span,
  .footer-contact-btns .btn-whatsapp a:hover + span {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
  }
