
/*
Theme Name: PetroEdge-Custom
Author: Gargi
Version: 1.0
Description: Custom corporate theme
*/

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}
.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:64px;
    margin-bottom:15px;
}

.hero-content p{
    font-size:24px;
    margin-bottom:40px;
}

.btn-outline{
    background:transparent;
    border:2px solid white;
}

.services{
    padding:80px 0;
}

.services h2{
    text-align:center;
    margin-bottom:40px;
}

.cards{
    display:flex;
    gap:20px;
}

.card{
    flex:1;
    background:#f5f5f5;
    padding:30px;
    border-radius:10px;
}

.course-search{
    position:relative;
    z-index:3;
    margin-top:40px;
}

.course-search form{
    max-width:800px;
    margin:0 auto;
    display:flex;
    background:#fff;
    border-radius:60px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.course-search input{
    flex:1;
    border:none;
    padding:20px 30px;
    font-size:18px;
    outline:none;
}

.course-search button{
    border:none;
    background:#ff9800;
    color:#fff;
    padding:0 35px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

/* ==========================================================================
   NAV / MEGA MENU
   Works with WordPress's default wp_nav_menu() output (.menu, .menu-item,
   .sub-menu, .menu-item-has-children). No custom walker required.

   Special per-item styles require a CSS class added in:
   Appearance > Menus > Screen Options > check "CSS Classes" > expand the
   item > type the class shown in each section below.
   ========================================================================== */


:root {
    --menu-text: #1a1a1a;
    --menu-hover: #c8102e;
    --menu-bg: #ffffff;
    --menu-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --menu-border: #ececec;

    /* Dark dropdown panel — used by Industry Segment & Subject Area */
    --dropdown-bg: #111111;
    --dropdown-text: #f2f2f2;
    --dropdown-bullet: #e8491d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.menu,
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: var(--menu-text);
}

/* ---------- Top-level row (applies to ALL items) ---------- */
.menu {
    display: flex;
    align-items: center;
}

.menu > .menu-item {
    position: relative;
}

.menu > .menu-item > a {
    display: flex;
    align-items: center;
    padding: 0px 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.menu > .menu-item > a:hover,
.menu > .menu-item.current-menu-item > a {
    color: var(--menu-hover);
}

.menu > .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    opacity: 0.6;
}

/* ---------- DEFAULT dropdown style (every item except the two special ones below) ---------- */
.menu .sub-menu {
    display: block; /* keeps items stacked vertically */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--menu-bg);
    box-shadow: var(--menu-shadow);
    border: 1px solid var(--menu-border);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 100;
}

.menu > .menu-item:hover > .sub-menu,
.menu > .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .sub-menu .menu-item {
    position: relative;
}

.menu .sub-menu > .menu-item > a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--menu-text);
}



/* Level 3+ flyout (default style) */
.menu .sub-menu .sub-menu {
    top: -9px;
    left: 100%;
    transform: translateX(8px);
}

.menu .sub-menu .menu-item:hover > .sub-menu,
.menu .sub-menu .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.menu .sub-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu .sub-menu .menu-item-has-children > a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 10px;
}

/* Keep right-edge dropdowns from overflowing the viewport */
.menu > .menu-item:nth-last-child(-n+2) > .sub-menu {
    left: auto;
    right: 0;
}

.menu > .menu-item:nth-last-child(-n+2) .sub-menu .sub-menu {
    left: auto;
    right: 100%;
    transform: translateX(-8px);
}

.menu > .menu-item:nth-last-child(-n+2) .sub-menu .menu-item:hover > .sub-menu,
.menu > .menu-item:nth-last-child(-n+2) .sub-menu .menu-item:focus-within > .sub-menu {
    transform: translateX(0);
}

/* ==========================================================================
   "Industry Segment" ONLY — dark panel + orange arrow bullets.
   CSS class required on the menu item: menu-industry-segment
   ========================================================================== */
