/* ============================================================
   style.css — ProAzure main styles
   Navbar styles are fully handled by navbar.css — no navbar
   rules here to avoid conflicts.
   ============================================================ */

html { font-size: 100%; }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #1E293B;
  background: #f9f9f9;
  overflow-x: hidden;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: #020818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top-color: #3b5bdb;
    border-right-color: #3b5bdb;
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite;
    margin-bottom: 28px;
}

@keyframes loaderSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #3b5bdb;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 6px;
    font-family: 'Segoe UI', sans-serif;
    opacity: 0.85;
}

/* ============================================================
   HERO / BACKGROUND VIDEO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

.video-container::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.video-container video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero .content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 120px;
  color: #ffffff;
  max-width: 900px;
}

.hero .content h4 {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero .content h1 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.btn-box { margin: 18px 0 22px; }

button {
  background: linear-gradient(135deg, #0d6efd, #084298);
  border: none;
  padding: 14px 36px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(13,110,253,0.45);
}

.hero .content p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
}

@media (max-width: 768px) {
  .hero .content {
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
    text-align: center;
  }
}


/* ============================================================
   SLIDER
   ============================================================ */
.services-slider {
  max-width: 1200px;
  margin: 60px auto;
  background: #fff;
  padding: 40px 20px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.service-box { width: 30%; padding: 20px; }
.service-box img { width: 70px; margin-bottom: 15px; }
.service-box h3 { color: #086ad8; margin-bottom: 10px; }
.service-box p { color: #666; font-size: 18px; }

.slider-dots { text-align: center; margin-top: 25px; }

.dot {
  height: 10px; width: 10px;
  background: #cfcfcf;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
}

.dot.active { background: #086ad8; }

@media (max-width: 768px) {
  .slide { flex-direction: column; }
  .service-box { width: 100%; }
}


/* ============================================================
   ABOUT / FLOATING IMAGES
   ============================================================ */
.about-section {
  padding: 90px 0;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-text { width: 40%; }

.small-title {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #999;
}

.about-text h1 { font-size: 40px; margin: 20px 0; color: #222; }
.about-text h1 span { color: #086ad8; }
.about-text p { color: #555; line-height: 1.6; }

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #086ad8;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.about-media { width: 55%; position: relative; }

.video-box {
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #ccc;
}

.video-box video { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 70px; height: 70px;
  background: #086ad8;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(8,106,216,0.6); }
  70%  { box-shadow: 0 0 0 30px rgba(8,106,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(8,106,216,0); }
}

.image-box {
  position: absolute;
  width: 220px; height: 150px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.image-box img { width: 100%; height: 100%; object-fit: cover; }

.top-left    { top: -70px;    left: -70px; }
.top-right   { top: -70px;    right: -70px; }
.bottom-left { bottom: -70px; left: -70px; }
.bottom-right{ bottom: -70px; right: -70px; }

.float { animation: float 4s ease-in-out infinite; }

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@media (max-width: 900px) {
  .about-container { flex-direction: column; }
  .about-text, .about-media { width: 100%; }
  .image-box { display: none; }
}


/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services {
  padding: 70px 10%;
  text-align: center;
}

.services h2 { font-size: 36px; margin-bottom: 10px; }

.subtitle { font-size: 18px; margin-bottom: 50px; }
.subtitle span { color: #0d6efd; font-weight: bold; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  transition: 0.3s;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-card.active {
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-card .icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  font-size: 36px;
  opacity: 0.85;
}

.service-card .icon img,
.service-card .icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.service-card:hover .icon img,
.service-card:hover .icon svg { transform: scale(1.25); }

.service-content {
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  margin-top: 2px;
}

.service-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 95%;
}

.service-content a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 50px 20px; }
  .services h2 { font-size: 28px; }
  .subtitle { font-size: 16px; }
  .card-header { flex-direction: column; }
  .service-card .icon { margin-bottom: 10px; }
}


/* ============================================================
   HOW WE WORK — STEPS
   ============================================================ */
.process { padding: 80px 10%; }
.process h5 { letter-spacing: 2px; color: #777; }
.process h1 { margin: 10px 0 60px; font-size: 42px; }
.process h1 span { color: #0066ff; }

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 0;
  width: 100%; height: 2px;
  background: #eee;
}

.step { width: 22%; position: relative; }

.circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 1;
  transition: 0.4s;
}

.circle::before, .circle::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #0066ff;
  opacity: 0;
}

.step:hover .circle { background: #0066ff; color: #fff; border-color: #0066ff; }
.step:hover .circle::before { animation: ripple 1.5s infinite; }
.step:hover .circle::after  { animation: ripple 1.5s infinite 0.5s; }

@keyframes ripple {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.step h3 { margin: 25px 0 10px; }
.step p  { color: #777; font-size: 17px; line-height: 22px; }
.step a  { display: inline-block; margin-top: 10px; text-decoration: none; color: #0066ff; font-weight: bold; }

@media (max-width: 768px) {
  .steps { flex-direction: column; gap: 40px; }
  .steps::before { display: none; }
  .step { width: 100%; }
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.ctas {
  background: #4a4a4a;
  padding: 70px 10%;
  position: relative;
  overflow: hidden;
}

.ctas::after {
  content: '';
  position: absolute;
  right: -100px; top: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(#777 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.4;
}

.ctas-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.ctas h1 { font-size: 36px; line-height: 1.4; }
.ctas h1 span { color: #d8b08c; }
.ctas-buttons { display: flex; gap: 15px; }

.btn1 {
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.btn1.outline1 { background: #fff; color: #0066ff; border: 2px solid #0066ff; }
.btn1.outline1:hover { background: #0066ff; color: #fff; }
.btn1.fill { background: #d8b08c; color: #fff; }
.btn1.fill:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .ctas-content { flex-direction: column; gap: 30px; text-align: center; }
  .ctas h1 { font-size: 26px; }
}


/* ============================================================
   PRODUCT / CASE STUDIES
   ============================================================ */
.product {
  padding: 80px 10%;
  background: #f4f8ff;
  font-family: 'Segoe UI', sans-serif;
}

.case-header { text-align: center; margin-bottom: 60px; }

.case-header .small-title {
  font-size: 14px;
  letter-spacing: 2px;
  color: #5c7cfa;
  font-weight: 600;
}

.case-header h2 { font-size: 32px; margin-top: 10px; color: #0a2540; }
.case-header h2 span { color: #0057b8; }

.product-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeUp 1s ease;
}

.logo-box {
  width: 180px; height: 180px;
  margin: auto;
  border-radius: 50%;
  background: #f4f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: floatRotate 5s ease-in-out infinite;
}

.logo-box img { width: 100%; transition: transform 0.4s ease; }
.logo-box:hover img { transform: scale(1.1); }

.product-container h3 { font-weight: 400; margin-bottom: 30px; color: #555; }

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.features span {
  background: #0057b8;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  transition: 0.3s;
}

.features span:hover { background: #003e87; transform: scale(1.08); }

.product-details { display: flex; gap: 40px; text-align: left; }
.details, .benefits { flex: 1; }
.product-details h2 { color: #0057b8; margin-bottom: 10px; }
.product-details p  { color: #444; line-height: 1.7; }
.benefits ul { padding-left: 18px; }
.benefits li { margin-bottom: 8px; color: #333; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatRotate {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .product-details { flex-direction: column; }
  .product-container { padding: 35px; }
}