/* ================================================= */
/* SERVICES PAGE TYPOGRAPHY */
/* ================================================= */

body{
font-family:'Poppins',sans-serif;
}

h1,h2,h3{
font-family:'Playfair Display',serif;
}


/* ========================= */
/* HERO ELITE CTA BUTTON */
/* ========================= */

.cta-button {
    display: inline-block;
    cursor: pointer;
    margin-top: 30px;
    padding: 20px 75px;
    border-radius: 60px;
    background: #ffffff;
    color: #2E5E99;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.16,1,.3,1),
                box-shadow .4s cubic-bezier(.16,1,.3,1);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.45),
        0 10px 25px rgba(0,0,0,0.2);
}


.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
    transition: left .7s ease;
}

.cta-button:hover::before {
    left: 120%;
}


.cta-button:hover {
  transform: translateY(-6px);
  box-shadow:
    0 45px 120px rgba(0,0,0,0.55),
    0 15px 40px rgba(0,0,0,0.25);
}


/* ================================================= */
/* SERVICES HERO (BLUE) */
/* ================================================= */

.services-hero{
position:relative;
padding:180px 100px 120px;
text-align:center;
background:linear-gradient(135deg,#2E5E99,#1f4a80);
color:white;
}

.services-hero h1{
font-size:58px;
margin-bottom:18px;
color:white;
}

.services-hero p{
max-width:650px;
margin:auto;
font-size:18px;
line-height:1.7;
color:rgba(255,255,255,0.9);
}


/* ================================================= */
/* SERVICES GRID */
/* ================================================= */

.services-grid{
padding:140px 40px;
text-align:center;
background:white;
}

.services-container{
margin-top:70px;
display:grid;
gap:45px;
margin-left:auto;
margin-right:auto;
}

.services-container {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1400px; 
  margin-left: auto;
  margin-right: auto;
}

/* ================================================= */
/* SERVICE CARDS */
/* ================================================= */

.service-card{
background:#f8f9fb;
border-radius:24px;
overflow:hidden;
border:1px solid #e5e7eb;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:all .35s ease;
display:flex;
flex-direction:column;
height: 100%;
}

.service-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 45px rgba(0,0,0,0.12);
}

/* FEATURES LIST */
.service-features {
  margin-top: 15px;
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.service-features li {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

/* BUTTON */
.service-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 22px;
  border-radius: 60px;
  background: #2E5E99;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1),
              box-shadow .4s cubic-bezier(.16,1,.3,1);
}

.service-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.7),
    transparent
  );
  transition: left .7s ease;
}

.service-btn:hover::before {
  left: 120%;
}

.service-btn:hover {
  transform: translateY(-6px);
  box-shadow:
    0 45px 120px rgba(0,0,0,0.55),
    0 15px 40px rgba(0,0,0,0.25);
}

/* ================================================= */
/* SERVICE IMAGE */
/* ================================================= */

.service-image{
position:relative;
height:240px;
overflow:hidden;
}

.service-image img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}


/* ================================================= */
/* ICON BADGE */
/* ================================================= */

.service-icon{
position:absolute;
top:14px;
left:14px;
width:38px;
height:38px;
background:#2E5E99;
border-radius:10px;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 4px 10px rgba(0,0,0,0.12);
}


.service-icon svg{
width:18px;
height:18px;
stroke:white;
}

/* ================================================= */
/* SERVICE CONTENT */
/* ================================================= */

.service-content{
display: flex;
flex-direction: column;
flex-grow: 1;
padding:30px;
text-align:left;
}

.service-content h3{
  font-size:22px;
  font-weight:600;
  color:#2E5E99;
  margin-bottom:12px;
}

.service-content p{
font-size:16px;
line-height:1.7;
color:#6b7280;
}


/* ================================================= */
/* PROTECTION SECTION (BLUE) */
/* ================================================= */

.protection-section{
padding:170px 100px;
text-align:center;
background:linear-gradient(135deg,#2E5E99,#1f4a80);
color:white;
}

.protection-section h2{
font-size:46px;
margin-bottom:18px;
color:white;
}

.protection-intro{
max-width:650px;
margin:auto;
margin-bottom:80px;
font-size:18px;
line-height:1.7;
color:rgba(255,255,255,0.85);
}


/* ================================================= */
/* PROTECTION GRID */
/* ================================================= */

.protection-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
max-width:1000px;
margin:auto;
}


/* ================================================= */
/* PROTECTION CARDS */
/* ================================================= */

