@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700;900&family=Inter:wght@300;400;500&display=swap');

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f9f9f9;
    color: #111;
    line-height: 1.5;
}

/* HERO BASE */
.hero {
    height: 100vh;
    width: 100%;
    background: #050505;
    position: relative;
    overflow: hidden;
    color: #fff;

    /* BACKGROUND IMAGE LIKE THE REFERENCE */
    background-image: url("assets/me.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
    opacity: 0.99;
}

/* TOP LEFT LOGO */
.hero-logo {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    letter-spacing: 2px;
    opacity: 0.8;
    font-size: 0.8rem;
}

/* TOP RIGHT NAV */
.hero-nav {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    display: flex;
    gap: 2rem;
}

.hero-nav a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: 0.3s ease;
}

.hero-nav a:hover {
    opacity: 1;
}

/* LEFT TEXT */
.hero-left-text {
    position: absolute;
    bottom: 20%;
    left: 2.5rem;
    max-width: 240px;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.7;
    font-family: 'Inter', sans-serif;
}

/* CENTER AREA */
.hero-center {
    position: absolute;
    top: 50%;
    left: 50%; /* send slightly left for a wider look */
    transform: translate(-50%, -50%);
}

/* TEXT OVER THE IMAGE */
.hero-heading {
    position: absolute;
    top: 20%; /* moves into middle of image */
    left: -40%; /* extend text OUTSIDE the pale blue box */
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 4.8rem;
    line-height: 0.95;
    letter-spacing: 0.5px;
    width: 1000px; /* wide like the reference */
    z-index: 20;
    text-transform: uppercase;
}

.hero-heading .up-right{
    margin-left: 27rem;
}

.hero-heading .right {
    margin-left: 4rem;
}

.hero-heading .more-right {
    margin-left: 35rem;
}

/* MAIN pale blue IMAGE BOX */
.hero-image-box {
    width: 430px;
    height: 500px;
    background: #A5C9FF;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* IMAGE INSIDE */
.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.8;
}

/* CROSS SHADOWS BEHIND THE BOX */
.cross-shadow {
    position: absolute;
    width: 430px;
    height: 560px;
    background: #A5C9FF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 5;
    opacity: 0.35;
}

.cross-shadow-2 {
    transform: translate(-50%, -50%) rotate(8deg);
    opacity: 0.25;
}

