/* =========================================================
   HOME PAGE — HERO ANIMATED (FADE-IN + CURVED BACKGROUND)
   ========================================================= */

.hero-animated {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(10, 10, 10, 0.24)),
              url("../img/agency.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;

  /* bottom curve and fade effect */
  clip-path: ellipse(130% 85% at 50% 15%);
  opacity: 0;
  animation: heroFadeIn 1.8s ease forwards 0.3s;
  background-attachment: fixed; /* parallax-like effect */
}

/* fade-in animation for background */
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- INNER ---------- */
.hero-animated .hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* ---------- LEFT SIDE ---------- */
.hero-animated .hero-left {
  flex: 1 1 500px;
  z-index: 3;
  opacity: 0;
  margin-top: -40px;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.6s;
}

.hero-animated .kicker {
  color: #38C4C9;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-animated h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 16px 0 20px;
  font-weight: 700;
}

.hero-animated p {
  font-size: 18px;
  color: #d1d1d1;
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 32px;
}

.hero-animated .cta-row {
  display: flex;
  gap: 16px;
}

.hero-animated .btn-primary,
.hero-animated .btn-ghost {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}

.hero-animated .btn-primary {
  background: #062B5A;
  color: #fff;
}

.hero-animated .btn-primary:hover {
  background: #38C4C9;
  transform: translateY(-3px);
}

.hero-animated .btn-ghost {
  border: 1.5px solid  #062B5A;
  color: #ffffffff;
}

.hero-animated .btn-ghost:hover {
  background: #38C4C9;
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- RIGHT SIDE ---------- */
/* .hero-animated .hero-right {
  position: relative;
  flex: 1 1 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  overflow: visible;
}

.hero-animated .person {
  position: relative;
  z-index: 4;
  width: 359px;
  animation: fadeInScale 1.3s ease forwards 0.8s, float 4s ease-in-out infinite 1.8s;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  opacity: 0;
  transform: scale(0.9);
}

@keyframes fadeInScale {
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
} */

/* ---------- FLOATING BUBBLES ---------- */
.hero-animated .bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  width: 230px;
  color: #fff;
  z-index: 6;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
  animation: fadeUp 1s ease forwards;
}

.hero-animated .b1 { top: 20px; right: -45px; animation-delay: 1s; }
.hero-animated .b2 { top: 159px; right: -45px; animation-delay: 1.2s; }
.hero-animated .b3 { bottom: 180px; right: -45px; animation-delay: 1.4s; }
.hero-animated .b4 { bottom: 60px; right: -45px; animation-delay: 1.6s; }

/* ---------- BADGES ---------- */
.hero-animated .badge {
  position: absolute;
  background: #9c8643;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-animated .bx1 { top: 60px; right: 320px; animation-delay: 1.8s; }
.hero-animated .bx2 { bottom: 120px; right: 360px; animation-delay: 2s; }
.hero-animated .bx3 { bottom: 260px; right: 200px; animation-delay: 2.2s; }

/* ==============================
   IT SERVICES INTRO SECTION (Modern Corporate Style)
   ============================== */
.it-services-intro {
  background-color: #f9f9f4;
  padding: 64px 8%;
  font-family: "Poppins", sans-serif;
}

.container-section {
  max-width: 1200px;
  margin: 0 auto;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;
  min-width: 320px;
}

.intro-text h2 {
  font-size: 42px;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 700;
}

.intro-text h2 span {
  color: #9c8643;
}

.intro-text p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 17px;
}

.intro-btn {
  display: inline-block;
  background-color: #9c8643;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.intro-btn:hover {
  background-color: #b59c54;
  transform: translateY(-3px);
}

/* IMAGE SIDE */
.intro-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.intro-image img {
  width: 100%;
  max-width: 450px;
  animation: floatUpDown 4s ease-in-out infinite;
}

/* ---------- FAQ SECTION ---------- */
/* ===== FAQ SECTION ===== */
/* ======================================================
   FAQ SECTION
====================================================== */