.menu-industry-segment > .sub-menu {
    min-width: 340px;
    background: var(--dropdown-bg);
    border: none;
    border-radius: 4px;
    padding: 22px 26px;
}

.menu-industry-segment > .sub-menu > .menu-item:not(:last-child) {
    margin-bottom: 14px;
}

.menu-industry-segment > .sub-menu > .menu-item > a {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--dropdown-text);
    white-space: nowrap;
}

.menu-industry-segment > .sub-menu > .menu-item > a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--dropdown-bullet);
    margin-right: 12px;
    flex-shrink: 0;
}



/* ==========================================================================
   "Subject Area" ONLY — wide multi-column mega menu, centered on screen.
   CSS class required on the menu item: menu-subject-area
   ========================================================================== */
.menu-subject-area > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    column-count: 2;
    column-gap: 60px;
    width: 920px;
    max-width: calc(100vw - 40px);
    background: var(--dropdown-bg);
    border: none;
    border-radius: 4px;
    padding: 30px 34px;
}

/* This needs !important so it survives the generic show-state rule above,
   which also sets `transform` and would otherwise wipe out the centering */
.menu-subject-area.menu-item:hover > .sub-menu,
.menu-subject-area.menu-item:focus-within > .sub-menu {
    transform: translateX(-50%) translateY(0) !important;
}

/* Each category block (heading + its course list) stays intact, isn't
   split across the two columns */
.menu-subject-area > .sub-menu > .menu-item {
    break-inside: avoid;
    width: 100%;
    margin-bottom: 26px;
}

/* The heading itself (e.g. "Oil and Gas Technical Training") — bold,
   no bullet, no flyout arrow */
.menu-subject-area > .sub-menu > .menu-item > a {
    display: block;
    padding: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dropdown-text);
    white-space: normal;
}

.menu-subject-area > .sub-menu > .menu-item.menu-item-has-children > a::after {
    content: none;
}

/* The course links under each heading — shown statically, not as a
   hover flyout, with the orange triangle bullet */
.menu-subject-area .sub-menu .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: 0;
}

.menu-subject-area .sub-menu .sub-menu > .menu-item > a {
    display: flex;
    align-items: flex-start;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--dropdown-text);
    white-space: normal;
}

.menu-subject-area .sub-menu .sub-menu > .menu-item > a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--dropdown-bullet);
    margin-right: 10px;
    margin-top: 6px;
    flex-shrink: 0;
}


/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 980px) {

    .menu {
        flex-direction: column;
        align-items: stretch;
    }

    .menu > .menu-item {
        width: 100%;
        border-bottom: 1px solid var(--menu-border);
    }

    .menu .sub-menu,
    .menu .sub-menu .sub-menu {
        position: static;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .25s ease;
    }

    .menu > .menu-item:focus-within > .sub-menu,
    .menu .sub-menu .menu-item:focus-within > .sub-menu {
        max-height: 1000px;
    }

    .menu .sub-menu > .menu-item > a {
        padding-left: 32px;
    }

    .menu .sub-menu .sub-menu > .menu-item > a {
        padding-left: 48px;
    }

    .menu-industry-segment > .sub-menu {
        padding: 12px 0;
    }

    .menu-industry-segment > .sub-menu > .menu-item:not(:last-child) {
        margin-bottom: 0;
    }

    .menu-industry-segment > .sub-menu > .menu-item > a {
        padding: 10px 32px;
    }

    .menu-subject-area > .sub-menu {
        column-count: 1;
        width: 100%;
        padding: 16px 0;
        transform: none;
    }

    .menu-subject-area.menu-item:hover > .sub-menu,
    .menu-subject-area.menu-item:focus-within > .sub-menu {
        transform: none !important;
    }

    .menu-subject-area > .sub-menu > .menu-item {
        padding: 0 18px;
        margin-bottom: 18px;
    }

    /* Header stacks on mobile: logo on top, nav+actions below */
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
    }

    .header-actions {
        margin-left: 0;
    }

    .logo {
        margin-right: 0;
    }
}

