/* Services Page Background */
.services {
    background: linear-gradient(180deg, #ffffff 0%, #fff9e6 50%, #fff4b3 100%);
    min-height: 100vh;
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #6c7b7f, #5a6c75);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.services-hero-content {
    text-align: center;
    padding: 80px 40px;
    width: 100%;
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.services-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.services .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px}
.services .card{background:#fff;border:1px solid #e7eef7;border-radius:18px;padding:16px;box-shadow:0 10px 26px rgba(11,37,69,.08);text-align:center;display:flex;flex-direction:column;align-items:center;transition:transform .2s ease, box-shadow .2s ease}
.services .card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(11,37,69,.14)}
.services .card .badge{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;margin-bottom:10px;border:1px solid rgba(11,37,69,.08);box-shadow:0 6px 0 rgba(11,37,69,.18), 0 10px 24px rgba(11,37,69,.12);position:relative;overflow:hidden}
.services .card .badge::after{content:"";position:absolute;inset:0;border-radius:14px;box-shadow:inset 0 10px 18px rgba(255,255,255,.55), inset 0 -10px 18px rgba(0,0,0,.06);pointer-events:none}
.services .card .badge.blue{background:linear-gradient(180deg,#f3f8ff,#e3efff);color:#0B2545}
.services .card .badge.green{background:linear-gradient(180deg,#effcf4,#dcf6e7);color:#0B2545}
.services .card .badge.purple{background:linear-gradient(180deg,#f7f2ff,#efe6ff);color:#0B2545}
.services .card .badge.sand{background:linear-gradient(180deg,#fff8ee,#ffefdc);color:#0B2545}
.services .card .badge.orange{background:linear-gradient(180deg,#fff4e6,#ffebd6);color:#0B2545}
.services .card h3{margin:10px 0 8px;color:#0B2545}
.services .features{list-style:none;padding:0;margin:10px 0}
.services .features li{display:flex;align-items:center;gap:8px;margin:6px 0;color:#52627a;justify-content:center}
.services .features li:before{font-family:"Font Awesome 6 Free";font-weight:900;content:"\f058";color:#FFD700}
.services .card .badge i{font-size:22px;filter:drop-shadow(0 2px 0 rgba(0,0,0,.25))}

/* Feature table (with dividers) */
.services .feat-table{width:100%;border-collapse:collapse;margin:10px 0;color:#52627a}
.services .feat-table td{padding:10px 8px;border-bottom:1px solid #e7eef7}
.services .feat-table tr:last-child td{border-bottom:0}
.services .feat-table .icon{width:26px;text-align:center;color:#FFD700}
.services .feat-table .icon i{
  font-size:18px;
  background:linear-gradient(135deg,#ff2a2a,#ffd700);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  color:transparent;
}
.services .feat-table .text{color:#0B2545;font-weight:600}
.services .card .btn{width:160px}

/* 3D buttons for services cards */
.services .card .btn{
  background:linear-gradient(135deg,#ff2a2a,#ffd700);
  color:#0B2545;
  border:1px solid #e1c200;
  box-shadow:0 3px 0 #caa800;
}
.services .card .btn:hover{filter:brightness(1.05)}
.services .card .btn:active{transform:translateY(2px);box-shadow:0 1px 0 #caa800, inset 0 2px 6px rgba(0,0,0,.12)}

/* Responsive Design */
@media (max-width: 1024px) {
    .services .cards{grid-template-columns:repeat(2,1fr)}
    
    .services-hero-content {
        padding: 60px 30px;
    }
    
    .services-hero h1 {
        font-size: 42px;
        margin: 0 0 8px 0;
    }
    
    .services-hero p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .services .cards{grid-template-columns:1fr}
    
    .services-hero {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-hero {
        margin: 8px;
        border-radius: 12px;
    }
    
    .services-hero-content {
        padding: 30px 15px;
    }
    
    .services-hero h1 {
        font-size: 28px;
        line-height: 1.2;
        margin: 0 0 5px 0;
    }
    
    .services-hero p {
        font-size: 12px;
        line-height: 1.4;
        max-width: 100%;
        white-space: nowrap;
        overflow: visible;
    }
}

@media (max-width: 375px) {
    .services-hero {
        margin: 5px;
        border-radius: 10px;
    }
    
    .services-hero-content {
        padding: 25px 12px;
    }
    
    .services-hero h1 {
        font-size: 26px;
        line-height: 1.1;
        margin: 0 0 4px 0;
    }
    
    .services-hero p {
        font-size: 11px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: visible;
    }
}

/* Additional services */
.services .add-wrap{padding:20px 0 10px;margin-top:24px}
.services .add-title{font-size:32px;text-align:center;color:#0B2545;margin:0}
.services .add-sub{color:#52627a;text-align:center;margin:6px 0 18px}
.services .add-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.services .add-card{background:#fff;border:1px solid #e7eef7;border-radius:16px;padding:16px;box-shadow:0 10px 26px rgba(11,37,69,.08);transition:transform .2s ease, box-shadow .2s ease}
.services .add-card{ text-align:center; }
.services .add-card .icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;margin:0 auto 8px;background:linear-gradient(180deg,#f3f8ff,#e3efff);color:#0B2545;border:1px solid rgba(11,37,69,.08);box-shadow:0 4px 0 rgba(11,37,69,.12)}
.services .add-card .icon i{font-size:18px}
.services .add-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(11,37,69,.14)}
.services .add-card h4{margin:0 0 6px;color:#0B2545}
.services .add-card p{margin:0;color:#52627a}
@media (max-width: 1024px){.services .add-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 768px){.services .add-grid{grid-template-columns:1fr}}

/* Bottom CTA */
.services .cta-wide{background:transparent;margin-top:20px;border-radius:0}
.services .cta-inner{text-align:center;padding:40px 0}
.services .cta-inner h2{color:#0B2545;font-size:40px;margin:0}
.services .cta-inner p{color:#0B2545;margin:8px 0 18px}
.services .cta-wide .btn{background:linear-gradient(135deg,#ff2a2a,#ffd700);color:#0B2545;border:1px solid #e1c200;box-shadow:0 3px 0 #caa800}
.services .cta-wide .btn:hover{filter:brightness(1.05)}
.services .cta-wide .btn:active{transform:translateY(2px);box-shadow:0 1px 0 #caa800, inset 0 2px 6px rgba(0,0,0,.12)}

