/* =========================================================
   PENHAM CO. LTD — SERVICES PAGE (UPDATED)
   ========================================================= */

/* ---------- GLOBAL RESET ---------- */
/* =====================================
   ROOT COLORS
===================================== */

:root{
  --primary-blue:#062B5A;
  --secondary-blue:#103A68;
  --cyan:#1DA7B2;
  --light-cyan:#38C4C9;
  --light-bg:#EDEDED;
  --guide-gray:#C9D4D8;
  --white:#ffffff;
  --dark:#1a1a1a;
}

/* =====================================
   RESET
===================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--dark);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

/* =====================================
   HERO SECTION
===================================== */

.hero-intro{
  position:relative;
  color:#fff;
  padding:251px 3px 173px;
  overflow:hidden;
}

/* =====================================
   BACKGROUND IMAGE
===================================== */

.hero-intro::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(6,43,90,0.72),
      rgba(16,58,104,0.82)
    ),
    url('../img/F3.png') center/cover no-repeat;

  opacity:0;

  animation:fadeInBg 1.5s ease forwards;
}

@keyframes fadeInBg{

  0%{
    opacity:0;
    transform:scale(1.05);
  }

  100%{
    opacity:1;
    transform:scale(1);
  }
}

/* =====================================
   INNER
===================================== */

.hero-inner{
  position:relative;
  z-index:2;

  display:flex;
  gap:40px;

  top:-100px;

  align-items:center;
  justify-content:space-between;

  flex-wrap:wrap;
}

/* =====================================
   TEXT AREA
===================================== */

.hero-copy{
  flex:1 1 55%;

  opacity:0;

  animation:fadeInLeft 1.2s ease forwards;
  animation-delay:0.3s;
}

.hero-copy h1{
  font-size:54px;
  font-weight:700;
  line-height:1.15;

  color:#ffffff;

  margin-bottom:18px;

  letter-spacing:-0.5px;

  text-shadow:0 3px 8px rgba(0,0,0,0.25);

  opacity:0;

  animation:fadeInUp 1.4s ease forwards;
  animation-delay:0.5s;
}

.hero-copy p{
  font-size:19px;

  color:rgba(255,255,255,0.92);

  line-height:1.8;

  max-width:640px;

  margin-bottom:26px;

  letter-spacing:0.3px;

  text-align:justify;

  opacity:0;

  animation:fadeInUp 1.6s ease forwards;
  animation-delay:0.7s;
}

/* =====================================
   BUTTONS
===================================== */

.btn{
  display:inline-block;

  padding:12px 22px;

  border-radius:8px;

  text-decoration:none;

  font-weight:600;

  transition:all .25s ease;
}

/* PRIMARY BUTTON */

.btn.primary{
  background:linear-gradient(
    135deg,
    #1DA7B2,
    #38C4C9
  );

  color:#ffffff;

  border:none;

  box-shadow:0 8px 22px rgba(29,167,178,0.28);
}

.btn.primary:hover{
  transform:translateY(-4px);

  background:linear-gradient(
    135deg,
    #38C4C9,
    #1DA7B2
  );

  box-shadow:0 12px 28px rgba(29,167,178,0.38);
}

/* GHOST BUTTON */

.btn.ghost{
  background:transparent;

  color:#ffffff;

  border:1.5px solid rgba(255,255,255,0.25);

  margin-top:14px;
}

.btn.ghost:hover{
  background:rgba(255,255,255,0.08);

  border-color:#38C4C9;
}

/* CTA AREA */

