/*topbar*/
.topbar{
    line-height: 0.5 !important;
}

/* Logo image */
.navbar-logo {
    height: 60px; /* Adjust size */
    width: auto;
    object-fit: contain;
}

/* Company name */
.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Slogan text */
.slogan-text {
    color: #092d45;
    font-size: 14px !important;
    line-height: 1.2;
    margin-top: 2px !important;
    text-align: center;
}

/* Align logo and text */
.brand-text {
    display: flex;
    flex-direction: column;
}

/*banner*/
.banner-text-shadow {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 85%);
}
#header-carousel .carousel-item img {
    height: 600px;          /* Set your desired height */
    object-fit: cover;      /* Ensures the image fills area without distortion */
}


/*about*/
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black overlay at 50% opacity */
    z-index: 1;
}
    .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/*features*/
/* Middle Box Floating Animation */
.float-up-down {
    animation: upDown 3s ease-in-out infinite;
}
@keyframes upDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Left and Right Card Animations */
.feature-card { opacity: 0; }
.fade-in-left {
    animation: fadeInLeft 1s ease forwards;
}
.fade-in-right {
    animation: fadeInRight 1s ease forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInLeft {
    from { transform: translateX(-40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInRight {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* Animation keyframes */ 
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

 /* Apply to feature cards */
.feature-card {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

 /* Delay for staggered effect */
.feature-card.delay-1 {
  animation-delay: 0.2s;
}
.feature-card.delay-2 {
  animation-delay: 0.4s;
}

 /* Base animation setup */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

 /*When visible on screen */
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes */
.delay-1 {
    transition-delay: 0.4s;
}
.delay-2 {
    transition-delay: 0.4s;
}

/* Initial hidden state */
.fade-in-left,
.fade-in-right {
    opacity: 0;
}

/* Animation triggers */
.fade-in-left.animate {
    animation: fadeInLeft 0.8s ease forwards;
}
.fade-in-left.delay-1.animate {
    animation-delay: 0.2s;
}
.fade-in-left.delay-2.animate {
    animation-delay: 0.4s;
}

.fade-in-right.animate {
    animation: fadeInRight 0.8s ease forwards;
}
.fade-in-right.delay-1.animate {
    animation-delay: 0.2s;
}
.fade-in-right.delay-2.animate {
    animation-delay: 0.4s;
}

/* Keyframes */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*quotes section*/
.quote-section {
    position: relative;
    min-height: 460px;
    padding: 55px 0;
    overflow: hidden;
}

.quote-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/why-choose.jpg') center/cover no-repeat;
    z-index: 0;
    filter: brightness(0.5); /* dark overlay for readability */
}

.quote-content {
    position: relative;
    z-index: 1;
}

.quote-section .form-control {
    background-color: rgba(255, 255, 255, 0.9); /* semi-transparent white */
    color: #000;
}

.quote-section .form-control::placeholder {
    color: #555;
    opacity: 1;
}

.quote-section .form-floating > label {
    color: #000;
}


/*live counters*/
.live-counter{
    background-color: #f0f0f0;
}

 .counter-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px;
  }
  .counter-item {
    flex: 1;
    padding: 10px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .counter-value {
    font-size: 2em;
    font-weight: bold;
  }

/* tie up companies */
.tieup-carousel {
    width: 100vw; /* Full screen width */
    overflow: hidden;
    white-space: nowrap;
}

.tieup-track {
    display: flex;
    animation: scrollLogos 25s linear infinite;
}

.tieup-track img {
    height: 200px; /* Equal height */
    width: 200px;  /* Equal width */
    object-fit: contain;
    margin: 0 25px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease-in-out;
}

.tieup-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/*testimonial*/
.testimonial-card {
  background: #fff;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}
.testimonial-card:hover {
  transform: translateY(-12px);
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.testimonial-card::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  font-size: 60px;
  color: rgba(0,123,255,0.1);
  top: 10px;
  left: 15px;
  z-index: 0;
}
.testimonial-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
}
.client-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.stars i {
  margin: 0 2px;
}

/*career page*/
.career-card { 
    background: #fff; 
    transition: transform 0.3s ease, 
    box-shadow 0.3s ease; 
}

.career-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
}

.btn-hover { 
    transition: all 0.3s ease; 
}

.btn-hover:hover { 
    transform: scale(1.05); 
}

.fade-in-up { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: fadeInUp 1s forwards; 
}

@keyframes fadeInUp { to {
   opacity: 1;
   transform: translateY(0); 
} }

.register-form { 
    background:#f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.register-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.register-button{
    background: #e35a23;
}
.register-button:hover{
    background: #092d45;
}

/*footer*/
/* Call Now Box */
.call-now-box {
    position: relative;
}

/* Call Button Style */
.call-now-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
    animation: pulseGlow 2s infinite;
}

/* Hover Effect */
.call-now{
    background: #f4f7f9;
    padding: 30px;
    margin-top: 1.5rem !important;
}
.call-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
    color: #fff;
}

/* Glowing Animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(255, 87, 34, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 87, 34, 0.8); }
    100% { box-shadow: 0 0 0 rgba(255, 87, 34, 0.4); }
}

/* Animation for Scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
.footer-bg {
    background: url('../img/footer-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    width: 100%;
}

.footer-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* Transparent dark overlay */
    z-index: 1;
}

.footer-bg > * {
    position: relative;
    z-index: 2;
}

/*vision and mission*/
/* Vision Mission Section Background */
.vision-mission-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Card Style */
.vm-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    color: #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

/* Hover Effect */
.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Icon Styling */
.vm-icon {
    font-size: 40px;
    color: #e35a23;
    margin-bottom: 15px;
}

/* Title */
.vm-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Text */
.vm-text {
    font-size: 15px;
    color: #555;
}

/* Animation */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-delay] {
    transition-delay: var(--delay, 0s);
}

