/* ===============================
   GLOBAL SMOOTH UI
================================*/

*,
*::before,
*::after {
    box-sizing: border-box;
    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1);
}

html {
    scroll-behavior: smooth;
}

section {
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
        radial-gradient(circle at 20% 20%,
            rgba(59,130,246,0.08),
            transparent 40%),
        radial-gradient(circle at 80% 80%,
            rgba(96,165,250,0.08),
            transparent 40%);
}

body.dark::before {
    background:
        radial-gradient(circle at 20% 20%,
            rgba(212,175,55,0.12),
            transparent 45%),
        radial-gradient(circle at 80% 80%,
            rgba(255,255,255,0.05),
            transparent 45%);
}

:root {

  /* BRAND */
  --logo-primary: #3B82F6;
  --logo-secondary: #60A5FA;
  --accent-color: #3B82F6;

  /* BACKGROUND */
  --bg-color: #f4f7fb;
  --section-bg: #edf2f7;
  --card-bg: #ffffff;

  /* TEXT */
  --text-color: #1e293b;

  /* BORDER */
  --border-color: #e2e8f0;

  /* HEADER */
  --header-bg: rgba(10,31,68,0.95);
  --nav-text: #ffffff;

  /* INPUT */
  --input-bg: #ffffff;
  --input-border: #cbd5e1;

  /* EFFECTS */
  --glass-bg: rgba(255,255,255,0.6);
  --gradient-light: linear-gradient(to bottom,#ffffff,#e9eef5);

  /* CTA */
  --cta-bg: #0a1f44;

  /* FOOTER */
  --footer-bg: #f8fafc;
  --footer-text: #1e293b;
  --footer-subtext: #475569;
  --footer-border: rgba(0,0,0,0.08);
  --footer-icon-bg: rgba(0,0,0,0.05);
}

body.dark {

  --logo-primary: #D4AF37;
  --logo-secondary: #ffffff;
  --accent-color: #D4AF37;

  --bg-color: #0f172a;
  --section-bg: #020617;
  --card-bg: #1e293b;
  --text-color: #e5e7eb;
  --border-color: #334155;

  --header-bg: rgba(5,15,35,0.95);
  --nav-text: #ffffff;

  --glass-bg: rgba(30,41,59,0.6);
  --gradient-light: linear-gradient(to bottom,#0f172a,#020617);

  --input-bg: #1e293b;
  --input-border: #334155;

  --cta-bg: #0f172a;

  --footer-bg: #0f172a;
  --footer-text: #ffffff;
  --footer-subtext: #cbd5e1;
  --footer-border: rgba(255,255,255,0.1);
  --footer-icon-bg: rgba(255,255,255,0.08);
}

/* =========================
   Background Image Layer
========================= */

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url('../../assets/images/services-hero.jpg')
              center center / cover no-repeat;

  animation: heroZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
  z-index: 0;
}

/* =========================
   Services Hero
========================= */

.services-hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}




/* =========================
   Dark Overlay
========================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
        circle at center,
        rgba(10,31,68,0.55),
        rgba(10,31,68,0.85)
    );

  z-index: 1;
}

/* =========================
   Content Layer
========================= */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 20px;
  animation: heroFadeUp 1.2s ease forwards;
  opacity: 0;
}
/* ===============================
   GLOBAL CARD SYSTEM
================================*/

.card,
.portal-card,
.why-card,
.service-card,
.contact-card {

    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* hover */
.card:hover,
.portal-card:hover,
.why-card:hover,
.service-card:hover {
    transform: translateY(-10px);
}

/* premium shine */
.card::after,
.portal-card::after,
.why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    opacity: 0;
}

.card:hover::after,
.portal-card:hover::after,
.why-card:hover::after {
    opacity: .35;
}

body.dark .card,
body.dark .portal-card,
body.dark .why-card {
    box-shadow: 0 15px 45px rgba(0,0,0,.6);
}
/* =========================
   Typography
========================= */

.services-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.services-hero h1 span {
  color: var(--accent-color);
}

.services-hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* =========================
   Buttons
========================= */

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

.hero-buttons a {
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Primary */
.btn-primary {
  background: var(--accent-color);
  color: #fff;
}

/* Secondary */
.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

/* Hover Effects */
.hero-buttons a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}
/* =========================
   Background Zoom Animation
========================= */

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
/* Animation Keyframe */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   GOV PORTALS SECTION
========================= */

.gov-portals {
    padding: 90px 0;
    background: var(--section-bg);
    text-align: center;
    transition: 0.4s ease;
}

/* Titles */
.gov-portals .section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.gov-portals .section-subtitle {
    max-width: 720px;
    margin: auto;
    margin-bottom: 55px;
    color: var(--footer-subtext);
}

/* GRID */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 28px;
}


/* =========================
   PORTAL CARD
========================= */

