/* --- THEME: ENHANCED DARK & FULLY RESPONSIVE (V6) --- */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 5rem;
}

html, body {
  overflow-x: hidden;
}

main,
.hero {
  padding-top: 5rem;
}

body {
  background: #0A192F;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- Section Header Styles --- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2, .about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw + 0.5rem, 2.8rem);
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2 .text-blue, .hero-content h1 .text-blue {
    color: #3BAFDA;
}

.text-content h2 .text-blue {
    color: #3BAFDA;
}

.section-header h2::after, .about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: #3BAFDA;
  border-radius: 2px;
}

.section-header p {
  color: #F4F6F8;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  background: rgba(10, 25, 47, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.logo-text {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text-blue {
  color: #3BAFDA;
}

.logo-text-grey {
  color: #F4F6F8;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li {
  margin: 0 5px;
}

.navbar ul li a {
  text-decoration: none;
  color: #F4F6F8;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #FFFFFF;
}

.animated-button {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  border: none;
  font-size: 20px;
  background-color: transparent;
  border-radius: 100px;
  font-weight: bold; /* Changed from 600 */
  color: #F4F6F8;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  text-decoration: none;
}

.animated-button span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #3BAFDA;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.animated-button span:first-child {
  position: relative;
  z-index: 1;
}

.animated-button:active {
  transform: scale(0.95);
}

.animated-button:hover span:last-child {
  width: 150px;
  height: 150px;
  opacity: 1;
}
.animated-button:hover span:first-child{
    color: #FFFFFF;
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    overflow: hidden;
    text-align: center;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(100%);
}

.slide.active {
    transform: translateX(0);
}

.slide.exit {
    transform: translateX(-100%);
}

.slide.no-transition {
    transition: none !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    color: #FFFFFF;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #F4F6F8;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.hero-stats .stat-card {
    background: rgba(244, 246, 248, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-stats .stat-card i {
    font-size: 2rem;
    color: #FFFFFF;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #F4F6F8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-hero {
    padding: 17px 40px;
    border-radius: 50px;
    cursor: pointer;
    border: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s ease;
}

.btn-hero.primary {
    background: linear-gradient(to right, #3BAFDA, #2ECC71);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero.primary:hover {
    letter-spacing: 3px;
    transform: translateY(-3px);
    box-shadow: 0 7px 29px rgba(59, 175, 218, 0.4);
}

.btn-hero:active {
    transform: translateY(2px);
    box-shadow: none;
}

/* --- Animated Text Styles --- */
.animated-text-container {
    height: 2rem;
    font-size: 1.2rem;
}

#animated-text {
    color: #3BAFDA;
    font-weight: 600;
    border-right: 3px solid #3BAFDA;
    animation: blink 0.75s step-end infinite;
    padding-right: 3px;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #3BAFDA; }
}


/* --- About Us Page Sections --- */
.main-container, .values-container {
    padding: 3rem 1.5rem;
    font-family: 'Inter', sans-serif;
    color: #F4F6F8;
}

.about-section {
    text-align: center;
    padding: 60px 2%;
}
.about-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    position: relative;
}
.about-section h1::after,
.values-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3BAFDA;
    margin: 0.75rem auto 0;
}
.about-section p {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #F4F6F8;
    line-height: 1.625;
}

/* FIX: Reverted to a responsive stacking layout for the Growth Story section */
.growth-story-section {
    display: flex;
    flex-direction: column; /* Default to stacking on mobile */
    gap: 3rem; 
    align-items: center;
    padding: 0 5%;
}

.text-content,
.stats-cards-container {
    width: 100%; /* Both children take full width on mobile */
}

.text-content {
    background: linear-gradient(145deg, rgba(244, 246, 248, 0.05), rgba(244, 246, 248, 0.01));
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(244, 246, 248, 0.2);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(59, 175, 218, 0.2);
}

