/* Main Colors and Variables */
:root {
  --blue: #2D4FE1;
  --secondary: #1533B4;
  --critical: #C72929;
  --tertiary: #27AE60;
  --yellow: #F4D118;
  --pink: #E13789;
  --green: #63E483;
  --purple: #5B45F3;
  --white: #FFFFFF;
  --black-surface: #1A1A1A;
  --surface: #F3F5F9;
  --yellow-surface: #F3F2F0;
  --outline: #E4E4E4;
  --line: #DFE2E7;
  --grey: #EAEDFD;
  --blue-surface: rgba(39, 75, 227, 0.10);
  --on-surface: #0C1228;
  --on-surface-variant1: #646570;
  --on-surface-variant2: #AAB1B8;
  --text-primary: #0C1228;
  --text-secondary: #646570;
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --background-light: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--on-surface);
  font-style: normal;
}

body {
  overflow-x: hidden;
  transition: 0.3s;
}

#content {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, li {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: var(--on-surface);
  text-decoration: none;
}

/* Container and Grid */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-end {
  text-align: end;
}

.text-start {
  text-align: start;
}

.text-white {
  color: var(--white);
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-28 {
  margin-top: 28px;
}

.mt-40 {
  margin-top: 40px;
}

.pt-4 {
  padding-top: 4px;
}

.pb-4 {
  padding-bottom: 4px;
}

.pt-60 {
  padding-top: 60px;
}

.pt-80 {
  padding-top: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

.pl-8 {
  padding-left: 8px;
}

.pl-12 {
  padding-left: 12px;
}

.pr-12 {
  padding-right: 12px;
}

.pl-45 {
  padding-left: 45px;
}

.pr-45 {
  padding-right: 45px;
}

.pl-80 {
  padding-left: 80px;
}

.pl-125 {
  padding-left: 125px;
}

.pr-125 {
  padding-right: 125px;
}

.p-40 {
  padding: 40px;
}

.p-80 {
  padding: 80px;
}

.fs-20 {
  font-size: 20px;
}

.text-blue {
  color: var(--blue);
}

.bg-white {
  background-color: var(--white);
}

.bg-linear {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(243, 245, 249, 0) 100%);
}

/* Flex Utilities */
.d-flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

/* Width Utilities */
.w-50 {
  width: 50%;
}

.w-80 {
  width: 80%;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Border Utilities */
.bora-4 {
  border-radius: 4px;
}

.bora-20 {
  border-radius: 20px;
}

.bora-24 {
  border-radius: 24px;
}

/* Display Utilities */
.display-inline-block {
  display: inline-block;
}

.overflow-hidden {
  overflow: hidden;
}

/* Object Fit */
.object-fit-cover {
  object-fit: cover;
}

/* Font Weight */
.fw-700 {
  font-weight: 700;
}

/* About Us Page Specific Styles */
.heading-title {
    background: var(--white);
    padding: 4rem 0;
    margin-bottom: 4rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.heading-title .heading2 {
    color: var(--text-primary);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
}

.heading-title .heading2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px;
}

/* Optional subtle background pattern */
.heading-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.5) 0%, rgba(249, 250, 251, 0.5) 100%);
    opacity: 0.6;
}

/* Ensure text is above the background */
.heading-title .container {
    position: relative;
    z-index: 2;
}

.heading-content {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 80px;
}

.content-main {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
}

