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

:root {
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-teal: #06b6d4;
    --text-gray: #475569;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --bg-light-blue: #e6f0fa;
    --bg-light-gray: #f1f1f1;
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    --gradient-cta: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    --text-dark: #1f2937;
    --text-light: #ffffff;
    --accent: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 25%, #dbeafe 50%, #e0f2fe 75%, #f0f9ff 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
        /* Container */
.container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
}
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 5rem;
    overflow: hidden;
    height: 100vh; /* Full viewport height */
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Dark overlay for readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 50%;
    padding: 2rem;
    text-align: right;
    justify-content: flex-end;
    margin-left: auto;
}

.hero-nav {
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.nav-button {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-button:hover {
    color: var(--accent-teal);
}

.nav-button + .nav-button::before {
    content: ">";
    color: var(--text-light);
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    margin-right: 0.6rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-button:hover + .nav-button::before {
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    color: var(--text-light);
}

/* Add this after the existing .section styles */
.intro-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.intro-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.9;
}

 /* Sticky Navigation */
        .industry-sticky-nav {
            position: sticky;
            top: 80px;
            z-index: 999;
            background-color: #ffffff;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            /* border-bottom: 1px solid rgba(226, 232, 240, 0.8); */
            transition: background 0.3s ease;
            box-shadow: none;
        }
        .industry-sticky-nav .container {
            background-color: #ffffff;
        }

        .industry-sticky-nav.visible {
            transform: translateY(0);
        }

        .industry-sticky-nav.scrolled {
            background-color: #ffffff;
            box-shadow: var(--shadow-md);
        }

        .industry-nav-content {
            display: flex;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 2rem;
            padding: 1rem 0;
        }

        .industry-nav-link {
            color: var(--text-gray);
            font-weight: 500;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            position: relative;
        }

        .industry-nav-link.active {
            color: var(--primary-blue);
            background: rgba(59, 130, 246, 0.2);
            font-weight: 600;
        }
        
        .industry-nav-link:hover {
            color: var(--primary-blue);
            background: rgba(59, 130, 246, 0.1);
        }

        /* ------------------------------------------------------------------------ */
        /* Core technologies */
        /* ------------------------------------------------------------------------ */

        .services {
  text-align: center;
  padding: 60px 20px;
  background: var(--gradient-light);
}

.services-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 15px
}

.services-header p {
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Force 4 in one row */
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  padding: 20px;
}

.img-container {
  position: relative;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.img-container .overlay {
  position: absolute;
  width: 100%;
  height: 165px;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effect */
.service-card:hover .img-container img {
  transform: scale(1.05);
}

.service-card:hover .img-container .overlay {
  opacity: 1;
}


.service-card h3 {
  padding-top:1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

        /* ------------------------------------------------------------------------ */
        /* Core technologies */
        /* ------------------------------------------------------------------------ */


.ai-applications {
  background: url('../../img/industries/banking/modern-building-sky-background.png') no-repeat center center/cover;
  min-height: 100vh; /* full screen height */
  display: flex;
  justify-content: flex-end; /* push content to right */
  align-items: center;
  font-family: 'Poppins', sans-serif;
  padding: 60px 40px;
}

.ai-applications .container {
  max-width: 600px;
  text-align: left;
  background: transparent; /* no frame */
}

.ai-applications h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f0f23;
}

.ai-applications p {
  margin-bottom: 40px;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.8;
  line-height: 1.6;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 300px;
  flex: 1;
  
}

.card .icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border: 6px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f0f23;
  text-align: center;

}

.card p {
  font-size: 0.95rem;
  color: #4a4a5a;
  line-height: 1.5;
  text-align: center;
}
/* --------------------------------------------------------------- */
/* AI Trends Section */
/* --------------------------------------------------------------- */

.ai-trends {
  background: var(--bg-light-blue);
  padding: 3rem 3rem;
}

.ai-trends-heading {
  font-size: 2.75rem; /* Large and prominent */
  text-align: center; /* Centered heading */
  color: #121315; /* Dark text for contrast */
  font-weight: 800; /* Bold for emphasis */
  margin-bottom: 2rem; /* Space below heading */
  position: relative;
}


.trends-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.trend-card {
  flex: 1 1 30%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  color: #fff;
  height: 300px; /* Adjust height as needed */
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Overlay for content readability */
.trend-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  border-radius: 12px;
}

/* Content container */
.trend-card-content {
  position: absolute;
  bottom: 0;
  padding: 1.5rem;
  text-align: left;
  z-index: 1;
}

.trend-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trend-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Hover effect */
.trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* --------------------------------------------------------------- */
/* AI Strategy section*/
/* --------------------------------------------------------------- */

/* Base */
.ai-strategy {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #0b0f19;
  padding: 4rem 2rem;
  flex-direction: column; 
  display: flex;           /* ensures everything inside can be centered */
  justify-content: center; /* centers .ai-row horizontally */
}

.ai-strategy h2 { 
  font-size: 2.75rem;
  margin-bottom: 2rem;
  font-weight: 800;
    text-align: center;
}

/* Layout */
.ai-row {
  max-width: 1200px;
  display: grid;
  gap: 2rem;
  grid-template-columns: 80px 360px 1fr;
  align-items: center;
  padding-left: 10%;
  margin: 0 auto;        
  justify-content: center; 
}



/* Numbers */
.ai-numbers {
  display:grid;
  grid-template-rows: 33% 33% 34%;
  height:340px;
  align-items:center;
  justify-items:end;
}
.ai-numbers > div {
  font-size:2rem; font-weight:700; color:#22d3ee;
}

/* Pyramid */
.ai-pyramid {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px; /* space between bands */
  width:360px;
  margin:auto;
}

/* Bands */
.band {
  position:relative;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Top triangle */
/* Top triangle */
.band-1 {
  background: #0d9488;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  width: 130px;
  height: 110px;
}

/* Middle trapezoid */
.band-2 {
  background: #2563eb;
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
  width: 240px;
  height: 110px;
}

/* Bottom trapezoid */
.band-3 {
  background: #1e40af;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  width: 350px;
  height: 110px;
}


/* Icon */
.icon {
  display:inline-flex;
  width:55px; height:55px;
  align-items:center; justify-content:center;
}
.icon svg { width:90%; height:100%; color:#fff; opacity:.95 }

/* Right text */
.ai-text {
  display:grid;
  grid-template-rows: 33% 33% 34%;
  height:340px;
  align-items:center;
  text-align:left;
  position:relative;
}
.ai-text .text-item {
  position:relative; padding-left:24px;
}
.ai-text .text-item::before {
  content:""; position:absolute; left:-36px; top:50%;
  width:36px; height:2px; background:#a3a3a3; opacity:.6;
}
.ai-text h3 { margin:0 0 .35rem; font-size:1.35rem; font-weight:700; }
.ai-text p { margin:0; color:#0a0a0a; }

.icon {
  display: flex;
  flex-direction: column; /* stack icon + text */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}


.icon-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0; /* light gray for contrast */
  text-align: center;
}
/* --------------------------------------------------------------- */
/* AI Conclusion Section */
/* --------------------------------------------------------------- */

.ai-conclusion {
  background: #ffffff; /* light gray for contrast */
  color: #1e293b;      /* dark slate for readability */
  padding: 4rem 2rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  text-align: center;
}

.ai-conclusion-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ai-conclusion p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #334155; /* softer gray text */
}

.ai-conclusion strong {
  color: #1e40af; /* highlight AI & key terms */
  font-weight: 700;
}

/* ----------------------------------------------------------- */
/* CTA Section */
/* ----------------------------------------------------------- */
#ai-cta.section--gradient-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#ai-cta .cta-content {
  max-width: 720px;
  margin: 0 auto;
}

#ai-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

#ai-cta p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
}

#ai-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

#ai-cta .cta-button:hover {
  background: #0ea5e9;
  background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  color: #0f172a;
  transform: translateY(-2px);
}

