/* ============================================================
   Professional Section Styles
   Scope: About Us | Gallery | Videos We Recommend | Testimonials
   Used on: Home/Index and each section's own page
   ============================================================ */

:root {
    --pro-primary: #02407e;
    --pro-primary-dark: #00294f;
    --pro-accent: #fdc236;
    --pro-text: #545454;
    --pro-text-light: #7a7a7a;
    --pro-bg-soft: #f5f8fb;
    --pro-radius: 14px;
    --pro-shadow: 0 10px 30px rgba(2, 64, 126, 0.08);
    --pro-shadow-hover: 0 20px 40px rgba(2, 64, 126, 0.16);
}

/* ================= Header / Logo ================= */
.logo_full {
    padding: 8px 0 !important;
}

.logo_section .logo {
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    float: none;
}

.pro-logo-badge {
    display: inline-flex !important;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 3px 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pro-logo-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.pro-logo-badge img {
    width: auto !important;
    height: auto;
    max-height: 95px;
    max-width: 100%;
    display: block;
    margin: 0 !important;
}

@media only screen and (max-width:991px) {
    .pro-logo-badge { padding: 3px 6px; }
    .pro-logo-badge img { max-height: 72px; }
}

@media only screen and (max-width:520px) {
    .pro-logo-badge { padding: 2px 6px; border-radius: 8px; }
    .pro-logo-badge img { max-height: 54px; }
}

.pro-logo-badge-footer {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

    .pro-logo-badge-footer img {
        max-height: 80px;
    }

/* ================= Navigation Menu (desktop only; mobile untouched) ================= */
.stellarnav:not(.mobile) > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
}

.stellarnav:not(.mobile) > ul > li > a {
    padding: 12px 18px !important;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .3px;
    border-radius: 8px;
    transition: all .25s ease;
}

.stellarnav:not(.mobile) > ul > li:hover > a,
.stellarnav:not(.mobile) > ul > li > a:hover {
    background: rgba(255, 255, 255, .15);
    color: var(--pro-accent, #fdc236) !important;
}

.stellarnav:not(.mobile) li.has-sub > a:after {
    margin-left: 7px;
    opacity: .85;
}

/* Dropdown panel */
.stellarnav:not(.mobile) ul ul {
    background: #fff !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(2, 20, 40, 0.25);
    padding: 8px;
    width: 215px;
    margin-top: 0;
    overflow: hidden;
}

.stellarnav:not(.mobile) ul ul li {
    display: block;
}

.stellarnav:not(.mobile) ul ul li:hover {
    background: transparent !important;
}

.stellarnav:not(.mobile) ul ul li a {
    color: #333 !important;
    border-bottom: none !important;
    border-radius: 8px;
    padding: 11px 14px !important;
    font-size: 13.5px;
    font-weight: 500;
    transition: all .2s ease;
}

.stellarnav:not(.mobile) ul ul li a:hover,
.stellarnav:not(.mobile) ul ul li:hover > a {
    background: var(--pro-bg-soft, #f5f8fb) !important;
    color: var(--pro-primary, #02407e) !important;
    padding-left: 20px !important;
}

.stellarnav:not(.mobile) ul ul ul {
    margin-top: 0;
    left: 100%;
}

/* ---------- Shared section heading ---------- */
.pro-section {
    padding: 75px 0;
}

.pro-section-alt {
    background: var(--pro-bg-soft);
}

.pro-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.pro-section-head .pro-eyebrow {
    display: inline-block;
    color: var(--pro-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

.pro-section-head h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.pro-section-head .pro-underline {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent));
    margin: 0 auto 18px;
    border-radius: 2px;
}

.pro-section-head p {
    color: var(--pro-text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.pro-section-head.pro-head-light h2,
.pro-section-head.pro-head-light p {
    color: #fff;
}

@media only screen and (max-width:520px) {
    .pro-section { padding: 45px 0; }
    .pro-section-head h2 { font-size: 25px; }
    .pro-section-head { margin-bottom: 30px; }
}

/* ================= About Us ================= */
.pro-about-media {
    position: relative;
    padding: 10px 0;
}

.pro-about-media .pro-about-img {
    width: 100%;
    border-radius: var(--pro-radius);
    box-shadow: var(--pro-shadow);
    display: block;
    border: 6px solid #fff;
}

.pro-about-badge {
    position: absolute;
    right: -10px;
    bottom: 20px;
    background: var(--pro-primary);
    color: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--pro-shadow-hover);
    border: 4px solid #fff;
}

.pro-about-badge strong {
    font-size: 26px;
    line-height: 1;
    display: block;
}

.pro-about-badge span {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pro-about-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.pro-about-content p {
    color: var(--pro-text);
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.pro-about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 10px 0 26px;
}

.pro-about-stats .pro-stat-chip {
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: var(--pro-shadow);
    font-weight: 600;
    color: var(--pro-primary);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pro-about-stats .pro-stat-chip i {
    color: var(--pro-accent);
}

.pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pro-primary);
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s ease;
    box-shadow: var(--pro-shadow);
}

.pro-btn:hover {
    background: var(--pro-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--pro-shadow-hover);
}

@media only screen and (max-width:767px) {
    .pro-about-badge { width:86px; height:86px; right:6px; bottom:-10px; }
    .pro-about-badge strong { font-size:20px; }
    .pro-about-content { margin-top: 40px; }
}

/* ================= Gallery ================= */
.pro-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.pro-gallery-item {
    padding: 12px;
    width: 25%;
}

.pro-gallery-card {
    position: relative;
    border-radius: var(--pro-radius);
    overflow: hidden;
    box-shadow: var(--pro-shadow);
    height: 260px;
    background: #000;
    display: block;
}

.pro-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.pro-gallery-card:hover img {
    transform: scale(1.12);
}

.pro-gallery-card .pro-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,64,126,0) 40%, rgba(2,20,40,0.85) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.pro-gallery-card:hover .pro-gallery-overlay {
    opacity: 1;
}

.pro-gallery-card .pro-gallery-caption {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.pro-gallery-card .pro-gallery-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--pro-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-10px);
    opacity: 0;
    transition: all .3s ease;
}

.pro-gallery-card:hover .pro-gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width:990px) {
    .pro-gallery-item { width: 50%; }
}

@media only screen and (max-width:520px) {
    .pro-gallery-item { width: 100%; }
    .pro-gallery-card { height: 220px; }
}

/* ================= Videos ================= */
.pro-video-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.pro-video-item {
    width: 50%;
    padding: 14px;
}

.pro-video-item-3col {
    width: 33.333%;
}

.pro-video-card {
    background: #fff;
    border-radius: var(--pro-radius);
    box-shadow: var(--pro-shadow);
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
}

.pro-video-card:hover {
    box-shadow: var(--pro-shadow-hover);
    transform: translateY(-6px);
}

.pro-video-thumb {
    position: relative;
    overflow: hidden;
    display: block;
}

.pro-video-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.pro-video-card:hover .pro-video-thumb img {
    transform: scale(1.06);
}

.pro-video-thumb .pro-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(2,64,126,.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 18px rgba(0,0,0,.35);
    transition: all .3s ease;
}

.pro-video-card:hover .pro-video-play {
    background: var(--pro-accent);
    color: #1a1a1a;
    transform: translate(-50%,-50%) scale(1.1);
}

.pro-video-title {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin: 0;
    border-top: 1px solid #eef1f5;
}

@media only screen and (max-width:767px) {
    .pro-video-item, .pro-video-item-3col { width: 100%; }
    .pro-video-thumb img { height: 210px; }
}

/* ================= Testimonials ================= */
.pro-testimonials-section {
    background: linear-gradient(135deg, var(--pro-primary) 0%, #013661 100%);
}

.pro-testimonial-slide {
    display: flex !important;
    align-items: center;
    gap: 30px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--pro-radius);
    padding: 30px;
}

.pro-testimonial-slide .pro-testimonial-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pro-accent);
}