.portal-card {
    position: relative;
    padding: 35px 25px;
    border-radius: 14px;

    background: var(--card-bg);
    border: 1px solid var(--border-color);

    text-decoration: none;
    color: var(--text-color);

    transition: all 0.45s ease;
    overflow: hidden;
    animation: floatCard 6s ease-in-out infinite;
}

/* Glass Shine Effect */
.portal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    opacity: 0;
    transition: 0.5s;
}

/* Logo */
.portal-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 18px;
    transition: 0.4s;
}

/* Title */
.portal-card h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

/* URL */
.portal-card span {
    font-size: 14px;
    color: var(--accent-color);
}

/* =========================
   HOVER EFFECT 🔥
========================= */

.portal-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);
}

.portal-card:hover::before {
    opacity: 1;
}

.portal-card:hover img {
    transform: scale(1.1) rotate(3deg);
}

@keyframes floatCard {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}
/* =========================
   DARK MODE ENHANCEMENT
========================= */

body.dark .portal-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

body.dark .portal-card::before {
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
}

/* =========================
   FLOAT ANIMATION
========================= */

.portal-card {
    animation: floatCard 6s ease-in-out infinite;
}

.portal-card:nth-child(2) { animation-delay: .5s; }
.portal-card:nth-child(3) { animation-delay: 1s; }
.portal-card:nth-child(4) { animation-delay: 1.5s; }
.portal-card:nth-child(5) { animation-delay: 2s; }
.portal-card:nth-child(6) { animation-delay: 2.5s; }

@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===============================
   WHY CHOOSE US
================================*/

.why-choose {
    padding: 100px 0;
    background: var(--section-bg);
    color: var(--text-color);
    transition: 0.4s ease;
}

/* TITLE */

.why-choose .section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 15px auto 50px;
    opacity: 0.8;
}

/* GRID */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

/* CARD */

.why-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 16px;

    background: var(--glass-bg);
    border: 1px solid var(--border-color);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition: all 0.4s ease;
    overflow: hidden;
}

/* PREMIUM TOP GLOW LINE */

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        90deg,
        var(--logo-primary),
        var(--logo-secondary)
    );
}

/* NUMBER STYLE */

.why-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.25;
    margin-bottom: 10px;
}

/* HOVER EFFECT */

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.08);
}

/* DARK MODE EXTRA DEPTH */

body.dark .why-card:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6);
}

/* TEXT */

.why-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.why-card p {
    opacity: 0.85;
    line-height: 1.6;
}

/* ===============================
   HIGHLIGHT CTA BOX
================================*/

.why-highlight {
    margin-top: 70px;
    padding: 50px;
    text-align: center;
    border-radius: 18px;

    background: var(--gradient-light);
    border: 1px solid var(--border-color);

    transition: 0.4s;
}

.why-highlight h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

/* CTA BUTTON */

.why-highlight .btn-cta {
    margin-top: 20px;
    display: inline-block;
}

/* ==================================
   HOW WE WORK - FLOW DESIGN
==================================*/

.process{
    padding:120px 20px;
    background:
        radial-gradient(circle at top right,
        rgba(59,130,246,.08),
        transparent 60%),
        var(--section-bg);
}

.section-title{
    text-align:center;
    font-size:40px;
    margin-bottom:90px;
}

/* FLOW AREA */
.process-flow{
    max-width:900px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:80px;
    position:relative;
}

/* FLOW LINE */
.process-flow::before{
    content:"";
    position:absolute;
    width:6px;
    height:100%;
    left:50%;
    transform:translateX(-50%);
    background:linear-gradient(
        to bottom,
        transparent,
        var(--logo-primary),
        transparent
    );
    opacity:.25;
}

/* ======================
   CARD BASE
======================*/

.process-card{
    width:420px;
    background:var(--card-bg);
    padding:32px;
    border-radius:18px;
    display:flex;
    gap:22px;
    align-items:flex-start;
    border:1px solid rgba(0,0,0,.05);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    position:relative;
    transition:.45s ease;
}

/* RIGHT START */
.process-card.right{
    margin-left:auto;
}

/* CENTER DOWN */
.process-card.down{
    margin:auto;
}

/* LEFT MOVE */
.process-card.left{
    margin-right:auto;
}

/* CONNECT POINT */
.process-card::after{
    content:"";
    position:absolute;
    top:35px;
    width:18px;
    height:18px;
    background:var(--logo-primary);
    border-radius:50%;
    box-shadow:0 0 0 6px rgba(59,130,246,.15);
}

/* POSITIONS */
.right::after{
    left:-55px;
}

.left::after{
    right:-55px;
}

.down::after{
    left:50%;
    transform:translateX(-50%);
    top:-45px;
}

