
/* =========================================================
   SERVICES PAGE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services-section {
    background: #f8f9fb;
    padding: 110px 0 80px !important;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    margin-bottom: 38px;
}

.section-title h2 {
    text-align: center;
    color: #111;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.section-title p {
    text-align: center;
    color: #666 !important;
    font-size: 14px !important;
    letter-spacing: .5px !important;
    text-transform: none !important;
    margin: 0 !important;
}


/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-section .row {
    display: grid !important;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px !important;

    margin: 0 !important;
}


/* =========================================================
   COLUMN
   ========================================================= */

.services-section .col-md-4 {
    width: auto !important;
    padding: 0 !important;

    display: flex !important;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    width: 100%;
    min-height: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    overflow: hidden;

    color: #111;

    text-decoration: none !important;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .055);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.service-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(2, 7, 246, .25);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, .10);
}


/* =========================================================
   CARD IMAGE
   ========================================================= */

.service-card img {
    width: 100%;

    height: 210px !important;

    object-fit: cover;

    display: block;

    transition:
        transform .45s ease;
}


.service-card:hover img {
    transform: scale(1.035);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.service-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 23px 22px 22px !important;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.service-content h4 {
    margin: 0 0 9px !important;

    color: #111 !important;

    font-size: 19px !important;

    font-weight: 700 !important;

    line-height: 1.35 !important;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.service-content p {
    margin: 0 !important;

    color: #626262 !important;

    font-size: 14px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   VIEW SERVICE
   ========================================================= */

.service-view {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: auto;

    padding-top: 19px;

    color: #0207f6;

    font-size: 13px;

    font-weight: 700;
}


.service-view i {
    font-size: 11px;

    transition:
        transform .25s ease;
}


.service-card:hover .service-view i {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width: 992px) {

    .services-section {
        padding:
            100px 20px 65px !important;
    }

    .services-section .row {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 24px !important;
    }

    .service-card img {
        height: 200px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width: 600px) {

    .services-section {
        padding:
            90px 16px 55px !important;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 13px !important;
    }

    .services-section .row {
        grid-template-columns: 1fr;

        gap: 20px !important;
    }

    .service-card img {
        height: 210px !important;
    }

    .service-content {
        padding: 20px !important;
    }

}


/* =========================================================
   HEADER
   ========================================================= */

.brand-banner {
    font-size: 20px;
    font-weight: 700;
    color: #fff;

    line-height: 1.2;

    white-space: nowrap;
}


.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-left: 0px !important;
}


.logo img {
    width: 50px;
    height: 50px;

    object-fit: contain;

}


.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 80px;

    z-index: 1000;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media(max-width:768px) {

    .brand-banner {
        font-size: 18px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

}
/* =========================================================
   D BROS MEDIA
   CONTENT WRITING - SINGLE SERVICE PAGE
   All styles are scoped to .cw-page to avoid collisions
   with the existing header and footer.
========================================================= */

.cw-page,
.cw-page *{
  box-sizing:border-box;
}

.cw-page{
  width:100%;
  overflow:hidden;
  background:#f8f9fb;
  color:#111;
  padding:115px 20px 80px;
}

.cw-container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
}

/* Back link */
.cw-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 24px;
  color:#0207f6 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none !important;
}

.cw-back:hover{
  color:#0000c8 !important;
}


/* =========================
   HERO
========================= */

.cw-hero{
  display:grid;
  grid-template-columns:48% 52%;
  min-height:475px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e4e6eb;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.cw-hero-image{
  min-height:475px;
  overflow:hidden;
}

.cw-hero-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:475px;
  object-fit:cover;
}

.cw-hero-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:50px 55px;
}

.cw-kicker,
.cw-label{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.cw-hero-content h1{
  margin:10px 0 18px;
  color:#111;
  font-size:44px;
  line-height:1.15;
  font-weight:700;
}

.cw-hero-content p{
  max-width:570px;
  margin:0;
  color:#5e6269;
  font-size:16px;
  line-height:1.8;
}

.cw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:max-content;
  margin-top:27px;
  min-height:45px;
  padding:0 21px;
  background:#0207f6;
  color:#fff !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  transition:.25s ease;
}

.cw-btn:hover{
  background:#0000c8;
  color:#fff !important;
  transform:translateY(-2px);
}


/* =========================
   INTRO
========================= */

.cw-intro{
  max-width:900px;
  margin:65px auto 55px;
  text-align:center;
}

.cw-intro h2{
  margin:9px 0 15px;
  color:#111;
  font-size:31px;
  line-height:1.3;
}

.cw-intro p{
  margin:0 auto 12px;
  color:#666;
  font-size:15px;
  line-height:1.85;
}


/* =========================
   SECTION HEADINGS
========================= */

.cw-section{
  margin-top:60px;
}

.cw-heading{
  margin-bottom:26px;
}

.cw-heading span{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.cw-heading h2{
  margin:7px 0 0;
  color:#111;
  font-size:29px;
  line-height:1.3;
}


/* =========================
   CONTENT TYPES
========================= */

.cw-content-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.cw-content-card{
  display:flex;
  gap:17px;
  min-width:0;
  padding:23px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  transition:.25s ease;
}

.cw-content-card:hover{
  transform:translateY(-3px);
  border-color:rgba(2,7,246,.3);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.cw-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef0ff;
  color:#0207f6;
  border-radius:50%;
  font-size:16px;
}

.cw-content-card h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
  line-height:1.35;
}

.cw-content-card p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}


