:root{
    --primary: #0f15ed;         /* royal-ish blue */
    --primary-2: #c26925;       /* mid blue */
    --accent: #ffae00;          /* warm accent */
    --crimson: #b22234;
    --dark: #0f1724;
    --muted: #6c757d;
    --light: #f8f9fa;
    --glass: rgba(255,255,255,0.08);
    --max-width: 1200px;
    --radius-lg: 14px;
}

/* Base */
*{box-sizing: border-box;}
html,body{height:100%;}
body{
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: linear-gradient(180deg,#fff 0%, #fbfbfd 100%);
    overflow-x: hidden;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.6;
}

/* Utility */
.section { padding: 90px 0; }
.bg-soft { background: linear-gradient(180deg, rgba(46,64,110,0.02), rgba(42,82,152,0.02)); }

/* Navbar */
.navbar-custom{
    background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.80));
    padding: 4px 0;
    transition: all 0.35s cubic-bezier(.2,.9,.2,1);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(20,28,48,0.04);
}
.navbar-custom .navbar-brand{
    font-weight:700;
    color:var(--primary);
    font-size:1.6rem;
    display:flex;
    align-items:center;
}
.brand-dot{ color: var(--accent); margin-left:3px; font-weight:900; }
.navbar-custom .nav-link{
    color: #223;
    padding:8px 12px;
    font-weight:500;
    position:relative;
    transition: all .25s ease;
}
.navbar-custom .nav-link:hover{ color: var(--primary-2); transform: translateY(-2px); }
.navbar-custom .nav-link::after{
    content:'';
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-6px;
    width:0;
    height:3px;
    background: linear-gradient(90deg,var(--primary),var(--primary-2));
    transition: width .25s ease;
}
.navbar-custom .nav-link.active::after, .navbar-custom .nav-link:hover::after{ width:60%; }

.navbar-custom.scrolled{
    padding:10px 0;
    box-shadow: 0 8px 30px rgba(16,24,40,0.06);
    background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
}

/* Hero / Slider */
.main-slider{ position:relative; height: 85vh; min-height:520px; }
.carousel-item{
    height:100%;
    background-position:center;
    background-size:cover;
    position:relative;
    transition: transform 1s ease, opacity 1s ease;
}
.overlay{
    position:absolute; inset:0; z-index:0;
    background: linear-gradient(180deg, rgba(16,24,40,0.2), rgba(16,24,40,0.25));
}
.gradient-royal{ background: linear-gradient(135deg, rgba(30,60,114,0.55), rgba(42,82,152,0.55)); }
.gradient-midnight{ background: linear-gradient(135deg, rgba(8,24,48,0.6), rgba(2,8,36,0.6)); }
.gradient-royal-crimson{ background: linear-gradient(135deg, rgba(30,60,114,0.5), rgba(178,34,52,0.45)); }

.carousel-caption{
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 720px;
    color: #fff;
    text-align:left;
}
.caption-lg { left:8%; }
.hero-title{
    font-size: clamp(1.8rem, 3.6vw, 3.6rem);
    font-weight:800;
    margin-bottom:12px;
    line-height:1.05;
    color: #fff;
    text-shadow: 0 6px 30px rgba(10,18,36,0.35);
}
.hero-subtitle{
    font-size: 1.05rem;
    opacity:0.92;
    margin-bottom:20px;
    max-width: 680px;
}

/* Buttons */
.btn-cta, .btn-primary {
    background: linear-gradient(90deg,var(--primary),var(--primary-2));
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(42,82,152,0.12);
    transition: all .35s cubic-bezier(.2,.9,.2,1);
}
.btn-cta:hover, .btn-primary:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(42,82,152,0.16);
}
.btn-outline-light{
    color:#fff;
    border:2px solid rgba(255,255,255,0.18);
    background: transparent;
    border-radius:10px;
    transition: all .25s linear;
}
.btn-outline-light:hover{
    background:#fff;
    color:var(--primary);
    transform: translateY(-3px);
}

/* Section Title */
.section-title{
    font-weight:700;
    color: var(--dark);
    margin-bottom:8px;
    font-size: clamp(1.5rem,2.4vw,2rem);
    position:relative;
}
.section-title.left{text-align:left;}
.section-title::after{
    content:'';
    width:72px;
    height:4px;
    background: linear-gradient(90deg,var(--primary),var(--primary-2));
    display:block;
    margin-top:12px;
    border-radius:3px;
}