#ai-cta .cta-button svg {
  transition: transform 0.3s ease;
}

#ai-cta .cta-button:hover svg {
  transform: translateX(4px);
}

        /* ------------------------------------------------------------ */
        /* Scroll animations */
        /* ------------------------------------------------------------ */
        .scroll-reveal {
          opacity: 0;
          transition: all 0.8s ease-out;
        }

        .scroll-reveal[data-reveal="up"] {
          transform: translateY(50px);
        }
        .scroll-reveal[data-reveal="down"] {
          transform: translateY(-50px);
        }
        .scroll-reveal[data-reveal="left"] {
          transform: translateX(-60px);
        }
        .scroll-reveal[data-reveal="right"] {
          transform: translateX(50px);
        }

        /* Revealed state */
        .scroll-reveal.revealed {
          opacity: 1;
          transform: translateX(0) translateY(0);
        }

        @media (prefers-reduced-motion: reduce) {
            .animate-fadeInUp,
            .scroll-reveal,
            .help-card:hover .card-inner {
                animation: none;
                transform: none;
                transition: none;
            }
        }

        
        /* Loading Animation */
        .loading {
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.2s forwards;
        }
/* ------------------------------------------------------------ */
/* 🌍 Global Responsiveness */
/* ------------------------------------------------------------ */
.container {
  padding: 0 16px;
}

