/* ==========================================
   Holistic Infosystem - Bootstrap Overrides
   All values are editable. Keep it minimal.
   ========================================== */

/* Brand theme variables */
:root{
  --bs-primary: #043BA6;   /* Primary brand blue */
  --bs-secondary: #00AFFF; /* Accent cyan */
  --brand-accent: #FFB703; /* Optional CTA highlight */
  --brand-text: #1A1A1A;   /* Body text */
  --brand-bg: #F8FAFC;     /* Light background */
}

body{ color: var(--brand-text); background: var(--brand-bg); }


/* Responsive Part */

@media (min-width: 992px) {
  #about h2 {
    font-size: 3rem;
  }
}

/* SECTION HEADINGS (like 'Our Cloud Services', 'About Us', etc.) */
section h2 {
  color: var(--bs-primary);   /* ← uses your brand blue */
}

/* Navbar links */
.nav-link:hover,
.nav-link.active { color: var(--bs-primary) !important; }

/* Primary buttons */
.btn-primary{
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover{
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

/* Cards and sections */
.card{ border-radius: .75rem; }
.border{ border-color: #e9ecef !important; }

/* HERO VIDEO BACKGROUND */
#hero video {
  object-fit: cover;
  filter: brightness(0.8); /* Adjust brightness if needed */
}

#hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

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

#hero .container {
  position: relative;
  z-index: 2;
}
#hero .bg-dark {
  z-index: 1;
}

/* ======================================
   SERVICE SECTION STYLING
   ====================================== */

/* Section background image */
#services {
  background: url("../assets/images/service_bg.png") center/cover no-repeat fixed;
  position: relative;
}

/* Light overlay for readability */
#services::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /*background: rgba(255, 255, 255, 0.9);*/
  z-index: 1;
}

/* Keep content above overlay */
#services .container {
  position: relative;
  z-index: 2;
}

/* Service cards */
.service-card {
  min-height: 400px; /* increased height */
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(4, 59, 166, 0.18);
}

/* Service card image */
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

/* Section heading */
#services h2 {
  color: var(--bs-primary);
}

/* ======================================
   ABOUT SECTION STYLING
   ====================================== */

/* Section background: subtle dark gradient or pattern */
#about {
  background: linear-gradient(135deg, #0a1e46 0%, #043ba6 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Optional abstract overlay pattern */
#about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url("../assets/images/about-bg.png") center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 2;
}

#about h2 {
  color: #ffffff;
  font-size: 3.2rem;   /* default ~1.75rem, so this enlarges it */
  font-weight: 700;
}

#about .lead {
  color: rgba(255, 255, 255, 0.85);
}

#about .about-img {
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

#about .about-img:hover {
  transform: scale(1.03);
}


/* ======================================
   WHY CHOOSE US SECTION
   ====================================== */
#why-us {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  position: relative;
}

#why-us h2 {
  color: var(--bs-primary);
  font-size: 2.3rem;
}

.why-icon {
  width: 45px;
  height: 45px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(4, 59, 166, 0.2);
  transition: background 0.3s ease;
}

.why-icon:hover {
  background-color: var(--bs-secondary);
}

.why-image {
  max-width: 280px;
  transition: transform 0.4s ease;
}
.why-image:hover {
  transform: scale(1.05);
}


/* ======================================
   WHAT TECHNOLOGIES WE USE (ONE ROW + NAMES + HOVER EFFECT)
   ====================================== */
#tech-used {
  background: linear-gradient(180deg, #f8faff 0%, #eaf1ff 100%);
}

#tech-used h2 {
  color: var(--bs-primary);
  font-size: 2.3rem;
}

/* Each tech item */
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Logo styling */
.tech-logo-static {
  width: 120px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 6px rgba(4, 59, 166, 0.15));
}

/* Label styling */
.tech-name {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover effects — logo + name glow together */
.tech-item:hover .tech-logo-static {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(4, 59, 166, 0.35));
}

.tech-item:hover .tech-name {
  color: var(--bs-primary);
}

.tech-item:hover .tech-name::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--bs-primary);
  border-radius: 1px;
  animation: underlineGrow 0.3s ease forwards;
}

/* Underline animation */
@keyframes underlineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Responsive scaling */
@media (max-width: 992px) {
  .tech-logo-static {
    width: 90px;
  }
  .tech-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .tech-logo-static {
    width: 70px;
  }
  .tech-name {
    font-size: 0.8rem;
  }
}

/* ======================================
   DETAILED SERVICES SECTION (FINAL)
   ====================================== */
#detailed-services {
  background: #ffffff;
}

#detailed-services h2 {
  font-size: 2.3rem;
  color: var(--bs-primary);
}