/* ICON */
.process-icon{
    width:60px;
    height:60px;
    background:linear-gradient(
        135deg,
        var(--logo-primary),
        var(--logo-secondary)
    );
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    font-size:22px;
    box-shadow:0 10px 25px rgba(59,130,246,.35);
    transition:.4s;
}

.process-card:hover .process-icon{
    transform:rotate(6deg) scale(1.1);
}

/* TEXT */
.process-card h3{
    margin-bottom:8px;
    font-size:21px;
    font-weight:600;
}

.process-card p{
    opacity:.75;
    line-height:1.7;
}

/* FLOW FEEL HOVER */
.process-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

/* FINAL RESULT */
.process-result{
    margin:auto;
    width:500px;
    text-align:center;
    padding:50px;
    border-radius:20px;
    background:linear-gradient(
        135deg,
        var(--logo-primary),
        var(--logo-secondary)
    );
    color:#fff;
    box-shadow: 0 30px 80px rgba(59,130,246,.45);
    transform:translateY(10px);
}

/* MOBILE */
@media(max-width:768px){

.process-flow::before{
    left:20px;
}

.process-card,
.right,
.left,
.down{
    margin-left:40px !important;
    width:100%;
}

.process-card::after{
    left:-30px !important;
}

.process-result{
    width:100%;
}

}
/* =====================================
        ULTRA PREMIUM CTA
===================================== */

.cta{
    position:relative;
    padding:140px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:var(--gradient-light);
}

/* ===== Animated Background Aura ===== */

.cta::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    background:radial-gradient(
        circle,
        var(--logo-primary),
        transparent 65%
    );
    opacity:.18;
    top:-250px;
    left:-200px;
    filter:blur(140px);
    animation:floatGlow 10s ease-in-out infinite;
}

.cta::after{
    content:"";
    position:absolute;
    width:650px;
    height:650px;
    background:radial-gradient(
        circle,
        var(--logo-secondary),
        transparent 65%
    );
    opacity:.15;
    bottom:-250px;
    right:-200px;
    filter:blur(140px);
    animation:floatGlow 12s ease-in-out infinite reverse;
}

@keyframes floatGlow{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(40px);}
}


/* =====================================
        CTA GLASS CARD
===================================== */

.cta-box{
    position:relative;
    max-width:820px;
    text-align:center;
    padding:70px 60px;
    border-radius:24px;

    background:var(--glass-bg);
    backdrop-filter:blur(22px);

    border:1px solid var(--border-color);

    box-shadow:
        0 25px 80px rgba(0,0,0,.12),
        inset 0 0 40px rgba(255,255,255,.15);

    transition:.5s ease;
}

/* Premium Hover Lift */
.cta-box:hover{
    transform:translateY(-12px) scale(1.01);
    box-shadow:
        0 45px 120px rgba(0,0,0,.2);
}

/* Shine Border Effect */
.cta-box::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:24px;
    padding:1px;
    background:linear-gradient(
        120deg,
        transparent,
        var(--logo-primary),
        transparent
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity:.6;
}

/* =====================================
        TEXT STYLE
===================================== */

.cta-box h2{
    font-size:44px;
    font-weight:800;
    color:var(--text-color);
    margin-bottom:20px;
    letter-spacing:.5px;
}

.cta-box p{
    font-size:18px;
    line-height:1.8;
    color:var(--text-color);
    opacity:.85;
    margin-bottom:45px;
}


/* =====================================
        SUPER CTA BUTTON
===================================== */

.cta-btn{
    position:relative;
    display:inline-block;
    padding:18px 48px;
    border-radius:60px;
    font-weight:700;
    text-decoration:none;
    overflow:hidden;

    color:#fff;

    background:linear-gradient(
        135deg,
        var(--logo-primary),
        var(--logo-secondary)
    );

    box-shadow:
        0 20px 45px rgba(0,0,0,.25);

    transition:.4s ease;
}

/* Moving Shine Effect */
.cta-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.6),
        transparent
    );
    transform:skewX(-25deg);
}

.cta-btn:hover::before{
    animation:shine .9s forwards;
}

@keyframes shine{
    100%{
        left:130%;
    }
}

/* Button Hover */
.cta-btn:hover{
    transform:translateY(-6px) scale(1.07);
    box-shadow:
        0 35px 80px rgba(0,0,0,.35);
}


/* =====================================
        DARK MODE LUXURY EFFECT
===================================== */

body.dark .cta-box{
    box-shadow:
        0 40px 120px rgba(0,0,0,.7),
        inset 0 0 60px rgba(212,175,55,.08);
}

body.dark .cta-btn{
    color:#000;
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 992px) {

    .process-wrapper {
        grid-template-columns: repeat(2,1fr);
    }

    .process-wrapper::before {
        display: none;
    }
}

@media (max-width: 576px) {

    .process-wrapper {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .services-hero {
    height: 60vh;
  }

  .services-hero p {
    font-size: 16px;
  }

}
