/* ============================================
   GLOBAL VARIABLES
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import '@fortawesome/fontawesome-free/css/all.min.css';


* {
  font-family: 'Poppins', sans-serif;
}



:root {
  --primary: #025DFF;
  --secondry: #00B6FF;
  --green:#04D3AB;
  --perple-light:#C702D3;
  --perple:#802AB8;
  --dark: #000000;
  --muted: #666666;
  --soft-bg: #F2F2F2;
  --white:#ffffff;

  /* FUNDING GAP */
--grad-perple: linear-gradient(
  to top,
  rgba(128,42,184,0.9),
  rgba(128,42,184,0.45),
  rgba(0,0,0,0.05)
);

/* BOARDROOM DRAG */
--grad-primary: linear-gradient(
  to top,
  rgba(2,93,255,0.9),
  rgba(2,93,255,0.45),
  rgba(0,0,0,0.05)
);

/* RISK */
--grad-green: linear-gradient(
  to top,
  rgba(4,211,171,0.9),
  rgba(4,211,171,0.45),
  rgba(0,0,0,0.05)
);

}

/* ============================================
   BASE STYLES
============================================= */
body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: var(--dark);
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 28px;
  font-weight:normal;
}

/* Nav Bar*/
.navbar-nav
{
  color: var(--white);

}
.btn-dark
{
  background: var(--dark);
}
.btn-primary
{
  background: var(--primary);
}

/* Remove default padding for sections for consistency */
section {
  padding-top: 0px;
  padding-bottom: 0px;
}
.section-heading
{
  font-size: 50px;
  font-weight: bolder;
}
.section-subheading
{
  font-size: 20px;
  color: var(--primary);
  margin-bottom: -10px;
  font-style: italic;
}

/* ===============================
   SECTION HEADINGS – RESPONSIVE
================================ */

/* Tablets */
@media (max-width: 991px) {
  .section-heading {
    font-size: 36px;
    line-height: 1.25;
  }

  .section-subheading {
    font-size: 18px;
    margin-bottom: -6px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .section-heading {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-subheading {
    font-size: 16px;
    margin-bottom: 0;
  }
}


.features-row {
  text-align: center;
}

/* MAIN BOX */
.feature-box {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  overflow: hidden;     /* ← REQUIRED */
  z-index: 1;
   background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Background image zoom layer */
.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: inherit;   /* ← Copies inline background-image */
  transition: transform 0.6s ease;
  transform-origin: center;
  z-index: 0;
}

/* Hover zoom only background */
.feature-box:hover::before {
  transform: scale(1.15);
}

/* Content above the zooming background */
.feature-box > * {
  position: relative;
  z-index: 2;
}
.feature-box .title
{
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 25px;
  font-weight: bold;
}

.feature-box .desc
{
  font-size: 14px;
  margin: 0;
  color: #fff;
}
/* Inner full outline container */
.box-outline {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  color: white;

}






/* ============================================
   HERO SECTION
============================================= */
#hero {

  padding: 80px;
  min-height: 100vh;
   background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: #fff;
}

#hero h1 {
  font-size: 65px;
  font-weight: 800;
  line-height: 1.1;
}

#hero p {
  color: var(--soft-bg);
  font-size: 18px;
  margin-bottom: 20px;
}

#banner
{
  background: linear-gradient(to bottom right, #f8faff, #eef2ff);
  min-height: 100vh;
  padding: 80px;
    background-image: url('/assets/images/banner.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: #fff;
}

#banner h1 {
  font-size: 65px;
  font-weight: 800;
  line-height: 1.1;
}

#banner p {
  color: var(--soft-bg);
  font-size: 18px;
  margin-bottom: 20px;
}

/* Buttons */
.btn-primary,
#hero .btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline-dark {
  border-color: #444 !important;
  color: #444 !important;
}

.btn-outline-dark:hover {
  background: #444 !important;
  color: #fff !important;
}

/* ===========================================
Problems
============================================ */
#problem, #who-we-are, #vision
{
  padding: 80px;
}

#insight
{
  padding: 80px;
}

#services
{
  padding: 80px;
}

#industries
{
  padding: 80px;
  background: var(--soft-bg);
}






/* ============================================
   RESPONSIVE TWEAKS
============================================= */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  

  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.custom-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 999;
}


/* Wrap NUM + TITLE in flex */
.num-title-box {
  display: flex;
  align-items: center;   /* forces middle alignment */
  gap: 12px;
  margin-bottom: 10px;
}

/* BIG BLUE NUMBER */
.num {
  color: #2d77ff;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

/* Title next to number */
.item-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  font-style: italic;
}



.read-more {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  text-align: right;
  font-size: 13px;
}




/* Service Box */
.service-box {
  padding-right: 50px;
}

/* Slider */
.services-slider {
  padding-left: 10px;
}

.services-slider .swiper-slide {
  padding-bottom: 20px;
}


