:root {
    --jci-navy: #1A1435;
    --jci-blue: #0097D7;
    --jci-blue-hover: #0085bd;
    --jci-teal: #46C3CF;
    --text-main: #525560;
    --white: #FFFFFF;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- BUTTON SIZES --- */
.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-md {
    padding: 1.15rem 2.25rem;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}


html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- GLOBAL TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--jci-navy);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-main);
}

/* --- ELEMENTOR TEXT EDITOR OVERRIDES --- */
/* Headings */
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6 {
    font-family: var(--font-heading) !important;
    color: var(--jci-navy) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.elementor-widget-text-editor h1 {
    font-size: 2.5rem !important;
    margin-top: 0 !important;
}

.elementor-widget-text-editor h2 {
    font-size: 2rem !important;
}

.elementor-widget-text-editor h3 {
    font-size: 1.5rem !important;
}

.elementor-widget-text-editor h4 {
    font-size: 1.25rem !important;
}

.elementor-widget-text-editor h5 {
    font-size: 1.125rem !important;
}

.elementor-widget-text-editor h6 {
    font-size: 1rem !important;
}

/* Paragraphs */
.elementor-widget-text-editor p {
    font-family: var(--font-body) !important;
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    color: var(--text-main) !important;
    margin-bottom: 1.25rem !important;
}

/* Bold text */
.elementor-widget-text-editor b,
.elementor-widget-text-editor strong {
    font-weight: 700 !important;
    color: var(--jci-navy) !important;
}

/* Italic text */
.elementor-widget-text-editor i,
.elementor-widget-text-editor em {
    font-style: italic !important;
}

/* Lists */
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
    font-family: var(--font-body) !important;
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    color: var(--text-main) !important;
    margin-bottom: 1.5rem !important;
    padding-left: 2rem !important;
}

.elementor-widget-text-editor ul {
    list-style-type: disc !important;
}

.elementor-widget-text-editor ol {
    list-style-type: decimal !important;
}

.elementor-widget-text-editor li {
    margin-bottom: 0.75rem !important;
}

.elementor-widget-text-editor li p {
    margin-bottom: 0.5rem !important;
}

/* Blockquotes */
.elementor-widget-text-editor blockquote {
    font-family: var(--font-body) !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: var(--jci-navy) !important;
    border-left: 4px solid var(--jci-teal) !important;
    padding: 1.5rem 2rem !important;
    margin: 2rem 0 !important;
    background: rgba(72, 199, 210, 0.05) !important;
    font-style: italic !important;
}

.elementor-widget-text-editor blockquote p {
    margin-bottom: 0.5rem !important;
}

/* Horizontal Rules */
.elementor-widget-text-editor hr {
    border: none !important;
    border-top: 2px solid rgba(29, 33, 48, 0.1) !important;
    margin: 2.5rem 0 !important;
}

/* Links */
.elementor-widget-text-editor a {
    color: var(--jci-blue) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

.elementor-widget-text-editor a:hover {
    color: var(--jci-teal) !important;
    text-decoration: underline !important;
}

/* Heading Widget */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-heading) !important;
    color: var(--jci-navy) !important;
}

a {
    color: var(--jci-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--jci-navy);
}

/* --- BREAKOUT UTILITIES --- */
/* Forces an element to be full viewport width even if nested */
.jci-full-width {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
}

/* --- EDITOR VISIBILITY --- */
.elementor-editor-active .hero-slide .hero-title,
.elementor-editor-active .hero-slide .hero-description,
.elementor-editor-active .hero-slide .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
}

/* --- PREMIER HEADER --- */

.jci-nav {
    background: transparent;
    height: 110px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    top: 0 !important;
}

.jci-nav:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.jci-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 100px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.jci-nav.scrolled .nav-link {
    color: var(--jci-navy);
}

.jci-nav.scrolled .nav-link:hover {
    color: var(--jci-blue);
}