.protection-card{
background:white;
padding:60px 35px;
border-radius:26px;
border:1px solid rgba(0,0,0,0.05);
box-shadow:0 15px 40px rgba(0,0,0,0.15);
transition:.35s;
}

.protection-card:hover{
transform:translateY(-8px);
box-shadow:0 35px 90px rgba(0,0,0,0.25);
}

.protection-card h3{
font-size:40px;
color:#2E5E99;
margin-bottom:10px;
}

.protection-title{
font-size:15px;
color:#555;
}


/* ========================= */
/* CERTIFICATE MODAL */
/* ========================= */

.certificate-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  pointer-events:none;
  transition:.3s ease;
  z-index:2000;
}

.certificate-modal.active{
  opacity:1;
  pointer-events:auto;
}

.protection-section{
  text-align:center;
}

.certificate-content{
  width:90%;
  max-width:780px;
  min-height:460px;
  position: relative;
  background: linear-gradient(145deg, #f9fafb, #e5e7eb);
  padding:45px 50px;
  border-radius:16px;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.6);
  animation:scaleIn .35s cubic-bezier(.16,1,.3,1);
}

.certificate-content::before{
  content:"";
  position:absolute;
  top:-100px;
  right:-100px;
  width:300px;
  height:300px;
  background:radial-gradient(circle, rgba(46,94,153,0.15), transparent 70%);
  pointer-events:none;
}

.certificate-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px 40px;
}

.certificate-header{
  display:flex;
  justify-content:flex-start; 
  align-items:center;
  margin-bottom:25px;
}

.certificate-header h2{
  font-size:20px;
  font-weight:600;
  letter-spacing:-0.2px;
  color:#111827;
}

.certificate-grid p:not(.label){
  font-size:15px;
  font-weight:500;
  color:#111;
}

.label{
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#9ca3af;
}

/* BUTTON */

.certificate-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 70px;
}


.close-modal{
  position:absolute;
  top:18px;
  right:18px;
  font-size:18px;
  font-weight:500;
  color:#9ca3af; 
  background:none;
  border:none;
  cursor:pointer;
  transition:.2s;
}

.close-modal:hover{
  color:#111; 
}


.certificate-grid p{
  font-size:13px;
  font-weight:500;
  color:#111;
}

.label{
  font-size:11px;
  letter-spacing:0.5px;
  text-transform:none; 
  color:#6b7280;
}


.certificate-note{
  margin-top:50px;
  padding-top:15px;
  border-top:1px solid #e5e7eb;
  font-size:12px;
  color:#6b7280;
}


@keyframes scaleIn{
  from{
    transform:scale(0.92);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

/* ================================================= */
/* FINAL CTA */
/* ================================================= */

.services-cta{
padding:150px 100px;
text-align:center;
background:white;
}

.services-cta h2{
font-size:46px;
margin-bottom:18px;
color:#2E5E99;
}

.services-cta p{
max-width:650px;
margin:auto;
margin-bottom:35px;
color:#555;
font-size:17px;
}


/* ================================================= */
/* CTA BUTTON */
/* ================================================= */

.cta-actions{
margin-top:35px;
display:flex;
justify-content:center;
}

.cta-button--blue {
  background: #2E5E99;
  color: white;
}

.cta-button--blue:hover {
  background: #1f4a80;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
    position: relative;
    background: linear-gradient(
        135deg,
        #1f4a80 0%,
        #2E5E99 50%,
        #173a63 100%
    );
    color: white;
    padding: 140px 120px 60px;
    overflow: hidden;
}


.footer::before {
    content: "";
    position: absolute;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 500px;

    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.1) 40%,
        transparent 75%
    );

    pointer-events: none;
    z-index: 0;
}

/* ========================= */
/* LAYOUT */
/* ========================= */

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 120px;

    max-width: 1400px;
    margin: auto;
    position: relative;
    z-index: 2;
}


.footer h4 {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}


.footer p,
.footer a {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 2;
    text-decoration: none;
    transition: all .3s ease;
}

.footer a:hover {
    color: white;
    transform: translateX(4px);
}

/* ========================= */
/* CONTACT */
/* ========================= */

.footer-contact {
    display: flex;
    gap: 80px;
}

.contact-group {
    min-width: 200px;
}

/* ========================= */
/* NAV + SOCIAL */
/* ========================= */

.footer-nav,
.footer-social {
    min-width: 150px;
}

/* ========================= */
/* BOTTOM */
/* ========================= */

.footer-bottom {
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);

    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-left p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-right a {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.footer-right a:hover {
    color: white;
}