/* BOTTOM CENTER META */
.hero-bottom-center {
    position: absolute;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* BOTTOM RIGHT YEAR */
.hero-bottom-right {
    position: absolute;
    bottom: 2.8rem;
    right: 2.5rem;
    font-size: 0.75rem;
    opacity: 0.6;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-image-box {
        width: 240px;
        height: 300px;
    }

    .hero-left-text {
        bottom: 20%;
        max-width: 180px;
    }
}

/* ===========================
   MOBILE HERO (≤700px)
   =========================== */
@media (max-width: 700px) {

    .hero {
        padding: 2rem 1.5rem;
        height: auto;
        background-size: cover;
        background-position: top;
    }

    /* NAVIGATION: stack horizontally but smaller */
    .hero-nav {
        top: 2rem;
        right: 1.5rem;
        gap: 1rem;
    }

    .hero-nav a {
        font-size: 0.8rem;
    }

    /* LEFT TEXT */
    .hero-left-text {
        position: static;
        max-width: 100%;
        margin-top: 3rem;
        opacity: 0.75;
        font-size: 0.85rem;
    }

    /* CENTER AREA becomes a vertical block */
    .hero-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Heading becomes centered and smaller */
    .hero-heading {
        position: static;
        font-size: 2rem;
        line-height: 1.1;
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
    }

    /* Remove weird manual offsets */
    .hero-heading .up-right,
    .hero-heading .right,
    .hero-heading .more-right {
        margin-left: 0 !important;
        display: block;
    }

    /* IMAGE smaller and centered */
    .hero-image-box {
        width: 230px;
        height: 280px;
    }

    /* Remove cross shadows */
    .cross-shadow,
    .cross-shadow-2 {
        width: 250px;
        height: 300px;
        margin-top: -5rem;
    }

    /* Bottom meta elements */
    .hero-bottom-center {
        bottom: 1.5rem;
        font-size: 0.7rem;
        margin-left: -9rem;
    }

    .hero-bottom-right {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 0.7rem;
    }
}

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

.about-section {
    padding: 8rem 6rem;
    background: #060606;
    color: #fff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* LEFT CONTENT */
.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.about-para {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    max-width: 620px;
}

/* STAT BOXES */
.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-box h3 {
    font-family: 'Poppins';
    font-size: 2rem;
    color: #A5C9FF;
    font-weight: 800;
}

.stat-box p {
    font-family: 'Inter';
    opacity: 0.7;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* RIGHT IMAGE BLOCK */
.about-image-box {
    position: relative;
    width: 400px;
    height: 480px;
    border-radius: 6px;
}

.about-image-box .imgg{
    transform: rotate(-6deg);
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    mix-blend-mode: multiply;
    display: block;
}

.about-red-bg {
    position: absolute;
    inset: 0;
    background: #A5C9FF;
    z-index: 1;
    transform: rotate(-6deg);
    opacity: 0.8;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
    }
    .about-image-box {
        width: 300px;
        height: 360px;
    }
}


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

.contact-section {
    padding: 8rem 6rem;
    background: #050505;
    color: #fff;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* LEFT COLUMN */
.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.6rem;
}

.contact-sub {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.75);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 2.2rem;
}

.contact-info p {
    font-family: 'Inter';
    margin-bottom: 0.8rem;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* FORM */
.contact-form {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.contact-form textarea {
    min-height: 140px;
    padding: 1rem 1.2rem;
    resize: vertical;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border .3s ease, background .3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #A5C9FF;
    background: #111;
    outline: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* BUTTON */
.contact-btn {
    background: #A5C9FF;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: 0.35s ease;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: #A5C9FF;
    box-shadow: 0 0 18px rgba(165,201,255,0.45);
}

.contact-info a {
    color: #A5C9FF;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form {
        max-width: 100%;
    }
}

/* TABLETS (≤ 900px) */
@media (max-width: 900px) {

    .contact-section {
        padding: 6rem 3rem;
    }

    .contact-title {
        font-size: 2.6rem;
        text-align: center;
    }

    .contact-sub {
        font-size: 0.95rem;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* LARGE MOBILE (≤ 650px) */
@media (max-width: 650px) {

    .contact-section {
        padding: 4.5rem 1.8rem;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-sub {
        font-size: 0.9rem;
        line-height: 1.55;
        max-width: 100%;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    /* Form spacing tightened */
    .contact-form {
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .contact-btn {
        width: 100%;
        max-width: 240px;
        padding: 0.85rem 1.8rem;
        margin: 0 auto;
        font-size: 0.9rem;
        display: block;
    }
}

/* SMALL MOBILE (≤ 430px) */
@media (max-width: 430px) {

    .contact-section {
        padding: 3.8rem 1.2rem;
    }

    .contact-title {
        font-size: 1.9rem;
        letter-spacing: -0.5px;
    }

    .contact-sub {
        font-size: 0.85rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }

    .contact-form textarea {
        min-height: 110px;
    }

    .contact-btn {
        max-width: 200px;
        padding: 0.8rem 1.6rem;
    }
}


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

.footer {
    margin-top: 0;
    background: #050505;
    color: #fff;
    padding: 1.8rem 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -1rem;
    position: relative;
}

/* LEFT — same vibe as hero logo */
.footer-left {
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* RIGHT — same concept as hero bottom-right */
.footer-right {
    font-size: 0.85rem;
    opacity: 0.6;
    font-family: "Inter", sans-serif;
}

/* MOBILE */
@media (max-width: 700px) {

    .footer {
        padding: 1.4rem 1.5rem;
        flex-direction: column;
        align-items: stretch; /* allow full-width rows */
        gap: 0.4rem;
    }

    .footer-left {
        text-align: left;
        width: 100%;
    }

    .footer-right {
        text-align: right;
        width: 100%;
    }
}

/* ===========================
   SWEETALERT2 THEME OVERRIDES
   =========================== */

/* Custom animations */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

.swal-popup-animation {
    animation: slideInUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.swal-popout-animation {
    animation: slideOutDown 0.25s ease-out forwards;
}

/* SweetAlert theme overrides */
.swal-theme-dark {
    background: #050505 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.swal-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    color: #fff !important;
    letter-spacing: -0.5px !important;
}

.swal-text {
    font-family: 'Inter', sans-serif !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}

.swal-button {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 0.75rem 2rem !important;
    border-radius: 50px !important;
    background: #A5C9FF !important;
    color: #000 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
}

.swal-button:hover {
    background: #A5C9FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 18px rgba(165,201,255,0.45) !important;
}

.swal-button:focus {
    box-shadow: 0 0 0 3px rgba(165,201,255,0.2) !important;
}

/* Loading spinner styling */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SweetAlert success icon customization */
.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    background-color: #050505 !important;
}

.swal2-success-ring {
    border-color: rgba(165,201,255,0.3) !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
    background-color: #A5C9FF !important;
}

/* SweetAlert error icon customization */
.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #A5C9FF !important;
}

/* Timer progress bar */
.swal2-timer-progress-bar {
    background: rgba(165,201,255,0.5) !important;
}

/* === BORDER RADIUS SYSTEM === */

/* Small radius */
.service-card,
.work-item img,
.project-row,
.contact-form input,
.contact-form textarea {
  border-radius: 6px;
}

/* Medium radius */
.thumb-wrap,
.about-image-box,
.about-red-bg {
  border-radius: 12px;
}

/* Large radius */
.back-cta,
.work-cta,
.contact-btn {
  border-radius: 50px; /* pills stay pill-shaped */
}

/* Hide Default Cursor */
body {
  cursor: none;
}

/* Main Cursor Dot */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: white; /* pale blue theme */
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Shadow / Glow Effect */
.cursor-shadow {
  width: 70px;
  height: 70px;
  background: rgba(165,201,255,0.25);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  filter: blur(22px);
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
}

/* Disable on Mobile */
@media (max-width: 768px) {
  .custom-cursor,
  .cursor-shadow {
    display: none;
  }

  body {
    cursor: auto;
  }
}


/* ===========================
   PROCESS TIMELINE STYLE
   =========================== */

.process-section {
  padding: 8rem 6rem;
  background: #050505;
  color: #fff;
  position: relative;
}

.process-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  margin-bottom: 4rem;
  text-align: center;
  letter-spacing: -1px;
}

/* TIMELINE WRAPPER */
.process-grid {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.process-number{
    color: #A5C9FF;
}

/* CENTER LINE */
.process-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;

  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    #A5C9FF,
    transparent
  );

  transform: translateX(-50%);
  opacity: 0.6;
}

/* STEP BASE */
.process-step {
  position: relative;
  width: 48%;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );

  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;

  padding: 2.2rem 2rem;

  transition:
    transform .35s cubic-bezier(.2,.9,.2,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;

  backdrop-filter: blur(6px);
}

/* LEFT SIDE */
.process-step:nth-child(odd) {
  align-self: flex-start;
  text-align: right;
}

/* RIGHT SIDE */
.process-step:nth-child(even) {
  align-self: flex-end;
  text-align: left;
}

/* DOT */
.process-step::before {
  content: "";
  position: absolute;
  top: 2.4rem;

  width: 18px;
  height: 18px;

  background: #050505;
  border: 3px solid #A5C9FF;
  border-radius: 50%;

  box-shadow: 0 0 12px rgba(165,201,255,0.6);

  z-index: 5;
}

/* LEFT DOT POSITION */
.process-step:nth-child(odd)::before {
  right: -38px;
}

/* RIGHT DOT POSITION */
.process-step:nth-child(even)::before {
  left: -38px;
}


/* STEP NUMBER / TITLE */
.process-step h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: white;
  letter-spacing: 0.3px;
}

/* DESCRIPTION */
.process-step p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
}


/* HOVER EFFECT */
.process-step:hover {
  transform: translateY(-10px);

  border-color: #003366;

  box-shadow: 
    0 18px 40px rgba(10,6,6,0.6),
    0 0 25px rgba(165,201,255,0.15);

  background: linear-gradient(
    180deg,
    rgba(165,201,255,0.08),
    rgba(165,201,255,0.01)
  );
}


/* ===========================
   RESPONSIVE — TIMELINE
   =========================== */

@media (max-width: 1000px) {

  .process-grid::before {
    left: 20px;
  }

  .process-step {
    width: 100%;
    padding-left: 3rem;
    text-align: left !important;
  }

  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    align-self: flex-start;
  }

  /* Move dots left */
  .process-step::before {
    left: -32px !important;
    right: auto;
  }
}


@media (max-width: 700px) {

  .process-section {
    padding: 4.5rem 1.8rem;
  }

  .process-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .process-grid {
    gap: 2.5rem;
  }

  .process-step {
    padding: 1.8rem 1.5rem 1.8rem 2.8rem;
  }

  .process-step h3 {
    font-size: 1.05rem;
  }

  .process-step p {
    font-size: 0.9rem;
  }
}


@media (max-width: 430px) {

  .process-title {
    font-size: 1.9rem;
  }

  .process-step {
    padding: 1.5rem 1.3rem 1.5rem 2.6rem;
  }
}

/* ===========================
   PROCESS SCROLL ANIMATION
   =========================== */

/* Hidden state */
.process-step {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Visible state */
.process-step.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Animate dot */
.process-step::before {
  transform: scale(0);
  transition: transform 0.5s ease 0.3s;
}

.process-step.visible::before {
  transform: scale(1);
}


/* Timeline line animation */
.process-grid::before {
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.2s ease;
}

.process-grid.line-visible::before {
  transform: translateX(-50%) scaleY(1);
}


/* ===========================
   SERVICES — EXPANDABLE GRID
   =========================== */

.services-section {
  padding: 6rem 2rem;
  background: #060606;
  color: #fff;
}

.services-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  letter-spacing: -1px;
  text-align: center;
}


/* GRID */
.services-cards {
  display: grid;

  grid-template-columns: repeat(4, minmax(240px, 1fr));

  gap: 1.6rem;

  width: 100%;
  max-width: 1400px;   /* Allow wider layout */

  margin: 0 auto;

  padding: 0 1rem;    /* Soft edge spacing */
}


/* ===========================
   CARD BASE
   =========================== */

.service-card-pro {

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.005)
  );

  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;

  padding: 1.8rem 1.6rem;

  min-height: 230px;

  position: relative;
  overflow: hidden;

  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease,
    background .3s ease,
    min-height .35s ease;
}


/* ===========================
   MAIN (VISIBLE CONTENT)
   =========================== */

.service-main {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  transition: transform .35s ease,
              opacity .35s ease;
}


/* ICON */

.service-icon-pro {

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  background: rgba(165,201,255,0.08);
  color: #A5C9FF;

  font-size: 1.3rem;

  border-radius: 50%;

  margin-bottom: 0.4rem;

  transition: all .3s ease;
}


/* TITLE */

.service-card-pro h3 {

  font-family: 'Poppins', sans-serif;
  font-weight: 700;

  font-size: 1rem;
  letter-spacing: -0.2px;

}


/* DESC */

.service-card-pro p {

  font-size: 0.88rem;
  line-height: 1.45;

  color: rgba(255,255,255,0.72);
}

.service-card-pro:hover .service-details,
.service-card-pro.active .service-details {

  opacity: 1;

  max-height: 300px;

  transform: translateY(0) scale(1);
}

/* ===========================
   DETAILS (HIDDEN)
   =========================== */

.service-details {

  opacity: 0;

  max-height: 0;

  transform: translateY(18px) scale(0.98);

  transition:
    opacity 0.5s ease,
    max-height 0.6s cubic-bezier(0.22,1,0.36,1),
    transform 0.5s cubic-bezier(0.22,1,0.36,1);
}


.service-details ul {
  list-style: none;
  margin-top: 1rem;
}


.service-details li {

  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);

  margin-bottom: 0.4rem;

  padding-left: 1rem;
  position: relative;
}


