/* =======================================================
   OUR TEAM HERO SECTION
   PREMIUM MODERN UI STYLE
========================================================= */

.our-team-hero-section{
    position:relative;
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px 20px;
    background-size:cover;
    background-position:center;
    overflow:hidden;
}

/* =========================================
   OVERLAY
========================================= */

.our-team-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)),
        url('../images/ebony-black-carousel-far.webp') center/cover no-repeat;
    backdrop-filter:blur(5px);
    z-index:1;
}

/* =========================================
   CONTAINER
========================================= */

.our-team-hero-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
}

/* =========================================
   CONTENT
========================================= */

.our-team-hero-content{
    text-align:center;
    color:#ffffff;
    animation:ourTeamHeroFadeUp 1s ease forwards;
    opacity:0;
}

/* =========================================
   TITLE
========================================= */

.our-team-hero-title{
    font-family:'Orbitron',sans-serif;
    font-size:48px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:20px;
    line-height:1.3;
    letter-spacing:.5px;
    text-shadow:0 4px 20px rgba(0,0,0,0.35);
}

/* =========================================
   DIVIDER
========================================= */

.our-team-hero-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

/* =========================================
   LINE
========================================= */

.our-team-hero-line{
    width:160px;
    height:14px;
    border-radius:20px;
    background:#ffffff;
    opacity:.7;
    position:relative;
    overflow:hidden;
}

.our-team-hero-line::before{
    content:"";
    position:absolute;
    inset:0;
    background:#CE0F2C;
    animation:ourTeamLineMove 2s linear infinite;
}

/* =========================================
   ICON
========================================= */

.our-team-hero-icon{
    width:18px;
    height:18px;
    display:flex;
    animation:ourTeamHeroPulse 2s ease infinite;
}

.our-team-hero-icon svg{
    fill:#CE0F2C;
    width:100%;
    height:100%;
    filter:drop-shadow(0 0 10px rgba(206,15,44,0.5));
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes ourTeamHeroFadeUp{

    from{
        transform:translateY(40px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}

@keyframes ourTeamLineMove{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(100%);
    }

}

@keyframes ourTeamHeroPulse{

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.2);
    }

}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:768px){

    .our-team-hero-title{
        font-size:28px;
    }

    .our-team-hero-section{
        padding:60px 15px;
    }

    .our-team-hero-line{
        width:70px;
    }

}

@media (max-width:480px){

    .our-team-hero-title{
        font-size:24px;
        line-height:1.4;
    }

    .our-team-hero-line{
        width:40px;
    }

    .our-team-hero-divider{
        gap:8px;
    }

}


/* =========================================
   OUR TEAM ABOUT SECTION STYLE  
========================================= */

.our-team-about-section{
    position:relative;
    padding:clamp(10px,8vw,15px) 20px;
    overflow:hidden;
}

/* Background */
.our-team-about-section::before{
    content:"";
    position:absolute;
    inset:0;
    background: var(--paving-bg) center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.05);
    z-index:-2;
}

/* Overlay */
.our-team-about-section::after{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(255,255,255,0.85);
    z-index:-1;
}

.our-team-about-container{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:clamp(40px,6vw,80px);
    align-items:flex-start;
}

/* =========================================
   LEFT CONTENT
========================================= */

.our-team-about-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    font-family:calibri;
}

.our-team-about-content h2{
    font-family: 'Anton', sans-serif;
    color:#CE0F2C;
    font-size:clamp(20px,4vw,38px);
    font-weight:800;
    margin-bottom:5px;
    line-height:1.15;
}

.our-team-about-content p{
    color:rgba(17,17,17,0.92);
    font-size:18px;
    font-weight:500;
    line-height:1.75;
    margin-bottom:5px;
}

.our-team-about-content p a{
    color:#CE0F2C;
    text-decoration:none;
}

.our-team-about-content ul{
    padding-left:18px;
    margin-bottom:5px;
    line-height:1.25;
    font-size:18px;
}

.our-team-about-content ul li{
    margin-bottom:5px;
    font-size:1rem;
    font-weight:500;
    font-size:18px;
}


/* =========================================
   CONTACT BUTTON
========================================= */
.our-team-about-cta-wrapper{
    margin-top:28px;
}

