/* header section */
:root {
  --primary-color: #2B364B;
  --secondary-color: #BB715B;
  --section-background: #F9FAFB;
}

body {
  overflow-x: hidden;
}

* {
  scroll-behavior: auto !important;
}

.navbar-expand-lg {

  height: 80px;
}

.header-section {
  background-color: #F9FAFB;
  color: var(--primary-color);
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-section .content {
  max-width: 900px;
}

.header-section h1 {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.header-section h5 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-color);
}

.navbar {
  background-color: var(--primary-color);
}



.navbar-brand,
.navbar-nav .nav-link {
  color: var(--section-background);

}
.navbar-nav .nav-link {
  color: var(--section-background);
  position: relative;
  padding: 8px 12px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;

}
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);

}

.navbar {
  background-color: var(--primary-color);
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}




.btn-primary-custom {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color);
  color: #fff !important;
}

.btn-primary-custom:hover {
  background-color: #1f2937 !important;
  border-color: #1f2937;
  color: #fff;
}


.btn-outline-secondary-custom {
  color: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary-custom:hover {
  background-color: var(--secondary-color) !important;
  color: #fff !important;
}

.section-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  align-items: center;
  margin-bottom: 28px;
}

section {
  margin-top: 60px !important;
}

.section-background {
  background-color: var(--section-background);
  padding: 40px 0px;
}

p {
  text-align: justify;
}

.primary-text {
  color: var(--primary-color) !important;
}

        .rotating-text {
  height: 30px;   
  overflow: hidden;
  position: relative;
  
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  animation: slideText 6s infinite;
}

.rotating-text h5 {
  margin: 0;
  height: 30px;
  display: flex;
  align-items: center;
}

@keyframes slideText {
  0% { transform: translateY(0); }
  40% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
  90% { transform: translateY(-30px); }
  100% { transform: translateY(0); }
}
   

/* about us section */

.about-us-section {
  padding: 80px 0;

}



.section-subtitle {
  color: #333;
  font-size: 16px;
}



/* Feature Cards */
.feature-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Icon Box */
.icon-box {
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  margin-right: 15px;
}


.feature-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #2B364B;
}

.feature-card p {
  margin: 0;
 
  color: #555;
}


/* end about us section */

/* ceo message section */
.ceo-style-1 {
  padding: 80px 0;
  background: var(--section-background);
}

.ceo-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 20px;
}

.ceo-img {
  width: 100%;
  border-radius: 20px;
}


/* ceo message section end */

/* investment philosophy */
.philosophy-card {
  background: var(--section-background);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
}



.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--section-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--secondary);
}

.conventional {
    background: var(--section-background);
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--secondary-color);
}

.nahj-diff {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--secondary);
}

.diff-item i {
    font-size: 1.5rem;
}

.diff-item {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* how we are different start here */
#how-we-different .fa-times-circle {
  color: #dc3545;
  background-color: white !important;
}
.fa-check-circle {
  color: var(--section-background);
}
/* how we are different end here */

/* what we do start here */

.what-we-do-section {
  padding: 80px 0;
  background: var(--section-background)
}


.section-subtitle {
  color: #6c757d;
  margin-bottom: 50px;
}

/* Image Box */
.wwd-image-box {
  background: linear-gradient(135deg, var(--primary), #1c2433);
  color: #fff;
  height: 260px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.wwd-image-box i {
  font-size: 50px;
  margin-bottom: 10px;
}

/* Content Card */
.wwd-content-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.wwd-content-card:hover {
  transform: translateY(-5px);
}

.wwd-content-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.wwd-content-card p {
  color: #444;
  line-height: 1.8;
}

/* List */
.wwd-content-card ul {
  list-style: none;
  padding: 0;
}

.circle-blue {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.circle-blue i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.fa-times-circle {
    color: var(--primary-color);
    background-color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .wwd-image-box {
    margin-bottom: 20px;
  }
}

.image-overlay-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.image-overlay-box img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Black overlay */
.image-overlay-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* 70% black */
  border-radius: 20px;
}


/* what we do end here */

/* scope of activities */
.image-card {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Black overlay always visible */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Paragraph hidden by default */
.overlay p {
  opacity: 0;
  transform: translateY(15px);
  transition: 0.4s ease;
}


.image-card:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

.overlay h4 {
  margin: 0;
  font-size: 20px;
}


.image-card {
  position: relative;


  cursor: pointer;
}

.image-card img {
  width: 100%;

  object-fit: cover;
  transition: transform 0.5s ease;
}

/* operating Principle start */
.principle-card {
    background: var(--section-background);
    border-radius: 20px;
    text-align: center;

   border: 1px solid #e5e7eb;
   padding: 2rem;
}


/* operating principle end */

.scope-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
#scope {
  padding: 80px 0;
  background: #f9fafc;
}

.scope-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.scope-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.scope-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.scope-icon i {
  font-size: 28px;
  color: var(--section-background);
}

.scope-card h4 {
  font-size: 1.2rem;
  
  margin-bottom: 10px;
}



/* scope of activities */


/* end of scope of activies section */

/* footer section start here */

.main-footer {
  background: var(--primary-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-logo {
  width: 60px;
  margin-bottom: 15px;
}

.main-footer p {
  color: #ccc;
  
}

.main-footer h5 {
  margin-bottom: 20px;
  color: #BB715B;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact i {
  color: #BB715B;
  margin-right: 8px;
}


.footer-social a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: #BB715B;
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #fff;
  color: #2B364B;
}

.footer-bottom {
  margin-top: 20px;
  
  color: #ccc;
}




/* footer section end here */



/* responsive css start */


@media (max-width: 768px) {
  .header-section h1 {
    font-size: 1.3rem;
    font-weight: 500;
  }

  .header-section h5 {
    font-size: 1rem;
    
  }
.about-us-section {
    padding: 20px 0;
}

.section-title {
    font-size: 2rem;

    margin-bottom: 16px;
}
.icon-box {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    margin-right: 15px;
}
.principle-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 16px;

}
.principle-icon {
    width: 48px;
    height: 48px;

}

.principle-icon i {
    font-size: 20px;
    color: var(--section-background);
}

.scope-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.scope-icon i {
    font-size: 20px;
    color: var(--section-background);
}


  .footer-social {
    margin-bottom: 16px;
  }
  a.btn.btn-primary-custom.me-3 {
    height: 36px;
    font-size: 14px;
    margin-right: 0px !important;
}
a.btn.btn-outline-secondary-custom{
    height: 36px;
    font-size: 14px;
}

@media (max-width: 991px) {
  .navbar-collapse.show {
    background: var(--primary-color);
    border-radius: 0px 0px 20px 20px;
    padding: 8px 8px
  }; 


}
}




.principle-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 35px 30px;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        height: 100%;
      }

      .principle-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
      }

      .principle-icon {
        width: 76px;
        height: 76px;
        background: var(--primary-color);
        ;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
      }

      .principle-icon i {
        font-size: 30px;
        color: var(--section-background);
      }

      .principle-card h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
      }