/* ================= ROOT ================= */
:root{
  --brand: #2F4DBA;
  --brand-2: #1F3A8A;
  --accent: #F2994A;
  --bg: #FFFFFF;
  --section-bg: #F7F8FC;
  --card: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --button-bg: #3F455A;
  --border: #cbcdcf;
  --cta-dark: #1C1C1C;
  --cta-text: #FFFFFF;
  --glass: rgba(47,77,186,0.08);
  --line: #000;
  --radius: 10px;
  --font-sans: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
  font-family: var(--font-sans);
  background: var(--bg);
  padding-top: 80px !important;
  color: var(--text);
}


/* ================= SECTION ================= */
.service-section {
    padding: 60px 0;
}

/* ================= CONTAINER ================= */
.service-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HERO ================= */
.service-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

/* LEFT CONTENT */
.service-content {
    flex: 1;
    max-width: 800px;
}

.service-tag {
    font-size: 24px;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 10px;
}

.service-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.2;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ================= BUTTON ================= */
.service-btn {
    display: inline-block;
    background-color: var(--button-bg);
    color: var(--cta-text);
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.service-btn:hover {
    background-color: var(--cta-dark);
}

/* ================= IMAGE ================= */
.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    width: 100%;
    max-width: 1200px;
}

/* ================= BOTTOM ================= */
.service-sub {
    display: flex;
    gap: 180px;
    margin-top: 80px;
}

/* LEFT TEXT */
.service-left {
    flex: 1;
    max-width: 500px;
}

.service-left p {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--text);
}

.service-subtext {
    margin-top: 10px;
    display: block; 
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text);
    text-align: justify;
}

/* RIGHT */
.service-right {
    flex: 1;
    max-width: 480px;
}

.service-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;  
    margin-bottom: 25px;
}

.service-dot {
    width: 18px;
    height: 18px;
    background-color: #e5e7eb; /* light grey */
    border-radius: 50%;
    position: relative;
    margin-top: 4px;
    flex-shrink: 0;
}

/* INNER DOT */
.service-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--button-bg); /* dark center */
    border-radius: 50%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-heading{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text);
}

.service-point p {
    font-size: 16px;
    text-align: justify;
    color: var(--text);
    line-height: 1.7;
}

.service-bottom {
    margin-top: 40px;
}

.service-bottom p{
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
}


.why-section {
  background: var(--bg);
  padding: 40px 0;
  font-family: var(--font-sans);
}

.why-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* TITLE */
.why-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 60px;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* ITEM */
.why-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.why-item p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  text-align: justify;
}


.cta-section {
  background: var(--bg);
  padding: 30px 0 70px;
  font-family: var(--font-sans);
}