/* Logo Sizing - BIGGER as requested */
.logo-container {
    height: 5.5rem;
    /* ~88px */
    position: relative;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toggle Visibility */
.logo-dark {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.scrolled .logo-light {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.scrolled .logo-dark {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.jci-nav.scrolled .logo-container {
    height: 4.5rem;
}

/* Nav Links Base */
.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 110px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--jci-teal) !important;
}

.jci-nav.scrolled .nav-link {
    height: 100px;
    color: var(--jci-navy);
}

.jci-nav.scrolled .nav-link:hover {
    color: var(--jci-blue);
}

.nav-link i {
    font-size: 10px;
    opacity: 0.7;
    margin-top: -2px;
}

/* --- PRESIDENT'S MESSAGE WIDGET --- */
.president-msg-section {
    background-color: #f8fafc;
}

.msg-overlap-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.president-img-box {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 450px;
}

.president-img-inner {
    background: white;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.president-img-inner img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

.president-msg-card {
    background-color: var(--jci-navy);
    color: white;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(26, 24, 69, 0.4);
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (min-width: 1024px) {
    .president-img-box {
        margin-right: -100px;
        /* Overlap effect */
    }

    .president-msg-card {
        padding: 80px 60px 80px 140px;
        /* Extra left padding for overlap */
        flex: 1;
    }
}

.msg-badge {
    font-family: var(--font-heading);
    color: var(--jci-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 800;
}

.msg-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .msg-title {
        font-size: 3.5rem;
    }
}

.msg-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 40px;
    border-left: 4px solid var(--jci-teal);
    padding-left: 20px;
}

/* --- BUTTONS (Refined by User Request) --- */

/* Common Button Base */
.btn,
.jci-btn,
.msg-btn,
.jci-btn-primary,
.jci-btn-secondary,
.jci-button,
.hero-btn-1,
.hero-btn-2,
.jci-events-view-all-btn,
.jci-news-view-all-btn,
button[type="submit"],
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 2.25rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    outline: none;
    font-family: inherit;
    line-height: 1;
}

/* Hover & Active States */
.btn:hover,
.jci-btn:hover,
.msg-btn:hover,
.jci-btn-primary:hover,
.jci-btn-secondary:hover,
.jci-button:hover,
.hero-btn-1:hover,
.hero-btn-2:hover,
.jci-events-view-all-btn:hover,
.jci-news-view-all-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn:active,
.jci-btn:active,
.msg-btn:active,
.jci-btn-primary:active,
.jci-btn-secondary:active,
.jci-button:active,
.hero-btn-1:active,
.hero-btn-2:active,
.jci-events-view-all-btn:active,
.jci-news-view-all-btn:active,
button[type="submit"]:active,
input[type="submit"]:active {
    transform: translateY(0) scale(0.95);
}

/* JCI Primary Navy */
.btn-navy,
.jci-btn-secondary,
.hero-btn-2 {
    background-color: var(--jci-navy);
    color: #ffffff !important;
}

/* JCI Action Blue */
.btn-blue,
.jci-btn-primary,
.jci-btn,
.btn,
.msg-btn,
.jci-button,
.hero-btn-1,
.jci-events-view-all-btn,
.jci-news-view-all-btn,
button[type="submit"],
input[type="submit"] {
    background-color: var(--jci-blue);
    color: #ffffff !important;
    gap: 0.6rem;
}

.btn-blue:hover,
.jci-btn-primary:hover,
.jci-btn:hover,
.btn:hover,
.msg-btn:hover,
.jci-button:hover,
.hero-btn-1:hover,
.jci-events-view-all-btn:hover,
.jci-news-view-all-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: var(--jci-blue-hover);
    color: #ffffff !important;
}

/* Icon Animation for Blue Button */
.btn-blue svg,
.jci-btn-primary svg,
.hero-btn-1 svg,
.jci-btn svg {
    transition: transform 0.2s ease;
}

.btn-blue:hover svg,
.jci-btn-primary:hover svg,
.hero-btn-1:hover svg,
.jci-btn:hover svg {
    transform: translateX(4px);
}

/* Icon Style */
.icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- HEADER BUTTONS --- */
.jci-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    letter-spacing: 0.5px;
}