.text-content {
    padding: 80px;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.text-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.text-content .heading5 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-content .text-on-surface-variant1 {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.category {
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--blue-surface);
    color: var(--blue);
    font-weight: 700;
}

/* Brand Section */
.section-brand {
    background: var(--white);
    padding: 80px 0;
}

.section-brand img {
    transition: all 0.3s ease;
}

.section-brand img:hover {
    transform: scale(1.05);
}

/* Mission Section */
.our-mission-block {
    padding-bottom: 80px;
}

.border-line {
    border-top: 1px solid var(--line);
    margin: 0 auto;
}

/* Timeline Section */
.timeline-section {
    padding: 60px 0;
    padding: 4rem 0;
}

.timeline-title {
    margin-bottom: 40px;
}

.timeline-title .heading3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.timeline-title .body2 {
    font-size: 18px;
    color: var(--text-secondary);
}

.content-main {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.row.flex-between {
    margin-bottom: 40px;
}

.text-content {
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.text-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.text-content .heading5 {
    font-size: 24px;
    margin: 12px 0;
    color: var(--text-primary);
}

.text-content .text-on-surface-variant1 {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Timeline Section Styles */
.heading3 {
    color: var(--text-primary);
    font-size: 32px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.heading3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.body2.text-on-surface-variant1 {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    display: block;
}

.text-content {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.text-content .text-on-surface-variant1 {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.3px;
}

.text-content .heading5 {
    color: var(--text-primary);
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.5px;
}

.text-content[align="right"] {
    text-align: right;
}

.text-content[align="left"] {
    text-align: left;
}

/* Ensure text visibility */
.text-on-surface-variant1,
.heading3,
.heading5,
.body2 {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 991.99px) {
    .heading3 {
        font-size: 28px;
    }
    .text-content .heading5 {
        font-size: 20px;
    }
}

@media (max-width: 575.99px) {
    .heading3 {
        font-size: 24px;
    }
    .text-content .heading5 {
        font-size: 18px;
    }
    .text-content {
        padding: 16px;
    }
}

@media (max-width: 991.99px) {
    .timeline-title .heading3 {
        font-size: 28px;
    }
    
    .text-content {
        padding: 20px;
    }
    
    .text-content .heading5 {
        font-size: 20px;
    }
}

@media (max-width: 575.99px) {
    .timeline-title .heading3 {
        font-size: 24px;
    }
    
    .text-content {
        padding: 16px;
    }
    
    .text-content .heading5 {
        font-size: 18px;
    }
    
    .row.flex-between {
        margin-bottom: 24px;
    }
}

.content-main .row {
    position: relative;
}

.content-main .row:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--line);
    transform: translateX(-50%);
}

.text-content-block {
    position: relative;
}

.text-content-block:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--blue);
    border-radius: 50%;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Values Section */
.our-value-block {
    background: linear-gradient(180deg, var(--surface) 0%, rgba(243, 245, 249, 0) 100%);
    background: var(--white);
    padding: 5rem 0;
}

.item {
    transition: all 0.3s ease;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.item i {
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.item .heading5 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Video Section */
.video-block {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.video-block iframe {
    width: 100%;
    height: 100%;
    min-height: 315px;
    border: none;
}

.video-block .text-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: var(--white);
}

/* Typography */
.heading2 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 700;
}

.heading3 {
    font-size: 40px;
    line-height: 52px;
    font-weight: 700;
}

.heading4 {
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
}

.heading5 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--on-surface);
    display: inline-block;
    margin-right: 10px;
    letter-spacing: 0.5px;
}

@media (max-width: 991.99px) {
    .heading5 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 575.99px) {
    .heading5 {
        font-size: 14px;
        line-height: 22px;
        display: block;
        margin-bottom: 8px;
    }
}

.body2 {
    font-size: 16px;
    line-height: 26px;
}

.caption1 {
    font-size: 14px;
    line-height: 20px;
}

/* Row Gap */
.row-gap-24 {
    row-gap: 24px;
    row-gap: 2.5rem;
}

.row-gap-40 {
    row-gap: 40px;
}

/* Scroll Animation Classes */
.scroll-bottom-to-top2 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.scroll-bottom-to-top2.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-right-to-left4 {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.scroll-right-to-left4.show {
    opacity: 1;
    transform: translateX(0);
}

.scroll-left-to-right4 {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.scroll-left-to-right4.show {
    opacity: 1;
    transform: translateX(0);
}

/* Image Styles */
.bg-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.bg-img:hover img {
    transform: scale(1.05);
}

.bg-img:hover {
    transform: scale(1.02);
}

/* Random Animation Classes */
.float-animation1 {
    animation: float1 4s ease-in-out infinite;
}

.float-animation2 {
    animation: float2 5s ease-in-out infinite;
}

.float-animation3 {
    animation: float3 6s ease-in-out infinite;
}

@keyframes float1 {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-8px) translateX(5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsive Styles */
@media (max-width: 991.99px) {
    .text-content {
        padding: 40px;
    }
    
    .pr-65 {
        padding-right: 0;
    }
    
    .pl-125, .pr-125 {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .heading2 {
        font-size: 40px;
        line-height: 52px;
    }
    
    .heading3 {
        font-size: 32px;
        line-height: 44px;
    }

    .pl-col-lg-0 {
        padding-left: 0;
    }

    .pr-col-lg-0 {
        padding-right: 0;
    }
}

@media (max-width: 767.99px) {
    .text-content {
        padding: 30px;
    }
    
    .content-main .row:before {
        left: 20px;
    }
    
    .text-content-block:before {
        left: -30px;
        right: auto;
    }
    
    .heading2 {
        font-size: 32px;
        line-height: 44px;
    }
    
    .heading3 {
        font-size: 28px;
        line-height: 40px;
    }
}

@media (max-width: 575.99px) {
    .text-content {
        padding: 20px;
    }
    
    .video-block iframe {
        min-height: 250px;
    }
    
    .heading2 {
        font-size: 28px;
        line-height: 40px;
    }
    
    .heading3 {
        font-size: 24px;
        line-height: 36px;
    }

    .col-11 {
        width: 91.66666667%;
    }
}

/* Customer Logos Section */
.customer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 auto;
    max-width: 1200px;
}

.logo-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.title.heading2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.title.heading2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

@media (max-width: 991.99px) {
    .logo-item {
        width: 100px;
        height: 70px;
    }
    
    .title.heading2 {
        font-size: 32px;
    }
}

@media (max-width: 575.99px) {
    .logo-item {
        width: 80px;
        height: 60px;
    }
    
    .title.heading2 {
        font-size: 28px;
    }
    
    .customer-logos {
        gap: 16px;
    }
}

/* Animation Classes */
.float-animation1, .float-animation2, .float-animation3,
.float-animation4, .float-animation5, .float-animation6 {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Additional Professional Touches */
.mt-40 {
    margin-top: 2.5rem;
}

.pt-40 {
    padding-top: 2.5rem;
}

/* Enhance Text Readability */
.text-on-surface-variant1 {
    letter-spacing: 0.3px;
}

.heading5 {
    letter-spacing: 0.5px;
}

/* Add subtle transitions */
.text-content, .item, .bg-img {
    transition: all 0.3s ease-in-out;
}

/* Enhanced Typography Sizes */
.heading-title .heading2 {
    font-size: 4rem; /* Increased from 3rem */
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.heading3 {
    font-size: 3.5rem; /* Increased from 32px */
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
}

.heading5 {
    font-size: 2.25rem; /* Increased from 1.5rem */
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.body2.text-on-surface-variant1 {
    font-size: 1.5rem; /* Increased from 1rem */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.text-content .text-on-surface-variant1 {
    font-size: 1.375rem; /* Increased from 1rem */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.item .heading5 {
    font-size: 2rem; /* Increased from 1.25rem */
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.item .text-on-surface-variant1 {
    font-size: 1.25rem; /* Increased from base size */
    line-height: 1.7;
}

.item i {
    font-size: 3.5rem; /* Increased from 2.5rem */
    margin-bottom: 2rem;
}

/* Timeline dates */
.text-content .text-on-surface-variant1[align="right"],
.text-content .text-on-surface-variant1:first-child {
    font-size: 1.25rem; /* Increased date size */
    font-weight: 500;
}

/* Responsive Typography */
@media (max-width: 1199.99px) {
    .heading-title .heading2 {
        font-size: 3.5rem;
    }
    
    .heading3 {
        font-size: 3rem;
    }
    
    .heading5 {
        font-size: 2rem;
    }
    
    .body2.text-on-surface-variant1 {
        font-size: 1.375rem;
    }
    
    .text-content .text-on-surface-variant1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 991.99px) {
    .heading-title .heading2 {
        font-size: 3rem;
    }
    
    .heading3 {
        font-size: 2.5rem;
    }
    
    .heading5 {
        font-size: 1.75rem;
    }
    
    .body2.text-on-surface-variant1 {
        font-size: 1.25rem;
    }
    
    .text-content .text-on-surface-variant1 {
        font-size: 1.125rem;
    }
    
    .item .heading5 {
        font-size: 1.75rem;
    }
    
    .item .text-on-surface-variant1 {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.99px) {
    .heading-title .heading2 {
        font-size: 2.5rem;
    }
    
    .heading3 {
        font-size: 2.25rem;
    }
    
    .heading5 {
        font-size: 1.5rem;
    }
    
    .body2.text-on-surface-variant1 {
        font-size: 1.125rem;
    }
    
    .text-content .text-on-surface-variant1 {
        font-size: 1rem;
    }
    
    .item .heading5 {
        font-size: 1.5rem;
    }
    
    .item .text-on-surface-variant1 {
        font-size: 1rem;
    }
}

/* Enhanced font weights */
.heading-title .heading2,
.heading3 {
    font-weight: 800; /* Extra bold for main headings */
}

.heading5 {
    font-weight: 700; /* Bold for sub-headings */
}

.text-on-surface-variant1 {
    font-weight: 400; /* Regular for body text */
}

/* Additional text enhancements */
.text-content {
    padding: 2.5rem; /* Increased padding for better text spacing */
}

.item {
    padding: 2.5rem;
}

/* Enhance line heights for better readability */
.text-content .text-on-surface-variant1,
.body2.text-on-surface-variant1,
.item .text-on-surface-variant1 {
    line-height: 1.8;
}

/* Remove back to top styles */
.back-to-top,
.back-to-top:hover,
.back-to-top.visible {
    display: none;
}

/* Center titles */
.heading5.text-center,
.title.heading2.text-center {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.customer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

/* Enhanced heading styles */
.heading5 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.title.heading2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}