/* ==========================================================================
   "Calendar" ONLY — 2-column dark mega dropdown.
   CSS class required on the menu item: menu-calendar
   ========================================================================== */
.menu-calendar > .sub-menu {
  background: #111111 !important;
  border-top: 3px solid #c0392b;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 28px 32px;
  min-width: 600px;
  left: 0;
}

.menu-calendar > .sub-menu > li {
  list-style: none;
}

.menu-calendar > .sub-menu > li > a {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
  display: block;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

/* ==========================================================================
   HEADER LAYOUT — logo fixed left, nav + search + chat button grouped right
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: sticky;
    top: 32px;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
    flex-wrap: nowrap;
}

/* LEFT: logo only, never shrinks, fixed gap before nav starts */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.logo a {
    display: flex;
    align-items: center;
}

.site-logo-img {
    display: block;
    height: 20px;
    width: auto;
    max-width: none;
}

/* RIGHT: nav menu, allowed to shrink if space is tight */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

/* RIGHT: search + chat button group, fixed, never compressed off-screen */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 18px;
    margin-left: 18px;
}

.header-search {
    order: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.header-search:hover {
    color: #c8102e;
}

.header-search span {
    color: inherit;
}

.btn-chat-now {
    order: 2;
    display: inline-flex;
    align-items: center;
    background: #c8102e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
    margin: 10px;
}

.btn-chat-now:hover {
    background: #a00d24;
    color: #fff;
}


/* ==========================
   EXPLORE COURSES CARDS
========================== */

.segments-grid{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:10px;
}

.segment-card{
    background:#AF272F;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:45px 20px 35px;
    border-right:1px solid rgba(255,255,255,.15);
}

.segment-card:last-child{
    border-right:none;
}

.segment-icon{
    width:60px;
    height:60px;
    margin-bottom:22px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.segment-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    filter:brightness(0) invert(1); /* forces icon to solid white */
}

.segment-title{
    color:#FFFFFF;
    font-size:20px;
    font-weight:700;
    letter-spacing:.5px;
    line-height:1.2;
    margin:0 0 8px;
    text-transform:uppercase;
}

.segment-subtitle{
    color:#FFFFFF;
    line-height:1.5;
    font-size:13px;
    margin:0 0 30px;
}

.segment-btn{
    display:inline-block;
    border:1px solid #fff;
    color:#fff;
    text-decoration:none;
    background:transparent;
    font-weight:600;
    font-size:13px;
    padding:10px 18px;
    transition:all .3s ease;
    margin-top:auto;
}

.segment-btn:hover{
    background:#fff;
    color:#AF272F;
}

/* Tablet */
@media(max-width:991px){
    .segments-grid{
        grid-template-columns:repeat(3,1fr);
    }
    .segment-card{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.15);
    }
}

/* Mobile */
@media(max-width:767px){
    .segments-grid{
        grid-template-columns:1fr;
    }
    .segment-title{
        font-size:18px;
    }
}
/* ==========================
   SECTION HEADING
========================== */

.segments-section{
    padding:80px 0;
}

.segments-heading{
    text-align:center;
    font-size:42px;
    font-weight:700;
    color:#1F2C5C;
    margin:0;
    line-height:1.2;
}

.segments-divider{
    width:70px;
    height:3px;
    background:#AF272F;
    margin:18px auto 20px;
}

.segments-subheading{
    text-align:center;
    max-width:700px;
    margin:0 auto 50px;
    color:#666;
    font-size:16px;
    line-height:1.8;
}
.vilt-section{
    background:#6f42c1;
    padding:80px 20px;
    text-align:center;
    
}

.vilt-heading{
    color:#fff;
    font-size:48px;
    font-weight:700;
    margin:0 0 25px;
}

.vilt-btn{
    display:inline-block;
    background:#fff;
    color:#AF272F;
    padding:14px 35px;
    text-decoration:none;
    font-weight:700;
    margin-bottom:25px;
    box-shadow:0 0 20px rgba(255,255,255,.4);
}