.jci-btn-outline:hover {
    background: white;
    color: var(--jci-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.jci-nav.scrolled .jci-btn-outline {
    border-color: var(--jci-navy);
    color: var(--jci-navy) !important;
}

.jci-nav.scrolled .jci-btn-outline:hover {
    background: var(--jci-navy);
    color: white !important;
    border-color: var(--jci-navy);
}

.msg-btn:hover svg {
    transform: translate(2px, -2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 25px;
    /* Adjusted for padding */
    left: 0;
    background-color: var(--jci-teal);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.nav-active::after {
    width: 100%;
}

.jci-nav.scrolled .nav-link {
    color: var(--jci-navy);
}

/* --- DROPDOWNS (Level 2 & 3) --- */

.dropdown {
    position: relative;
}

/* Level 2 Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* Tighter animation */
    transition: all 0.2s;
    pointer-events: none;
    z-index: 100;
}

.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Menu Items */
.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    text-transform: capitalize;
    /* Normal casing for submenus */
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--jci-blue);
    padding-left: 30px;
}

/* Level 3 (Sub-Dropdown) */
.dropend {
    position: relative;
}

.dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    /* Push to right */
    width: 220px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s;
    margin-left: -2px;
    /* Slight overlap to prevent gap */
    margin-top: -5px;
    /* Align nicer */
}

.dropend:hover>.dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Scroll adjustments for headers */
.jci-nav.scrolled .dropdown-menu {
    margin-top: 0;
    /* Stick to bar */
    border-top: 4px solid var(--jci-blue);
    /* Accent */
}


/* --- MOBILE HEADER & SIDEPANEL --- */

/* Animated Hamburger */
.mobile-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
    /* Above sidebar */
}

.mobile-toggle span {
    background-color: white;
    height: 3px;
    width: 30px;
    border-radius: 4px;
    transition: all 0.3s;
    margin-left: auto;
}

.mobile-toggle span:nth-child(2) {
    width: 22px;
}

.mobile-toggle:hover span {
    width: 30px;
}

.jci-nav.scrolled .mobile-toggle span {
    background-color: var(--jci-navy);
}

/* Fallback for visibility */
.jci-nav:not(.scrolled) .mobile-toggle span {
    background-color: white;
}

/* Sidebar Styling */
.side-panel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 24, 69, 0.6);
    /* Navy tint backdrop */
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.side-panel-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    /* Wider panel */
    height: 100%;
    background: white;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto;
}

