/* ==================================================
   WHY CHOOSE PAGE - COMMON + HERO SECTION
================================================== */

:root {
  --why-primary: #1769f5;
  --why-primary-dark: #08295c;
  --why-heading: #09275a;
  --why-text: #4b5563;
  --why-light: #f3f8ff;
  --why-white: #ffffff;
  --why-border: #e4ecf7;
  --why-shadow: 0 18px 45px rgba(9, 39, 90, 0.08);
}

body.why-page {
  margin: 0;
  background: #ffffff;
  color: var(--why-text);
  font-family: "Poppins", Arial, sans-serif;
}

.why-page .main {
  overflow: hidden;
}

.why-page img {
  max-width: 100%;
  display: block;
}

.why-page a {
  text-decoration: none;
}

/* ===============================
   HERO SECTION
================================ */

.why-hero {
  position: relative;
  padding: 58px 0 62px;
  background:
    radial-gradient(circle at 18% 25%, rgba(23, 105, 245, 0.10), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 55%, #eaf7ff 100%);
  overflow: hidden;
}

.why-hero::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  right: 10%;
  top: 42%;
  border-radius: 50%;
  background: #6a9df7;
  animation: whyFloat 3s ease-in-out infinite;
}

.why-hero::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 4px;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: linear-gradient(90deg, var(--why-primary), #09bde8);
}

.why-hero .container {
  position: relative;
  z-index: 2;
}

.why-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--why-heading);
  letter-spacing: -0.8px;
}

.why-hero p {
  max-width: 820px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  color: #566274;
}

/* reveal animation common */

.why-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.why-reveal.why-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes whyFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ===============================
   HERO RESPONSIVE
================================ */

@media (max-width: 991px) {
  .why-hero {
    padding: 50px 0 56px;
  }

  .why-hero p {
    font-size: 15.5px;
  }
}

@media (max-width: 575px) {
  .why-hero {
    padding: 42px 0 50px;
  }

  .why-hero h1 {
    font-size: 29px;
  }

  .why-hero p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .why-hero::after {
    bottom: 26px;
    width: 62px;
  }
}















/*====================================
        PHOTO PAGE SECTION
====================================*/

.photo-section{
    width:100%;
    padding:50px 6%;
    background:#f6f6f7;
}

.photo-container{
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

/*==============================
        IMAGE CARD
==============================*/

.photo-card{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    cursor:pointer;

    background:#fff;

    height:320px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.4s;
}

.photo-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 18px 45px rgba(0,0,0,.18);
}

.photo-card img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:.6s;
}

.photo-card:hover img{

    transform:scale(1.08);
}

/*==============================
        IMAGE POPUP
==============================*/

.photo-popup{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;
}

.photo-popup.active{

    opacity:1;

    visibility:visible;
}

/*==============================
        POPUP IMAGE
==============================*/

.popup-image{

    width:auto;

    max-width:90%;

    max-height:88vh;

    border-radius:18px;

    box-shadow:

    0 15px 50px rgba(0,0,0,.4);

    animation:popupZoom .35s ease;
}

/*==============================
        CLOSE BUTTON
==============================*/

.popup-close{

    position:absolute;

    top:25px;

    right:35px;

    width:48px;

    height:48px;

    border-radius:50%;

    background:#fff;

    color:#111;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    cursor:pointer;

    font-weight:500;

    transition:.3s;

    user-select:none;
}

.popup-close:hover{

    background:#0b84d8;

    color:#fff;

    transform:rotate(90deg);
}

/*==============================
        POPUP ANIMATION
==============================*/

@keyframes popupZoom{

    from{

        transform:scale(.7);

        opacity:0;
    }

    to{

        transform:scale(1);

        opacity:1;
    }

}

/*====================================
        LARGE DESKTOP
====================================*/

@media(max-width:1200px){

.photo-container{

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.photo-card{

height:290px;

}

}

/*====================================
            TABLET
====================================*/

@media(max-width:992px){

.photo-container{

grid-template-columns:repeat(2,1fr);

gap:28px;

}

.photo-card{

height:280px;

}

}

/*====================================
        LARGE MOBILE
====================================*/

@media(max-width:768px){

.photo-section{

padding:55px 20px;

}

.photo-container{

grid-template-columns:1fr;

gap:24px;

}

.photo-card{

height:300px;

border-radius:22px;

}

.popup-image{

max-width:92%;

max-height:80vh;

}

.popup-close{

top:15px;

right:18px;

width:42px;

height:42px;

font-size:30px;

}

}

/*====================================
        SMALL MOBILE
====================================*/

@media(max-width:480px){

.photo-card{

height:250px;

}

.photo-section{

padding:45px 15px;

}

.popup-image{

max-width:94%;

}

}