/* Exact Font Family & Token Definitions from Sample Website */
@import url('https://fonts.cdnfonts.com/css/glacial-indifference');

:root {
    --font-pro: 'Glacial Indifference', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --color-pro-primary: #fd7250;
    --color-pro-orange: #ff7a4b;
    --color-pro-green: #82bd59;
    --color-pro-darkgreen: #486937;
    --color-pro-heading: #181b31;
    --color-pro-body: #808291;
    --color-pro-teal-bg: rgba(31, 198, 198, 0.11);
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-pro);
    color: #808291;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1,
.h1 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.111em;
    font-size: 72px;
    color: #181b31;
}

h2,
.h2 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.111em;
    font-size: 36px;
    color: #181b31;
}

h3,
.h3 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.25em;
    font-size: 30px;
    color: #181b31;
}

h4,
.h4 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.5em;
    font-size: 22px;
    color: #181b31;
}

h5,
.h5 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.5em;
    font-size: 19px;
    color: #181b31;
}

h6,
.h6 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.5;
    font-size: 17px;
    color: #181b31;
}

/* 1. Hero Video Banner */
.pro-hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/about-us-hero-poster.jpg') center center / cover no-repeat;
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
}

.pro-hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.pro-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.pro-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.pro-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.pro-hero-subtitle {
    font-family: var(--font-pro);
    font-size: 18px;
    letter-spacing: 0.1em;
    color: #82bd59;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.pro-hero-dream {
    font-family: var(--font-pro);
    font-size: 48px;
    line-height: 1em;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0;
}

.pro-hero-build {
    font-family: var(--font-pro);
    font-size: clamp(64px, 12vw, 160px);
    font-weight: 800;
    line-height: 0.95;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(45px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBuildPop {
    0% {
        opacity: 0;
        transform: translateY(55px) scale(0.92);
        letter-spacing: 0.08em;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -0.01em;
    }
}

@media (max-width: 991px) {
    .pro-hero-dream {
        font-size: 32px;
        letter-spacing: 0.3em;
    }

    .pro-hero-build {
        font-size: 78px;
    }
}

@media (max-width: 575px) {
    .pro-hero-dream {
        font-size: 22px;
        letter-spacing: 0.2em;
    }

    .pro-hero-build {
        font-size: 56px;
    }
}

.pro-sep-line {
    width: 70px;
    height: 3px;
    background-color: #ff7a4b;
    margin: 18px 0 24px;
    border-radius: 2px;
}

/* 2. About Section */
.pro-about-section {
    padding: 90px 0 80px;
    background-color: #ffffff;
}

.pro-about-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    align-items: center;
}

.pro-about-title {
    font-family: var(--font-pro);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.111em;
    color: #181b31;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pro-about-tagline {
    font-family: var(--font-pro);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #82bd59;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pro-sep-line {
    width: 65px;
    height: 3px;
    background-color: #ff7a4b;
    margin-bottom: 26px;
}

.pro-about-text p {
    font-family: var(--font-pro);
    font-size: 18px;
    line-height: 1.6;
    color: #808291;
    margin-bottom: 14px;
    text-align: justify;
    text-justify: inter-word;
}

/* Project Showcase Carousel */
.pro-carousel-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(24, 27, 49, 0.1);
    background: #181b31;
    aspect-ratio: 16 / 12;
}

.pro-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.pro-carousel-slide.active {
    opacity: 1;
}

.pro-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pro-carousel-dots .p-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-carousel-dots .p-dot.active {
    background: #ffffff;
    width: 22px;
    border-radius: 6px;
}

/* 3. Vision & Mission (Teal Section) */
.pro-vision-section {
    padding: 90px 0 75px;
    background-color: rgba(31, 198, 198, 0.11);
}

.pro-vision-heading {
    font-family: var(--font-pro);
    font-size: 36px;
    line-height: 1.222em;
    color: #000000;
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
}

