/* Shared header styles moved out of header.php */
.counter .card:hover{background-color:#ff4900!important;color:#FFF;}
.navbar .menu-toggle{width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1051;}
.header-side-control{z-index:1051;}
.header-side-control-left{left:24px;}
.header-side-control-right{right:24px;padding:0.55rem 3rem;font-size:16px;}
body:not(.not-index) .menu-toggle i{color:#fff;}
body:not(.not-index) .navbar.scrolled .menu-toggle i{color:#000;}
body.not-index .menu-toggle i{color:#000!important;}
.text-dark{color:#000000!important;}
.navbar .message-btn{background-color:#f4f4f4!important;color:#000!important;}
.navbar.scrolled .message-btn{background-color:#000!important;color:#FFF!important;}
body.not-index .navbar .message-btn{background-color:#000!important;color:#FFF!important;}
.menu ul li{padding:0;}
.menu ul li a{position:relative;display:inline-block;padding:1rem 1rem;color:#fff;text-decoration:none;transition:color 0.35s ease,padding-left 0.35s ease;}
.menu ul li a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:rgba(255,255,255,0.25);transition:width 0.35s ease;}
.menu ul li a:hover{color:#FF4800;padding-left:25px;}
.menu ul li a:hover::after{width:100%;}
.menu .top-bg-text1{font-size:32vh;font-weight:900;line-height:0.78em;letter-spacing:-0.02em;color:rgba(255,255,255,0.05);font-family:'Playfair Display';transform:rotate(-30deg) translateY(-50%);position:absolute;top:40%;right:-335px;user-select:none;z-index:1;text-align:center;}
.menu .text_box{width:45%;overflow:hidden;top:0;bottom:0;right:0;position:absolute;}
.menu .btn-close{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat}
.ftr ul li a{color:#000;font-weight:400;display:inline-block;}
.ftr ul li a:hover{color:#FF4800;}
.btn-site-orange,.btn-site{font-size:16px;padding:0.55rem 3rem;}
body.page-index .navbar-light:not(.scrolled) .navbar-nav .nav-link:hover,
body.page-index .navbar-light:not(.scrolled) .navbar-nav .nav-link:focus{color:#FFF;}

@media (min-width: 1400px){
.header-side-control-left{left:26px;}
.header-side-control-right{right:26px;}
}

/* index.php */
body.page-index .portfolio .item .image_holder{height:490px;}
body.page-index .portfolio .item .image_holder img{height:100%;object-fit:cover;}
body.page-index .scroll-track{display:inline-flex;animation:scroll-left 20s linear infinite;}
body.page-index .logo-slider{overflow:hidden;width:100%;height:80px;}
body.page-index .logo-track{display:flex;width:max-content;animation:scroll-ltr 30s linear infinite;will-change:transform;}
body.page-index .logo-slide{flex:0 0 auto;padding:0 30px;}
body.page-index .logo-slide img{height:60px;width:auto;max-width:160px;object-fit:contain;display:block;}
@keyframes scroll-ltr{from{transform:translateX(-50%);}to{transform:translateX(0);}}
body.page-index .services .card{position:relative;}
body.page-index .service_non_hover,
body.page-index .service_hover{position:absolute;inset:0;transition:opacity 0.35s ease,transform 0.35s ease;}
body.page-index .service_non_hover{opacity:1;transform:translateY(0);}
body.page-index .service_hover{opacity:0;transform:translateY(10px);pointer-events:none;}
body.page-index .services .card:hover .service_non_hover{opacity:0;transform:translateY(-10px);pointer-events:none;}
body.page-index .services .card:hover .service_hover{opacity:1;transform:translateY(0);pointer-events:auto;}
body.page-index .accordion-button{background:transparent;font-weight:600;box-shadow:none;padding:1.5rem 0;position:relative;font-size:1.3rem;}
body.page-index .accordion-button::after{display:none;}
body.page-index .accordion-button .bi{margin-left:auto;transition:transform 0.3s ease;}
body.page-index .accordion-button:not(.collapsed) .bi{transform:rotate(180deg);}
body.page-index .accordion-item{border:none;border-bottom:1px solid #e0e0e0;}
body.page-index .accordion-body{padding:1rem 0;color:#555;}
body.page-index .accordion-button:focus{box-shadow:none;outline:none;}
body.page-index .accordion-button:not(.collapsed){background-color:transparent;color:#FF4800;}
body.page-index .slider-container{overflow:hidden;width:100%;}
body.page-index .slider-row{overflow:hidden;margin:20px 0;}
body.page-index .slide-track{display:flex;flex-wrap:nowrap;white-space:nowrap;animation:scroll 25s linear infinite;}
body.page-index .slider-row.reverse .slide-track{animation-direction:reverse;}
body.page-index .slide{flex:0 0 auto;display:inline-block;margin-right:12px;}
body.page-index .slide img{display:block;width:90px;height:55px;object-fit:contain;border-radius:6px;}
body.page-index .services .card img{width:100%;}
body.page-index .testimonial-card{min-height:375px;}
body.page-index .testimonial-row{height:100%;align-items:stretch;}
body.page-index .testimonial-media{display:flex;align-items:center;}
body.page-index .testimonial-photo{width:100%;height:276px;object-fit:cover;}
body.page-index .testimonial-copy{display:flex;flex-direction:column;min-height:276px;}
body.page-index .testimonial-quote{line-height:1.55;min-height:9.3em;}
body.page-index .testimonial-author{margin-top:auto;}
@keyframes scroll{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}

@media (min-width: 1900px){
body.page-index .testimonial-card{min-height:410px;}
body.page-index .testimonial-photo{height:300px;}
body.page-index .testimonial-copy{min-height:300px;}
body.page-index .testimonial-quote{min-height:8.2em;}
body.page-about .testimonial-card{min-height:410px;}
body.page-about .testimonial-photo{height:300px;}
body.page-about .testimonial-copy{min-height:300px;}
body.page-about .testimonial-quote{min-height:8.2em;}
}

@media (min-width: 1400px) and (max-width: 1899px){
body.page-index .testimonial-card{min-height:390px;}
body.page-index .testimonial-photo{height:285px;}
body.page-index .testimonial-copy{min-height:285px;}
body.page-about .testimonial-card{min-height:390px;}
body.page-about .testimonial-photo{height:285px;}
body.page-about .testimonial-copy{min-height:285px;}
}

@media (min-width: 992px) and (max-width: 1399px){
body.page-index .testimonial-card{min-height:360px;}
body.page-index .testimonial-photo{height:245px;}
body.page-index .testimonial-copy{min-height:245px;}
body.page-index .testimonial-quote{min-height:8.5em;}
body.page-about .testimonial-card{min-height:360px;}
body.page-about .testimonial-photo{height:245px;}
body.page-about .testimonial-copy{min-height:245px;}
body.page-about .testimonial-quote{min-height:8.5em;}
}

@media (min-width: 768px) and (max-width: 991px){
body.page-index .testimonial-card{min-height:unset;}
body.page-index .testimonial-photo{height:220px;}
body.page-index .testimonial-copy{min-height:220px;}
body.page-index .testimonial-quote{min-height:7.8em;}
body.page-about .testimonial-card{min-height:unset;}
body.page-about .testimonial-photo{height:220px;}
body.page-about .testimonial-copy{min-height:220px;}
body.page-about .testimonial-quote{min-height:7.8em;}
}

@media (max-width: 767px){
body.page-index .testimonial-card{min-height:unset;padding:1.25rem!important;}
body.page-index .testimonial-row{height:auto;}
body.page-index .testimonial-media{margin-bottom:1.25rem;}
body.page-index .testimonial-photo{height:auto;max-height:260px;object-fit:cover;}
body.page-index .testimonial-copy{min-height:auto;}
body.page-index .testimonial-quote{min-height:auto;line-height:1.6;}
body.page-about .testimonial-card{min-height:unset;padding:1.25rem!important;}
body.page-about .testimonial-row{height:auto;}
body.page-about .testimonial-media{margin-bottom:1.25rem;}
body.page-about .testimonial-photo{height:auto;max-height:260px;object-fit:cover;}
body.page-about .testimonial-copy{min-height:auto;}
body.page-about .testimonial-quote{min-height:auto;line-height:1.6;}
}

/* about.php */
body.page-about .accordion-button{background:transparent;font-weight:600;box-shadow:none;padding:1.5rem 0;position:relative;font-size:1.3rem;}
body.page-about .accordion-button::after{display:none;}
body.page-about .accordion-button .bi{margin-left:auto;transition:transform 0.3s ease;}
body.page-about .accordion-button:not(.collapsed) .bi{transform:rotate(180deg);}
body.page-about .accordion-item{border:none;border-bottom:1px solid #e0e0e0;}
body.page-about .accordion-body{padding:1rem 0;color:#555;}
body.page-about .accordion-button:focus{box-shadow:none;outline:none;}
body.page-about .accordion-button:not(.collapsed){background-color:transparent;color:#FF4800;}
body.page-about .hero-section{background-image:url("assets/images/about_us.jpg");background-size:cover;background-position:center;height:50vh;position:relative;color:white;}
body.page-about .info-box{padding:40px 40px;color:#fff;font-weight:bold;width:23%;}
body.page-about .info-red{background-color:#FF4800;}
body.page-about .info-black{background-color:#000;}
body.page-about .info-container{position:absolute;bottom:0;left:0;right:0;}
body.page-about .testimonial-card{min-height:375px;}
body.page-about .testimonial-row{height:100%;align-items:stretch;}
body.page-about .testimonial-media{display:flex;align-items:center;}
body.page-about .testimonial-photo{width:100%;height:276px;object-fit:cover;}
body.page-about .testimonial-copy{display:flex;flex-direction:column;min-height:276px;}
body.page-about .testimonial-quote{line-height:1.55;min-height:9.3em;}
body.page-about .testimonial-author{margin-top:auto;}

/* services.php */
body.page-services .accordion-item{background-color:transparent;}
body.page-services .accordion-button{font-size:1.3rem;background-color:transparent;}
body.page-services .accordion-button:not(.collapsed){background-color:transparent;color:#000;outline:none;box-shadow:none;}
body.page-services .accordion-button:focus{border-color:#000;box-shadow:none;}

/* blogs.php */
body.page-blogs .blog-link{text-decoration:none;color:inherit;display:block;}
body.page-blogs .team-card{height:480px;border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,0.1);position:relative;transition:transform 0.4s ease;}
body.page-blogs .team-img{height:100%;width:100%;object-fit:cover;transition:transform 0.45s ease;}
body.page-blogs .team-card:hover .team-img{transform:scale(1.05);}
body.page-blogs .team-content{position:absolute;bottom:0;left:0;width:100%;color:#fff;z-index:2;background:linear-gradient(to top,rgba(0,0,0,0.85),rgba(0,0,0,0.55),transparent);padding:25px 15px;}
body.page-blogs .team-content small{display:block;margin-bottom:5px;font-size:13px;opacity:0.85;}
body.page-blogs .team-content h5{font-weight:600;margin-bottom:8px;}
body.page-blogs .team-desc span{display:inline-block;margin-right:5px;margin-top:2px;background:rgba(255,255,255,0.3);color:#FFF;padding:4px 7px;border-radius:5rem;font-size:14px;font-weight:400;}

/* blog-details.php */
body.page-blog-details .blog-hero{overflow:hidden;}
body.page-blog-details .blog-hero img{box-shadow:0 6px 18px rgba(0,0,0,0.15);border-radius:14px;}
body.page-blog-details .blog-title{font-size:1.5rem;font-weight:700;line-height:1.35;}
body.page-blog-details .blog-meta{font-size:.8rem;color:#777;}
body.page-blog-details .blog-content{font-size:1rem;line-height:1.6;margin-bottom:1rem;color:#686868;}
body.page-blog-details .similar-card{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee;}
body.page-blog-details .similar-card img{width:70px;height:55px;object-fit:cover;border-radius:6px;}
body.page-blog-details .similar-card:hover h6{color:var(--primary-blue);}
body.page-blog-details .blog-nav a{background:#f8f9fa;padding:8px 12px;border-radius:8px;transition:all 0.2s;}
body.page-blog-details .blog-nav a:hover{background:#e9ecef;text-decoration:none;}
body.page-blog-details .blog-nav img{object-fit:cover;border-radius:6px;}
body.page-blog-details .blog-nav span{max-width:200px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* team.php */
body.page-team .team-card{height:480px;border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,0.1);}
body.page-team .team-img{height:100%;width:100%;object-fit:cover;}
body.page-team .team-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.75),rgba(0,0,0,0.25),transparent);opacity:0.7;transition:opacity 0.4s ease;}
body.page-team .team-content{position:absolute;left:0;bottom:0;width:100%;color:#fff;z-index:2;transform:translateY(50%);transition:transform 0.45s ease;}
body.page-team .team-desc{opacity:0;transform:translateY(20px);transition:all 0.4s ease;font-size:14px;line-height:1.6;}
body.page-team .team-card:hover .team-content{transform:translateY(0);}
body.page-team .team-card:hover .team-desc{opacity:1;transform:translateY(0);}
body.page-team .team-card:hover::after{opacity:1;}
body.page-team .team-content h5{font-weight:600;}
body.page-team .team-content h6{font-size:14px;opacity:0.9;}
body.page-team .team-desc a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-right:8px;border:2px solid #fff;border-radius:50%;color:#fff;transition:all 0.3s ease;text-decoration:none;}
body.page-team .team-desc a:hover{background:#FF4800;border-color:#FF4800;color:#fff;}

/* portfolio-details.php */
body.page-portfolio-details .career-section{position:relative;}
body.page-portfolio-details .career-left{position:sticky;top:0;height:100vh;display:flex;align-items:center;}
body.page-portfolio-details .career-img{width:100%;height:auto;object-fit:cover;margin-bottom:0.5rem;}
