/************************************************************
*
*
Overall Styles
*
*
*************************************************************/
body {
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

.container-fluid {
  padding-left: 10rem;
  padding-right: 10rem;
}


/************************************************************
*
*
Buttons
*
*
*************************************************************/
.custom-btn {
    background-color: #272B67;
    color: white;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.custom-btn:hover {
    background-color: #69c6b9;
    color: white;
}

.nude-btn {
    background-color: #69c6b9;
    color: white;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.nude-btn:hover {
    background-color: #272B67;
    color: white;
}

.contact-nude-btn {
    background-color: #69c6b9;
    color: white;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.contact-nude-btn:hover {
    background-color: #ffffff;
    color: #272B67;
}

.white-btn {
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.white-btn:hover {
    background-color: #272B67;
    color: white;
}

.white-outline-btn {
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.white-outline-btn:hover {
    background-color: #ffffff;
    color: #272B67;
}

.custom-white-btn {
  background-color: #272B67;
  border: none;
  color: white;
  padding: 0.5rem 2.2rem;
}

.custom-white-btn:hover {
    background-color: #ffffff;
    color: #272B67;
}

/************************************************************
*
*
common-banner Slanted Section
*
*
*************************************************************/
.slanted-section {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  min-height: 300px;
}

/* Desktop Layout */
.slanted-left,
.slanted-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slanted-left {
  background: #ebe9e8;
  clip-path: polygon(0 0, calc(100% - 200px) 0, 100% 100%, 0% 100%);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 2;
  position: relative;
}

.slanted-right {
  background: #272B67;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 200px 100%);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  margin-left: -200px;
  position: relative;
}

.slanted-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slanted-text {
  max-width: 600px;
  text-align: left;
}

.about-slanted-text {
  text-align: justify;
  padding: 0;
  max-width: 600px;
}

.slanted-left-text {
  max-width: 600px;
  text-align: left;
}

.slanted-right-text {
  max-width: 600px;
  text-align: left;
  margin-left: 7rem;
  color: white;
}



/* Responsive: Small screens */
@media (max-width: 992px) {
  .slanted-section {
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important; 
  }

  .slanted-left,
  .slanted-right {
    width: 100%;
    clip-path: none;
    padding: 2rem 1.5rem;
    text-align: center;
    justify-content: center;
  }

  .slanted-right {
      margin: 0 !important;
      padding: 0 !important;
  }

  .slanted-text {
    text-align: justify;
    padding: 0;
  }

  .slanted-right img {
    clip-path: none;
    padding: 0 !important;
  }
}

.slanted-text {
  max-width: 500px;
  color: #1c355e;
}

.slanted-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.slanted-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}


/************************************************************
*
*
Common Contact Slanted Section
*
*
*************************************************************/
.contact-slanted-section {
    background: #272B67;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    min-height: 300px;
    flex-direction: row;
}

.contact-slanted-left,
.contact-slanted-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Default clip-paths for large screens */
.contact-slanted-left {
  background: #ebe9e8;
  clip-path: polygon(0 0, 100% 0, calc(100% - 100px) 100%, 0% 100%);
  z-index: 2;
}

.contact-slanted-right {
    clip-path: polygon(90px 0, 100% 0, 100% 100%, 0% 100%);
    color: white;
    padding: 3rem;
    z-index: 1;
    display: flex;
    align-items: center;
}

/* Responsive adjustments for small screens */
@media (max-width: 992px) {
  .contact-slanted-section {
    flex-direction: column;
  }

  .contact-slanted-left,
  .contact-slanted-right {
    clip-path: none;
    width: 100%;
    padding: 2rem;
  }

  .contact-slanted-left {
    margin: 0 !important;
    padding: 0 !important;
  }

  .contact-slanted-right {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .border-end {
    border-right: none !important;
  }

  .text-lg-end {
    text-align: center !important;
  }

  .text-lg-start {
    text-align: center !important;
  }

  .pe-lg-5 {
    padding-right: 0 !important;
  }
}




/************************************************************
*
*
Services Section - Home Page
*
*
*************************************************************/
.services-section {
  background: linear-gradient(to bottom,rgb(77, 177, 165) 0%,rgb(30, 170, 151) 100%);  
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.filling-tax-section {
  background: #ffffff;
  display: flex;
  flex:center;
  justify-content: center;
  align-items: center;
}

.filling-tax-section .card {
  background-color: #ebe9e8;
}

.file-now-btn {
    background-color:rgb(106, 253, 202);
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.file-now-btn:hover {
    background-color: #69c6b9;
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
  .filling-section {
    padding-top: 3rem;
  }

}


/************************************************************
*
*
Footer
*
*
*************************************************************/
.custom-footer {
  background: radial-gradient(circle at bottom right,rgb(53, 54, 122), #69c6b9);
  color: #fff;
  line-height: 2rem;
}

.custom-footer a:hover {
  text-decoration: underline;
  color: #e0e0e0;
}

.newsletter-group {
  max-width: 50%;
}

.newsletter-input {
  border-radius: 0;
  border: 1px solid white;
  background: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0% 100%);
}

@media (max-width: 576px) {
  .newsletter-group {
    flex-direction: column;
    max-width: 100%;
  }

  .input-group>.form-control, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    clip-path: none;
    width: 100%;
  }

    .form-group .newsletter-input {
      width: 100%;
      border-radius: 0;
      border: 1px solid white;
      background: none;
    }

    .newsletter-group .btn {
      width: 100%;
      clip-path: none;
      margin-top: 1rem;
      margin-left: 0 !important;
  }
}


.skew-btn {
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0% 100%);
  background-color: #272B67;
  border: none;
  color: white;
  padding: 0.5rem 2.2rem;
  transition: background-color 0.3s ease;
  margin-left: -30px !important;
}

.skew-btn:hover {
  background-color: #ffffff;
  color: #272B67;
}

.footer-social-icons i{
  color: #ffffff;
  padding: 0.6rem;
}

.footer-contact-details a{
  text-decoration: none;
  color: #ffffff;
}
.footer-contact-details a:hover{
  color: #ffffff;
  padding-left: 2rem;
}

/************************************************************
*
*
Inside pages common-banner Slanted Section
*
*
*************************************************************/
.common-banner-slanted-section {
    min-height: 500px;
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.common-banner-slanted-left {
    flex: 1;
    background-color: #272B67;
    clip-path: polygon(0 0, 100% 0, calc(100% - 300px) 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 500px;
}

.common-banner-text {
    max-width: 70%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
    line-height: 2rem;
}

.common-banner-text h1 {
  font-size: 2.5rem;
  font-weight: bolder;
  line-height: 4rem;
}

.common-banner-text p {
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 1.2rem;
}

.common-banner-slanted-right {
    flex: 1;
    overflow: hidden;
    clip-path: polygon(300px 0, 100% 0, 100% 100%, 0% 100%);
    position: relative;
    margin-left: -300px;
    min-height: 500px;
}

.common-banner-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.common-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Responsive common-banner Section */
@media (max-width: 768px) {
  .common-banner-slanted-section {
    flex-direction: column;
  }

  .common-banner-slanted-left,
  .common-banner-slanted-right {
    flex: 1 1 100%;
    clip-path: none;
    height: auto;
    padding: 2rem;
  }

  .common-banner-slanted-right {
    margin: 0 auto;
    min-height: 12rem;
    width: 100%;
  }
  .common-banner-text {
    margin-top: 1rem;
    max-width: 90%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
  }

  .common-banner-text h1 {
    font-size: 1.6rem;
    font-weight: bolder;
    line-height: 2rem;
  }

  .common-banner-text p {
    padding-top: 1rem;
    padding-bottom: 2rem;
    font-size: 1.2rem;
  }
}



.mission-slanted-left,
.mission-slanted-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-slanted-left {
  background: #ebe9e8;
  clip-path: polygon(0 0, calc(100% - 100px) 0, 100% 100%, 0% 100%);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 2;
  position: relative;
}

.mission-slanted-right {
  background: #272B67;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 100px 100%);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  margin-left: -100px;
  position: relative;
}

.mission-slanted-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mission-slanted-text {
  max-width: 600px;
  text-align: left;
}

.mission-slanted-left-text {
  max-width: 600px;
  text-align: left;
}

.mission-slanted-right-text {
  max-width: 600px;
  text-align: left;
  margin-left: 7rem;
  color: white;
}

@media (max-width: 768px) {
  .mission-slanted-left,
  .mission-slanted-right {
    flex: none;
    width: 100%;
    clip-path: none;
    margin: 0;
    padding: 2rem;
    flex-direction: column;
  }

  .mission-slanted-right {
    background: #272B67;
    clip-path: none;
  }

  .mission-slanted-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .mission-slanted-right-text {
    margin-left: 0;
    text-align: justify;
  }
  .mission-slanted-left-text {
    margin-left: 0;
    text-align: justify;
  }
}


.core-services-nav {
  background-color: #272B67;
  border-left: 3px solid #fff;
  padding: 1.2rem;
  gap: 1.6rem;
  width: 300px;
  flex-shrink: 0;
}

.core-services-nav .nav-link {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  color: #fff;
  font-weight: 500;
  padding: 1rem 1rem;
  text-align: left;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.core-services-nav .nav-link.active {
  color: #fff;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
}

.core-services-nav .toggle-icon {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  color: #ccc;
  margin-left: auto;
}

/* Optional hover effect */
.core-services-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab-content {
  background-color: #f9f9f9;
}

/* .tab-pane img {
  height: 18rem;
} */

.tab-pane h4 {
  color: #272B67;
  font-weight: 600;
}

.custom-bullets li {
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .tab-pane .row {
    flex-direction: column;
  }

  .tab-pane img {
    margin-top: 1.5rem;
  }
}

.tax-image {
  height: 28rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}



/************************************************************
*
*
Team
*
*
*************************************************************/

.team-card {
  display: block;
  min-height: 22rem; 
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
  transition: transform .3s ease, background .3s ease;
  position: relative;
}
.team-card:hover {
  transform: translateY(-6px);
  background: #f0f2ff;
}

/* Image */
.team-img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.team-info {
  text-decoration: none;
}

.team-info h5 { color: #272B67; }
.team-info p  { font-size: .9rem; }

.team-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity .3s ease;
  z-index:2; 
}
.team-card:hover .team-overlay{ opacity:9; }

.team-overlay a{
  color: #fff;
  font-size: 1.4rem;
  transition: transform .2s;
}
.team-overlay a:hover{ transform: scale(1.2); }
