
:root {
    --primary: darkorange;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
}
body {
    background-color: #000000;
    color:black; /* Optional: sets text color to white for visibility */
  
    
}



  .btn-sm-square {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
/* Remove border and background for cleaner look */
.navbar-toggler {
  border: none;
  background: white;
}

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

.fw-medium {
    font-weight: 500;
}


/*** 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;
}

.btn,
.btn-outline:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

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


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
    background-color:  #fff9f3;
}

.navbar {
    height: 80px; /* fixed height */
    padding-top: 0;
    padding-bottom: 0;
    align-items: center; /* vertical alignment fix */
    
}

.navbar .navbar-nav {
    align-items: center; /* menu items center aligned */
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
        color: white;
    font-size: 18px;
    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;
    color: white;
}

@media (max-width: 990.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        text-align: center; /* center align menu text */
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #eee;
        background-color: black; /* white background for mobile menu */
        padding: 10px 0;
    }

@media (max-width: 767px) {
    .navbar-brand img {
        width: 600px !important;  /* mobile me bhi bada rakhna hai */
        height: auto !important;
    }
}
}

/* Desktop hover dropdowns */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        color: white;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        color: white;
    }
}

/* Logo always fits inside navbar without stretching */
/* Desktop styles */
.navbar-brand img {
    width: 300px !important;
    height: 400px !important;
    max-height: none !important;
}
.navbar-brand {
    width: auto; /* ya required width */
    max-width: 100%; 
}


/* Mobile styles */
@media (max-width: 768px) {
    .navbar-brand img {
        width: 250px !important;   /* smaller width for mobile */
        height: auto !important;   /* keep aspect ratio */
        max-height: 90px !important; /* avoid tall logo in navbar */
    }
}



/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.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: 10px;
    color: var(--light);
}
.btn-square img {
    width: 100%;
    max-width: 50px;
    max-height: 50px;
    height: auto;
    object-fit: contain;
    display: block;
}

.small-icon-img {
    width: 60px;
    height: auto;
}
.navbar-brand img {
  height: 150px !important;
  width: 200px;
  object-fit: contain;
  padding: 0 !important;
  margin: 0 !important;
}

/* Base image styling for better scaling */
.feature-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Tablet view adjustments */
@media (max-width: 992px) {
    .feature-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .feature-item div {
        margin: 0 auto 15px;
    }

    .feature-item img {
        width: 80px;
        height: auto;
    }
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .feature-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        padding: 1rem;
        text-align: center;
    }

    .feature-item img {
        width: 40px;
        height: auto;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .feature-item {
        padding: 1rem;
    }

    .feature-item img {
        width: 60px;
    }

    .feature-item h5 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 14px;
    }
}

/* Default Desktop Styles already in your code */

/* Tablets & smaller (≤ 991px) */
@media (max-width: 991px) {
  /* Logo scaling */
  .navbar-brand img {
    height: 60px !important;
    width: auto !important;
  }

  /* Navbar padding */
  .navbar {
    padding: 0.5rem 0 !important;
  }

  /* Dropdown menu full-width on mobile */
  .navbar-nav .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  /* Contact button adjustments */
  .navbar .btn {
    font-size: 0.6rem;
    padding: 6px 10px;
    size: 10px;

  }
}

/* Phones (≤ 576px) */
@media (max-width: 576px) {
  /* Logo smaller on very small devices */
  .navbar-brand img {
    height: 50px !important;
  }

  /* Hide "Follow Us" text in topbar if you make it visible */
  .topbar-follow-text {
    display: none;
  }

  /* Reduce nav font size */
  .navbar-nav .nav-link {
    font-size: 0.9rem !important;
    padding: 8px 0;
  }

  /* Stack dropdown items more clearly */
  .navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.9rem !important;
    padding: 8px 12px;
  }
}

/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.jpg) left center no-repeat;
    background-size: cover;
    background-color:  #fff9f3;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}