.pro-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.pro-vm-box p {
    font-family: var(--font-pro);
    font-size: 16px;
    line-height: 22px;
    color: #818897;
    text-align: justify;
    text-justify: inter-word;
}

.pro-vm-box strong {
    font-family: var(--font-pro);
    color: #181b31;
    font-weight: 700;
}

/* 4. Our Values (Icon Box Section) */
.pro-values-section {
    padding: 95px 0 75px;
    background-color: #ffffff;
}

.pro-section-title-center {
    font-family: var(--font-pro);
    font-size: 36px;
    font-weight: 700;
    color: #181b31;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 55px;
    letter-spacing: 0.02em;
}

.pro-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    align-items: flex-start;
}

.pro-value-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.pro-value-icon-wrap {
    margin-bottom: 28px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pro-value-icon-wrap img {
    height: 90px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.pro-value-card:hover .pro-value-icon-wrap img {
    transform: scale(1.06);
}

.pro-value-card h3 {
    font-family: var(--font-pro);
    font-size: 20px;
    font-weight: 700;
    color: #181b31;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-align: center;
}

.pro-value-card p {
    font-family: var(--font-pro);
    font-size: 16px;
    line-height: 1.7;
    color: #808291;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    width: 100%;
}

/* 5. Meet The Team Section */
.pro-team-section {
    padding: 85px 0 75px;
    background-color: rgba(31, 198, 198, 0.11);
    overflow: visible;
}

.pro-team-header-title {
    font-family: var(--font-pro);
    font-size: 36px;
    font-weight: 700;
    color: #181b31;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
}

.pro-team-member-row {
    padding: 35px 0;
    background: transparent;
    overflow: visible;
}

.pro-member-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    align-items: center;
    overflow: visible;
}

.pro-member-grid.reverse {
    grid-template-columns: 6fr 5fr;
}

.pro-member-img-frame {
    position: relative;
    padding: 15px;
    overflow: visible;
}

.pro-member-gradient-bg {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(139deg, rgb(130, 189, 89) 20.38%, rgb(72, 105, 55) 94.9%);
    border-radius: 0;
    z-index: 1;
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.pro-member-img-holder {
    position: relative;
    z-index: 2;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
    background: #ffffff;
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.pro-member-img-holder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Scrolled into view / Active Animation (Bottom-Left green shadow) */
.pro-member-img-frame.is-in-view .pro-member-gradient-bg,
.pro-member-img-frame.reveal-active .pro-member-gradient-bg,
.pro-member-img-frame.is-visible .pro-member-gradient-bg {
    opacity: 1;
    transform: translate(-22px, 22px);
}

.pro-member-img-frame.is-in-view .pro-member-img-holder,
.pro-member-img-frame.reveal-active .pro-member-img-holder,
.pro-member-img-frame.is-visible .pro-member-img-holder {
    opacity: 1;
    transform: translate(8px, -8px);
}

/* Reverse Rows (Nate, Palani - photo on right) (Bottom-Right green shadow) */
.pro-member-grid.reverse .pro-member-img-frame.is-in-view .pro-member-gradient-bg,
.pro-member-grid.reverse .pro-member-img-frame.reveal-active .pro-member-gradient-bg,
.pro-member-grid.reverse .pro-member-img-frame.is-visible .pro-member-gradient-bg {
    opacity: 1;
    transform: translate(22px, 22px);
}

.pro-member-grid.reverse .pro-member-img-frame.is-in-view .pro-member-img-holder,
.pro-member-grid.reverse .pro-member-img-frame.reveal-active .pro-member-img-holder,
.pro-member-grid.reverse .pro-member-img-frame.is-visible .pro-member-img-holder {
    opacity: 1;
    transform: translate(-8px, -8px);
}

/* Hover micro-interactions */
.pro-member-img-frame:hover .pro-member-gradient-bg {
    transform: translate(-28px, 28px);
}

.pro-member-grid.reverse .pro-member-img-frame:hover .pro-member-gradient-bg {
    transform: translate(28px, 28px);
}

/* Scroll Reveal Utilities */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-fade-up {
    transform: translateY(35px);
}

.reveal-fade-left {
    transform: translateX(-35px);
}

.reveal-fade-right {
    transform: translateX(35px);
}

.reveal-fade-up.is-in-view,
.reveal-fade-left.is-in-view,
.reveal-fade-right.is-in-view,
.reveal-fade-up.reveal-active,
.reveal-fade-left.reveal-active,
.reveal-fade-right.reveal-active,
.reveal-fade-up.is-visible,
.reveal-fade-left.is-visible,
.reveal-fade-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

.pro-member-name {
    font-family: var(--font-pro);
    font-size: 36px;
    font-weight: 700;
    color: #181b31;
    margin-bottom: 4px;
}

.pro-member-role {
    font-family: var(--font-pro);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #486937;
    text-transform: uppercase;
    margin-bottom: 22px;
    display: block;
}

.pro-member-desc p {
    font-family: var(--font-pro);
    font-size: 16px;
    line-height: 2em;
    letter-spacing: 0.01em;
    color: rgb(61, 61, 61);
    margin-bottom: 18px;
    text-align: justify;
    text-justify: inter-word;
}

/* 6. Why Choose Us (6 Side-by-side cards) */
.pro-why-section {
    padding: 95px 0 100px;
    background-color: #ffffff;
}

.pro-why-header {
    text-align: center;
    margin-bottom: 60px;
}

.pro-why-title {
    font-family: var(--font-pro);
    font-size: 36px;
    font-weight: 700;
    color: #181b31;
    margin-bottom: 12px;
}

.pro-why-subtitle {
    font-family: var(--font-pro);
    font-size: 18px;
    color: #808291;
}

.pro-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.pro-why-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 12px 35px rgba(24, 27, 49, 0.05);
    border: 1px solid #f1f3f7;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.pro-why-card:hover {
    background: linear-gradient(139deg, rgb(130, 189, 89) 20.38%, rgb(72, 105, 55) 94.9%);
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(72, 105, 55, 0.28);
    border-color: transparent;
}

.pro-why-icon-wrap {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-why-svg {
    width: 46px;
    height: 46px;
    display: block;
}

.pro-why-svg path,
.pro-why-svg line,
.pro-why-svg polyline,
.pro-why-svg polygon,
.pro-why-svg rect,
.pro-why-svg circle {
    fill: none;
    stroke: url(#why-gradient);
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 260;
    stroke-dashoffset: 0;
    transition: stroke 0.35s ease;
}

/* Slower, Smooth SVG Line Drawing Animation on Hover */
.pro-why-card:hover .pro-why-svg path,
.pro-why-card:hover .pro-why-svg line,
.pro-why-card:hover .pro-why-svg polyline,
.pro-why-card:hover .pro-why-svg polygon,
.pro-why-card:hover .pro-why-svg rect,
.pro-why-card:hover .pro-why-svg circle {
    stroke: #ffffff;
    animation: drawSvg 3.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes drawSvg {
    0% {
        stroke-dashoffset: 260;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.pro-why-card h3 {
    font-family: var(--font-pro);
    font-size: 20px;
    font-weight: 700;
    color: #181b31;
    margin-bottom: 12px;
    transition: color 0.35s ease;
}

.pro-why-card:hover h3 {
    color: #ffffff;
}

.pro-why-card p {
    font-family: var(--font-pro);
    font-size: 15.5px;
    line-height: 1.65;
    color: #808291;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
    transition: color 0.35s ease;
}

.pro-why-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* 7. Educational Trust Section */
.pro-trust-section {
    position: relative;
    background: url('../images/PET_BG-min.jpg') center center/cover no-repeat;
    padding: 160px 0 150px;
    color: #ffffff;
    margin: 0;
    min-height: 560px;
    display: flex;
    align-items: center;
}

/* 8. Testimonials Section (Seamless with 0 margin gap) */
.testimonials-section,
.pro-testimonials-section {
    margin: 0 !important;
}

.pro-trust-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin-left: auto;
    color: #ffffff;
    padding-right: 20px;
}

.pro-trust-title {
    font-family: var(--font-pro);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15em;
    color: #ffffff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pro-trust-desc {
    font-family: var(--font-pro);
    font-size: 18px;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 22px;
    font-weight: 400;
    text-align: justify;
}

@media (max-width: 991px) {
    .pro-trust-section {
        padding: 100px 0;
        min-height: auto;
        background: linear-gradient(rgba(14, 18, 28, 0.7), rgba(14, 18, 28, 0.7)), url('../images/PET_BG-min.jpg') center center/cover no-repeat;
    }

    .pro-trust-content {
        max-width: 100%;
        margin-left: 0;
        padding-right: 0;
    }

    .pro-trust-title {
        font-size: 32px;
    }
}

/* Responsive */
@media (max-width: 991px) {

    .pro-about-grid,
    .pro-vm-grid,
    .pro-values-grid,
    .pro-member-grid,
    .pro-member-grid.reverse,
    .pro-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pro-member-grid.reverse .pro-member-img-frame {
        order: -1;
    }

    .pro-trust-box {
        margin: 0 auto;
        padding: 35px 25px;
    }
}

@media (max-width: 767px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .pro-hero-section {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .pro-hero-video-wrap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .pro-hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .pro-hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.08em;
    }

    .pro-hero-dream {
        font-size: 20px;
        letter-spacing: 0.12em;
        line-height: 1.2;
    }

    .pro-hero-build {
        font-size: 48px;
        line-height: 1.1;
        letter-spacing: normal;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Prevent horizontal overflow from transform animations on mobile */
    .reveal-fade-left,
    .reveal-fade-right {
        transform: translateY(20px);
    }

    /* Team Member Green Shadow & Box Shadow on Mobile */
    .pro-member-img-frame {
        padding: 10px 14px 18px 14px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }

    .pro-member-img-holder {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09) !important;
    }

    /* 1st & 3rd Members (Vel, Hari Krishnan): Subtle Green shadow to Bottom-Left on scroll */
    .pro-member-img-frame.reveal-active .pro-member-gradient-bg,
    .pro-member-img-frame.is-in-view .pro-member-gradient-bg {
        opacity: 1;
        transform: translate(-10px, 10px) !important;
    }

    .pro-member-img-frame.reveal-active .pro-member-img-holder,
    .pro-member-img-frame.is-in-view .pro-member-img-holder {
        opacity: 1;
        transform: translate(3px, -3px) !important;
    }

    /* 2nd & 4th Members (Nate, Palani): Subtle Green shadow to Bottom-Right on scroll */
    .pro-member-grid.reverse .pro-member-img-frame.reveal-active .pro-member-gradient-bg,
    .pro-member-grid.reverse .pro-member-img-frame.is-in-view .pro-member-gradient-bg {
        opacity: 1;
        transform: translate(10px, 10px) !important;
    }

    .pro-member-grid.reverse .pro-member-img-frame.reveal-active .pro-member-img-holder,
    .pro-member-grid.reverse .pro-member-img-frame.is-in-view .pro-member-img-holder {
        opacity: 1;
        transform: translate(-3px, -3px) !important;
    }

    .pro-about-section,
    .pro-vision-section,
    .pro-values-section,
    .pro-team-section,
    .pro-why-section {
        padding: 55px 0;
        overflow-x: hidden;
    }

    .pro-about-title,
    .pro-section-title-center,
    .pro-team-header-title,
    .pro-why-title,
    .pro-vision-heading {
        font-size: 26px;
    }

    .pro-about-tagline {
        font-size: 17px;
    }

    .pro-member-name {
        font-size: 26px;
    }

    .pro-trust-title {
        font-size: 26px;
    }
}