/*
Website Name:  Triunity Collective LLP
Website URL: www.triunity.world/
Website Author: Triunity Collective
Google Fonts: 
Copyright 2025. All Rights Reserved.
************************************
Color Guide:
************************************
RGB - dark blue: 46  81  133 
Color code - dark blue: #2E5185;
RGB - LIGHT BLUE: 113  208  246
Color code - LIGHT BLUE: #71D0F6;
Color code - Black: #000000;
Color code - Gray: #F4F2ED;

************************************/

/************************************************
1.  ---------------- Navbar
2.  ---------------- about
3.  ----------------
4.  ----------------
5.  ----------------
6.  ----------------
7.  ----------------
8.  ----------------
9.  ----------------
************************************************/
*{
    margin: 0px;
    padding: 0px;
    box-sizing:border-box;
}

@font-face {
    font-family: codec-regular;
    src: url(../fonts/Codec-Cold-Regular-trial.ttf);
}

@font-face {
    font-family: codec-bold;
    src: url(../fonts/Codec-Cold-Bold-trial.ttf);
}

@font-face {
    font-family: codec-ExtraBold;
    src: url(../fonts/Codec-Cold-ExtraBold-trial.ttf);
}

@font-face {
    font-family: codec-heavy;
    src: url(../fonts/Codec-Cold-Heavy-trial.ttf);
}

@font-face {
    font-family: codec-light;
    src: url(../fonts/Codec-Cold-Light-trial.ttf);
}

html, body{
    overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
}

/* Hero Section with IMG as Background */
.services-hero {
  position: relative;
  padding: 180px 20px; /* desktop */
  color: #ffffff;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay Layer */
.services-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.418);
  z-index: 0;
}

.services-hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.services-hero-content {
  flex: 1;
  padding: 20px;
}

.services-hero-content h1 {
  font-size: 3rem;
  font-family: codec-heavy;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.services-hero-content p {
  margin-bottom: 30px;
  max-width: 500px;
  font-size: 16px;
}

.btn {
  background: #2E5185;
  color: #ffffff;
  padding: 14px 28px;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

/* ===================== */
/* RESPONSIVE STYLES     */
/* ===================== */

/* Tablet (576px–992px) */
@media (max-width: 992px) {
  .services-hero {
    padding: 120px 20px;
    text-align: center;
  }

  .services-hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .services-hero-content p {
    margin: 0 auto 20px;
  font-size: 16px;
}

  .services-hero-container {
    flex-direction: column;
    justify-content: center;
  }
}

/* Mobile (<576px) */
@media (max-width: 576px) {
  .services-hero {
    padding: 80px 15px;
  }

  .services-hero-content h1 {
    font-size: 1.6rem;
  }

  .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 12px;
    width: auto; /* agar chaho to 100% bhi kar sakte ho */
  }
}






/* .services-about-section (Analysis) removed — merged into .analysis-featured
   in style3.css, no longer referenced by any sub-service page. */






/* Container */

.services-about-us {
  padding: 100px 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.services-about-us .about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  align-items: center;
}

/* Left Images */
.services-about-us .about-images {
  flex: 1;
  min-width: 280px;
  max-width: 460px;
  position: relative;
}

.services-about-us .about-images::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #2E5185, #71D0F6);
  border-radius: 22px;
  z-index: 0;
}

.services-about-us .about-images .main-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 380px;
  background: #ffffff;
  border-radius: 22px;
  /* padding: 14px; */
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
}

.services-about-us .about-images .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

/* Right Content */
.services-about-us .about-content {
  flex: 1;
  min-width: 280px;
}

.services-about-us .about-content h2 {
  font-size: 2.6rem;
  font-family: codec-heavy;
  margin-bottom: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #2E5185;
  text-align: left;
}

.services-about-us .about-content h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: #2E5185;
  margin-bottom: 18px;
}

.services-about-us .about-content p {
  font-size: 16px;
  color: #404040;
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
}

/* Responsive Styles */

/* Tablets (576px–992px) */
@media (max-width: 992px) {
  .services-about-us {
    padding: 70px 30px;
  }

  .services-about-us .about-grid {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .services-about-us .about-content h2 {
    font-size: 2rem;
    text-align: center;
  }

  .services-about-us .about-content h2::before {
    margin-left: auto;
    margin-right: auto;
  }

  .services-about-us .about-images {
    max-width: 380px;
  }

  .services-about-us .about-images::before,
  .services-about-us .about-images .main-image {
    height: 320px;
  }
}

/* Mobile (<576px) */
@media (max-width: 576px) {
  .services-about-us {
    padding: 50px 18px;
  }

  .services-about-us .about-content h2 {
    font-size: 1.5rem;
  }

  .services-about-us .about-images {
    max-width: 300px;
  }

  .services-about-us .about-images::before,
  .services-about-us .about-images .main-image {
    height: 260px;
  }
}




/*How it works*/

.how-it-works {
  position: relative;
  padding: 50px 20px;
  overflow: hidden;
  text-align: center;
}

.how-it-works h2 {
  font-size: 3rem; /* Desktop */
  font-family: codec-heavy;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #2E5185;
}

.how-it-works p {
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #404040;
}

.work-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.work-card {
  background: #2E5185;
  padding: 30px 20px;
  border-radius: 16px;
  width: 280px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.work-card:hover {
  transform: translateY(-10px);
}

.work-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.work-card p {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.4;
}

/* Tablet (576px–992px) */
@media (max-width: 992px) and (min-width: 576px) {
  .how-it-works h2 {
    font-size: 2rem;
  }

  .work-cards {
    gap: 20px;
  }

  .work-card {
    width: 45%; /* 2 cards per row */
  }
}

/* Mobile (<576px) */
@media (max-width: 576px) {
  .how-it-works {
    padding: 40px 15px;
  }

  .how-it-works h2 {
    font-size: 1.5rem;
  }

  .how-it-works p {
    margin-bottom: 30px;
  font-size: 16px;
}

  .work-card {
    width: 100%; /* Single card per row */
    padding: 20px 15px;
  }

  .work-card h3 {
    font-size: 1.1rem;
  }
}


/*why-do-it-section*/


.why-do-it-section {
  padding: 80px 20px;
  background: #71D0F6;
}

.why-do-it-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.why-content {
  flex: 1;
  min-width: 320px;
}

.why-content h2 {
  font-size: 3rem; /* Desktop */
  font-family: codec-heavy;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #ffffff;
  text-align: left;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  flex-wrap: wrap;
}

.why-list li img {
  width: 30px;
  margin-right: 15px;
  margin-top: 4px;
}

.why-list h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-right: 6px;
}

.why-list p {
  font-size: 16px;
  color: #ffffff;
  margin-right: 6px;
}

/* Tablet (576px–992px) */
@media (max-width: 992px) and (min-width: 576px) {
  .why-do-it-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .why-content h2 {
    font-size: 2rem;
    text-align: center;
  }

  .why-list li {
    justify-content: center;
    text-align: center;
  }

  .why-list h4 {
    font-size: 1.2rem;
  }
}

/* Mobile (<576px) */
@media (max-width: 576px) {
  .why-do-it-section {
    padding: 50px 15px;
  }

  .why-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .why-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-list li img {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .why-list h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
}