.pro-testimonial-slide .pro-testimonial-body {
    color: #f0f4f8;
}

.pro-testimonial-slide .pro-testimonial-body i.fa-quote-left {
    color: var(--pro-accent);
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.pro-testimonial-slide .pro-testimonial-body p {
    font-size: 17px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 14px;
}

.pro-testimonial-slide .pro-testimonial-body h4 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

@media only screen and (max-width:767px) {
    .pro-testimonial-slide { flex-direction: column; text-align: center; padding: 24px; }
    .pro-testimonial-slide .pro-testimonial-avatar img { width: 110px; height: 110px; }
}

/* Testimonials dedicated page grid */
.pro-testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.pro-testimonial-item {
    width: 50%;
    padding: 14px;
}

.pro-testimonial-card {
    background: #fff;
    border-radius: var(--pro-radius);
    box-shadow: var(--pro-shadow);
    padding: 30px;
    height: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    transition: all .3s ease;
}

.pro-testimonial-card:hover {
    box-shadow: var(--pro-shadow-hover);
    transform: translateY(-4px);
}

.pro-testimonial-card .pro-testimonial-quote-icon {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #eef1f5;
    font-size: 34px;
}

.pro-testimonial-card img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pro-accent);
}

.pro-testimonial-card .pro-testimonial-text h4 {
    color: var(--pro-primary);
    font-weight: 700;
    margin: 0 0 8px;
}

.pro-testimonial-card .pro-testimonial-text p {
    color: var(--pro-text);
    line-height: 1.8;
    margin: 0;
}

@media only screen and (max-width:767px) {
    .pro-testimonial-item { width: 100%; }
    .pro-testimonial-card { flex-direction: column; text-align: center; }
    .pro-testimonial-card img { margin: 0 auto; }
}