/* Tablet & Mobile view: 2 left, 2 right */
@media (max-width: 768px) {
  /* Make stats container a grid */
  section div[style*="flex:2; display:flex;"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    justify-items: center;
  }

  /* Remove vertical dividers on small screens */
  section div[style*="border-left:1px"] {
    display: none !important;
  }

  /* Adjust padding for better spacing */
  section div[style*="padding:20px"], 
  section div[style*="padding:30px"] {
    padding: 15px 10px !important;
  }

  /* Resize text & icons */
  section img {
    width: 50px !important;
  }
  section h2 {
    font-size: 24px !important;
  }
  section p {
    font-size: 14px !important;
  }
}
/* For small screens (max-width: 768px) */
@media (max-width: 768px) {
  /* ACHIEVEMENTS SECTION */
  .achievements-container {
    flex-direction: column;
    text-align: center;
  }

  .achievements-container > div {
    flex: unset;
    min-width: 100%;
    padding: 15px;
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  .achievements-container > div:first-child {
    border-top: none;
  }

  /* WHY CHOOSE US SECTION */
  .why-choose-container {
    flex-direction: column;
    text-align: center;
  }

  .why-choose-text,
  .why-choose-image {
    flex: unset;
    width: 100%;
    padding: 10px 0;
  }
}




/* General Reset for Images */
img {
  max-width: 100%;
  height: auto;
}

/* WHY CHOOSE US — Responsive Image and Layout */


@media (max-width: 992px) {
  .why-choose-us-img {
    height: auto !important;
    width: 100% !important;
  }
  .why-choose-us-text {
    text-align: center;
  }
  .why-choose-us-text .row {
    text-align: left;
    margin-top: 20px;
  }
}

/* ACHIEVEMENT — Stack items on mobile */
@media (max-width: 992px) {
  .achievement-container {
    flex-direction: column !important;
    text-align: center;
  }
  .achievement-stats {
    justify-content: center !important;
  }
  .achievement-stats > div {
    padding: 20px;
    border: none !important;
  }
}

.partners-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff9f3;
}
.section-title {
  font-size: 2 rem;
  margin-bottom: 40px;
  color: darkorange;

}
.section-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
}
.swiper-container {
  width: 90%;
  margin: auto;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  max-height: 100px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: transform 0.3s;
}
.swiper-slide img:hover {
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .partners-section {
    padding: 30px 10px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .swiper-slide img {
    max-width: 90px;
    max-height: 50px;
  }
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background:  #fff9f3;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: darkorange;
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff9f3;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}
/* ===== Responsive Fix for Service Section ===== */

/* Tablet and below */
@media (max-width: 992px) {
    .service-item .service-text {
        padding: 1.5rem;
    }

    .service-item .service-btn {
        width: 90%;
        height: 2.5rem;
        left: 5%;
        bottom: 0;
    }

    .service-item:hover .service-text {
        top: -1rem; /* Reduce hover lift */
    }

    .service-item:hover .service-btn {
        bottom: -1rem; /* Match reduced lift */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .service-item {
        margin-bottom: 2rem;
    }

    .service-item .service-text {
        padding: 1rem;
    }

    .service-item .service-btn {
        width: 100%;
        left: 0;
        height: 2.2rem;
    }

    .service-item:hover .service-text {
        top: 0; /* Remove lift effect on mobile */
    }

    .service-item:hover .service-btn {
        bottom: 0; /* Keep button in place on mobile */
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .service-item .service-text h5 {
        font-size: 0.95rem;
    }

    .service-item .service-text p {
        font-size: 0.8rem;
    }

    .service-item .service-btn {
        height: 2rem;
        font-size: 0.8rem;
    }
}




/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

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

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
/* CLIENT SECTION BASE STYLING */
.team-item {
  background-color: #fff;
  text-align: center;
  padding: 20px 15px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-item:hover {
  transform: translateY(-5px);
}

.team-item img {
  max-height: 100px;
  object-fit: contain;
}

.team-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 3px;
}

.team-social li a {
  background-color:  #fff9f3;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.team-social li a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* CLIENT SECTION TITLE */
.fs-2 {
  font-size: 2rem;
  color: darkorange;
  font-weight: 400;
  margin-bottom: 30px;
}

/* RESPONSIVE STYLING FOR MOBILE */
@media (max-width: 768px) {
  .fs-2 {
    font-size: 1.5rem;
  }

  .team-item h5 {
    font-size: 1rem;
  }

  .team-item img {
    max-height: 80px;
  }

  .team-social li a {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .team-item {
    padding: 15px 10px;
  }

  .team-item h5 {
    font-size: 0.95rem;
  }

  .team-social {
    gap: 2px;
  }
}



/*** Footer Base ***/
.footer {
  color: #fefefd;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 2px;
  padding: 0;
  text-align: left;
  color: #fff9f3;
  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: 400;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

/* Logo styling */
.footer-logo img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

/* Desktop View (Default) */
.footer-info {
  text-align: left;
}

/* Mobile View */
@media (max-width: 767.98px) {
  .footer .row {
    flex-direction: column;
    text-align: left;
  }

  .footer-logo {
    text-align: left; /* logo left align on mobile */
    margin-bottom: 20px;
  }

  .footer-logo img {
    max-width: 180px;
  }
}


/* Copyright section styles */
.copyright {
    background-color: #000; /* You can change the background */
    color: white;
    font-size: 16px;
}

/* Links inside copyright */
.copyright a {
    text-decoration: none;
}

/* For mobile view */
@media (max-width: 767.98px) {
    .copyright {
        text-align: center;
        font-size: 14px; /* slightly smaller text for mobile */
        padding: 10px 0;
    }

    .copyright .row {
        flex-direction: column;
    }

    .copyright .col-md-6 {
        margin-bottom: 10px;
        text-align: center !important;
    }
}

/* For tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .copyright {
        font-size: 15px;
        padding: 12px 0;
    }
}
