/* Corporate Website Main CSS */
/* Common Button Styles */
.btn-primary {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  border: none;
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--neutral-light);
  border: 2px solid var(--primary-blue);
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(26, 58, 108, 0.1);
  border-color: var(--accent-cyan);
}

/* Section Title Styles */
.section-title {
  text-align: center;
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 10px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--neutral-gray);
  font-size: 18px;
  max-width: 700px;
  margin: 40px auto 60px;
}

/* Common Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero Section */
.corporate-hero {
  padding: 50px 0 60px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-container {
  padding: 30px 0 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    padding: 50px 0 30px;
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--white);
}

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 2.2rem;
    padding: 50px 0 30px;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.hero-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.hero-stat p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .btn-group {
    flex-direction: row;
  }
}

.hero-visual {
  position: relative;
  text-align: center;
}

.robot-illustration {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-slogan {
  margin-top: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
  .hero-slogan {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 30px;
  }
}

.slogan-highlight {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.slogan-dynamic {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

/* Client Logos */
.clients-section {
  padding: 60px 0;
  background-color: var(--white);
}

.clients-container {
  text-align: center;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.client-logo {
  height: 35px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .client-logo {
    height: 45px;
  }
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid transparent;
  background-clip: padding-box;
  height: 100%;
  min-height: 520px;
  /* Uniform height */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-top-color: var(--accent-cyan);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  /* Line clamp for title */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2rem;
}

.service-card>p {
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  /* Line clamp for description */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8rem;
}

.service-features {
  margin-top: 1.5rem;
}

.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(108, 117, 125, 0.1);
  position: relative;
  padding-left: 30px;
  color: var(--neutral-gray);
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
  font-size: 1.1rem;
}

.card-features-preview {
  flex-grow: 1;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-features-preview .service-features {
  margin: 0;
  max-height: 180px;
  overflow: hidden;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
}

.learn-more {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card:hover .learn-more {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* Solutions Section */
.solutions-section {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.solutions-section .section-title {
  color: var(--white);
}

.solutions-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solution-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
}

.solution-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent-cyan);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Case Studies */
.case-studies {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.case-image {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-content {
  padding: 2rem;
}

.case-content h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.case-content p {
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
}

.case-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(108, 117, 125, 0.1);
}

@media (min-width: 480px) {
  .case-stats {
    flex-direction: row;
    justify-content: space-around;
  }
}

.case-stat {
  text-align: center;
}

.case-stat span {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  line-height: 1;
}

.case-stat label {
  font-size: 0.9rem;
  color: var(--neutral-gray);
  margin-top: 5px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content>p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.company-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .company-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.value-item h4 {
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.certifications {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .certifications {
    flex-direction: row;
  }
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-badge i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.cert-badge span {
  color: var(--white);
  font-weight: 500;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

@media (min-width: 992px) {
  .about-visual {
    order: 1;
  }
}

/* Team Section */
.team-section {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-member {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.member-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--neutral-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.team-member>p {
  color: var(--neutral-gray);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.position {
  color: var(--accent-teal);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.member-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary-blue);
}

.member-social a:hover {
  background: var(--gradient-accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact CTA */
.contact-cta {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-card {
  background: var(--white);
  color: var(--primary-dark);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.cta-card h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.cta-card>p {
  color: var(--neutral-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .cta-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-form input {
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid rgba(108, 117, 125, 0.3);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-form input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.cta-form button {
  padding: 18px;
  background: var(--gradient-accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  grid-column: 1 / -1;
}

.cta-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.25);
}

/* Responsive Design - Global */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
    margin: 30px auto 50px;
  }

  .corporate-hero,
  .services-section,
  .solutions-section,
  .case-studies,
  .about-section,
  .team-section,
  .contact-cta {
    padding: 80px 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .service-card,
  .solution-card,
  .case-card,
  .team-member,
  .cta-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* FIX FOR MOBILE HEADER OVERLAP */
/* Add proper spacing for sections when header exists */
section {
  scroll-margin-top: 80px;
  /* This ensures sections don't hide under fixed header on mobile */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {

  /* Ensure proper spacing for all sections */
  .corporate-hero {
    padding-top: 80px;
    /* Add extra padding for mobile to account for header */
  }

  /* Adjust container padding for mobile */
  .container {
    padding: 0 20px;
  }

  /* Ensure proper text sizes on mobile */
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Make hero stats stack nicely on mobile */
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat {
    padding: 1.2rem;
  }

  .hero-stat h3 {
    font-size: 2rem;
  }

  /* Adjust button group for mobile */
  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }

  /* Adjust client logos for mobile */
  .client-logos {
    gap: 1.5rem;
  }

  .client-logo {
    height: 30px;
  }

  /* Adjust service cards for mobile */
  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  /* Adjust solution cards for mobile */
  .solution-card {
    padding: 1.5rem;
  }

  /* Adjust case studies for mobile */
  .case-stat span {
    font-size: 1.8rem;
  }

  /* Adjust team section for mobile */
  .member-photo {
    width: 100px;
    height: 100px;
  }

  /* Adjust contact form for mobile */
  .cta-card {
    padding: 1.5rem;
  }

  .cta-form input {
    padding: 14px 16px;
  }

  .learn-more {
    color: var(--primary-dark);
  }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 24px;
  }

  .client-logos {
    gap: 1rem;
  }

  .client-logo {
    height: 25px;
  }
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    max-width: 100%;
  }
}

/* ============================================
   ABOUT SECTION – HOME PAGE
============================================ */

.about-section {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Text Content */
.about-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content>p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* Values Grid */
.company-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .company-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.value-item h4 {
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Certifications */
.certifications {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .certifications {
    flex-direction: row;
  }
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-badge i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.cert-badge span {
  color: var(--white);
  font-weight: 500;
}

/* Visual Box (INLINE CSS REMOVED) */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-box {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0A1931, #1A3A6C);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-box i {
  font-size: 100px;
  color: rgba(0, 212, 255, 0.3);
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.service-features {
  list-style: none;
  /* removes dots */
  margin: 0;
}





/* =====================================
   INDUSTRIES SLIDER – FINAL FIXED
===================================== */

.industries-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

/* ===============================
   SLIDER TRACK
=============================== */
.industries-slider {
  display: flex;
  gap: 32px;
  align-items: stretch;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* ===============================
   CARD – BASE
=============================== */
.industries-slider .service-card {
  min-width: 360px;
  max-width: 360px;
  min-height: 360px;
  flex-shrink: 0;
  text-align: center;
  padding: 30px 25px;

  opacity: 0.45;
  transform: scale(0.94);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    box-shadow 0.4s ease;
}

/* ===============================
   ACTIVE CARD (DESKTOP + MOBILE)
=============================== */
.industries-slider .service-card.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
  z-index: 2;
  border-top-color: var(--accent-cyan);
}

/* ===============================
   ICON
=============================== */
.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service-icon i {
  font-size: 32px;
}

.industries-slider .service-card h3 {
  min-height: 3rem;
  /* Compact title area */
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  /* Slightly smaller for slider */
}

.industries-slider .service-card p {
  min-height: 4.5rem;
  /* Ensures consistent description area */
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===============================
   ARROWS – DESKTOP ONLY
   =============================== */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0b1e39;
  color: #00d4ff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow.left {
  left: -22px;
}

.slider-arrow.right {
  right: -22px;
}



/* ===============================
   MOBILE STYLES
=============================== */
@media (max-width: 768px) {

  .industries-slider {
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    transform: none !important;
  }

  .industries-slider::-webkit-scrollbar {
    display: none;
  }

  .industries-slider .service-card {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    margin: 0 auto;
    padding: 32px 24px;

    /* ✅ CRITICAL FIX */
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .industries-slider .service-card.active {
    /* Hover-like effect WITHOUT blur */
    box-shadow: 0 18px 45px rgba(0, 212, 255, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-top-color: var(--accent-cyan);
  }

  .slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}



/* =====================================
   LATEST BLOGS – VERTICAL COMPACT CARDS
===================================== */

.latest-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* CARD */
.latest-blog-card {
  background: #071b33;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* IMAGE */
.latest-blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.latest-blog-content {
  padding: 18px 20px 22px;
}

.latest-blog-content h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.latest-blog-content p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 14px;
}

/* LINK */
.latest-blog-link {
  font-size: 0.85rem;
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
}

/* HOVER */
.latest-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 212, 255, 0.25);
}

/* TABLET */
@media (max-width: 1024px) {
  .latest-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .latest-blogs-grid {
    grid-template-columns: 1fr;
  }

  .latest-blog-image {
    height: 160px;
  }
}

/* =====================================
   LATEST BLOGS – VISUAL REFINEMENT FIX
===================================== */

.latest-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* CARD */
.latest-blog-card {
  background: rgba(11, 30, 57, 0.8);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure card takes full height of grid cell */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.latest-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 212, 255, 0.18);
}

/* IMAGE – FIXED CROPPING */
.latest-blog-image-wrap {
  height: 230px;
  /* increased for better precision */
  overflow: hidden;
}

.latest-blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


.latest-blog-card:hover img {
  transform: scale(1.03);
}

/* CONTENT */
.latest-blog-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* Take up all available vertical space */
  gap: 12px;
}

/* TITLE */
.latest-blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  /* Line clamp to 2 lines for uniformity */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
  /* Maintain space even for single-line titles */
}

/* EXCERPT */
.latest-blog-excerpt {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cbd5e1;
  /* Line clamp to 3 lines for uniformity */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.8rem;
  /* Maintain space even for short excerpts */
}

/* FOOTER */
.latest-blog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  /* Push footer to the absolute bottom */
  padding-top: 10px;
}

/* CTA */
.latest-blog-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: #00d4ff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
}

.latest-blog-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: #00d4ff;
  transform: translateX(3px);
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 992px) {
  .latest-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .latest-blogs-grid {
    grid-template-columns: 1fr;
  }

  .latest-blog-image-wrap {
    height: 170px;
    /* better mobile visibility */
  }
}

/* ================= FIX: SHOW FULL SLIDER ARROWS ================= */

/* Allow arrows to overflow safely */
.industries-slider-wrapper {
  position: relative;
  overflow: visible;
}

/* Push arrows slightly outside without clipping */
.industries-slider-wrapper .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* Left arrow offset */
.industries-slider-wrapper .slider-arrow.left {
  left: -32px;
}

/* Right arrow offset */
.industries-slider-wrapper .slider-arrow.right {
  right: -32px;
}

/* Mobile-safe adjustment */
@media (max-width: 768px) {
  .industries-slider-wrapper .slider-arrow.left {
    left: 10px;
    background: rgba(11, 30, 57, 0.9);
  }

  .industries-slider-wrapper .slider-arrow.right {
    right: 10px;
    background: rgba(11, 30, 57, 0.9);
  }
}