.our-team-about-cta-button{
    display: inline-block;
    padding: 14px 32px;
    background: #CE0F2C;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .5px;
    cursor: pointer;
    z-index: 1;

    /* animation */
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease-out forwards;
}

.our-team-about-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg);
    transition: .5s;
}

.our-team-about-cta-button:hover::before {
    left: 120%;
}

.our-team-about-cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 28px rgba(206,15,44,0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   FORM BOX
========================================= */

.our-team-about-form-box{
    background:#fff;
    width:100%;
    max-width:460px;
    margin-left:auto;
    padding:30px;
    border-radius:16px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    height:auto;
    transition:.3s ease;
}

.our-team-about-form-box:hover{
    transform:translateY(-4px);
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}

/* TITLE */
.our-team-about-form-title{
    background:#000;
    border:5px solid #CE0F2C;
    color:#fff;
    padding:14px;
    font-size:1.2rem;
    font-weight:600;
    text-align:center;
    margin:0 0 18px 0; /* GAP FIX */
    border-radius:8px;
}

/* =========================================
   CONTACT FORM 7 COMPLETE FIX
========================================= */

/* Remove ALL unwanted spacing */
.our-team-about-form-box .wpcf7,
.our-team-about-form-box .wpcf7-form,
.our-team-about-form-box .wpcf7-form p{
    margin:0 !important;
    padding:0 !important;
}

/* Remove line breaks */
.wpcf7-form br{
    display:none;
}

/* Remove bottom gap */
.our-team-about-form-box .wpcf7-form > p:last-child{
    margin-bottom:0 !important;
}

/* Response message */
.our-team-about-form-box .wpcf7-response-output{
    margin:10px 0 0 !important;
    border-radius:8px;
}

/* =========================================
   FORM STYLE
========================================= */

.quote-form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.quote-form label{
    display:block;
    width:100%;
}

/* INPUT */
.quote-form input,
.quote-form select,
.quote-form textarea{
    width:100%;
    height:44px;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:.95rem;
    background:#fff;
    transition:.3s ease;
    box-shadow:0 2px 6px rgba(0,0,0,0.04);
}

/* TEXTAREA */
.quote-form textarea{
    height:110px;
    resize:none;
}

/* FOCUS */
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus{
    border-color:#CE0F2C;
    box-shadow:0 0 0 3px rgba(206,15,44,.15);
    transform:translateY(-1px);
    outline:none;
}

/* SELECT FIX */
.quote-form select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml;utf8,<svg fill='%23111' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:14px;
    padding-right:40px;
    cursor:pointer;
}

/* SUBMIT */
.quote-form input[type="submit"]{
    width:100%;
    background:#CE0F2C;
    color:#fff;
    border:none;
    padding:14px;
    font-size:.95rem;
    font-weight:600;
    border-radius:50px;
    cursor:pointer;
    transition:.3s ease;
}

.quote-form input[type="submit"]:hover{
    background:#000;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:1024px){

    .our-team-about-container{
        grid-template-columns:1fr;
    }

    .our-team-about-form-box{
        max-width:600px;
        margin:0 auto;
    }

    .our-team-about-content{
        text-align:center;
        align-items:center;
    }

}

@media (max-width:576px){

    .our-team-about-section{
        padding:60px 15px;
    }

    .our-team-about-content h2{
        font-size:1.9rem;
    }

    .our-team-about-form-box{
        padding:24px;
        border-radius:14px;
    }

    .our-team-about-form-title{
        font-size:1rem;
        padding:12px;
    }

}

/* ===============================
   TEAM SECTION 
================================= */

.paveny-team-section{
    padding: 20px 20px;
    
    color: #fff;
    overflow: hidden;
}

/* Container */
.paveny-team-section .paveny-team-container{
    max-width: 1200px;
    margin: 0 auto;
}

/* ===============================
   HEADER
================================= */