/* =========================
   CLIENT TYPES
========================= */

.cw-focus{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.cw-focus-card{
  padding:25px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
}

.cw-focus-card h3{
  margin:0 0 8px;
  color:#111;
  font-size:16px;
}

.cw-focus-card p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}


/* =========================
   TAMIL & ENGLISH
========================= */

.cw-language{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px;
  align-items:center;
  margin-top:60px;
  padding:42px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:12px;
}

.cw-language h2{
  margin:8px 0 14px;
  color:#111;
  font-size:28px;
  line-height:1.3;
}

.cw-language p{
  margin:0 0 12px;
  color:#666;
  font-size:14px;
  line-height:1.8;
}

.cw-language-list{
  display:grid;
  gap:12px;
}

.cw-language-item{
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:15px;
  background:#f8f9fb;
  border-radius:8px;
}

.cw-language-item i{
  flex:0 0 25px;
  width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0207f6;
  border-radius:50%;
  color:#fff;
  font-size:10px;
}

.cw-language-item strong{
  display:block;
  margin-bottom:3px;
  color:#111;
  font-size:13px;
}

.cw-language-item span{
  display:block;
  color:#666;
  font-size:12px;
  line-height:1.55;
}


/* =========================
   CONTENT APPROACH
========================= */

.cw-approach{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.cw-step{
  padding:23px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
}

.cw-step-number{
  display:block;
  margin-bottom:14px;
  color:#0207f6;
  font-size:12px;
  font-weight:700;
}

.cw-step h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
}

.cw-step p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}


/* =========================
   CTA
========================= */

.cw-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-top:60px;
  padding:38px 42px;
  background:#0207f6;
  border-radius:12px;
}

.cw-cta h2{
  margin:7px 0 8px;
  color:#fff;
  font-size:27px;
  line-height:1.3;
}

.cw-cta p{
  max-width:720px;
  margin:0;
  color:#e3e4ff;
  font-size:13px;
  line-height:1.7;
}

.cw-cta-label{
  color:#d7d9ff;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.4px;
}

.cw-cta a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 20px;
  background:#fff;
  color:#0207f6 !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  white-space:nowrap;
}


/* =========================
   TABLET
========================= */

@media(max-width:1050px){

  .cw-focus{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cw-approach{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}


/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .cw-page{
    padding:100px 16px 60px;
  }

  .cw-hero{
    grid-template-columns:1fr;
  }

  .cw-hero-image,
  .cw-hero-image img{
    height:300px;
    min-height:300px;
  }

  .cw-hero-content{
    padding:35px 25px;
  }

  .cw-hero-content h1{
    font-size:34px;
  }

  .cw-content-grid,
  .cw-focus,
  .cw-approach{
    grid-template-columns:1fr;
  }

  .cw-language{
    grid-template-columns:1fr;
    gap:25px;
    padding:30px 25px;
  }

  .cw-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:30px 25px;
  }

  .cw-cta a{
    width:100%;
  }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

  .cw-page{
    padding:95px 12px 50px;
  }

  .cw-hero-image,
  .cw-hero-image img{
    height:235px;
    min-height:235px;
  }

  .cw-hero-content{
    padding:28px 20px;
  }

  .cw-hero-content h1{
    font-size:29px;
  }

  .cw-hero-content p{
    font-size:14px;
  }

  .cw-btn{
    width:100%;
  }

  .cw-intro h2{
    font-size:25px;
  }

  .cw-language{
    padding:25px 20px;
  }

}