/* About image */
.about-img{
    border-radius:var(--radius-lg);
    box-shadow: 0 30px 70px rgba(15,20,36,0.09);
    transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.about-img:hover{ transform: translateY(-6px) scale(1.01); }

/* Service Card */
.service-card{
    background: linear-gradient(180deg,#fff,#fbfcff);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 28px rgba(16,24,40,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
    min-height: 330px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.service-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(16,24,40,0.12);
}
.service-icon{
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 14px;
}
.card-title{ font-weight:700; margin-bottom:10px; color: #102030; }
.service-feature{
    position:relative;
    padding-left:18px;
    margin-bottom:8px;
    color:var(--muted);
}
.service-feature:before{
    content:'';
    position:absolute;
    left:0;
    top:10px;
    width:10px;
    height:2px;
    background: var(--primary);
    border-radius:2px;
}

/* Industry Card */
.industry-card{
    background: linear-gradient(135deg, rgba(42,82,152,0.12), rgba(30,60,114,0.08));
    border-radius: 12px;
    padding: 26px;
    text-align:center;
    transition: transform .25s ease, box-shadow .25s ease;
    min-height: 220px;
}
.industry-card:hover{ transform: translateY(-8px); box-shadow: 0 20px 40px rgba(42,82,152,0.08); }
.industry-icon{ width:70px; height:70px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%;
    background: linear-gradient(135deg, rgba(42,82,152,0.12), rgba(30,60,114,0.06)); color:var(--primary); font-size:22px; margin-bottom:12px; }

/* Client slider */
.client-slide{
    background:#ffffff;
    padding:20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16,24,40,0.06);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    height:190px;
    text-align:center;
}
.client-name{ font-weight:700; color:var(--dark); }

/* Contact */
.contact-info .contact-item{ margin-bottom:18px; align-items:flex-start; gap:12px; display:flex; }
.contact-icon{ width:46px; height:46px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center;
    background: linear-gradient(180deg, rgba(42,82,152,0.08), rgba(30,60,114,0.04)); color:var(--primary); font-size:18px; flex-shrink:0; }
.contact-form .form-control{ border-radius:10px; height:54px; padding:15px; border:1px solid #e6e9ef; }
.contact-form textarea.form-control{ height:auto; min-height:140px; padding-top:14px; }

/* Footer */
.footer{ background: linear-gradient(180deg,var(--primary),var(--primary-2)); color:#fff; padding:60px 0 30px; }
.footer .footer-logo{ font-size:1.6rem; font-weight:700; display:inline-block; color:#fff; margin-bottom:12px; }
.footer .brand-dot{ color:var(--accent); }
.footer-about{ color: rgba(255,255,255,0.9); margin-bottom:20px; }
.footer-links h5{ color:#fff; margin-bottom:14px; font-weight:700; }
.footer-links a{ color: rgba(255,255,255,0.85); text-decoration:none; display:block; margin-bottom:8px; transition: all .2s ease; }
.footer-links a:hover{ color: var(--accent); transform: translateX(6px); }

/* Footer bottom */
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding-top:18px; margin-top:26px; }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.animate-on-scroll.animated { opacity:1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991.98px){
    .carousel-caption{ left:6%; right:6%; text-align:center; transform: translateY(-50%) translateX(0); }
    .caption-lg{ left:50%; transform: translate(-50%, -50%); }
    .carousel-caption h1{ font-size: clamp(1.4rem, 3.2vw, 2.6rem); }
}
@media (max-width: 575.98px){
    .main-slider{ min-height:420px; height:60vh; }
    .carousel-caption{ padding:18px; }
    .service-card{ min-height:260px; padding:20px; }
}

/* small tweaks */
a { text-decoration:none; }
ul { padding:0; margin:0; list-style:none; }

/* AOS helpers to ensure animations trigger well */
[data-aos].aos-animate { opacity: 1 !important; transform: none !important; }


/* 🔹 Swiper Hero Slider Fix */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 25px;
  font-weight: 400;
}

.hero-buttons .btn {
  padding: 12px 28px;
  font-size: 1.1rem;
  border-radius: 50px;
}

/* Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.7;
}

/* Swiper pagination */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: #007bff; /* match brand color */
  opacity: 1;
}


/* Services Section */
#services {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.text-gradient {
  background: linear-gradient(45deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card ul {
  padding-left: 20px;
  margin: 0;
}

.service-card ul li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #444;
}


/* Gradient text */
.text-gradient {
  background: linear-gradient(45deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Image collage */
.image-collage {
  position: relative;
}
.image-collage .main-img {
  width: 100%;
  border-radius: 20px;
}
.image-collage .sub-img {
  position: absolute;
  width: 45%;
  border-radius: 15px;
  transition: transform 0.3s ease;
}
.image-collage {
  position: relative;
  display: inline-block;
}

.main-img {
  width: 100%;
  border-radius: 15px;
}

.sub-img {
  position: absolute;
  width: 40%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.sub-img:hover {
  transform: scale(1.05);
}

/* top-left small image */
.img1 {
  top: 10%;
  left: -10%;
}

/* bottom-right small image */
.img2 {
  bottom: 10%;
  right: -10%;
}
@media (max-width: 768px) {
  .sub-img {
    width: 30%;
  }
  .img1 {
    top: 5%;
    left: 5%;
  }
  .img2 {
    bottom: 5%;
    right: 5%;
  }
}
.industry-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;  /* ✅ Make all same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.industry-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.industry-card p {
    font-size: 14px;
    color: #666;
    flex-grow: 1;  /* ✅ Fills extra space for equal layout */
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}


/* Bullet points */
.about-points li {
  margin-bottom: 12px;
  font-weight: 500;
}
.about-points i {
  color: var(--primary);
  margin-right: 8px;
}

/* Highlight box */
.about-highlight {
  background: #f8fbff;
  border-left: 4px solid var(--primary);
  font-size: 0.95rem;
}