/* ------------------------------------------------------------ */
/* HERO Section */
/* ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 4rem 2rem;
    text-align: center;
    justify-content: center;
  }
  .hero-content {
    max-width: 100%;
    padding: 1.5rem;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
    min-height: 60vh; /* slightly shorter on mobile */
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .nav-button {
    font-size: 0.9rem;
  }
}

/* ------------------------------------------------------------ */
/* INTRO Section */
/* ------------------------------------------------------------ */
@media (max-width: 768px) {
  .intro-subtitle {
    font-size: 1.5rem;
  }
  .intro-text {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ------------------------------------------------------------ */
/* Sticky NAV */
/* ------------------------------------------------------------ */
@media (max-width: 768px) {
  
    .industry-sticky-nav {
        top: 70px;
    }
    .industry-nav-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .industry-nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* ------------------------------------------------------------ */
/* SERVICES Section */
/* ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-cards {
    grid-template-columns: 1fr;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
}

/* ------------------------------------------------------------ */
/* AI APPLICATIONS Section */
/* ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .ai-applications {
    justify-content: center; /* no side push on tablets */
    padding: 40px 20px;
    text-align: center;
  }
  .ai-applications .container {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------ */
/* AI TRENDS Section */
/* ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .trends-cards {
    justify-content: center;
    gap: 1.5rem;
  }
  .trend-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 640px) {
  .trend-card {
    flex: 1 1 100%;
    height: 250px;
  }
  .trend-card h3 {
    font-size: 1.1rem;
  }
  .trend-card p {
    font-size: 0.9rem;
  }
}

/* --------------------------------------------- */
/* AI Strategy Section - Enhanced Responsiveness */
/* --------------------------------------------- */

/* Tablet (≤1024px) → pyramid centered with numbers on left, text on right */
@media (max-width: 1024px) {
  .ai-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "numbers text"
      "pyramid pyramid";
    gap: 2rem;
  }
  .ai-numbers { grid-area: numbers; text-align: right; }
  .ai-pyramid { grid-area: pyramid; margin: 0 auto; }
  .ai-text { grid-area: text; text-align: left; }
  .ai-text .text-item::before {
    display: none;
  }
}

/* Mobile (≤768px) → each number aligns with its band + text */
@media (max-width: 768px) {
 .ai-strategy h2 {
    font-size: 1.5rem;   /* smaller font for mobile */
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;  /* stays centered */
  }    
  .ai-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-left: 0;
  }
  
  .ai-text .text-item::before {
    display: none;
  }
  .ai-numbers {
    display: none; /* hide the side numbers on small screens */
  }

  .ai-pyramid {
    width: 240px;
    margin: 0 auto;
    gap: 12px;
  }

  .band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center;
    padding: 0.5rem;
  }

  /* Each band contains its number + text */
  .band::before {
    display: none; /* hide connector lines */
  }
}

/* Small Mobile (≤480px) → tighter layout */
/* Pyramid responsive fix */
@media (max-width: 480px) {
  .ai-pyramid {
    width: 100%;   /* scale inside container */
    max-width: 300px; /* keep it proportional */
    margin: 0 auto;
  }

  .band-1 {
    width: 35%;   /* relative sizing */
    height: 80px;
  }

  .band-2 {
    width: 70%;
    height: 80px;
  }

  .band-3 {
    width: 100%;
    height: 80px;
  }

  /* icons shrink slightly */
  .icon {
    width: 32px;
    height: 32px;
  }


  .ai-text h3 { font-size: 1.1rem; }
  .ai-text p { font-size: 0.9rem; }
}

/* ------------------------------------------------------------ */
/* FUTURE OUTLOOK Section */
/* ------------------------------------------------------------ */
/* Tablets: 768px and below */
@media (max-width: 768px) {
    .ai-conclusion {
        padding: 3rem 1.5rem;
    }

    .ai-conclusion p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .ai-conclusion {
        padding: 2rem 1rem;
    }

    .ai-conclusion p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .ai-conclusion-inner {
        padding: 0 1rem;
    }
}
/* ------------------------------------------------------------ */
/* CONTACT Section */
/* ------------------------------------------------------------ */
/* Tablet view */

@media (max-width: 768px) {
  #ai-cta h2 {
    font-size: 1.75rem;
  }
  #ai-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #ai-cta {
    padding: 3.5rem 1.5rem;
  }
  #ai-cta h2 {
    font-size: 1.5rem;
  }
  #ai-cta p {
    font-size: 0.95rem;
  }
}