.hero-ctas{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

/* =====================================
   HERO IMAGE
===================================== */

.hero-visual{
  flex:1 1 40%;

  text-align:right;

  opacity:0;

  animation:fadeInRight 1.5s ease forwards;
  animation-delay:0.8s;
}

.hero-visual img{
  width:420px;
  max-width:100%;

  display:inline-block;

  transform:translateY(5px);
}

/* =====================================
   TABLET
===================================== */

@media (max-width:900px){

  .hero-copy h1{
    font-size:36px;
    line-height:1.3;
  }

  .hero-copy p{
    font-size:16px;

    max-width:90%;

    margin:0 auto 20px;

    text-align:justify;
  }

  .hero-ctas{
    display:flex;
    flex-direction:column;

    gap:10px;

    align-items:center;
  }

  .hero-ctas .btn{
    width:80%;
    text-align:center;
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width:600px){

  .hero-intro{
    padding:220px 15px 130px;
  }

  .hero-inner{
    top:-60px;
  }

  .hero-copy h1{
    font-size:28px;
    line-height:1.4;
    text-align:center;
  }

  .hero-copy p{
    font-size:15px;
    text-align:justify;
  }
}

/* =====================================
   ANIMATIONS
===================================== */

@keyframes fadeInUp{

  0%{
    opacity:0;
    transform:translateY(40px);
  }

  100%{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeInLeft{

  0%{
    opacity:0;
    transform:translateX(-40px);
  }

  100%{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes fadeInRight{

  0%{
    opacity:0;
    transform:translateX(40px);
  }

  100%{
    opacity:1;
    transform:translateX(0);
  }
}

/* ---------- SERVICES GRID ---------- */
/* =====================================
   SERVICES SECTION
===================================== */

.services-grid-section{
    background:#EDEDED;
    padding:80px 0;
}

/* =====================================
   SECTION TITLE
===================================== */

.section-title,
.section-title-1{
    text-align:center;

    font-size:30px;

    margin-bottom:22px;

    color:#062B5A;

    font-weight:700;

    position:relative;
}

/* UNDERLINE */

.section-title::after,
.section-title-1::after{
    content:"";

    width:80px;
    height:4px;

    background:linear-gradient(
        90deg,
        #062B5A,
        #1DA7B2
    );

    display:block;

    margin:12px auto 0;

    border-radius:10px;
}

/* =====================================
   GRID
===================================== */

.services-grid{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:28px;
}

/* =====================================
   CARD
===================================== */

.service-card{
    background:#ffffff;

    border-radius:14px;

    text-decoration:none;

    color:#062B5A;

    overflow:hidden;

    display:flex;
    flex-direction:column;
    align-items:center;

    transition:
        transform .32s ease,
        box-shadow .32s ease;

    box-shadow:0 10px 25px rgba(6,43,90,0.08);

    border:1px solid #C9D4D8;
}

/* =====================================
   IMAGE
===================================== */

.card-img img{
    width:100%;

    height:160px;

    object-fit:cover;

    display:block;
}

/* =====================================
   ICON
===================================== */

.service-card i{
    font-size:36px;

    color:#1DA7B2;

    margin:18px 20px 6px;

    transition:0.3s ease;
}

/* =====================================
   TITLE
===================================== */

.service-card h3{
    margin:0 20px 10px;

    font-size:20px;

    color:#062B5A;

    font-weight:700;

    text-align:center;
}

/* =====================================
   DESCRIPTION
===================================== */

.service-card p{
    margin:0 20px 18px;

    color:#555;

    font-size:14px;

    line-height:1.7;

    text-align:justify;
}

/* =====================================
   BUTTON
===================================== */

.more-btn{
    margin:0 20px 24px;

    color:#1DA7B2;

    font-weight:600;

    transition:0.3s ease;
}

/* =====================================
   HOVER
===================================== */

.service-card:hover{
    transform:translateY(-8px);

    box-shadow:0 24px 60px rgba(6,43,90,0.16);

    background:linear-gradient(
        135deg,
        #062B5A,
        #103A68
    );
}

/* ICON HOVER */

.service-card:hover i{
    color:#38C4C9;
}

/* TITLE HOVER */

.service-card:hover h3{
    color:#ffffff;
}

/* TEXT HOVER */

.service-card:hover p{
    color:#EDEDED;
}

/* BUTTON HOVER */

.service-card:hover .more-btn{
    color:#38C4C9;
}

/* =====================================
   RESPONSIVE
===================================== */

/* TABLET */



/* MOBILE */

@media (max-width:768px){

        .services-grid{
        grid-template-columns: 1fr;
    }


    .section-title,
    .section-title-1{
        font-size:26px;
    }

    .service-card h3{
        font-size:18px;
    }

    .service-card p{
        font-size:13px;
    }
  }
/* SERVICES GRID */

.services-grid{
    display:grid;

    /* 3 cards per row */
    grid-template-columns: repeat(3, 1fr);

    gap:30px;

    margin-top:28px;
}

/* TABLET */

@media (max-width:1024px){

    .services-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */



/* ---------- OFFSHORE ---------- */
/* =====================================
   OFFSHORE / RECRUITMENT SECTION
===================================== */

.offshore-section{
    padding:72px 0;

    background:linear-gradient(
        135deg,
        #062B5A,
        #103A68
    );

    color:#ffffff;
}

/* =====================================
   INNER CONTAINER
===================================== */

.offshore-inner{
    display:flex;

    align-items:center;

    gap:36px;

    flex-wrap:wrap;
}

/* =====================================
   LEFT CONTENT
===================================== */

.offshore-copy{
    flex:1;
}

.offshore-copy h2{
    font-size:32px;

    color:#38C4C9;

    margin-bottom:12px;

    font-weight:700;
}

.offshore-copy p{
    color:rgba(255,255,255,0.92);

    margin-bottom:18px;

    line-height:1.8;

    text-align:justify;

    max-width:620px;
}

/* =====================================
   STAFF LIST
===================================== */

.staff-list{
    list-style:none;

    display:grid;

    grid-template-columns:repeat(2, minmax(140px,1fr));

    gap:10px 20px;

    margin-bottom:22px;

    color:#EDEDED;
}

.staff-list li{
    position:relative;

    padding-left:22px;

    font-size:15px;

    line-height:1.6;
}

/* CUSTOM BULLET */

.staff-list li::before{
    content:"✓";

    position:absolute;

    left:0;

    top:0;

    color:#38C4C9;

    font-weight:700;
}

/* =====================================
   BUTTON
===================================== */

.offshore-copy .btn.primary{
    background:linear-gradient(
        135deg,
        #1DA7B2,
        #38C4C9
    );

    color:#ffffff;

    border:none;

    padding:12px 28px;

    border-radius:8px;

    font-weight:600;

    text-decoration:none;

    display:inline-block;

    transition:0.3s ease;

    box-shadow:0 8px 24px rgba(29,167,178,0.25);
}

.offshore-copy .btn.primary:hover{
    transform:translateY(-4px);

    background:linear-gradient(
        135deg,
        #38C4C9,
        #1DA7B2
    );

    box-shadow:0 12px 28px rgba(29,167,178,0.35);
}

/* =====================================
   RIGHT IMAGE
===================================== */

.offshore-visual{
    flex:1;

    text-align:right;
}

.offshore-visual img{
    width:420px;

    max-width:100%;

    opacity:0.98;

    filter:drop-shadow(0 10px 28px rgba(0,0,0,0.22));
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width:992px){

    .offshore-inner{
        flex-direction:column;
        text-align:center;
    }

    .offshore-copy p{
        max-width:100%;
    }

    .staff-list{
        grid-template-columns:1fr;
        text-align:left;
    }

    .offshore-visual{
        text-align:center;
    }
}

@media (max-width:600px){

    .offshore-section{
        padding:55px 0;
    }

    .offshore-copy h2{
        font-size:26px;
    }

    .offshore-copy p{
        font-size:14px;
    }

    .staff-list li{
        font-size:14px;
    }
}

/* ---------- PROCESS ---------- */
.process-section{
  padding:70px 0;
  background:#EDEDED;
}

/* GRID */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:28px;
  color:#062B5A;
}

/* CARD */
.step{
  background:#ffffff;
  padding:22px;
  border-radius:12px;
  text-align:left;
  min-height:160px;

  border:1px solid #C9D4D8;

  box-shadow:0 8px 22px rgba(6,43,90,0.08);

  transition:0.35s ease;
}

/* HOVER */
.step:hover{
  transform:translateY(-6px);

  background:linear-gradient(135deg,#062B5A,#103A68);

  color:#ffffff;

  box-shadow:0 12px 28px rgba(6,43,90,0.18);
}

.step:hover h4,
.step:hover p{
  color:#ffffff;
}

/* NUMBER */
.step-num{
  width:44px;
  height:44px;

  background:linear-gradient(135deg,#1DA7B2,#38C4C9);

  color:#ffffff;

  border-radius:10px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-weight:700;
  margin-bottom:12px;
  font-size:18px;

  box-shadow:0 4px 14px rgba(29,167,178,0.28);
}

/* HEADING */
.step h4{
  font-size:1.15rem;
  margin-bottom:10px;
  color:#062B5A;
  transition:0.3s ease;
}

/* PARAGRAPH */
.step p{
  font-size:0.92rem;
  line-height:1.6;
  color:#555;
  transition:0.3s ease;

  text-align:justify;
}

/* TABLET */
@media(max-width:992px){

  .process-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* MOBILE */
@media(max-width:600px){

  .process-grid{
    grid-template-columns:1fr;
  }

  .step{
    min-height:auto;
  }
}

/* ---------- INDUSTRIES ---------- */
/* --- INDUSTRIES SECTION --- */
.industries-section {
  padding: 50px 20px;

  background: linear-gradient(180deg, #ffffff 0%, #EDEDED 100%);

  text-align: center;
  position: relative;
}

/* TITLE */
.section-title {

  font-size: 2.8rem;
  font-weight: 700;

  color: #062B5A;

  margin-bottom: 10px;
  letter-spacing: 0.5px;
  position: relative;
}

/* TITLE UNDERLINE */
.section-title::after{

  content:"";

  width:85px;
  height:4px;

  background: linear-gradient(90deg, #062B5A, #1DA7B2);

  display:block;

  margin:14px auto 0;

  border-radius:10px;
}

/* SUBTITLE */
.section-subtitle {

  font-size: 1.05rem;

  color: #555;

  margin-bottom: 50px;

  text-align: center;
}

/* GRID */
.industries-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;

  max-width: 1200px;

  margin: 0 auto;
}

/* CARD */
.industry-card {

  position: relative;

  border-radius: 18px;

  overflow: hidden;

  border: 1px solid #C9D4D8;

  box-shadow: 0 10px 25px rgba(6,43,90,0.08);

  transition: transform 0.4s ease,
              box-shadow 0.4s ease;
}

/* IMAGE */
.industry-card img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  aspect-ratio: 16/11;

  transition: transform 0.5s ease;
}

/* HOVER */
.industry-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 16px 35px rgba(6,43,90,0.18);
}

.industry-card:hover img {

  transform: scale(1.08);
}

/* OVERLAY */
.industry-card .overlay {

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(6,43,90,0.95),
    rgba(16,58,104,0.65),
    rgba(29,167,178,0.18)
  );

  display: flex;
  flex-direction: column;

  justify-content: flex-end;

  align-items: flex-start;

  padding: 28px;

  color: #ffffff;

  opacity: 0;

  transition: opacity 0.4s ease;
}

.industry-card:hover .overlay {

  opacity: 1;
}

/* HEADING */
.industry-card .overlay h3 {

  font-size: 1.45rem;

  font-weight: 700;

  margin-bottom: 10px;

  color: #ffffff;
}

/* PARAGRAPH */
.industry-card .overlay p {

  font-size: 0.95rem;

  color: #EDEDED;

  line-height: 1.6;

  text-align: justify;
}

/* TABLET */
@media(max-width:992px){

  .section-title{
    font-size:2.3rem;
  }

  .industries-grid{
    gap:24px;
  }
}

/* MOBILE */
@media(max-width:768px){

  .industries-section{
    padding:45px 18px;
  }

  .section-title{
    font-size:1.9rem;
  }

  .section-subtitle{
    font-size:0.95rem;
    margin-bottom:35px;
  }

  .industry-card .overlay{
    padding:22px;
  }

  .industry-card .overlay h3{
    font-size:1.2rem;
  }

  .industry-card .overlay p{
    font-size:0.88rem;
  }
}

/* SMALL MOBILE */
@media(max-width:480px){

  .industries-grid{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:1.7rem;
  }

  .industry-card{
    border-radius:14px;
  }
}
/* --- Responsive --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin-top: 30px;
  }
  .section-title-1 {
    font-size: 2.2rem;
    margin-top: 30px;
  }


  .industry-card .overlay h3 {
    font-size: 1.3rem;
  }

  .industry-card .overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .industries-section {
    padding: 0px 15px;
    margin-top: 209px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 21px;
  }

  .industries-grid {
    gap: 20px;
  }
}


/* ---------- CASE STUDIES ---------- */
.cases-section{ padding:0px 0; background:var(--bg); }
.cases-grid{ display:flex; gap:20px; justify-content:space-between; margin-top:20px; flex-wrap:wrap; }
.case{ background:#fff; width:32%; border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.06); text-decoration:none; color:var(--dark); }
.case img{ width:100%; height:180px; object-fit:cover; display:block; }
.case-body{ padding:16px; }
.case-body h4{ margin-bottom:8px; }
.case-body p{ color:#000000; font-size:19px; margin-bottom:12px; }

/* ---------- FAQ TEASER ---------- */
.faq-teaser{ padding:35px 0; background:#fff; text-align:center; }
.faq-teaser p{ color:#0a1a2a; margin:12px 0 18px; }
.faq-teaser .btn {
  display: inline-block;
  margin: 10px 10px;
}

.faq-teaser .container-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-teaser .btn {
  text-align: center;
}

/* ---------- CTA ---------- */
.cta-banner{

  background: linear-gradient(
    135deg,
    #062B5A,
    #103A68,
    #1DA7B2
  );

  padding: 70px 0;

  text-align: center;

  color: #ffffff;

  position: relative;

  overflow: hidden;
}

/* OPTIONAL GLOW EFFECT */
.cta-banner::before{
  content:"";

  position:absolute;

  top:-80px;
  left:-80px;

  width:220px;
  height:220px;

  background: radial-gradient(
    circle,
    rgba(56,196,201,0.28),
    transparent 70%
  );

  border-radius:50%;
}

.cta-banner::after{
  content:"";

  position:absolute;

  bottom:-100px;
  right:-80px;

  width:250px;
  height:250px;

  background: radial-gradient(
    circle,
    rgba(29,167,178,0.22),
    transparent 70%
  );

  border-radius:50%;
}

/* HEADING */
.cta-banner h2{

  font-size: 28px;

  margin-bottom: 16px;

  font-weight: 800;

  color:#ffffff;

  position:relative;
  z-index:2;
}

/* PARAGRAPH */
.cta-banner p{

  font-size:1rem;

  color:#EDEDED;

  line-height:1.7;

  max-width:700px;

  margin:0 auto 24px;

  position:relative;
  z-index:2;

  text-align:center;
}

/* BUTTON */
.cta-banner .btn{

  display:inline-block;

  padding:13px 30px;

  background:#ffffff;

  color:#062B5A;

  font-weight:600;

  border-radius:8px;

  text-decoration:none;

  transition:0.3s ease;

  position:relative;
  z-index:2;
}

.cta-banner .btn:hover{

  background:#38C4C9;

  color:#ffffff;

  transform:translateY(-4px);

  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}

/* TABLET */
@media(max-width:768px){

  .cta-banner{
    padding:60px 20px;
  }

  .cta-banner h2{
    font-size:2rem;
  }

  .cta-banner p{
    font-size:0.95rem;
  }
}

/* MOBILE */
@media(max-width:480px){

  .cta-banner h2{
    font-size:1.6rem;
  }

  .cta-banner p{
    font-size:0.9rem;
  }

  .cta-banner .btn{
    padding:11px 24px;
    font-size:0.9rem;
  }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width:1200px){
  .services-grid{ grid-template-columns:repeat(3,1fr); }
  .cases-grid{ flex-direction:column; font-size: 20.9px;}
  .case{ width:100%; }
}

@media (max-width:900px){
  .hero-inner{ flex-direction:column;margin-top: 134px;margin-bottom: -109px; line-height: 1.6; text-align:center; }
  .hero-visual{ text-align:center; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .container-section-1{
    padding:0 20px;
  }
  .services-grid-section{
    padding:300px 0;
  }
  .offshore-inner{ flex-direction:column-reverse; text-align:center; }
  .offshore-visual img{ width:320px; }
  .offshore-section{
    margin-top: -279px;
    border-radius: 39px;
    margin-bottom: 222px;
  }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:600px){
  .hero-copy h1{ font-size:28px; line-height: 1.5; }
  .services-grid{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr;margin-top: -50px;line-height: 1.6; }
  .staff-list{ grid-template-columns:1fr; }
  .hero-intro{ padding:80px 0 40px; }
  .offshore-visual img{ width:260px; }
}
