/* ===== SERVICE PAGE - MODERN DESIGN ===== */
:root {
  --brand-red: #D42027;
  --brand-blue: #2E5AAC;
  --brand-light-red: #FFE5E6;
  --brand-light-blue: #E8EDF5;
  --brand-white: #FFFFFF;
  --brand-dark: #1a1a1a;
  --brand-gray: #f5f5f5;
  --brand-footer: #1a1a2e;
}

/* ===== HERO SECTION - FULL WIDTH IMAGE ===== */
.service-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 100%);
  z-index: 1;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
}

.service-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
}

.service-hero h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out;
}

.service-hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.service-hero-badge {
  display: inline-block;
  background: var(--brand-red);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease-out;
}

/* ===== MAIN CONTENT SECTION ===== */
.service-content {
  background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 50%, #e8edf5 100%);
  padding: 80px 0;
  position: relative;
}

.service-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(46, 90, 172, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 90, 172, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.service-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.service-intro h2 {
  color: var(--brand-red);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.service-intro h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), #E63946);
  border-radius: 2px;
}

.service-intro p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 30px;
}

/* ===== SERVICE CARDS GRID ===== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 40px rgba(46, 90, 172, 0.1);
  border: 1px solid rgba(46, 90, 172, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-red));
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 90, 172, 0.2);
  border-color: rgba(46, 90, 172, 0.15);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-red), #E63946);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.service-card h3 {
  color: var(--brand-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== BLUE HIGHLIGHT SECTION ===== */
.service-highlight {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 60px 0;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.service-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1920&q=80') center/cover;
  opacity: 0.1;
}

.service-highlight-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.service-highlight-text {
  flex: 1;
  color: white;
}

.service-highlight-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.service-highlight-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-highlight-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.9) 0%, rgba(30, 60, 120, 0.9) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-highlight-icon svg {
  width: 60px;
  height: 60px;
  fill: white;
}

/* ===== DETAILS SECTION ===== */
.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.03) 0%, transparent 50%, rgba(46, 90, 172, 0.02) 100%);
  border-radius: 30px;
  margin: 0 -20px;
  padding-left: 40px;
  padding-right: 40px;
}

.service-details-image {
  position: relative;
}

.service-details-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(46, 90, 172, 0.2);
}

.service-details-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand-blue), transparent);
  border-radius: 20px;
  z-index: -1;
}

.service-details-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-red), transparent);
  border-radius: 16px;
  z-index: -1;
}

.service-details-content h3 {
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.service-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.service-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
  color: #4a5568;
  font-size: 1.05rem;
  border-bottom: 1px solid #f0f0f0;
}

.service-details-list li:last-child {
  border-bottom: none;
}

.service-details-list li svg {
  width: 22px;
  height: 22px;
  fill: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA BUTTON ===== */
.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-red), #E63946);
  color: white;
  padding: 16px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(212, 32, 39, 0.3);
}

.service-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 32, 39, 0.4);
  background: linear-gradient(135deg, #c01d23, var(--brand-red));
}

.service-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ===== CTA SECTION - BLUE THEME ===== */
.service-cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1628 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 90, 172, 0.25) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.service-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 90, 172, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

.service-cta-section h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 35px;
  position: relative;
  z-index: 1;
}

.service-cta-section .service-cta-btn {
  position: relative;
  z-index: 1;
  background: white;
  color: var(--brand-red);
}

.service-cta-section .service-cta-btn:hover {
  background: #fbbf24;
  color: #1a1a2e;
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
}

/* ===== ANIMATED BACKGROUND SHAPES - MORE BLUE ===== */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.bg-shape-1 {
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.12), rgba(22, 33, 62, 0.08));
  animation: float 15s ease-in-out infinite;
}

.bg-shape-2 {
  bottom: 20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.15), rgba(30, 60, 120, 0.1));
  animation: float 20s ease-in-out infinite reverse;
}

.bg-shape-3 {
  top: 50%;
  right: 20%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(46, 90, 172, 0.08), transparent);
  animation: float 12s ease-in-out infinite;
}

.bg-shape-4 {
  top: 30%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.1), rgba(46, 90, 172, 0.05));
  animation: float 18s ease-in-out infinite;
}

.bg-shape-5 {
  bottom: 40%;
  right: -8%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(30, 60, 120, 0.12), transparent);
  animation: float 16s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(5deg);
  }
  50% {
    transform: translate(-15px, 20px) rotate(-5deg);
  }
  75% {
    transform: translate(25px, 15px) rotate(3deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BACK TO SERVICES LINK ===== */
.back-to-services {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-to-services:hover {
  color: var(--brand-red);
  gap: 12px;
}

.back-to-services svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.back-to-services:hover svg {
  transform: translateX(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .service-hero {
    min-height: 400px;
  }

  .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-hero p {
    font-size: 1.1rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-details-image {
    order: -1;
  }

  .service-intro h2 {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .service-hero {
    min-height: 350px;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .service-hero p {
    font-size: 1rem;
  }

  .service-content {
    padding: 50px 0;
  }

  .service-card {
    padding: 25px;
  }

  .service-cta-section h2 {
    font-size: 1.8rem;
  }

  .service-cta-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* ===== FOOTER STYLING ===== */
.u-footer {
  background: var(--brand-footer) !important;
}

.u-footer h2,
.u-footer h3 {
  color: var(--brand-white);
}

.u-footer p,
.u-footer a {
  color: #cccccc;
}

.u-footer .u-btn-1 {
  background: var(--brand-red);
  color: var(--brand-white);
  border: 2px solid var(--brand-red);
  transition: all 0.3s ease;
}

.u-footer .u-btn-1:hover {
  background: transparent;
  color: var(--brand-red);
  border-color: var(--brand-red);
}

/* Section 12 - Contact section styling */
.u-section-12 {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0;
}

.u-section-12 h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 25px;
}

.u-section-12 .u-form {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.u-section-12 .u-btn-1 {
  background: linear-gradient(135deg, var(--brand-blue), #1e3c78) !important;
  border: none !important;
  padding: 14px 35px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.u-section-12 .u-btn-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 90, 172, 0.3);
}

.u-section-12 .u-image-1 {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 569px;
  height: auto;
  min-height: 400px;
  object-fit: cover;
}

.u-section-12 .u-layout-cell-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.u-section-12 .u-container-layout-2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .u-section-12 .u-image-1 {
    max-width: 100%;
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  .u-section-12 .u-image-1 {
    min-height: 250px;
  }
}
