/*=========================================================
 ADS.CSS - PART 1
 Layout + Typography
 Bootstrap Safe | SEO Friendly | Fast Loading
=========================================================*/

/* ==============================
   SERVICES SECTION
============================== */

.services-section{
position:relative;
overflow:hidden;
padding:90px 0;
background:#f8fafc;
}

/* ==============================
   SAFE CONTAINER
============================== */

.services-section .container{
position:relative;
z-index:2;
}

/* ==============================
   SECTION HEADER
============================== */

.services-section .section-header{
max-width:920px;
margin:0 auto 55px;
text-align:center;
}

/* ==============================
   SECTION HEADING
============================== */

.services-section .section-header h2{
font-size:clamp(32px,5vw,56px);
font-weight:800;
line-height:1.2;
color:#052c7d;
letter-spacing:-.5px;
margin-bottom:18px;
}

/* ==============================
   SECTION PARAGRAPH
============================== */

.services-section .section-header p{
font-size:17px;
line-height:1.9;
color:#4b5563;
text-align:justify;
text-align-last:center;
text-justify:inter-word;
margin:0;
}

/* ==============================
   SERVICES GRID
============================== */

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

/* ==============================
   REMOVE EXTRA SPACING
============================== */

.services-section h1,
.services-section h2,
.services-section h3,
.services-section h4,
.services-section h5,
.services-section h6{
margin-top:0;
}

.services-section p:last-child{
margin-bottom:0;
}
/*=========================================================
 ADS.CSS - PART 2
 Service Cards + Images + Buttons
 Bootstrap Safe | SEO Friendly | Fast Loading
=========================================================*/

/* ==============================
   SERVICE CARD
============================== */

.services-section .service-card{
height:100%;
display:flex;
flex-direction:column;
background:#ffffff;
border-radius:22px;
overflow:hidden;
border:1px solid rgba(15,23,42,.06);
box-shadow:0 12px 32px rgba(15,23,42,.08);
transition:.35s ease;
}

.services-section .service-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 40px rgba(15,23,42,.12);
}

/* ==============================
   CARD IMAGE
============================== */

.services-section .service-card img{
width:100%;
aspect-ratio:16/10;
height:auto;
display:block;
object-fit:cover;
transition:.4s ease;
}

.services-section .service-card:hover img{
transform:scale(1.05);
}

/* ==============================
   CARD CONTENT
============================== */

.services-section .card-content{
display:flex;
flex-direction:column;
flex:1;
padding:26px;
}

/* ==============================
   CARD TITLE
============================== */

.services-section .card-content h3{
font-size:26px;
font-weight:800;
line-height:1.3;
color:#052c7d;
margin-bottom:16px;
}

/* ==============================
   CARD PARAGRAPH
============================== */

.services-section .card-content p{
flex:1;
font-size:16px;
line-height:1.85;
color:#4b5563;
text-align:justify;
text-justify:inter-word;
margin-bottom:24px;
}

/* ==============================
   SERVICE BUTTON
============================== */

.services-section .service-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
align-self:flex-start;
padding:14px 30px;
border-radius:14px;
background:linear-gradient(135deg,#052c7d,#0b63ff);
color:#ffffff;
font-size:16px;
font-weight:700;
text-decoration:none;
transition:.35s ease;
box-shadow:0 14px 34px rgba(11,99,255,.18);
}

.services-section .service-btn:hover{
transform:translateY(-4px);
box-shadow:0 20px 42px rgba(11,99,255,.28);
}
/*=========================================================
 ADS.CSS - PART 3
 Tablet + Mobile Responsive
 Bootstrap Safe | SEO Friendly
=========================================================*/

/* ==============================
   TABLET
============================== */

@media(max-width:991px){

.services-section{
padding:75px 0;
}

.services-section .section-header{
margin-bottom:45px;
}

.services-section .section-header h2{
font-size:42px;
}

.services-section .section-header p{
font-size:16px;
text-align:center;
}

.services-section .services-grid{
grid-template-columns:repeat(2,1fr);
gap:24px;
}

.services-section .card-content{
padding:22px;
}

.services-section .card-content h3{
font-size:24px;
}

.services-section .card-content p{
font-size:15px;
}

}

/* ==============================
   MOBILE
============================== */

@media(max-width:768px){

.services-section{
padding:60px 15px;
}

.services-section .section-header{
margin-bottom:35px;
}

.services-section .section-header h2{
font-size:30px;
line-height:1.3;
}

.services-section .section-header p{
font-size:15px;
line-height:1.8;
text-align:left;
text-align-last:left;
}

.services-section .services-grid{
grid-template-columns:1fr;
gap:20px;
}

.services-section .service-card{
border-radius:18px;
}

.services-section .card-content{
padding:20px;
}

.services-section .card-content h3{
font-size:22px;
margin-bottom:14px;
}

.services-section .card-content p{
font-size:15px;
line-height:1.8;
text-align:left;
margin-bottom:20px;
}

.services-section .service-btn{
width:100%;
align-self:stretch;
padding:15px;
font-size:15px;
}

}

/* ==============================
   SMALL MOBILE
============================== */

@media(max-width:480px){

.services-section{
padding:50px 12px;
}

.services-section .section-header h2{
font-size:26px;
}

.services-section .section-header p{
font-size:14px;
line-height:1.75;
}

.services-section .card-content{
padding:18px;
}

.services-section .card-content h3{
font-size:20px;
}

.services-section .card-content p{
font-size:14px;
line-height:1.75;
}

.services-section .service-btn{
font-size:14px;
padding:14px;
}

}
/*=========================================================
 ADS.CSS - PART 4
 Performance + Accessibility + Conflict Fixes
 Bootstrap Safe | Core Web Vitals Ready
=========================================================*/

/* ==============================
   PERFORMANCE
============================== */

.services-section .service-card,
.services-section .card-content{
content-visibility:auto;
}

.services-section .service-card,
.services-section .service-card img{
contain:layout paint;
}

.services-section .service-card img{
will-change:transform;
}

/* ==============================
   PREVENT HORIZONTAL SCROLL
============================== */

.services-section{
max-width:100%;
overflow:hidden;
}

.services-section .services-grid{
max-width:100%;
}

.services-section .service-card img{
max-width:100%;
height:auto;
}

/* ==============================
   ACCESSIBILITY
============================== */

@media(prefers-reduced-motion:reduce){

.services-section *,
.services-section *::before,
.services-section *::after{
animation:none!important;
transition:none!important;
scroll-behavior:auto!important;
}

.services-section .service-card:hover,
.services-section .service-card:hover img,
.services-section .service-btn:hover{
transform:none!important;
}

}

/* ==============================
   PRINT
============================== */

@media print{

.services-section{
background:#ffffff;
padding:30px 0;
}

.services-section .service-card{
box-shadow:none;
border:1px solid #d1d5db;
break-inside:avoid;
}

.services-section .service-btn{
display:none;
}

}

/*
Important:
Do not use global selectors like:
*{}
body{}
img{}
.container{}
.row{}

All CSS is scoped under .services-section
to avoid Bootstrap conflict, background change and page shaking.
*/