.faq-section{
    background: linear-gradient(180deg, #EDEDED, #ffffff);
    padding: 60px 8%;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

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

.faq-header{
    text-align: center;
    margin-bottom: 45px;
}

.faq-header h4{
    color: #1DA7B2;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.faq-header h2{
    font-size: 2.3rem;
    font-weight: 700;
    color: #062B5A;
    position: relative;
    display: inline-block;
}

.faq-header h2::after{
    content: "";
    display: block;
    width: 85px;
    height: 4px;
    background: linear-gradient(90deg, #062B5A, #1DA7B2);
    margin: 12px auto 0;
    border-radius: 10px;
}

/* ===== FAQ CONTAINER ===== */

.faq-container{
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ===== FAQ ITEM ===== */

.faq-item{
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(6,43,90,0.06);
    border: 1px solid #C9D4D8;
    transition: all 0.3s ease;
}

.faq-item:hover{
    box-shadow: 0 12px 28px rgba(6,43,90,0.12);
    transform: translateY(-4px);
}

/* ===== QUESTION ===== */

.faq-question{
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: #062B5A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover{
    color: #1DA7B2;
    background: rgba(29,167,178,0.06);
}

.faq-question span{
    font-size: 24px;
    color: #1DA7B2;
    transition: transform 0.3s ease;
}

/* ===== ANSWER ===== */

.faq-answer{
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: #555;
    font-size: 15.5px;
    line-height: 1.8;
    background: #ffffff;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* ===== ACTIVE STATE ===== */

.faq-item.active .faq-answer{
    max-height: 500px;
    padding: 14px 24px 22px;
}

.faq-item.active .faq-question span{
    transform: rotate(45deg);
    color: #062B5A;
}

.faq-item.active .faq-question{
    color: #1DA7B2;
    background: rgba(29,167,178,0.05);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px){

    .faq-header h2{
        font-size: 1.9rem;
    }

    .faq-question{
        font-size: 16px;
        padding: 18px 20px;
    }

    .faq-answer{
        font-size: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 600px){

    .faq-section{
        padding: 45px 5%;
    }

    .faq-header h2{
        font-size: 1.6rem;
    }

    .faq-question{
        font-size: 15px;
        padding: 16px 18px;
    }

    .faq-answer{
        font-size: 14px;
        padding: 0 18px;
    }
}


/* ---------- GLOBAL ANIMATION ---------- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .hero-animated {
    padding: 60px 5% 40px;
    text-align: center;
    background-attachment: scroll;
    clip-path: ellipse(150% 70% at 50% 10%);
  }

  .hero-animated .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: -202px;
    justify-content: center;
    gap: 40px;
  }

  .hero-animated .hero-left,
  .hero-animated .hero-right {
    flex: none;
    width: 100%;
  }

  .hero-animated .hero-left {
    order: 2;
    margin-top: 215px;
    margin-bottom: 182px;
  }

  .hero-animated .hero-right {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-animated .person {
    width: 240px;
    max-width: 85%;
    margin: 0 auto 20px;
    animation: fadeInScale 1.2s ease forwards, float 4s ease-in-out infinite;
  }

  .hero-animated .bubble {
    position: relative;
    opacity: 1;
    transform: none;
    margin: 12px auto;
    text-align: center;
    width: 90%;
  }

  .hero-animated .badge { display: none; }

  .hero-animated h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-animated p {
    font-size: 15px;
    color: #e2e2e2;
  }

  .hero-animated .cta-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-animated {
    margin-top: 60px;
    clip-path: ellipse(170% 60% at 50% 8%);
  }

  .hero-animated .person {
    width: 200px;
  }

  .hero-animated h1 {
    font-size: 26px;
  }

  .hero-animated p {
    font-size: 14px;
  }

  .hero-animated .bubble {
    width: 95%;
  }
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .intro-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 34px;
  }

  .intro-image img {
    max-width: 350px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 6%;
  }

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

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }

  .section-title-1{
    margin-top:-100px;
}
}
/* ======================================================
   SERVICES SECTION
====================================================== */

/* ===== VARIABLES ===== */

:root{
    --primary-blue: #062B5A;
    --secondary-blue: #103A68;
    --cyan: #1DA7B2;
    --light-cyan: #38C4C9;
    --light-bg: #EDEDED;
    --guide-gray: #C9D4D8;

    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #555;
}

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

.services-section{
    text-align: center;
    background: var(--light-bg);
    padding: 70px 5%;
}

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

.section-title h2{
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--cyan));
    display: block;
    margin: 12px auto 0;
    border-radius: 10px;
}

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

.card-grid{
    display: grid;

    /* EXACTLY 3 CARDS IN DESKTOP */
    grid-template-columns: repeat(3, 1fr);

    gap: 35px;
    max-width: 1300px;
    margin: auto;
}

/* ===== FEATURE CARD ===== */

.feature-card{
    width: 100%;
    background: transparent;
    transition: all 0.4s ease;
}

.feature-card:hover{
    transform: translateY(-8px);
}

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

.card-image{
    width: 100%;
    height: 200px;
    border-radius: 16px 16px 0 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.feature-card:hover .card-image{
    transform: scale(1.05);
}

/* ===== BOX ===== */

.card-box{
    background: var(--card-bg);
    border-radius: 0 0 16px 16px;
    padding: 45px 22px 28px;
    margin-top: -40px;
    box-shadow: 0 8px 24px rgba(6,43,90,0.08);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border: 1px solid var(--guide-gray);
}

.feature-card:hover .card-box{
    box-shadow: 0 14px 30px rgba(6,43,90,0.16);
}

/* ===== ICON ===== */

.icon-square{
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #062B5A, #1DA7B2);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: -78px auto 18px;
    border: 5px solid #fff;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(6,43,90,0.25);
}

.icon-square i{
    color: #ffffff;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-square{
    background: linear-gradient(135deg, #103A68, #38C4C9);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 28px rgba(29,167,178,0.35);
}

/* ===== TEXT ===== */

.card-box h3{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-box p{
    font-size: 0.96rem;
    color: var(--text-gray);

    line-height: 1.9;

    text-align: justify;
    text-justify: inter-word;

    hyphens: auto;

    margin: 0 auto;

    max-width: 95%;
}
.card-box{
    text-align: center;
}

.card-box p{
    display: block;
}
/* ======================================================
   TABLET
====================================================== */

@media (max-width: 992px){

    .services-section{
        padding: 60px 6%;
    }

    /* 2 CARDS */
    .card-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .card-image{
        height: 180px;
    }

    .section-title h2{
        font-size: 2rem;
    }
}

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

@media (max-width: 768px){

    /* 1 CARD */
    .card-grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .card-image{
        height: 170px;
    }

    .icon-square{
        width: 68px;
        height: 68px;
        font-size: 24px;
        margin: -70px auto 16px;
    }

    .card-box{
        padding: 40px 18px 24px;
    }

    .card-box h3{
        font-size: 1.1rem;
    }

    .card-box p{
        font-size: 0.9rem;
    }

    .section-title h2{
        font-size: 1.7rem;
    }
}

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

@media (max-width: 480px){

    .services-section{
        padding: 50px 5%;
    }

    .card-image{
        height: 160px;
    }

    .icon-square{
        width: 62px;
        height: 62px;
        font-size: 22px;
    }

    .card-box{
        padding: 36px 16px 22px;
    }
}


/* ======================================================
   STATS SECTION - FINAL CLEAN VERSION
====================================================== */

.stats-section{
    background: linear-gradient(180deg, #062B5A 0%, #103A68 100%);
    padding: 70px 5%;
    text-align: center;
    border-radius: 20px;
}

/* Header */
.stats-header{
    margin-bottom: 45px;
}

.stats-header h2{
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
}

.stats-header p{
    font-size: 20px;
    color: #ffffff;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
    opacity: 0.9;
}

/* Cards Container */
.stats-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Card */
.stat-card{
    background: #EDEDED;
    border-radius: 14px;
    padding: 25px 28px;
    width: 250px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* Icon Circle */
.stat-left{
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1DA7B2, #38C4C9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i{
    color: #ffffff;
    font-size: 28px;
}

/* Text Side */
.stat-right{
    text-align: left;
}

.stat-number{
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.stat-label{
    font-size: 18px;
    color: #000000;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

/* Responsive */
@media(max-width:768px){

    .stats-header h2{
        font-size: 34px;
    }

    .stats-header p{
        font-size: 16px;
    }

    .stat-card{
        width: 100%;
        max-width: 320px;
    }

    .stat-number{
        font-size: 34px;
    }

    .stat-label{
        font-size: 16px;
    }
}

/* ======================================================
   WHY CHOOSE US SECTION
====================================================== */

.it-services-hero{
    
    padding: 80px 6%;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 60px;
}

/* CONTAINER */
.why-container{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT SIDE */
.why-text{
    flex: 1;
}

.why-text h2{
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.2;
}

.why-text h2 span{
    color: #1DA7B2;
}

.why-text p{
    font-size: 17px;
    line-height: 1.9;
    color: #000000;
    margin-bottom: 18px;

    text-align: justify;
    text-justify: inter-word;

    hyphens: auto;
}
.why-text{
    text-align: left;
}

.why-text p:last-of-type{
    margin-bottom: 28px;
}
/* BUTTON */
.why-btn{
    display: inline-block;
    margin-top: 12px;
    background: linear-gradient(135deg, #062B5A, #1DA7B2);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.why-btn:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(6,43,90,0.35);
}

/* RIGHT IMAGE */
.why-image{
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BACK RECTANGLE */
.why-rect{
    position: absolute;
    width: 320px;
    height: 420px;
    background: linear-gradient(135deg, #062B5A, #1DA7B2);
    border-radius: 20px;
    right: 30px;
    top: 20px;
    z-index: 1;
    opacity: 0.25;
}

/* IMAGE */
.why-image img{
    width: 420px;
    max-width: 100%;
    border-radius: 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media(max-width:992px){

    .why-container{
        flex-direction: column;
        text-align: center;
    }

    .why-text h2{
        font-size: 36px;
    }

    .why-image img{
        width: 320px;
    }

    .why-rect{
        width: 240px;
        height: 320px;
        right: 0;
    }
}