.text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
}
.text-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3BAFDA;
    margin-top: 0.75rem;
}
.text-content p {
    color: #F4F6F8;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stats-cards-container .stat-card {
    background: linear-gradient(145deg, rgba(244, 246, 248, 0.05), rgba(244, 246, 248, 0.01));
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(244, 246, 248, 0.2);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-cards-container .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(59, 175, 218, 0.2);
}
.stats-cards-container .stat-card .icon {
    color: #3BAFDA;
    margin-bottom: 1rem;
    font-size: 3rem;
}
.stats-cards-container .stat-card .value {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
}
.stats-cards-container .stat-card .label {
    color: #F4F6F8;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* Our Values Section */
.values-section {
    background-color: rgba(244, 246, 248, 0.03);
    padding: 60px 5%;
    margin-top: 4rem;
    text-align: center;
}
.values-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    position: relative;
}
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}
.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0A192F;
    border: 1px solid rgba(244, 246, 248, 0.1);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    min-height: 250px;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.value-card .icon-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 4px solid;
    transition: transform 0.3s;
}
.value-card:hover .icon-container {
    transform: rotate(15deg) scale(1.1);
}
.value-card .icon-container i {
    font-size: 2.5rem;
}
.value-card.integrity .icon-container { border-color: #3BAFDA; background-color: rgba(59, 175, 218, 0.1);}
.value-card.integrity .icon-container i { color: #3BAFDA; }

.value-card.customer-oriented .icon-container { border-color: #2ECC71; background-color: rgba(46, 204, 113, 0.1); }
.value-card.customer-oriented .icon-container i { color: #2ECC71; }

.value-card.inclusivity .icon-container { border-color: #F4F6F8; background-color: rgba(244, 246, 248, 0.1); }
.value-card.inclusivity .icon-container i { color: #F4F6F8; }

.value-card.excellence .icon-container { border-color: #F1C40F; background-color: rgba(241, 196, 15, 0.1); }
.value-card.excellence .icon-container i { color: #F1C40F; }

.value-card.innovation .icon-container { border-color: #9B59B6; background-color: rgba(155, 89, 182, 0.1); }
.value-card.innovation .icon-container i { color: #9B59B6; }

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}
.value-card p {
    color: #F4F6F8;
    max-width: 20rem;
    line-height: 1.625;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* --- Services Section --- */
.services {
  padding: clamp(3rem, 8vw, 5rem) 5%;
  background: #0A192F;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  border-radius: 12px;
  padding: 40px 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 450px;
  color: #FFFFFF;
  border: 2px solid rgba(59, 175, 218, 0.3);
  box-shadow: 0 0 10px rgba(59, 175, 218, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(59, 175, 218, 0.7);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scale(1.05);
}

.services-grid .service-card:nth-child(1)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/data_annotation.png');}
.services-grid .service-card:nth-child(2)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/medical_billing.jpg');}
.services-grid .service-card:nth-child(3)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/mortgage.png');}
.services-grid .service-card:nth-child(4)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/bpo.jpg');}
.services-grid .service-card:nth-child(5)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/kpo.jpg');}
.services-grid .service-card:nth-child(6)::before { background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.76)), url('asset/data_ent.webp');}


.service-header-content, .service-card > p, .service-card ul, .btn-view-more {
    position: relative;
    z-index: 2;
}

.service-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-header-content i {
    font-size: 2.5rem;
    color: #3BAFDA;
}

.service-header-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.service-card > p {
    color: #F4F6F8;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #F4F6F8;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #2ECC71;
    font-size: 1rem;
}

.btn-view-more {
    display: inline-block;
    margin-top: auto;
    padding: 12px 25px;
    border: 2px solid #3BAFDA;
    border-radius: 50px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    align-self: flex-start;
}

.btn-view-more:hover {
    background-color: #3BAFDA;
    color: #FFFFFF;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: clamp(3rem, 8vw, 5rem) 5%;
    background-color: rgba(244, 246, 248, 0.03);
}

.why-choose-us-container {
    display: flex;
    flex-direction: column; /* This is the key change for vertical stacking */
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px; /* This now creates vertical space between the blocks */
}

.testimonials-container, .differentiators-container {
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(244, 246, 248, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-section-header {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-grow: 1;
}

.testimonial-nav {
    background: rgba(244, 246, 248, 0.1);
    border: 1px solid rgba(244, 246, 248, 0.2);
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.testimonial-nav:hover {
    background: rgba(59, 175, 218, 0.2);
    border-color: #3BAFDA;
}

.testimonial-content {
    text-align: center;
    max-width: 600px;
    position: relative;
}

#testimonial-text,
#testimonial-author,
.testimonial-stars {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.testimonial-stars {
    color: #F1C40F;
    margin-bottom: 15px;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    color: #F4F6F8;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-content p {
    font-weight: 600;
    color: #3BAFDA;
}

.header-underline {
    width: 60px;
    height: 4px;
    background-color: #3BAFDA;
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.differentiator-item {
    padding: 10px;
}

.differentiator-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
}

.icon-multi-industry { background: linear-gradient(135deg, #3a8dff, #2962ff); color: #fff; }
.icon-scalable { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: #fff; }
.icon-process-driven { background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff; }
.icon-client-centric { background: linear-gradient(135deg, #f1c40f, #f39c12); color: #fff; }

.differentiator-item h4 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.differentiator-item p {
    color: #F4F6F8;
    line-height: 1.6;
}

/* --- Certifications Section --- */
.certifications-section {
    padding: clamp(3rem, 8vw, 5rem) 5%;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Makes cards same height */
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.certificate-card {
    background-color: rgba(244, 246, 248, 0.05);
    border: 1px solid rgba(244, 246, 248, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    flex: 1 1 280px; /* Allows cards to grow and shrink */
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(59, 175, 218, 0.2);
}

.certificate-card img {
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 12px;
}

.certificate-card h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.certificate-card p {
    color: #F4F6F8;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: auto; /* Pushes text to bottom */
}

/* --- Lightbox Modal for Certificates --- */
.certificate-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.lightbox-modal {
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Changed from flex to none */
    justify-content: center;
    align-items: center;
}

.lightbox-modal.show {
    display: flex; /* This class will now trigger visibility */
}

/* Add Keyframes for Animation */
@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.5); opacity: 0; }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 85vh;
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px; /* Add this line */
}

.lightbox-modal.show .lightbox-content {
    animation-name: zoomIn;
}

.lightbox-modal.closing .lightbox-content {
    animation-name: zoomOut;
}


.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #bbb;
}

/* --- Contact Section --- */
.contact-section {
  padding: clamp(3rem, 8vw, 5rem) 5%;
  background: #0A192F;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-left h3, .contact-right h3 {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.contact-left .info-container-card, .contact-right {
  background: rgba(244, 246, 248, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(244, 246, 248, 0.2);
  margin-bottom: 30px;
}

.contact-right {
    padding: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid rgba(244, 246, 248, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-container-card .info-item:last-child {
  margin-bottom: 0;
}

.icon-wrapper {
  background-color: rgba(59, 175, 218, 0.1);
  color: #3BAFDA;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  margin-top: 5px;
}

.info-text h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.info-text p {
  color: #F4F6F8;
  margin: 0;
  line-height: 1.5;
}

.info-text p small {
  font-size: 0.8rem;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #F4F6F8;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(244, 246, 248, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  background: #0A192F;
  color: #FFFFFF;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8892b0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3BAFDA;
}

.btn-submit {
  background: linear-gradient(to right, #3BAFDA, #2ECC71);
  color: #FFFFFF;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.btn-submit:hover {
  letter-spacing: 2px;
  transform: translateY(-3px);
  box-shadow: 0 7px 29px rgba(59, 175, 218, 0.4);
}


/* --- Footer --- */
.footer {
    background-color: #0A192F;
    color: #F4F6F8;
    padding: 60px 5% 20px;
    border-top: 1px solid rgba(244, 246, 248, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(244, 246, 248, 0.1);
}

.footer-col .logo {
    margin-bottom: 20px;
}
.footer-col .logo img {
    height: 60px; /* Slightly larger logo in footer */
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #bdc1c6;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #3BAFDA;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a, .footer-col ul li {
    color: #bdc1c6;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: #3BAFDA;
    padding-left: 5px;
}

.footer-contact i {
    color: #3BAFDA;
}

.footer .socials {
    display: flex;
    gap: 15px;
}

.footer .socials a {
    color: #F4F6F8;
    border: 1px solid #F4F6F8;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.footer .socials a:hover {
    background-color: #3BAFDA;
    color: #0A192F;
    border-color: #3BAFDA;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc1c6;
}


/* --- Google Map Styling --- */
.map-container {
    padding: 0;
    overflow: hidden;
    height: 10%;
    min-height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

/* --- STYLES FOR SERVICE PAGES (v2) --- */

/* --- Service Page Hero Background Images --- */

#bpo-background {
    background-image: url('asset/bpo.jpg');
}

#data-annotation-background {
    background-image: url('asset/data_annotation.png');
}

#data-entry-background {
    background-image: url('asset/data_ent.webp');
}

#kpo-background {
    background-image: url('asset/kpo.jpg');
}

#medical-billing-background {
    background-image: url('asset/medical_billing.jpg');
}

#mortgage-background {
    background-image: url('asset/mortgage.png');
}

.page-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.7);
}

.page-section .cta-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.6);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero-content p {
    font-size: 1.2rem;
    color: #F4F6F8;
}

.page-section {
    padding: clamp(3rem, 8vw, 5rem) 5%;
}

.page-section.alt-bg {
    background: rgba(244, 246, 248, 0.03);
}

.service-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-overview-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.service-overview-content p {
    color: #bdc1c6;
    line-height: 1.8;
}


.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.capability-card {
    background: #0A192F;
    border: 1px solid rgba(244, 246, 248, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 175, 218, 0.2);
}

.capability-card i {
    font-size: 2.5rem;
    color: #3BAFDA;
    margin-bottom: 20px;
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.capability-card > p {
    color: #bdc1c6;
    line-height: 1.6;
    margin-bottom: 20px;
}

.capability-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.capability-card ul li {
    color: #bdc1c6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.capability-card ul li::before {
    content: '\2713';
    color: #2ECC71;
    position: absolute;
    left: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    background: rgba(244, 246, 248, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(244, 246, 248, 0.2);
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3BAFDA;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid rgba(10, 25, 47, 1);
    outline: 2px solid #3BAFDA;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.process-step p {
    color: #bdc1c6;
}


.advantage-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: rgba(10, 25, 47, 0.8);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(244, 246, 248, 0.2);
}
.advantage-text h4 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 5px;
}
.advantage-text p {
    color: #bdc1c6;
    line-height: 1.7;
}


.cta-section {
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.cta-section p {
    color: #F4F6F8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}


/* --- Responsive Design & Mobile Nav --- */
.nav-toggle {
    display: none;
}

@media (min-width: 768px) {
    .growth-story-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }
    .text-content, .stats-cards-container {
        width: 50%;
    }
    /* .service-overview {
        grid-template-columns: 1fr 1fr;
    } */

    .service-overview {
        /* Image column (smaller) | Text column (larger) */
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
    }

    .service-overview-image {
        max-height: 400px; /* Controls and shrinks the image height */
    }

    .service-overview-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .values-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
.hero {
    padding-top: 7rem;      /* Increased top padding to push content down from navbar */
    padding-bottom: 4rem;   /* Added bottom padding to ensure button is always visible */
    height: auto;           /* Remove the problematic 100vh height */
    min-height: 0;          /* Reset min-height for mobile */
}

.services-grid {
    grid-template-columns: 1fr;
}

.growth-story-section {
    gap: 2rem; /* Reduces the large vertical space between the text and the cards */
}

.text-content {
    padding: 2rem 1.5rem; /* Reduces padding to make the text box more compact */
    text-align: center; /* Center-aligns the content for a cleaner look */
}

.text-content h2 {
    font-size: 1.8rem; /* Reduces the main heading size */
    margin-bottom: 1rem;
}

.text-content p {
    font-size: 0.9rem;  /* Makes the words smaller */
    text-align: justify; /* Justifies the text */
}

.growth-story-section {
    padding-left: 0%;  /* Reduces the gap on the left */
    padding-right: 0%; /* Reduces the gap on the right */
}

.stats-cards-container .stat-card .icon {
    font-size: 2.2rem; /* Reduces icon size */
}

.stats-cards-container .stat-card .value {
    font-size: 0.5rem; /* Reduces the number size */
}

.stats-cards-container .stat-card .label {
    font-size: 0.9rem; /* Reduces the label text size */
}

.text-content h2::after {
    margin-left: auto;  /* Centers the blue underline element itself */
    margin-right: auto; /* Centers the blue underline element itself */
}

/* --- "Our Values" Section Mobile Layout Fix --- */
.values-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.value-card {
    padding: 1.5rem 1rem;
    min-height: 220px;
}
.value-card .icon-container {
    width: 60px;
    height: 60px;
}
.value-card .icon-container i {
    font-size: 1.8rem;
}
.value-card h3 {
    font-size: 1rem;
    text-align: center;
}
.value-card p {
    font-size: 0.85rem;
}


/* --- "Our Core Services" Card Size Adjustment for Mobile --- */
.service-card {
    padding: 30px 25px; /* Reduces padding inside the card */
    min-height: auto;   /* Allows card height to fit its content */
}

.service-card .service-header-content i {
    font-size: 2rem;    /* Makes the icon smaller */
}

.service-card .service-header-content h3 {
    font-size: 1.4rem;  /* Makes the heading smaller */
}

.service-card > p {
    font-size: 0.9rem;  /* Makes the description text smaller */
}

.service-card ul li {
    font-size: 0.85rem; /* Makes the list item text smaller */
}

/* --- "Our Advantages" Section Mobile Layout Fix --- */
.differentiators-grid {
    grid-template-columns: repeat(2, 1fr); /* Creates a 2-column layout */
    gap: 1.5rem;                           /* Reduces space between items */
}

.differentiator-icon-wrapper {
    width: 60px;          /* Makes the icon background smaller */
    height: 60px;
    margin-bottom: 15px;
}

.differentiator-icon-wrapper i {
    font-size: 1.8rem;    /* Makes the icon itself smaller */
}

.differentiator-item h4 {
    font-size: 1rem;      /* Makes the title smaller */
}

.differentiator-item p {
    font-size: 0.85rem;   /* Makes the description text smaller */
}
/* --- Testimonial Slider Fix for Mobile --- */
.testimonial-carousel {
    gap: 10px; /* Reduces the space between the buttons and the text */
}

.testimonial-nav {
    flex-shrink: 0; /* Prevents the arrow buttons from being squeezed */
    width: 35px;    /* Makes the buttons slightly smaller for a better fit */
    height: 35px;
}

.testimonial-content blockquote {
    font-size: 1rem; /* Optional: Makes the quote text a bit smaller */
}

/* --- Universal Section Header Adjustment for Mobile --- */
.section-header {
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 1.8rem;
}
.section-header p {
    font-size: 0.9rem;
    padding: 0 1rem; /* Prevents text from touching screen edges */
}


/* --- "Our Certifications" Section Mobile Fix --- */
.certifications-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
}
.certificate-card {
    flex: 0 0 80%;
    min-width: 280px;
    scroll-snap-align: start;
    /* FIX: This forces all cards to be visible inside the scrolling area */
    opacity: 1 !important;
    transform: none !important;
}
.certifications-grid::-webkit-scrollbar {
    height: 6px;
}
.certifications-grid::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.certifications-grid::-webkit-scrollbar-thumb {
    background-color: #3BAFDA;
    border-radius: 10px;
}


/* --- "Get In Touch" Section Mobile Fix --- */
.contact-container {
    gap: 30px; /* Reduces vertical space between the two columns */
}
.contact-left .info-container-card,
.contact-right {
    padding: 25px 20px; /* Reduces padding in the info box and form */
}
.contact-left h3,
.contact-right h3 {
    font-size: 1.5rem; /* Makes the sub-headings smaller */
}
.info-text h4 {
    font-size: 1rem;
}
.info-text p {
    font-size: 0.9rem;
}
.btn-submit {
    padding: 12px 25px; /* Makes the submit button a bit smaller */
    width: 100%;       /* Makes button full-width for a better mobile UX */
    justify-content: center;
}



    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col ul li {
        justify-content: center;
    }
    .footer .socials {
        justify-content: center;
    }

    /* EDITED: All stat-card adjustments are now in the mobile view */
    .stats-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* ADDED: Reduces padding inside the cards to make them fit */
    .stats-cards-container .stat-card {
        padding: 1.5rem 1rem;
        min-height: 10rem;
    }

    /* ADDED: Reduces the large number font size to prevent overflow */
    .stats-cards-container .stat-card .value {
        font-size: 2.25rem;
    }
    
    .nav-toggle {
        display: block;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 0.5em;
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: #FFFFFF;
        width: 2em;
        height: 3px;
        border-radius: 1em;
        transition: transform 250ms ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
    }

    .hamburger::before { top: 6px; }
    .hamburger::after { bottom: 6px; }

    .nav-open .hamburger {
        transform: rotate(.625turn);
    }
    .nav-open .hamburger::before {
        transform: rotate(90deg) translateX(-6px);
    }
    .nav-open .hamburger::after {
        opacity: 0;
    }

    .primary-navigation {
        display: flex;
        position: fixed;
        inset: 0 0 0 30%;
        background: rgba(10, 25, 47, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: min(20vh, 10rem) 2em;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }

    .nav-open .primary-navigation {
        transform: translateX(0);
    }
    
    /* --- Service Page Mobile Optimizations --- */
    
    /* Hero Section on top of the page */
    .page-hero {
        height: 45vh; /* Makes the top image section shorter */
    }
    .page-hero-content h1 {
        font-size: 2rem; /* Reduces main title size */
    }
    .page-hero-content p {
        font-size: 1rem;  /* Reduces subtitle size */
        line-height: 1.4;
        padding: 0 1rem;
    }
    
    /* General content sections */
    .service-overview-content .sub-section-header {
        font-size: 1.8rem;
    }
    
    /* "Our BPO Solutions" Cards */
    .capabilities-grid {
        gap: 20px;
    }
    .capability-card {
        padding: 25px 20px;
    }
    .capability-card i {
        font-size: 2rem;
    }
    .capability-card h3 {
        font-size: 1.2rem;
    }
    .capability-card > p, .capability-card ul li {
        font-size: 0.9rem;
    }
    
    /* "Our BPO Process" Steps */
    /* --- Horizontal Scrolling Process Steps for Mobile --- */
    .process-grid {
        display: flex;                  /* Change layout to a flexible row */
        overflow-x: auto;               /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory;  /* Makes scrolling "snap" nicely to each step */
        padding-bottom: 1.5rem;         /* Adds space for the scrollbar if visible */
        gap: 1rem;
    }
    
    /* --- Custom Styled Scrollbar for Process Section --- */
    .process-grid::-webkit-scrollbar {
        height: 6px;  /* Sets the height of the scrollbar line */
    }
    
    .process-grid::-webkit-scrollbar-track {
        background-color: rgba(255, 255, 255, 0.1); /* A subtle, dark track color */
        border-radius: 10px;
    }
    
    .process-grid::-webkit-scrollbar-thumb {
        background-color: #3BAFDA; /* The site's primary blue color for the handle */
        border-radius: 10px;
    }
    .process-step {
        flex: 0 0 80%;                  /* Each step takes up 80% of the screen width */
        scroll-snap-align: start;       /* Helps with the snapping behavior */
    }

    /* "Our Advantages" Section */
/* --- Horizontal Scrolling Advantages Fix (v3) --- */
.advantage-list {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    scroll-padding: 0 5%;
}

.advantage-item {
    /* Flexbox Centering Rules */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    align-items: center;     /* Horizontally centers the content */

    /* Sizing Rules */
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-width: 250px;
    min-height: 240px; /* Sets a consistent height for proper centering */
}

/* Specific Resizing Rules */
.advantage-item .differentiator-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 0 15px 0; /* Removes conflicting margins */
}

.advantage-item .differentiator-icon-wrapper i {
    font-size: 1.8rem;
}

.advantage-item .advantage-text {
    text-align: center; /* Ensures text is centered */
}

.advantage-item .advantage-text h4 {
    font-size: 1rem;
}

.advantage-item .advantage-text p {
    font-size: 0.85rem;
}

/* Custom Styled Scrollbar (Keep this as it was) */
.advantage-list::-webkit-scrollbar {
    height: 6px;
}
.advantage-list::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.advantage-list::-webkit-scrollbar-thumb {
    background-color: #3BAFDA;
    border-radius: 10px;
}


}