.vilt-description{
    color:#fff;
    max-width:900px;
    margin:0 auto;
    line-height:1.8;
}
/* ==========================
   TRAINING CALENDAR CTA
========================== */

.schedule-section{
    background:#f3f3f3;
    padding:90px 20px;
    text-align:center;
}

.schedule-heading{
    color:#4b4b4b;
    font-size:46px;
    font-weight:700;
    line-height:1.2;
    margin:0 0 35px;
}

.schedule-btn{
    display:inline-block;
    background:#fff;
    color:#AF272F;
    text-decoration:none;
    font-weight:700;
    font-size:18px;
    padding:16px 40px;
    border:2px solid #fff;

    box-shadow:
        0 0 15px rgba(255,255,255,.8),
        0 4px 12px rgba(0,0,0,.08);

    transition:.3s ease;
}

.schedule-btn:hover{
    transform:translateY(-2px);
    color:#AF272F;
    box-shadow:
        0 0 25px rgba(255,255,255,1),
        0 8px 18px rgba(0,0,0,.12);
}

@media(max-width:767px){

    .schedule-heading{
        font-size:30px;
    }

    .schedule-btn{
        font-size:16px;
        padding:14px 30px;
    }

}
/* ==========================
   OUR CLIENTS
========================== */

.clients-section{
    padding:80px 0;
    background:#fff;
}

.clients-heading{
    text-align:center;
    font-size:42px;
    font-weight:700;
    color:#1F2C5C;
    margin:0;
}

.clients-divider{
    width:70px;
    height:3px;
    background:#AF272F;
    margin:18px auto 50px;
}

.clients-slider{
    overflow:hidden;
    position:relative;
    width:100%;
}

.clients-track{
    display:flex;
    align-items:center;
    gap:60px;
    width:max-content;

    animation: scrollClients 30s linear infinite;
}

.clients-track img{
    height:70px;
    width:auto;
    object-fit:contain;
    flex-shrink:0;
    opacity:.8;
}

.clients-track img:hover{
    filter:none;
    opacity:1;
}

@keyframes scrollClients{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}
/* ==========================
   AWARD / RECOGNITION SECTION
========================== */

.award-section{
    background:#eef1f6;
    padding:60px 0;
}

.award-inner{
    display:flex;
    align-items:center;
    gap:80px;
}

.award-logo{
    flex-shrink:0;
    width:220px;
}

.award-logo img{
    width:100%;
    height:auto;
    display:block;
}

.award-text{
    flex:1;
    color:#3a3a3a;
    font-size:15px;
    line-height:1.8;
}

.award-text p{
    margin:0 0 18px;
}

.award-text p:last-child{
    margin-bottom:0;
}

/* Tablet/Mobile */
@media(max-width:767px){
    .award-inner{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .award-logo{
        width:180px;
    }
}
/* ==========================
   TESTIMONIALS SLIDER (refined)
========================== */

.testimonials-section{
    position:relative;
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    background-color:#222;
    padding:110px 50px;
    overflow:hidden;
    margin-bottom: 50px;
}

.testimonials-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.testimonials-inner{
    position:relative;
    z-index:2;
    text-align:center;
}

.testimonials-heading{
    margin:0 0 22px;
}

.testimonials-heading span{
    background:transparent;
    color:#fff;
    font-size:30px;
    font-weight:700;
    padding:8px 22px;
    display:inline-block;
    line-height:1.3;
}

.testimonials-divider{
    width:380px;
    max-width:80%;
    height:1px;
    background:rgba(255,255,255,.5);
    margin:0 auto 55px;
    position:relative;
}

.testimonials-divider::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:9px;
    height:9px;
    background:#c0392b;
}

.testimonials-slider{
    position:relative;
    max-width:760px;
    margin:0 auto;
    min-height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 60px;
}

.testimonials-track{
    position:relative;
    width:100%;
}

.testimonial-slide{
    display:none;
    color:#fff;
}

.testimonial-slide.active{
    display:block;
    animation:fadeInTesti .6s ease;
}