.cta-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* SMALL TEXT */
.cta-eyebrow {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* MAIN TITLE */
.cta-title {
  max-width: 850px;
  font-size: 40px;

  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
}


.word{
  position:relative;
  display:inline-block;
  cursor:pointer;
}

.word a{
  text-decoration:none;
  color:inherit;
}



.hero-line{
  position:absolute;
  left:5px;
  top: 55px;
  width:95%;
  height:14px;
}


/* waves draw logic */
.wave{
  stroke-dasharray:var(--len);
  stroke-dashoffset:0;
}

.u-line{
  fill:none;
  stroke:#696868;
  stroke-width:2;
}

/* hover → LTR */
.word.is-hover .wave{
  stroke:url(#rgb-gradient);
  animation:wave-ltr 3.2s ease forwards;
}

/* leave → RTL */
.word.is-leave .wave{
  stroke:url(#rgb-gradient);
  animation:wave-rtl 3.2s ease forwards;
}

/* reset */
.word.is-reset .wave{
  stroke:#696868;
  animation:none;
}


/* ================= KEYFRAMES ================= */

@keyframes wave-ltr{
  from{stroke-dashoffset:var(--len)}
  to{stroke-dashoffset:0}
}

@keyframes wave-rtl{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:var(--len)}
}



/* ================= LARGE DESKTOP ================= */
@media (min-width: 1025px) and (max-width: 1366px) {

    .service-title {
        font-size: 42px;
    }

    .service-sub {
        gap: 60px;
    }

    .service-bottom p {
        font-size: 26px;
    }

    .why-grid {
        gap: 40px;
    }

    .why-title {
        font-size: 38px;
    }

    .why-item h3 {
        font-size: 21px;
    }

    .why-item p {
        font-size: 15px;
    }
    }


/* ================= LAPTOP ================= */
@media (min-width: 769px) and (max-width: 1024px) {

    .service-title {
        font-size: 36px;
    }

    .service-desc {
        font-size: 16px;
    }

    .service-hero {
        gap: 40px;
    }

    .service-sub{
        gap: 40px;
    }

    .service-left p {
         font-size: 26px;
    }

    .service-point p{
        font-size: 15px;
    }

    .service-bottom p {
        font-size: 22px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .why-title {
        font-size: 34px;
    }

    .why-item:last-child {
        grid-column: span 3;
        }

    .why-item h3 {
        font-size: 20px;
    }

    .why-item p {
        font-size: 15px;
    }

    .service-subtext {
        font-size: 16px;
    }

    .service-subtext {
        font-size: 15px;
    }
    
    .cta-section{
        padding-top: 10px;
    }

   .cta-title {
    font-size: 34px;
   }

    .hero-line {
        top: 45px;
    }
}


/* ================= TABLET ================= */
@media (min-width: 601px) and (max-width: 768px) {

    .service-hero {
        flex-direction: column;
    }

    .service-sub {
        flex-direction: column;
        gap: 40px;
    }

    .service-title {
        font-size: 32px;
    }

    .service-left p {
        font-size: 20px;
    }

    .service-left{
        max-width: fit-content;
    }

    .service-right{
        max-width: fit-content;
    }

    .service-point p {
        font-size: 15px;
    }

    .service-bottom p {
        font-size: 21px;
    }


    .why-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .why-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .why-item h3 {
        font-size: 20px;
    }

    .why-item p {
        font-size: 15px;
    }

    .service-subtext{
       font-size: 15.5px;
    }

    .cta-section {
        padding-top: 10px;
    }

    .cta-title {
        font-size: 26px;
    }

    .hero-line{
      top: 35px;
    }

}


/* ================= LARGE MOBILE ================= */
@media (min-width: 481px) and (max-width: 600px) {

    .service-hero {
        flex-direction: column;
    }

    .service-sub {
        flex-direction: column;
        gap: 30px;
    }

    .service-title {
        font-size: 28px;
    }

    .service-desc {
        font-size: 15px;
    }

    .service-point p {
        font-size: 15px;
    }
    .service-left p {
        font-size: 18px;
    }

    .service-bottom p {
        font-size: 20px;
    }

    .why-container{
        padding: 0;
    }

    .why-section {
        padding: 50px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .why-item h3 {
        font-size: 19px;
    }

    .why-item p {
        font-size: 14px;
    }

    .service-subtext{
       font-size: 14.5px;
    }
    
    .cta-section{
        padding-top: 0px;
    }

    .cta-title {
        font-size: 26px;
        line-height: 1.8;
    }

    .hero-line {
        top: 38px;
    }
}


/* ================= MOBILE ================= */
@media (max-width: 480px) {

    .service-section {
        padding: 40px 0;
    }

    .service-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .service-desc {
        font-size: 14px;
    }

    .service-sub {
        flex-direction: column;
        gap: 25px;
        margin-top: 50px;
    }

    .service-left p {
        font-size: 17px;
    }

    .service-subtext{
       font-size: 14px;
    }

    .service-point p {
        font-size: 14px;
    }

    .service-bottom p {
        font-size: 18px;
    }


    .cta-section{
        padding-top: 0px;   
    }

    .cta-title {
        font-size: 25px;
        line-height: 1.8;
    }

    .why-container{
        padding: 0;
    }

    .why-section {
        padding: 40px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-title {
        font-size: 26px;
        margin-bottom: 25px;
        text-align: left;
    }

    .why-item h3 {
        font-size: 18px;
    }

    .why-item p {
        font-size: 14px;
    }

    .hero-line {
        top: 40px;
    }
}