.service-details li::before {
  content: "•";
  position: absolute;
  left: 0;

  color: #A5C9FF;
  opacity: 0.8;
}



/* ===========================
   HOVER / EXPAND
   =========================== */

.service-card-pro:hover {

  transform: translateY(-10px) scale(1.04);

  transition-timing-function:
    cubic-bezier(0.16, 1, 0.3, 1);

  border-color: rgba(165,201,255,0.45);

  box-shadow:
    0 14px 28px rgba(0,0,0,0.6),
    0 0 20px rgba(165,201,255,0.12);

  background: linear-gradient(
    180deg,
    rgba(165,201,255,0.06),
    rgba(165,201,255,0.01)
  );

  min-height: 390px;
}


/* Icon hover */

.service-card-pro:hover .service-icon-pro {
  transform: scale(1.15) rotate(3deg);

  transition: 
    transform .4s cubic-bezier(0.22,1,0.36,1),
    background 0.3s ease;
  background: rgba(165,201,255,0.15);
}


/* Reveal details */

.service-card-pro:hover .service-details {

  opacity: 1;
  max-height: 260px;

  transform: translateY(0);
}


.service-card-pro:hover .service-main {
  transform: translateY(-6px);
  opacity: 0.95;
}



/* ===========================
   MOBILE CLICK EXPAND
   =========================== */