/* Navigation buttons */
.services-navigation {
  display: flex;
  justify-content: center;   /* ✅ NOW THEY ARE CENTERED */
  gap: 20px;
  margin-top: 15px;
}

.services-prev,
.services-next {
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  background: transparent;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.services-prev:hover,
.services-next:hover {
  background: var(--primary);
  color: #fff;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  font-style: italic;
  color: var(--primary);
}

.industries-left
{
  background: var(--primary);
  padding: 50px;
  min-height: 550px;
   display: flex;               /* Enable flexbox */
  flex-direction: column;      /* Keep content vertical */
  justify-content: center;     /* Center vertically */
  height: 100%;                /* Ensure proper stretching */


}

.industries-text
{
  color: var(--white);
}
.industries-heading
{
  font-size: 50px;
  font-weight: bolder;
  color: var(--white);
}
.industries-subheading
{
  font-size: 20px;
  color: var(--primary);
  margin-bottom: -10px;
  font-style: italic;
  color: var(--white);
}

/* Right side container */
.industries-right {
  background: var(--white);
  padding: 50px;
  min-height: 550px;
   display: flex;               /* Enable flexbox */
  flex-direction: column;      /* Keep content vertical */
  justify-content: center;     /* Center vertically */
  height: 100%;   
}

.industries-num
{
  background: var(--primary);
  color: var(--white);
  font-size: 30px;
  font-weight: bolder;
  display: flex;
  align-items: center; 
  padding: 15px;
  text-align: center;
}
.industries-numtitle
{
  background: var(--soft-bg);
  font-size: 18px;
  display: flex;
  align-items: center; 
  padding: 15px;
  font-weight: bold;

}

.industries-numtitle a
{
  color: var(--dark);
   text-decoration: none;
}

.industries-numtitle a:hover
{
  color: var(--primary);
   text-decoration: none;
}

#stats
{
  padding: 80px;
  background: linear-gradient(30deg, var(--perple-light), var(--primary));
  color: var(--white);
}

.stats-num
{
  font-size: 50px;
  font-weight: bolder;
  color: var(--white);
}
.stats-heading
{
  font-size: 20px;
  color: var(--primary);
  margin-top: -10px;
  font-style: italic;
  color: var(--white);
}
#clients
{
  padding: 80px;
  background: var(--white);
}


/* Client Box */
.client-box {
  background: #fff;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.client-box:hover {
  transform: translateY(-5px);
}

/* Navigation */
.clients-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.clients-prev,
.clients-next {
  width: 40px;
  height: 40px;
  border: 2px solid var(--dark);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.clients-prev:hover,
.clients-next:hover {
  background: var(--primary);
  color: #fff;
}

#testimonials
{
  padding: 80px;
  background: var(--dark);
  color: var(--white);
  
}

.testimonials-row {
  gap: 20px; /* spacing between boxes */
}

.testimonials-box {
  width: calc(25% - 20px); /* 4 boxes perfectly aligned */
  padding: 50px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.testimonials-box:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.testimonials-box h4
{
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
}

#security
{
  padding: 80px;
  
}

#casestudies
{
  padding: 80px;

  background: var(--soft-bg);
  
}

.case-more{
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
  margin: -22px auto 0 auto;  /* Center under card */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */

}

.case-more:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.case-outline {
  position: absolute;
  inset: 20px;
  padding: 15px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* White gradient border */
  border: 1px solid transparent;
  border-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0)) 1;
}

#subscribe
{
  padding: 80px;
  color: var(--white);
  background: linear-gradient(30deg, var(--perple-light), var(--primary));
}

.subscribe-heading
{
  font-size: 50px;
  font-weight: bolder;
}

#footer
{
  padding: 80px;
  background: var(--dark);
  color: var(--white);
  
}
.footer-title
{
  font-size: 18px;
  font-style: italic;
  font-weight:600;
}

.bottom-footer
{
  border-top: 1px solid #444;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
}

#blogs
{
  padding: 80px;  
}

#blogs h4{
  font-size: 22px;
  font-weight: 600;
  
}

/* Blog Image Wrapper - required for zoom */
#blogs .blog-img-box {
  overflow: hidden;           /* prevents zoom overflow */
  border-radius: 5px;         /* reduced border radius */
}

#blogs img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease; /* smooth zoom */
}

/* Zoom Effect */
#blogs .blog-img-box:hover img {
  transform: scale(1.15);     /* zoom in */
}
.blog-date
{
  font-weight: 600;
  color: var(--muted);
}
.dot{
  color: var(--perple);
}