@keyframes fadeInTesti{
    from{ opacity:0; }
    to{ opacity:1; }
}

.testimonial-quote{
    font-size:19px;
    font-weight:400;
    line-height:1.9;
    margin:0 0 28px;
    color:#f1f1f1;
}

.testimonial-name{
    font-size:20px;
    font-weight:700;
    margin:0 0 14px;
    color:#fff;
}

.testimonial-stars{
    font-size:18px;
    letter-spacing:5px;
}

.star-filled{
    color:#f5b400;
}

.star-empty{
    color:rgba(255,255,255,.25);
}

.testi-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:transparent;
    border:none;
    color:rgba(255,255,255,.55);
    font-size:22px;
    cursor:pointer;
    padding:10px;
    z-index:3;
    transition:color .2s ease;
}

.testi-arrow:hover{
    color:#fff;
}

.testi-prev{
    left:0;
}

.testi-next{
    right:0;
}

/* Mobile */
@media(max-width:767px){

    .testimonials-heading span{
        font-size:20px;
        padding:7px 16px;
    }

    .testimonial-quote{
        font-size:15px;
    }

    .testimonials-slider{
        padding:0 35px;
    }
}
/* ===============================
   PROFESSIONAL MEMBERSHIPS
================================= */

.pro-section{
    background:#fff;
    padding:90px 20px;
    text-align:center;
}

.pro-section .container{
    max-width:1100px;
    margin:0 auto;
}

/* Heading */
.pro-heading{
    font-size:42px;
    font-weight:300;
    color:#4a4a4a;
    margin:0;
    line-height:1.2;
    letter-spacing:.5px;
}

/* Divider */
.pro-divider{
    position:relative;
    width:220px;
    height:20px;
    margin:30px auto;
}

.pro-divider::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    height:1px;
    background:#d8d8d8;
    transform:translateY(-50%);
}

.pro-divider-square{
    position:absolute;
    top:50%;
    left:50%;
    width:10px;
    height:10px;
    background:#b41f24;
    transform:translate(-50%,-50%) rotate(45deg);
    z-index:2;
}

/* Subheading */
.pro-subheading{
    max-width:900px;
    margin:0 auto 35px;
    font-size:18px;
    line-height:1.8;
    color:#666;
    font-weight:400;
}

/* Description */
.pro-desc{
    max-width:1000px;
    margin:0 auto;
    font-size:17px;
    line-height:1.9;
    color:#666;
    text-align:center;
}

.pro-desc p{
    margin-bottom:22px;
}

/* Highlighted words */
.pro-desc strong,
.pro-desc b{
    color:#333;
    font-weight:700;
}

/* Mobile */
@media(max-width:768px){

    .pro-section{
        padding:60px 20px;
    }

    .pro-heading{
        font-size:30px;
    }

    .pro-subheading,
    .pro-desc{
        font-size:16px;
    }

    .pro-divider{
        width:160px;
    }
}
/* ==========================
   PARTNERS / ACCREDITATIONS
========================== */

.partners-section{
    background:#fff;
     padding:20px 0 60px; 
    overflow:hidden;
    margin-bottom: 10px;
}

.partners-heading{
    text-align:center;
    font-size:36px;
    font-weight:700;
    color:#1F2C5C;
   margin:0 0 15px;
    line-height:1.2;
}

.partners-track{
    display:flex;
    align-items:center;
    gap:80px;
    width:max-content;

    animation: scrollPartners 25s linear infinite;
}

.partners-track img{
    height:65px;
    width:auto;
    object-fit:contain;
    flex-shrink:0;
}