/* Image container styling */
.expertise-service-img {
  width: 100%;
  height: 390px;
  object-fit: cover; /* auto crop */
  object-position: center; /* focus center */
  border-radius: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(4, 59, 166, 0.15));
}

/* Hover glow */
.expertise-service-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(4, 59, 166, 0.35);
  filter: drop-shadow(0 6px 12px rgba(4, 59, 166, 0.25));
}

/* Bullet list styling */
.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #333;
}

.custom-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bs-primary);
  font-weight: bold;
}

/* Alternate background rows */
#detailed-services .row:nth-of-type(even) {
  background: linear-gradient(180deg, #f8faff 0%, #eaf1ff 100%);
  border-radius: 16px;
  padding: 20px 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .service-img {
    height: 220px;
    margin-bottom: 1rem;
  }
}



/* ======================================
   ABOUT PAGE - HERO SECTION
   ====================================== */
#about-hero {
  background: linear-gradient(135deg, #ccdafb, #eaf1ff);
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#about-hero h1 {
  color: var(--bs-primary);
  font-size: 2.5rem;
  line-height: 1.3;
}

#about-hero p {
  font-size: 1.05rem;
  color: #444;
  max-width: 90%;
}

.about-hero-img {
  max-width: 90%;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  filter: drop-shadow(0 6px 12px rgba(4, 59, 166, 0.15));
}

.about-hero-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 16px rgba(4, 59, 166, 0.25));
}

/* Button styling */
#about-hero .btn-primary {
  background-color: #043ba6;
  border: none;
  transition: all 0.3s ease;
}

#about-hero .btn-primary:hover {
  background-color: #002b7f;
  box-shadow: 0 0 12px rgba(4, 59, 166, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #about-hero {
    text-align: center;
    padding-top: 3rem;
  }

  #about-hero h1 {
    font-size: 2rem;
  }

  #about-hero p {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
  }

  .about-hero-img {
    max-width: 80%;
    margin-bottom: 2rem;
  }
}

/* ======================================
   COMPANY OVERVIEW – CENTERED BOX STYLE
   ====================================== */
#company-overview {
  /*background: linear-gradient(180deg, #f8faff 0%, #eaf1ff 100%);*/
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(4, 59, 166, 0.08);
  max-width: 12000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-box:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(4, 59, 166, 0.15);
}

#company-overview h2 {
  font-size: 2.3rem;
  color: var(--bs-primary);
}

.stat h3 {
  font-size: 2rem;
  color: #043ba6;
}

.stat p {
  font-size: 0.95rem;
}

/* Button */
#company-overview .btn-primary {
  background-color: #043ba6;
  border: none;
  transition: all 0.3s ease;
}

#company-overview .btn-primary:hover {
  background-color: #002b7f;
  box-shadow: 0 0 12px rgba(4, 59, 166, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .overview-box {
    padding: 2rem;
  }
  #company-overview h2 {
    font-size: 2rem;
  }
  .stat h3 {
    font-size: 1.7rem;
  }
}


/* ======================================
   CORE VALUES SECTION
   ====================================== */
#core-values {
  background: linear-gradient(180deg, #f8faff 0%, #eaf1ff 100%);
}

#core-values h2 {
  font-size: 2.3rem;
}

.value-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(4, 59, 166, 0.1);
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(4, 59, 166, 0.2);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #043ba6;
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  transition: all 0.3s ease;
}

.value-card:hover .icon-circle {
  background-color: #002b7f;
  transform: rotate(10deg);
}

.value-card h5 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  #core-values h2 {
    font-size: 2rem;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }

  .value-card {
    padding: 1.5rem;
  }
}



/* Services page hero */
#svc-hero{background:linear-gradient(135deg,#f8faff,#eaf1ff)}
#svc-hero .btn-primary{background:#043BA6;border:none}
#svc-hero .btn-primary:hover{background:#002b7f}

/* Service block images: uniform, auto-crop */
.svc-img{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
  box-shadow:0 6px 12px rgba(4,59,166,.12);
  transition:transform .35s ease, box-shadow .35s ease
}
.svc-img:hover{transform:scale(1.03);box-shadow:0 12px 24px rgba(4,59,166,.2)}

/* Bullets */
.svc-bullets{list-style:none;padding-left:0;margin:1rem 0 1.25rem}
.svc-bullets li{position:relative;padding-left:26px;margin:.35rem 0;color:#444}
.svc-bullets li::before{content:"";position:absolute;left:0;top:.45rem;width:10px;height:10px;border-radius:50%;background:#043BA6}

/* Section base */
#services{background:#f6f9ff}
@media (max-width:992px){
  .svc-img{
    height:240px
  }
}