.service-card-pro.active {

  min-height: 390px;

  border-color: rgba(165,201,255,0.5);

  box-shadow:
    0 14px 28px rgba(0,0,0,0.6),
    0 0 20px rgba(165,201,255,0.15);
}


.service-card-pro.active .service-details {
  opacity: 1;
  max-height: 260px;
  transform: translateY(0);
}



/* ===========================
   SCROLL REVEAL
   =========================== */

.service-card-pro {

  opacity: 0;

  transform: translateY(50px) scale(0.94);

  transition:
    opacity 0.8s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;

  will-change: transform, opacity;
}


.service-card-pro.visible {

  opacity: 1;
  transform: translateY(0) scale(1);
}



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

@media (max-width: 1200px) {

  .services-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1600px) {

  .services-cards {
    max-width: 1600px;
  }
}


@media (max-width: 900px) {

  .services-section {
    padding: 5rem 3rem;
  }

  .services-title {
    font-size: 2.4rem;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 600px) {

  .services-section {
    padding: 4rem 1.6rem;
  }

  .services-title {
    font-size: 2.1rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .service-card-pro {
    max-width: 380px;
    margin: 0 auto;
  }
}


@media (max-width: 430px) {

  .service-card-pro h3 {
    font-size: 0.95rem;
  }

  .service-card-pro p,
  .service-details li {
    font-size: 0.82rem;
  }
}
