:root {
     --primary: #032d58;
  --primary-light: #00a6d6;
  --primary-dark: #021d3e;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --transition: all 0.3s ease;

/* Partnerships Section */
.partnerships {
    padding: 4rem 0;
    background-color: var(--light);
}

.partnerships .section-title {
    margin-bottom: 3rem;
}

.partnerships-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    width: 250px;
    height: 100px;
    object-fit: contain;
    transition: var(--transition);
    margin: 1rem;
}

.partner-logo:hover {
    transform: scale(1.05);
}
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}



body {
    font-family: 'Lato', sans-serif;
    color: var(--dark);
    background-color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global fixes for image and text handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent text overflow */
p, h1, h2, h3, h4, h5, h6 {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Container adjustments */
.container {
    overflow: hidden;
    position: relative;
}

/* Fix for nested flex containers */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    
    /* Improve text readability on mobile */
    p {
        font-size: 16px;
        line-height: 1.5;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
   /*  padding: 40px 20px 20px 20px; */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #032d58, #00a6d6);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: vlinear-gradient(to right, #00a6d6, #032d58);
    transform: translateY(-3px);
    box-shadow: linear-gradient(to right, #00a6d6, #032d58);
    text-decoration: none;
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #0da271;
}

.btn-outline {
    background: transparent;
    border: 2px solid #032d58;
    color: #032d58;
}

.btn-outline:hover {
    background: #032d58;
    color: white;
}

section {
    padding: 40px 0;
}
.section-title{
    text-align: center;
    margin-bottom: 20px;
}


section .case-title{
    text-align: center;
    margin-bottom: 20px;
    margin-top:80px;
}


.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 16px;
        padding: 0 15px;
    }

    section {
        padding: 40px 0 20px;
    }
}

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

.section-title p {
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto 0;
    font-size: 18px;
}
/* Custom style for About section only */
section.home{
    margin:0;
}
section.about .section-title h2 {
  color: white; 
}
section.about .section-title p {
  color: rgba(255, 255, 255, 0.87); 
}
section.about .about-content h2 {
  color: white;
}

section.about .about-content p {
  color:  rgba(255, 255, 255, 0.87); 
}

section.about .stat-box p {
  color: #032D58;
}


/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(270deg, #032d58, #00a6d6, #032d58);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    animation: gradient-slide 4s linear infinite;
}
.logo-text:hover{ text-decoration: none; }
@keyframes gradient-slide {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


.logo {
    display: flex;
    text-decoration: none;
    align-items: center;
}

.logo:hover{
    text-decoration: none;
}
.logo-img {
    max-width: 8%;
}

nav {
    padding: 0 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        padding: 20px;
        transition: 0.3s;
        overflow-y: auto;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        padding: 15px;
        display: block;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    color: black;
    position: relative;
    transition: all 0.4s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a i {
    font-size: 12px;
    margin-top: 2px;
    /* Optional: adjust vertical alignment */
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #032d58, #00a6d6, #032d58);
    transition: width 0.4s ease;
}

nav ul li a:hover:after {
    width: 100%;
     /* background: linear-gradient(to right, #032d58, #00a6d6, #032d58); */
     background: linear-gradient(to right, #0659ac, #33d3ff, #0659ac);
    transition: width 0.4s ease;
}


nav > ul > li > a:hover {
  background: linear-gradient(to right, #032d58, #00a6d6, #032d58);
  background-size: 200%;
  background-position: left;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transform: scale(1.03);
}

/* Add this for active state */
nav ul li a.active,
nav ul li a.active:hover {
  background: linear-gradient(to right, #032d58, #00a6d6, #032d58);
  background-size: 200%;
  background-position: left;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

nav ul li a.active::after {
  width: 100%;
  background: linear-gradient(to right, #032d58, #00a6d6, #032d58);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
   background-color: #032d58;
  color: white;
  position: relative;

}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    flex: 1;
  z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-btns .btn {
    background: white;
    color: var(--primary);
}

.hero-btns .btn:hover {
    background: var(--light-gray);
}

.hero-btns .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btns .btn-outline:hover {
    background: var(--primary);
    color: white;
    font-size: large;
}

.hero-animation {
    flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 20px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.hero-animation {
    flex: 1;
    max-width: 50%;
    position: relative;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 100px 15px 30px;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
    }

    .hero-animation {
        max-width: 100%;
        margin-top: 30px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 100px 15px 30px;
        text-align: center;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .hero-animation {
        margin-top: 30px;
        width: 100%;
        justify-content: center;
    }
}
@keyframes pulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.05);
    }
}
@media (max-width: 768px) {
    /* General Layout */
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    /* Header & Navigation */
    .header-container {
        padding: 10px 15px;
        width: 100%;
    }

    .logo-img {
        max-width: 40px;
        height: auto;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Improve mobile header layout */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        padding: 10px;
        background: none;
        border: none;
        color: var(--primary);
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        padding: 20px;
        transition: 0.3s;
        overflow-y: auto;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        padding: 12px;
        display: block;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero Section */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-animation {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Tech Section */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-tabs {
        gap: 10px;
    }

    .tech-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Goals Section */
    .goals-grid {
        grid-template-columns: 1fr;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    /* Case Studies */
    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-tabs {
        gap: 10px;
    }

    .case-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 15px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}


.service-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 166, 214, 0.15);
  transition: transform 0.2s ease;
  will-change: transform;
transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 168, 214, 0.301);
  z-index: 2;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to right, #032d58, #00a6d6, #032d58) border-box;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  animation: border-pulse 2s infinite linear;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
  animation: shine 1s ease forwards;
}

@keyframes border-pulse {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}


@keyframes shine {
  0% {
    transform: rotate(25deg) translateX(-100%);
  }
  100% {
    transform: rotate(25deg) translateX(100%);
  }
}

.hero-services-animation{
   
  justify-content: flex-start;
}

.service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    font-size: 40px;
    color: var(--primary);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Service Offerings List Alignment */
.service-list {
    text-align: left;
    margin: 20px 0 0 0;
    padding-left: 24px;
    list-style: disc inside;
    font-size: 16px;
    color: var(--dark);
}

.service-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Technologies Section */
.tech-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tech-tab {
    padding: 12px 30px;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    margin: 0 10px 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tech-tab:hover {
    /* background: var(--primary); */
    color: var(--primary);
    /* font-size:large; */
    border-color: var(--primary);
}
.tech-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.tech-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tech-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


.tech-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 166, 214, 0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  will-change: transform;
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
  transform: rotateX(0) rotateY(0);
   overflow: hidden;
}

.tech-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 168, 214, 0.15);
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to right, #032d58, #00a6d6, #032d58) border-box;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  animation: border-pulse 2s infinite linear;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tech-card:hover::before {
  opacity: 1;
  animation: shine 1s ease forwards;
}


.tech-card h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tech-card h3 i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 24px;
    background: rgba(37, 99, 235, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Clients Section */
.clients {
    background: var(--light);
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
}

.client-logo {
    height: 60px;
    width: 180px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

/* About Section */
.about {
    background: var(--primary);
    margin: 80px 0 0 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    padding: 40px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content p {
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 15px;
    }

    .about-content {
        text-align: center;
    }

    .about-image {
        order: -1;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
   /*  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
   /*  height: 400px; */
   /*  background: linear-gradient(to right, #032d58, #00a6d6, #032d58); */
   /*  background:var(--primary); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-content{
    display:flex;
    flex-direction: column;
}
.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;;
}
.about-vision-values li{
  color:white;
   
   list-style: none;
}
.about-vision-values li span{
 font-size: larger;
}

.about-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.884);
}
.about-content .btn{
    margin: 0 auto;
    text-align: center;
    background:transparent;
    color:white;
    border:2px solid white;
}
.about-content .btn:hover{
    margin: 0 auto;
    text-align: center;
    background:white;
    color:black;
    border:2px solid white;
}

.company-goals {
  padding: 80px 0;
  background-color: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #64748b;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
    justify-items: center; /* This centers the cards in their grid cells */

}

.goal-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.goal-card:hover {
  box-shadow: 0 20px 40px rgba(0, 168, 214, 0.301);
  z-index: 2;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to right, #032d58, #00a6d6, #032d58) border-box;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  animation: border-pulse 2s infinite linear;
}

.goal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

.goal-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1e293b;
}

.goal-card p {
  color: #64748b;
  line-height: 1.6;
   text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    text-align: center;
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
}

.stat-box h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    margin: 0;
    font-weight: 500;
}

/* Team Section */
.team {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 250px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.team-content {
    padding: 20px;
}

.team-content h3 {
    margin-bottom: 5px;
}

.team-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
}

/* Case Studies Section */
.case-studies {
    background: var(--light);
}

.case-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.case-tab {
    padding: 12px 30px;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    margin: 0 10px 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.case-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.case-tab:hover {
   /*  background: var(--primary); */
    color: var(--primary);
    border-color: var(--primary);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
   height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

 .case-content {
  height: 250px; /* or whatever fixed height works for your layout */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.case-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.case-content p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  line-clamp: 3;
  -webkit-box-orient: vertical;
   color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

/* Case Study Detail */
.case-detail {
    background: white;
    padding: 80px 0;
}

.case-container {
    max-width: 900px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.back-btn i {
    margin-right: 8px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-dark);
}

.back-btn:hover i {
    transform: translateX(-5px);
}

.case-header {
    text-align: center;
    margin-bottom: 50px;
}

.case-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.case-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.case-meta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    color: var(--gray);
}

.case-content-section {
    margin-bottom: 50px;
}

.case-content-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.case-content-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.case-content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.case-stat {
    text-align: center;
    background: var(--light);
    padding: 30px 20px;
    border-radius: 10px;
}

.case-stat h3 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.case-stat p {
    margin: 0;
    font-weight: 500;
}

.testimonial-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
}

.testimonial-box:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(37, 99, 235, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

/* Blog Section */
.blog {
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    color: black;
    text-align: center;
    padding: 30px 0;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 20px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    font-size: 18px;
    border:1px solid var(--primary);
}

.cta .btn:hover {
    background: var(--primary);
    color:white;
}

/* Contact Section */
 /* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Contact Section */
/*-----------------------------------
  Base Section Styling
------------------------------------*/
.contact {
  background: white;
  margin-top: 40px;
  padding-bottom: 0;
  width: 100%;
}

/*-----------------------------------
  Title Section
------------------------------------*/
.contact-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  animation: fadeInDown 1s ease-in-out;
}

.contact-title h2 {
  font-size: 36px;
  color: var(--primary);
  position: relative;
}

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

.contact-title p {
  color: #555;
  font-size: 16px;
}

/*-----------------------------------
  Contact Container
------------------------------------*/
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 12%;
  background: linear-gradient(135deg, var(--primary), #0f1c45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1.2s ease-in-out;
}

/*-----------------------------------
  Contact Info
------------------------------------*/
.contact-info h3,
.send-msg {
  font-size: 32px;
  margin-bottom: 20px;
  color: white;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideInLeft 1s ease forwards;
  animation-delay: 0.3s;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 20px;
}

.contact-text h4 {
  margin-bottom: 5px;
  color: white;
}

.contact-text p {
  color: #f1f1f1;
}

/*-----------------------------------
  Contact Form
------------------------------------*/
.contact-form {
  padding: 40px 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #90cdf4;
  background-color: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Button */
.contact-form button {
  position: relative;
  overflow: hidden;
  color: var(--primary);
  background: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
  z-index: 0;
}

.contact-form button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.contact-form button span {
  position: relative;
  z-index: 1;
}

/*-----------------------------------
  Map Section
------------------------------------*/
.map {
  height: 350px;
  width: 90%;
  max-width: 1100px;
  margin: 40px auto 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: zoomIn 1.2s ease-in-out;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*-----------------------------------
  Animations
------------------------------------*/
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/*-----------------------------------
  Responsive Design
------------------------------------*/
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .contact-title h2 {
    font-size: 28px;
  }

  .map {
    height: 300px;
  }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    line-height: 1.8;
}

.testimonial-content p:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    margin: 0;
    font-size: 14px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.8fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
   /*  background: var(--primary); */
   background:white;
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #cbd5e1;
}

.footer-contact-line i {
  color: #cbd5e1;
  margin-right: 10px;
  font-size: 16px;
  width: 20px; /* Ensures alignment for multi-line text */
  margin-top: 4px; /* Vertically aligns with first line of text */
}

.footer-contact-line p {
  margin: 0;
  line-height: 1.6;
}

.footer-services{
  
  flex-wrap: wrap;
}

.footer-services > div {
  flex: 1; 
  max-width: 320px; 
}

.footer-services-columns {
  display: flex;
}

.footer-services-columns > div {
  width: 50%;
}



.footer-col.footer-services h3 {
  text-align: left;
  position: relative;
  margin-bottom: 30px;
   padding-bottom: 10px;
}

.footer-col.footer-services h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transform: none; /* Remove center alignment */
}
.footer-links li {
  margin-bottom: 10px;
  font-size: 15px;
}




.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}


.social-links a i {
  color: white !important; /* Force white on all icons */
  transition: color 0.3s ease;
}

.social-links a:hover i {
  color: white !important; /* Maintain white on hover if needed */
}
.social-links svg {
  fill: white !important;
}
.social-links a .fa-x-twitter {
  color: #ffffff !important;
}
.social-links a:hover .fa-x-twitter {
  color: #ffffff !important;
}
.social-links .x-icon svg {
  width: 12px;
  height: 12px;
  fill: white;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.social-links .x-icon:hover svg {
  transform: scale(1.1);
  fill: var(--primary);
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 14px;
}

/* Page Structure (this will be removed as pages are separated) */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-animation {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .cta h2 {
        font-size: 32px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .case-meta-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }
}

/* Dropdown Styles */
nav ul li.dropdown {
    position: relative;
}

nav ul li .dropdown-menu {
    display: none;
  position: absolute;
  top: 130%;
  left: 0;
  background: white;
  min-width: 220px;
  padding: 12px 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

nav ul li .dropdown-menu li {
    margin: 0;
}

nav ul li .dropdown-menu a {
    /* color: gray;
    padding: 10px 25px;
    display: block;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0;
    transition: var(--transition); */
     display: block;
  padding: 12px 20px;
  color: #1e293b;
  font-size: 15px;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
}

nav ul li .dropdown-menu a:hover {
    background: #f1f5f9;
    color: #032d58;
}

nav ul li.dropdown:hover>.dropdown-menu,
nav ul li.dropdown:focus-within>.dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

nav ul li.dropdown>a i {
    margin-left: 6px;
    font-size: 13px;
}



/* Card Styling with 3D Animation */

/* -----------------------------------
    Keyframes for LEFT to RIGHT bg
----------------------------------- */
/* @keyframes slideBg {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
 */
/* -----------------------------------
    Case Study Detail Styling
----------------------------------- */
.case-study-detail {
  padding: 60px 0;
}

.case-study-header {
  text-align: center;
  margin-bottom: 50px;
}

.case-study-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #1e3a8a;
  margin-top:50px;
}

.subtitle {
  font-size: 1.2rem;
  color: #64748b;
}

.case-meta {
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.9rem;
}

.case-meta i {
  margin-right: 5px;
}


.case-study-body h2 {
  background-size: 300% 100%;
  animation: slideBg 8s linear infinite;
  padding: 16px 24px;
  font-size: 1.8rem;
  border-radius: 6px;
  margin: 40px 0 0 10px;
  color: #fff;
}

.case-study-body h2:nth-of-type(odd) {
  background: linear-gradient(120deg, #00A6D6, #00b4e6, #00c8ff);
}

.case-study-body h2:nth-of-type(even) {
  background: linear-gradient(120deg, #032D58, #043362, #04407b);
}

.case-study-body p,
.case-study-body ol,
.case-study-body ul {
  background: #ffffff;
  padding: 20px 30px;
  margin:0 0 0 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.case-study-body ol {
  list-style-position: outside;
  list-style-type: decimal;
  padding-left: 40px;
  line-height: 1.9;
}

.case-study-body ol li,
.case-study-body ul li {
  margin-bottom: 10px;
}

.case-study-body ol li strong {
  color: #000;
}

.case-study-body ul li::before {
  content: '✔';
  color: #059669;
  margin-right: 10px;
}


.results-grid {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.result-box {
  flex: 1;
  min-width: 240px;
  margin:0 10px 0 10px;
  background: linear-gradient(to right, #e0f2fe, #f0f9ff);
  background-size: 300% 100%;
  animation: slideBg 8s ease-in-out infinite;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.result-box:hover {
  transform: scale(1.05);
}

.result-box h3 {
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 10px;
}
 

.back-to-case-studies {
  margin-top: 50px;
  text-align: center;
}

.back-to-case-studies a {
  background:#032D58;
  color: white;
  padding:10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-to-case-studies a:hover {
  color: white;
  background:#00A6D6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding:10px 20px;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .results-grid {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-col.footer-services {
    grid-column: span 1; /* Reset to normal on smaller screens */
  }
}
/*Service-3.css*/
.content-section {
  background-color: #f8fafc;
  padding: 60px 16px 50px;
  position: relative;
  z-index: 1;
}
.ds-section {
  margin-top: 30px;
}
.ds-section-content {
  margin: 60px 0;
  padding: 30px 24px;
  background: linear-gradient(135deg, #fff,#00a6d68c);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ds-section-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(30, 64, 175, 0.07) 0%, transparent 70%);
  animation: rotateBackground 15s linear infinite;
  z-index: 0;
}

@keyframes rotateBackground {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Section Headings */
.section-heading {
  font-size: 30px;
  margin-bottom: 25px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 5px;
}

/* Paragraphs */
.section-text {
  font-size: 17px;
  line-height: 1.9;
  color: #334155;
  text-align: justify;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* Bullet List */
.ds-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  z-index: 1;
  position: relative;
}

.ds-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 15px;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  transition: transform 0.3s ease;
}

.ds-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary);
  font-size: 14px;
}

.ds-list li:hover {
  transform: translateX(6px);
  color: #0f172a;
}

/* Timeline Layout */
.ds-services-grid {
  position: relative;
  margin-top: 60px;
  /* display: flex;
  flex-direction: column; */
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(650px,2fr));
}

/* .ds-services-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--primary),
    var(--primary) 10px,
    transparent 10px,
    transparent 20px
  );
  transform: translateX(-50%);
  z-index: 0;
} */

/* Timeline Items */
.timeline-item {
  display: flex;
  width: 100%;
  position: relative;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* Timeline Cards */
.ds-service-card {
  width: 98%;
  margin-bottom:10px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  animation: fadeInZoom 0.6s ease-in-out;
}

.ds-service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ds-service-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
}

.ds-service-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

/* Timeline Dots */
.timeline-item.left .ds-service-card::before,
.timeline-item.right .ds-service-card::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid #ffffff;
  border-radius: 50%;
  z-index: 3;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 12px 6px rgba(30, 64, 175, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
  }
}

.timeline-item.left .ds-service-card::before {
  right: -38px;
  left: auto;
}

.timeline-item.right .ds-service-card::before {
  left: -38px;
  right: auto;
}

/* CTA Section (Cleaned up) */
.ds-cta {
  text-align: center;
  padding: 40px 15px;
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.ds-cta h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

.ds-cta p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Contact Button */
.btn-secondary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
  transition: all 0.3s ease-in-out;
  animation: pulse 2.5s infinite;
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    /* General Improvements */
    body {
        padding-top: 70px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Cards and Grids */
    .tech-grid,
    .case-grid,
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .tech-card,
    .case-card,
    .service-card {
        margin: 0;
        width: 100%;
    }

    /* Tabs */
    .tech-tabs,
    .case-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 15px;
    }

    .tech-tab,
    .case-tab {
        font-size: 14px;
        padding: 8px 16px;
        margin: 5px;
    }

    /* Forms */
    .contact-form {
        padding: 20px 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    input,
    textarea {
        padding: 12px;
        font-size: 14px;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Spacing */
    .section-title {
        margin-bottom: 30px;
    }

    .about-container {
        padding: 20px 15px;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}


/* Mobile Dropdown Menu */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: #f8f9fa;
        min-width: 100%;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
        border-radius: 4px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        display: block;
        color: var(--dark);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Additional Mobile Responsive Fixes */
    .service-card, .tech-card, .case-card {
        margin: 0 15px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-content {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .footer-services-columns {
        grid-template-columns: 1fr;
    }
}


.btn-secondary:hover {
  background: #032d58db;
  transform: translateY(-2px);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.3);
  }
  50% {
    box-shadow: 0 0 12px 6px rgba(30, 64, 175, 0.15);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .ds-services-grid::before {
    left: 20px;
  }

  .timeline-item {
    justify-content: flex-start;
  }

  .ds-service-card {
    width: 90%;
    margin-left: 40px;
  }

  .timeline-item.left .ds-service-card::before,
  .timeline-item.right .ds-service-card::before {
    left: -28px;
    right: auto;
  }

  .section-heading {
    font-size: 24px;
  }

  .ds-cta h3 {
    font-size: 20px;
  }
}



/* Additional mobile adjustments for better menu, layout, and touch experience */
@media (max-width: 768px) {
  header .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }

  nav ul {
    width: 100%;
    text-align: left;
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 10px 0;
  }

  nav ul li a {
    padding: 10px 20px;
    font-size: 16px;
  }

  .tech-tabs,
  .case-tabs {
    flex-direction: column;
    align-items: center;
  }

  .case-card,
  .tech-card {
    margin-bottom: 20px;
  }

  .hero-content,
  .about-content,
  .contact-info,
  .contact-form {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  .logo-img {
    max-width: 40px;
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
  }
  .error-message {
        color: #ff0000;
        font-size: 12px;
        display: none;
        margin-top: 5px;
    }
    input:invalid, textarea:invalid {
        border-color: #ff0000;
    }
    input:valid, textarea:valid {
        border-color: #00aa00;
    }
    .thank-you-container {
        text-align: center;
        padding: 20px;
    }
    .thank-you-container svg {
        margin-bottom: 15px;
    }
    .thank-you-container h3 {
        color: #4CAF50;
        margin-bottom: 10px;
    }
    .thank-you-container p {
        margin-bottom: 20px;
        color: #555;
    }
}
    