/* ====================================
   GENERAL & RESET
==================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================
   HERO SECTION
==================================== */

.services-hero{
    position:relative;
    overflow:hidden;
    min-height:700px;
    padding:180px 0;

    display:flex;
    align-items:center;
}

.services-hero .hero-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.services-hero .hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(8,15,28,.75);
    z-index:2;
}

.services-hero .container{
    position:relative;
    z-index:3;
}

.services-hero-content{
    max-width:900px;
}

.services-hero h1{
    margin:20px 0;
    color:#ffffff;
    font-size:72px;
    font-weight:800;
    line-height:1.1;
}

.services-hero p{
    max-width:750px;
    color:rgba(255,255,255,.85);
    font-size:20px;
    line-height:1.9;
}

/* ====================================
   LAYOUT & MAIN CONTENT
==================================== */
.services-content {
  background: #ffffff;
  padding: 120px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

.services-main {
  width: 100%;
}

.service-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #214f99;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #214f99;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.service-block h2 {
  font-size: 32px;
  color: #111827;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-block p {
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

/* ====================================
   SIDEBAR SECTION
==================================== */
.left-sidebar {
  position: sticky;
  top: 120px;
}

.company-sidebar {
  width: 100%;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  color: #214f99;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  margin-bottom: 10px;
}

.sidebar-widget li:last-child {
  margin-bottom: 0;
}

.sidebar-widget a {
  display: block;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  color: #475467;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-widget a:hover {
  background: #214f99;
  color: #ffffff;
}

.sidebar-btn {
  display: block;
  text-align: center;
  background: #214f99;
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-btn:hover {
  background: #1a3d75;
  transform: translateY(-2px);
}

/* ====================================
   OVERVIEW & INDUSTRIES
==================================== */
.industries-served {
  background: #f8f9fa;
  padding: 120px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  text-align: center;
  font-size: 46px;
  color: #111827;
  font-weight: 800;
  margin-bottom: 50px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.industry-card {
  background: #ffffff;
  color: #111827;
  padding: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-weight: 600;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
  background: #214f99;
  color: #ffffff;
  border-color: #214f99;
  transform: translateY(-4px);
}

/* ====================================
   CTA SECTION
==================================== */

.services-cta{
    position:relative;
    overflow:hidden;

    padding:140px 0;

    background:
    linear-gradient(
        rgba(8,15,28,.82),
        rgba(8,15,28,.82)
    ),
    url('../images/services/services-cta-bg.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    text-align:center;
}

.services-cta .container{
    position:relative;
    z-index:2;
}

.services-cta h2{
    max-width:900px;
    margin:0 auto 25px;

    color:#ffffff;
    font-size:56px;
    font-weight:800;
    line-height:1.15;
}

.services-cta p{
    max-width:750px;
    margin:0 auto 35px;

    color:rgba(255,255,255,.85);
    font-size:20px;
    line-height:1.9;
}

.services-cta .primary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:54px;
    padding:15px 35px;

    background:#214f99;
    border:2px solid #214f99;

    color:#ffffff;
    text-decoration:none;
    font-weight:700;
    border-radius:6px;

    transition:.3s;
}

.services-cta .primary-btn:hover{
    background:#183c75;
    border-color:#183c75;
    transform:translateY(-2px);
}

/* ====================================
   RESPONSIVE SECTION
==================================== */
@media (max-width: 1200px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .left-sidebar {
    display: none;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 100px 0;
  }

  .services-hero h1 {
    font-size: 40px;
  }

  .services-content,
  .industries-served,
  .services-cta {
    padding: 80px 0;
  }

  .service-block {
    padding: 30px;
  }

  .service-block h2 {
    font-size: 26px;
  }

  .section-title {
    font-size: 34px;
    margin-bottom: 35px;
  }

   .services-cta{
        padding:90px 0;
    }

    .services-cta h2{
        font-size:34px;
    }

    .services-cta p{
        font-size:17px;
    }
}

@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 32px;
  }

  .services-hero p,
  .services-cta p {
    font-size: 16px;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 110px;
    font-size: 18px;
  }

      .services-cta h2{
        font-size:28px;
    }

    .services-cta p{
        font-size:16px;
        line-height:1.7;
    }
}

@media(max-width:991px){

    .services-hero{
        min-height:600px;
        padding:140px 0;
    }

    .services-hero h1{
        font-size:52px;
    }

}

@media(max-width:768px){

    .services-hero{
        min-height:500px;
        padding:110px 0;
    }

    .services-hero h1{
        font-size:38px;
    }

    .services-hero p{
        font-size:17px;
    }

}

@media(max-width:480px){

    .services-hero h1{
        font-size:30px;
    }

    .services-hero p{
        font-size:16px;
        line-height:1.7;
    }

}