.service-block
{
  padding: 30px;
  border: 1px solid var(--soft-bg);
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.service-block:hover {
  transform: translateY(-10px);
}


/* Blog Image Wrapper - required for zoom */
.img-box {
  overflow: hidden;           /* prevents zoom overflow */
  border-radius: 5px;         /* reduced border radius */
}






#templates
{
  padding: 80px;  
}

#first-section
{
  padding: 80px; 
}
#mid-section
{
  padding: 40px 40px; 
}
#last-section
{
  padding: 80px 40px; 
}

/* Blog Image Wrapper - required for zoom */
.img-box {
  overflow: hidden;           /* prevents zoom overflow */
  border-radius: 5px;         /* reduced border radius */
}

.img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease; /* smooth zoom */
}

/* Zoom Effect */
.img-box:hover img {
  transform: scale(1.15);     /* zoom in */
}

.background-gray
{
  background: var(--soft-bg);
  padding: 80px 40px;
}

.fact-block
{
  padding: 30px;
  min-height: 240px;
  border: 1px solid var(--soft-bg);
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  transition: 0.3s;
}





.fact-block:hover {
  transform: translateY(-10px);
}

.testimonials-block
{
  padding: 50px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  transition: all 0.3s ease;
  min-height: 320px;
}


/* ===============================
   NAVBAR BASE
================================ */
/* Default navbar background */
.custom-navbar {
  background: linear-gradient(90deg, #0d47ff, #9c27b0);
  transition: background-color 0.25s ease;
}

/* When hovering Enterprise Services */
.custom-navbar:has(.mega-wrapper:hover) {
  background-color: #000 !important;
  background-image: none !important;
}

/* ===============================
   MEGA WRAPPER
================================ */
.mega-wrapper {
  position: static;
}

/* ===============================
   MEGA MENU
================================ */
.mega-menu {
  position: absolute;
  left: 0;
  top: 100%; /* directly below navbar */
  width: 100%;
  background: #000;
  color: #fff;
  padding: 50px 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1040;
}

/* Show mega menu */
.mega-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===============================
   MEGA MENU TEXT
================================ */
.mega-menu h6 {
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
}

.mega-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu ul li {
  padding: 6px 0;
  font-size: 15px;
  opacity: 0.85;
}

.mega-menu ul li:hover {
  opacity: 1;
}

.mega-menu a {
  color: #fff;
  text-decoration: none;
}

/* ===============================
   ARROW
================================ */
.mega-arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.mega-wrapper:hover .mega-arrow {
  transform: rotate(180deg);
}

/* ===============================
   NAV LINK HOVER
================================ */
.mega-wrapper:hover > .mega-trigger,
.nav-item:hover > .nav-link {
  color: var(--primary) !important;
  font-weight: 600;
}


/* Client logos */
.client-logo {
  
  opacity: 0.75;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  
  
  border-radius: 15px;
}

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

#legacy-content {
  background-color: #f8f9fb;
}

.problem-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 24px;
  height: 100%;
  border-radius: 5px;
}

.problem-card h6 {
  font-weight: 600;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.mandate-box {
  background: var(--primary);
  color: #fff;
  padding: 28px 32px;
  font-size: 18px;
  border-radius: 5px;
}

.mandate-box .text-emphasis {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}



/* ===============================
   SECTION SPACING – RESPONSIVE
================================ */

/* Tablets */
@media (max-width: 991px) {
  #problem {
    padding: 50px 15px;
  }

  #insight,
  #services {
    padding: 40px 30px;
  }

  #industries {
    padding: 60px 30px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  #problem, #stats, #clients, #testimonials, #security, #casestudies, #templates, #hero, #industries, #blogs, #subscribe, #footer, #who-we-are, #vision, #banner, #first-section {
    padding: 50px 10px;
  }
  

  #insight,
  #services {
    padding: 40px 20px;
  }

  
  .section-heading, .subscribe-heading {
    font-size: 28px;
    line-height: 1.3;
  }

  .industries-heading {
    font-size: 30px;
    margin-bottom: 0;
  }
  .industries-right
  {
    padding: 20px;
  }
  .feature-box
  {
    min-height: 450px;
  }

  #banner h1
  {
    font-size: 35px;
    line-height: 1.5;
  }

  #mainNavbar
  {
    background-color: var(--dark);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
  }
 
}


/* ===============================
   PAIN CARD (NEW – CLEAN)
================================ */

.pain-card {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Background zoom layer */
.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

/* Gradient overlay */
.pain-point-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
  z-index: 1;
}

.pain-card:hover::before {
  transform: scale(1.12);
}

/* Outline container */
.pain-card-outline {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.8);
  padding: 24px;

  display: flex;
  flex-direction: column;
  /*justify-content: flex-end; /* ✅ CONTENT AT BOTTOM */

  color: #ffffff;
  z-index: 2;
}

/* Title */
.pain-card-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Description */
.pain-card-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}

/* Optional gradient for readability */
.pain-card-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: -1;
}


@media (max-width: 768px) {
  .pain-card {
    height: 420px;
  }

  .pain-card-outline {
    inset: 15px;
    padding: 18px;
  }

  .pain-card-title {
    font-size: 20px;
  }

  .pain-card-desc {
    font-size: 13px;
  }
}