.side-panel.open {
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.side-link {
    font-size: 1.15rem;
    /* Slightly smaller for mobile hierarchy */
    font-weight: 600;
    color: var(--jci-navy);
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
}

.side-link:hover {
    color: var(--jci-blue);
    padding-left: 10px;
}

/* Mobile Submenu Styles */
.mobile-submenu-wrapper {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-submenu-wrapper button.side-link {
    border-bottom: none;
    cursor: pointer;
    background: none;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    margin: 0 -15px;
    will-change: max-height;
}

.mobile-submenu-wrapper.active .mobile-submenu {
    padding: 10px 0;
}

.side-sublink {
    display: block;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
}

.side-sublink:hover {
    color: var(--jci-blue);
    padding-left: 40px;
    background: white;
}

.side-panel-footer {
    margin-top: auto;
    background: var(--bg-light);
    margin: 40px -30px -30px -30px;
    padding: 30px;
    background: #f8fafc;
}

/* --- SECTIONS --- */
.hero-slider {
    margin-top: 0;
    position: relative;
}

.hero-overlay {
    background: rgb(26, 24, 69);
    background: linear-gradient(180deg, rgba(26, 24, 69, 0.3) 0%, rgba(26, 24, 69, 0.5) 50%, rgba(26, 24, 69, 0.9) 100%);
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* --- HERO SLIDER --- */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--jci-blue);
    transform: scale(1.1);
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 10px;
    background: var(--jci-blue);
}

.hero-slide .hero-title,
.hero-slide .hero-description,
.hero-slide .hero-buttons {
    opacity: 1;
    /* Fallback: Visible if JS fails */
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation trigger when swiper is initialized - Hidden by default */
.swiper-initialized .hero-slide .hero-title,
.swiper-initialized .hero-slide .hero-description,
.swiper-initialized .hero-slide .hero-buttons {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Active slide animations */
.swiper-slide-active .hero-title,
.swiper-slide-active .hero-description,
.swiper-slide-active .hero-buttons {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.swiper-slide-active .hero-description {
    transition-delay: 0.2s;
}

.swiper-slide-active .hero-buttons {
    transition-delay: 0.4s;
}

/* Maintain visibility during fade out */
.swiper-slide-next .hero-title,
.swiper-slide-prev .hero-title,
.swiper-slide-duplicate .hero-title {
    transition-delay: 0s !important;
}

footer {
    background-color: var(--jci-navy);
    color: rgba(255, 255, 255, 0.7);
}

/* --- COMPONENTS --- */
.jci-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s;
}

.jci-nav.scrolled .jci-btn-outline {
    border-color: var(--jci-navy);
    color: var(--jci-navy);
}

.jci-btn-outline:hover,
.jci-nav.scrolled .jci-btn-outline:hover {
    background: var(--jci-blue);
    color: white !important;
    border-color: var(--jci-blue);
}

.event-btn-full {
    display: block;
    width: 100%;
    background: var(--jci-blue);
    color: white;
    text-align: center;
    padding: 18px;
    /* Bigger touch target */
    font-weight: 700;
    text-transform: uppercase;
    margin-top: auto;
    transition: background 0.3s;
}

.event-btn-full:hover {
    background: var(--jci-blue-hover);
}

/* Slider CSS */
.slider-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 6rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Card Utils */
.news-card-ref,
.event-card-ref,
.bg-white {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.news-category {
    color: var(--jci-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.news-read-more {
    color: var(--jci-blue);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

/* --- CTA WIDGET --- */
.cta-section-widget {
    overflow: hidden;
}

.cta-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-section-widget:hover .cta-image-wrapper img {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .cta-section-widget h2 {
        font-size: 2.75rem;
    }
}

/* Button Sizes */
.btn-sm {
    padding: 8px 16px !important;
    font-size: 0.875rem !important;
    /* 14px */
}

.btn-md {
    padding: 12px 24px !important;
    font-size: 1rem !important;
    /* 16px */
}

.btn-lg {
    padding: 16px 40px !important;
    font-size: 1.125rem !important;
    /* 18px */
}

/* --- FOOTER WIDGET TITLES --- */
.footer-widget h2,
.footer-widget h3,
.footer-widget .widget-title,
footer h3 {
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    margin-bottom: 1.75rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

/* --- FOOTER QUICK LINKS --- */
/* Target both custom class and standard WP menu classes in footer */
.quick-links-list,
.footer-widget .menu {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.quick-links-list li,
.footer-widget .menu li {
    margin-bottom: 1rem !important;
}

.quick-links-list a,
.footer-widget .menu a,
.footer-widget ul[id*="menu-"] a {
    position: relative !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    padding-bottom: 4px !important;
}

.quick-links-list a::after,
.footer-widget .menu a::after,
.footer-widget ul[id*="menu-"] a::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 0 !important;
    background-color: var(--jci-blue-hover) !important;
    transition: width 0.3s ease !important;
}

.quick-links-list a:hover,
.footer-widget .menu a:hover,
.footer-widget ul[id*="menu-"] a:hover {
    color: var(--jci-blue-hover) !important;
    transform: translateX(6px) !important;
}

.quick-links-list a:hover::after,
.footer-widget .menu a:hover::after,
.footer-widget ul[id*="menu-"] a:hover::after {
    width: 100% !important;
}

/* --- FOOTER NEWSLETTER / CONTACT FORM --- */
.jci-cf7-footer-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Grid layout for name fields if the user wraps them in a div with .jci-form-row */
.jci-cf7-footer-wrapper .jci-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .jci-cf7-footer-wrapper .jci-form-row {
        grid-template-columns: 1fr;
    }
}

.jci-cf7-footer-wrapper label {
    width: 100%;
}

.jci-cf7-footer-wrapper input:not([type="submit"]),
.jci-cf7-footer-wrapper textarea {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.jci-cf7-footer-wrapper input:focus,
.jci-cf7-footer-wrapper textarea:focus {
    outline: none !important;
    border-color: var(--jci-teal) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.jci-cf7-footer-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1;
}

/* Submit Button Styling */
.jci-cf7-footer-wrapper input[type="submit"],
.jci-cf7-footer-wrapper button[type="submit"] {
    width: 100% !important;
    background: var(--jci-teal) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 18px 30px !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 0.5rem !important;
    font-size: 1.1rem !important;
}

.jci-cf7-footer-wrapper input[type="submit"]:hover,
.jci-cf7-footer-wrapper button[type="submit"]:hover {
    background: var(--jci-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(70, 195, 207, 0.3) !important;
}

/* Fix for CF7 default spacing/wrappers */
.jci-cf7-footer-wrapper p {
    margin: 0 !important;
}

.jci-cf7-footer-wrapper br {
    display: none !important;
}

.jci-cf7-footer-wrapper span.wpcf7-not-valid-tip {
    font-size: 12px !important;
    margin-top: 5px !important;
}