@keyframes scrollPartners{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

@media(max-width:767px){
    .partners-heading{
        font-size:24px;
    }

    .partners-track img{
        height:45px;
    }
}
/* ==========================
   NEWSLETTER BANNER
========================== */

.newsletter-section{
    background:#e7eaef;
    padding:60px 0 2px;
    text-align:center;
    margin: 0;
}

.newsletter-heading{
    font-size:22px;
    color:#3a3a3a;
    margin:0 0 30px;
    font-weight:400;
}

.newsletter-btn{
    display:inline-block;
    background:#fff;
    color:#c0392b;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
    padding:15px 40px;
    border-radius:50px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:all .25s ease;
}

.newsletter-btn:hover{
    background:#c0392b;
    color:#fff;
}

@media(max-width:767px){
    .newsletter-heading{
        font-size:17px;
        padding:0 20px;
    }

    .newsletter-btn{
        padding:13px 30px;
        font-size:14px;
    }
}


/* ===================
   FOOTER — SOCIAL SECTION (wrapper-agnostic)
=================== */


/* Unwrap up to 3 levels of WordPress widget wrapper divs/p/li tags
   so heading/text/icon links become direct flex items */
.footer-social-section > *,
.footer-social-section > * > *,
.footer-social-section > * > * > * {
    display: contents;
    padding:50px 20px 25px;
}
;

/* Re-assert real display for the elements that should actually render
   as their own block/row instead of staying "contents" */
.footer-social-section h2 {
    display: block;
    width: 100%;
    color: #fff;
    margin-bottom: 6px;
}

.footer-social-section h3 {
    display: block;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.footer-social-section p:not(:has(.social-circle)) {
    display: block;
    width: 100%;
    color: #d6dbe8;
    margin-bottom: 16px;
}
.footer-social-icons{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;          /* spacing between circles */
    margin:28px auto 35px;
    width:100%;
}

.footer-social-icons::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:1px;
    background:rgba(255,255,255,.35);
    transform:translateY(-50%);
    z-index:1;
}

.footer-social-icons .social-circle{
    position:relative;
    z-index:2;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#00206b;        /* same as footer */
    border:1px solid rgba(255,255,255,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}
/* If a ul survives as an actual list (rather than being collapsed by
   the contents cascade above), force it into a horizontal icon row */
.footer-social-section ul {
     position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-social-section .social-circle:hover {
    background: #1a3a8c;
    border-color: #ffffff;
}

.social-nrg span {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-social-section .social-circle svg {
    width: 30px;
    height: 30px;
}

.footer-social-section .social-circle img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===================
   FOOTER — MAIN LAYOUT (wrapper-agnostic)
=================== */
.site-footer {
    background: #00206b;
    color: #fff;
   margin-top: 0;
    padding: 0;
}

.site-footer .footer-top {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding:0 40px 18px;
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.1fr;
    gap: 32px;
    box-sizing: border-box;
}

.footer-col {
    min-width: 0;   /* prevents a column refusing to shrink/stretch */
    width: 100%;
}
/* Make sure whatever WP wraps each widget in doesn't break full-width stretch */
.footer-col > * {
    width: 100%;
}

.footer-col h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 4px;
    align-self: center;
}

.footer-col h3::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin-top: 4px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 4px;
    text-transform: uppercase;
    align-self: center;
}

.footer-col ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.footer-col li {
    margin-bottom: 3px;
}

.footer-col a,
.footer-col p {
    color: #d6dbe8;
    font-size: 11px;
    line-height: 1.6;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.view-link {
    display: inline-block;
    margin-bottom: 10px;
}

.contact-col p {
    margin-bottom: 5px;
}

.footer-logo {
    padding-top: 20px;
}

.footer-logo p {
    font-size: 11px;
    margin-bottom: 8px;
}

.footer-logo img {
    display: block;
    width: 100px;
    height: auto;
}
.footer-social-tagline{
    width:100%;
    text-align:center;
    margin:10px 0 20px;
    color:#fff;
    font-size:18px;
}

.footer-social-tagline p{
    margin:0;
}
/* Bottom strip */
.footer-bottom {
    background: #26469d;
    padding: 14px 0;
    text-align: center;
}

.footer-bottom a {
    color: #fff;
    font-size: 11px;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom p {
    color: #fff;
    font-size: 11px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr;
    }
}