/*gallery page*/
/* Filter buttons style */
.filter-tabs {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.filter-tabs li {
  cursor: pointer;
  padding: 10px 20px;
  margin: 5px;
  border: 1px solid #007bff;
  border-radius: 25px;
  background: #152440;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-tabs li.active,
.filter-tabs li:hover {
  background: #152440;
  color: #fff;
}

/* Fix gallery image alignment */
.default-portfolio-item {
    display: flex;
    justify-content: center;   /* center the image inside */
    align-items: center;
    margin-bottom: 30px;
}

.default-portfolio-item .image-box img {
    width: 100%;               /* responsive full width inside box */
    max-width: 350px;          /* limit image width */
    height: 220px;             /* same height */
    object-fit: cover;         /* crop image neatly */
    border-radius: 10px;       /* smooth corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional shadow */
}

/* Center and style caption text */
.caption-box-two {
    text-align: center;
    margin-top: 10px;
}

.caption-box-two h3 a {
    color: #e35a23;            /* Bootstrap primary blue (you can change) */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.caption-box-two h3 a:hover {
    color: #e63946;            /* hover color (red) */
}

/* gallery */
/* Uniform gallery image style */
.gallery-img {
  width: 100%;
  height: 250px;       /* same height for all */
  object-fit: cover;   /* crop neatly without stretching */
  border-radius: 8px;  /* smooth look */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px; /* spacing */
}

/* Hover effect */
.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.clearfix{
	    margin-top: 45px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .gallery-img {
    height: 160px;
  }
}

/*mobile responsive code*/
/* === Mobile Responsiveness === */

/* Universal */
body {
    overflow-x: hidden;
}

/* Mobile adjustments */
/* Brand text resizing */
@media (max-width: 576px) {
  .brand-text h1 { font-size: 0.95rem; }
  .brand-text p { font-size: 0.7rem; }
}
/* Navbar links padding */
.navbar-nav .nav-link {
  padding: 8px 12px;
  font-weight: 500;
}

@media (max-width: 991.98px) {
    /* Topbar: show it on mobile and center */
    .topbar {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 0;
        width: 100%;
    }

    .topbar p {
        margin: 5px 0;
        font-size: 14px;
    }
    .ps-5 {
    padding-left: 0rem !important;
}

/* Mobile responsive tweaks */
@media (max-width: 991px) {
  /* Menu overlay above navbar */
  .navbar-collapse {
    position: absolute;
    top: 100%;       /* just below navbar */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* dropdown feel */
  }

  /* Nav items center + spacing */
  .navbar-nav .nav-item {
   /* margin: 8px 0; */
 }

  /* Smaller brand text for mobile */
  .brand-text h1 {
    font-size: 16px !important;
  }
  .brand-text p {
    font-size: 11px !important;
  }

  /* Logo smaller for mobile */
  .navbar-logo {
    height: 35px !important;
  }
}

/* Carousel Caption: Scale text and paddings */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.8rem !important;
    }

    .carousel-caption .p-3 {
        padding: 1rem !important;
    }
}

/* About Section Text */
@media (max-width: 768px) {
    .about-section .col-12 {
        padding: 20px !important;
        text-align: center;
    }

    .feature-section {
        padding: 20px !important;
        background-size: cover;
        background-position: center;
    }

    .feature-section .d-flex {
        flex-direction: column !important;
        text-align: center;
    }

    .feature-section .ps-3 {
        padding-left: 0 !important;
        padding-top: 20px;
    }
}

/* Services Grid */
@media (max-width: 767px) {
    .service-item {
        padding: 30px 20px !important;
        margin-bottom: 20px;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.95rem;
    }
}

/* Desktop image size limit */
.service-img {
    max-width: 190px !important;
    height: 140px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .service-img {
    max-width: 100%;
  }
}

/* Features Section (Why Choose Us) */
@media (max-width: 767px) {
    .float-up-down {
        height: auto !important;
    }

    .float-up-down img {
        height: auto !important;
        max-width: 100%;
    }

    .float-up-down .p-4 {
        padding: 1rem !important;
    }
}

/* Features Section Responsive */
@media (max-width: 991px) {
  /* Middle Box full width in mobile */
  .float-up-down {
    height: auto !important;
    width: 100%;
  }

  .float-up-down img {
    height: auto;
    width: 100%;
    object-fit: cover; /* avoid distortion */
  }

  .float-up-down .p-4 {
    padding: 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  /* Reduce font sizes */
  .feature-card h3 {
    font-size: 1rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }

  /* Middle box text smaller */
  .float-up-down .p-4 p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Quote Form */
@media (max-width: 767px) {
    .quote-content {
        padding: 20px !important;
    }

    .form-floating input,
    .form-floating select {
        font-size: 0.9rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 10px 20px !important;
    }
}

/* Counter Section */
@media (max-width: 767px) {
    .counter-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .counter-item {
        font-size: 1.1rem;
    }
}

/* Testimonial Carousel */
@media (max-width: 767px) {
    .testimonial-item p {
        font-size: 1rem;
    }

    .testimonial-item .fs-4 {
        font-size: 1.1rem !important;
    }
}

/* Team & Blog Sections if used in future */
@media (max-width: 767px) {
    .team-text,
    .blog-item {
        text-align: center;
    }

    .blog-item .bg-secondary.d-flex {
        flex-direction: column;
    }

    .blog-item .flex-shrink-0 {
        width: 100%;
        padding: 10px;
    }
}

/*footer section*/
.footer-bg {
  background: #111; /* dark background */
  color: #ccc;
  font-size: 0.95rem;
}

.footer-bg h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Mobile layout */
@media (max-width: 768px) {
  .footer-bg .row {
    text-align: center;
  }

  .footer-bg img {
    margin: 0 auto 1rem auto;
    display: block;
  }

  .footer-bg .d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .footer-bg .d-flex a {
    margin-bottom: 0.5rem;
  }

  .footer-bg p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .footer-bg h4 {
    font-size: 1rem;
  }

  .footer-bg p,
  .footer-bg a {
    font-size: 0.85rem;
  }

  .call-now-box p {
    font-size: 0.9rem;
  }
  .call-now-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