.team-header{
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2{
    font-family: 'Anton', sans-serif;
    color:#CE0F2C;
    font-size:clamp(20px,4vw,38px);
    font-weight:800;
    margin-bottom:5px;
    line-height:1.15;
}

.team-header p{
    font-family: Calibri;
    font-size: clamp(14px, 2vw, 18px);
    color: #000000;
}

/* ===============================
   FEATURED CARD
================================= */

.team-featured{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    color: #000000;
}

.team-card{
    width: 100%;
    max-width: 300px;
    perspective: 1000px;
}

/* FLIP INNER */
.team-card .inner{
    position: relative;
    width: 100%;
    min-height: 380px;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

/* Hover only desktop */
@media (hover: hover){
    .team-card:hover .inner{
        transform: rotateY(180deg);
    }
}

/* Touch support */
.team-card.active .inner{
    transform: rotateY(180deg);
}

/* FACE */
.team-face{
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 18px;
    overflow: hidden;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* FRONT IMAGE */
.team-img img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* INFO */
.team-info{
    padding: 18px;
    text-align: center;
    color: #000000;
}

/* BACK */
.team-back{
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    background: #000000;
}

/* ===============================
   SOCIAL ICONS
================================= */

.team-socials{
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-socials a{
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;

    border-radius: 50%;
    text-decoration: none;

    background: #ffffff;
    color: #CE0F2C;

    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);

    transition: 0.3s ease;
}

.team-socials a:hover{
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
}

/* ===============================
   TEAM GRID (2 MEMBERS)
================================= */

.team-row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ===============================
   GROUP IMAGE
================================= */

.team-group-image{
    text-align: center;
    margin: 50px 0;
}

.team-group-image img{
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

/* ===============================
   CTA BUTTON - PREMIUM UPGRADE
================================= */

.team-cta{
    text-align: center;
}

/* 💎 PREMIUM BUTTON */
.team-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #CE0F2C;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .5px;
    cursor: pointer;
    z-index: 1;

    /* animation */
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease-out forwards;
}

.team-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg);
    transition: .5s;
}

.team-btn:hover::before {
    left: 120%;
}

.team-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 28px rgba(206,15,44,0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================= */

/* Tablet */
@media (max-width: 992px){
    .team-row{
        grid-template-columns: 1fr;
    }

    .team-card{
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 576px){
    .paveny-team-section{
        padding: 70px 15px;
    }

    .team-img img{
        height: 220px;
    }

    .team-socials a{
        width: 34px;
        height: 34px;
    }
}

/* Small mobile */
@media (max-width: 400px){
    .team-btn{
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}


/* =====================================
   ABOUT CTA SECTION
===================================== */
.our-team-cta-section{
    padding:10px;
    background:
        linear-gradient(rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)),
        url('../images/ebony-black-carousel-far.webp') center/cover no-repeat;
    backdrop-filter:blur(5px);
    position:relative;
    overflow:hidden;
}

/* CONTAINER */
.our-team-cta-container{
    max-width:1150px;
    margin:auto;
    text-align:center;
    position:relative;
    z-index:2;
}

/* HEADER */
.our-team-cta-header h3{
    font-family: 'Anton', sans-serif;    
    font-size:clamp(20px,4vw,38px);
    font-weight:800;    
    color:#fff;
    margin-bottom:25px;
    line-height:1.2; 
}

/* CONTENT BOX */
.our-team-cta-content{
    text-align: left;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(12px);
    padding:40px 30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 20px 60px rgba(0,0,0,0.3);
}

/* TEXT */
.our-team-cta-content p{
    font-size: 18px;
    font-family: calibri;
    color:rgba(255,255,255,0.85);
    line-height:1.7;
    margin-bottom:18px;
}

/* LINKS */
.our-team-cta-content a{
    color:#CE0F2C;
    font-weight:600;
    text-decoration:none;
    position:relative;
}

/* underline hover effect */
.our-team-cta-content a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-3px;
    width:0%;
    height:2px;
    background:#ff4d6d;
    transition:0.3s ease;
}

.our-team-cta-content a:hover::after{
    width:100%;
}

/* =========================================
   CONTACT BUTTON
========================================= */
.our-team-cta-wrapper{
    margin-top:28px;
    text-align: center;
}

.our-team-cta-button{
    display: inline-block;
    padding: 14px 32px;
    background: #CE0F2C;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .5px;
    cursor: pointer;
    z-index: 1;

    /* animation */
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease-out forwards;
}

.our-team-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg);
    transition: .5s;
}

.our-team-cta-button:hover::before {
    left: 120%;
}

.our-team-cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 28px rgba(206,15,44,0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:600px){
    .our-team-cta-section{
        padding:70px 15px;
    }

    .our-team-cta-content{
        padding:25px 20px;
    }

    .our-team-cta-header h3{
        font-size:26px;
    }
}