﻿.hero h1, .hero h2 {
    text-shadow: -2px 5px 7px rgba(0,0,0,.44);
}

.row.lead-paragraph {
    margin-bottom: 2rem;
}

/* .lead-paragraph p {
    margin-top: 0;

} */

.hero .hero-slider .hero-slide .hero-slide_content {
    /* position: absolute;
    top: calc(50% - 42px);
    transform: translate(0, -50%); */
    font-family: Arial, Helvetica, sans-serif;
    /* z-index: 900; */
}




/* Hero Button Styles */
.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-buttons-secondary {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background-color: #00b9fd;
    color: white;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 185, 253, 0.3);
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    background-color: #0099d4;
    box-shadow: 0 6px 16px rgba(0, 185, 253, 0.4);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background-color: transparent;
    color: white;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background-color: white;
    color: #00b9fd;
}

.hero-btn-tertiary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Information Panels Styles */
.info-panels-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    /* padding: 2rem; */
}



.info-panel {
    height: 100%;
}

.info-panel-link:hover {
    opacity: 0.8;
}

/* Responsive adjustments for the information panels */
@media (max-width: 1024px) and (min-width: 769px) {
    .info-panel-content {
        padding: 20px !important;
    }
    
    .info-panel-header {
        padding: 12px !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 768px) {
    .info-panel-content {
        padding: 20px !important;
    }
    
    .info-panel-header {
        padding: 15px !important;
        font-size: 1.2rem !important;
    }
    
    .info-panel-text {
        font-size: 0.95rem !important;
    }
}

/* styled arrow Link */
.arrow-link {
    color: #0d6efd;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.arrow-link::after {
    content: " →";
    margin-left: 0.3em;
    transition: transform 0.2s ease;
}

.arrow-link:hover {
    color: #0056b3;
}

.arrow-link:hover::after {
    transform: translateX(3px);
}

/* Timeline and Key Dates Grid Responsive Styles */
.row.key-dates-panel {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Force 4 columns on desktop, hide timeline when too narrow */
@media (max-width: 900px) {
    .timeline-container { 
        display: none !important; 
    }
}

/* 2x2 grid on tablets */
@media (max-width: 900px) and (min-width: 600px) {
    .key-dates-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Single column on mobile */
@media (max-width: 599px) {
    .key-dates-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Key Dates Wireframe Styling */
.key-dates-heading {
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    color: #003366;
}

.key-dates-heading:first-of-type {
    margin-top: 0;
}

.next-deadline {
    background: #ffe08a;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin: 2rem 0;
}

.key-dates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.key-dates-table th,
.key-dates-table td {
    border: 1px solid #ccc;
    padding: 0.75rem;
    text-align: left;
}

.key-dates-table th {
    background: #003366;
    color: #fff;
    font-weight: bold;
}

.key-dates-table tr:nth-child(even) {
    background: #f2f2f2;
}

.key-dates-table tr:hover {
    background: #e8f4fd;
}

.key-dates-table p {
    line-height: 1.6;
    margin: 0;
    padding:0;
}

/* .key-dates-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.key-dates-cta:hover {
    background: #004c99;
    color: #fff;
    text-decoration: none;
} */

.info-panel .icon {
    margin-right: .6em;
    margin-top: -4px;
}
/* ========================================
   LOGO SIZING OVERRIDES
   Fix SVG logo aspect ratio and clickable area
   ======================================== */

/* Header logo container - single logo display */
.header .header__bar .header__logo {
    display: block !important;
    /* Remove flex since we now have only one logo */
}

/* Main logo sizing with exact dimensions - 18.05rem wide */
.icon-logo {
    fill: #fff !important;
    height: 3.364rem !important;
    width: 18.05rem !important; /* Exact width as requested */
    display: block !important; /* Ensure it's a block element */
    /* Ensure SVG scales properly within container */
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Logo link container - must match SVG dimensions for perfect clickable area */
.header .header__bar .logo__link {
    height: 3.364rem !important;
    width: 18.05rem !important; /* Match the SVG width for perfect clickable area */
    /* Ensure the link doesn't have extra spacing */
    overflow: hidden !important;
    display: block !important;
}

.header .header__nav-desktop .nav__list .nav__item:first-child {
    margin: 0 0.5rem 0 1rem;
}

/* Adjust spacing for all navigation items */
.header .header__nav-desktop .nav__list .nav__item {
    margin: 0 0.5rem !important; /* Reduced from 0.75rem to 0.5rem for better fit */
}

/* Ensure menu items have consistent, equal spacing */
.header .header__nav-desktop .nav__list {
    display: flex !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    flex-wrap: nowrap !important;
}


/* Responsive: Ensure logo scales properly on smaller screens */
/* @media only screen and (max-width: 768px) {
    .header .header__bar .header__logo {
        Logo will scale proportionally on mobile
    }
} */

/* Align logo with navigation menu text center - desktop only */
@media only screen and (min-width: 74.5em) {
    .header .header__bar .header__logo {
        padding-top: 0.3125rem !important; /* Match navigation padding for vertical alignment */
        padding-right: 2rem !important; /* Add more space between logo and navigation */
    }
    
    /* Ensure header bar has enough space for wider logo */
    .header .header__bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Ensure navigation has proper spacing from wider logo */
    .header .header__nav-desktop {
        flex: 1 !important; /* Take up remaining space */
        padding-left: 1rem !important; /* Add left padding for spacing */
    }
}

/* Ensure proper SVG scaling in header */
.header .header__bar .icon-logo {
    /* Ensure proper SVG scaling */
    object-fit: contain !important;
    object-position: left center !important;
}

/* Alternative logo sizes - uncomment and adjust as needed
.icon-logo {
    height: 3.07rem !important;
    width: 10rem !important;
}

.icon-logo {
    height: 4.6rem !important;
    width: 15rem !important;
}

.icon-logo {
    height: 5.52rem !important;
    width: 18rem !important;
}
*/


.cta-banner-header p, .cta-banner-header h1, .cta-banner-header h2, .cta-banner-header h3  {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;

}

/* CTA Button Styles */
a.cta-button {
    background-color: #fff;
    color: #131b30;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer !important;
}

/* Override Chrome user agent style for contenteditable areas */
a.cta-button:-webkit-any-link {
    cursor: pointer !important;
}

a.cta-button:hover {
    background-color: #f8f9fa !important;
    color: #0d1421 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
}

/* ========================================
   SVG ICON STYLES - IFWC TWI LOGO
   ======================================== */

/* CSS custom properties for easy color control */
:root {
    --ifwc-logo-stroke-color: #fff;
    --ifwc-logo-fill-color: #fff;
}

/* IFWC TWI Logo SVG Styles */
.ifwc-logo-stroke-19 {
    stroke-width: 19px;
    stroke: var(--ifwc-logo-stroke-color);
    fill: none;
    stroke-linecap: round;
}

.ifwc-logo-stroke-5 {
    stroke-miterlimit: 10;
    stroke-width: 5px;
    stroke: var(--ifwc-logo-stroke-color);
    fill: var(--ifwc-logo-fill-color);
}

.ifwc-logo-stroke-18-9 {
    stroke-width: 18.9px;
    stroke: var(--ifwc-logo-stroke-color);
    fill: none;
    stroke-linecap: round;
}

.ifwc-logo-stroke-18 {
    stroke-width: 18px;
    stroke: var(--ifwc-logo-stroke-color);
    fill: none;
    stroke-linecap: round;
}

.ifwc-logo-stroke-10 {
    stroke-width: 10px;
    stroke: var(--ifwc-logo-stroke-color);
    fill: none;
}

.ifwc-logo-fill {
    fill: var(--ifwc-logo-fill-color);
}

.ifwc-logo-no-fill {
    fill: none;
}

.ifwc-logo-clip-main {
    clip-path: url(#azclippath);
}

.ifwc-logo-clip-1 {
    clip-path: url(#azclippath-1);
}

.ifwc-logo-clip-2 {
    clip-path: url(#azclippath-2);
}

.ifwc-logo-clip-3 {
    clip-path: url(#azclippath-3);
}

/* Color variation classes for easy customization */
.ifwc-logo-white {
    --ifwc-logo-stroke-color: #fff;
    --ifwc-logo-fill-color: #fff;
}

.ifwc-logo-blue {
    --ifwc-logo-stroke-color: #00b9fd;
    --ifwc-logo-fill-color: #00b9fd;
}

.ifwc-logo-dark {
    --ifwc-logo-stroke-color: #131b30;
    --ifwc-logo-fill-color: #131b30;
}

/* ========================================
   MOBILE MENU LOGO COLOR CHANGE
   When mobile menu is active, change logo to dark blue
   ======================================== */

/* Mobile navigation logo color change when menu is active */
.header__nav-mobile.nav--active .header__logo .icon-logo {
    --ifwc-logo-stroke-color: #0161AA;
    --ifwc-logo-fill-color: #0161AA;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

/* Footer main styling */
.footer {
    background-color: #131b30;
    color: #fff;
    padding: 2rem 3rem 1rem 3rem;
    font-family: Arial, sans-serif;
    text-align: left;
}

/* Footer row container */
.footer .row {
    display: flex;
    align-items: stretch;
}

/* Footer columns */
.footer-column {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding-right: 1.5rem;
}

/* Add vertical dividers between columns */
.footer-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adjust padding for the last column */
.footer-column:last-child {
    padding-right: 0;
}

/* Special styling for the first footer column (logo) */
.footer-column:first-child {
    justify-content: center;
    align-items: flex-start;
}

/* Footer logo container */
.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left-aligned on desktop */
    height: 100%;
    margin-bottom: 1rem;
}

/* Footer logo SVG */
.footer-logo {
    height: 4.5rem;
    width: auto;
    fill: #fff;
    margin-right: 1rem;
}

/* Footer tagline */
.footer-tagline {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Footer section headings */
.footer-heading {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    margin-top: 0;
}

/* Footer quick links list */
.footer-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-quick-links li {
    margin-bottom: 0.5rem;
}

.footer-quick-links li:last-child {
    margin-bottom: 0;
}

/* Footer quick links anchors */
.footer-quick-links a {
    color: #00b9fd;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Footer contact info container */
.footer-contact-info {
    margin-bottom: 0;
}

/* Footer contact paragraphs */
.footer-contact-info p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.footer-contact-info p:last-child {
    margin: 0;
    line-height: 1.4;
}

/* Footer contact links */
.footer-contact-info a {
    color: #00b9fd;
    text-decoration: none;
}

/* Footer copyright section */
.footer-copyright-section {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-copyright-container {
    text-align: center;
}

.footer-copyright-text {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.footer-copyright-text a {
    color: #00b9fd;
    text-decoration: none;
}

/* Footer links container */
.footer-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links-container a {
    color: #00b9fd;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Footer link hover effects */
.footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Remove any custom bullets/chevrons from footer quick links */
.footer-quick-links,
.footer-quick-links li,
.footer-quick-links li::before,
.footer-quick-links li::after,
.footer-quick-links a::before,
.footer-quick-links a::after {
    content: none !important;
    background: none !important;
    background-image: none !important;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin-bottom: 0 !important;
}

.footer-quick-links li {
    position: relative !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding-bottom: 0;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
    }
    
    .footer .column {
        margin-bottom: 2rem !important;
        text-align: center;
    }
    
    .footer .column:last-child {
        margin-bottom: 0 !important;
    }
    
    .footer div[style*="flex-wrap"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    

    
    /* Fix column constraints on mobile */
    .footer-column {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Ensure contact information is centered and contained on mobile */
    .footer-contact-info {
        padding: 0 15px !important; /* Add inner padding for better text spacing */
    }
    
    .footer-contact-info p,
    .footer-contact-info a {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Ensure quick links have proper spacing on mobile */
    .footer-quick-links {
        padding: 0 15px !important; /* Add inner padding to match contact section */
    }
    
    /* Ensure footer headings are contained */
    .footer-heading {
        text-align: center !important;
        margin: 0 0 1rem 0;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure all direct children of footer column are contained */
    .footer-column > * {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    

}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem 0 !important;
    }
    
    .footer .icon-ifwc-logo {
        height: 3.5rem !important;
    }
    
    .footer h4 {
        font-size: 1.1rem !important;
    }
    
    /* .footer p, .footer li {
        font-size: 0.9rem !important;
    } */
    
    /* Adjust padding for very small screens */
    .footer-column {
        padding: 0 15px !important; /* Slightly less padding on very small screens */
    }
    
    /* Maintain inner padding for contact info */
    .footer-contact-info {
        padding: 0 10px !important; /* Slightly less inner padding on very small screens */
    }
    
    .footer-quick-links {
        padding: 0 10px !important; /* Match contact info padding on very small screens */
    }
}

/* Remove custom bullets from footer */
.footer .main li:before,
.footer .main li:after,
.footer-social li:before,
.footer-social li:after {
    display: none;
}

/* Footer Contact Info Styles */
.footer-contact-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* text-align: center; Center contact text */
}

/* Footer Quick Links Styles */
.footer-quick-links {
    /* text-align: center; Center quick links */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Center content within footer columns */
.footer-column {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

/* Logo column specific styling */
.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-contact-info p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.footer-contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer Social Media Styles */
.footer-social {
    margin-top: 20px;
    display: inline-flex; /* Keep items together */
    align-items: center;
    gap: 8px; /* Reduced gap to bring icon closer to text */
    width: auto; /* Don't stretch */
}



.footer-social-heading {
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-social-link {
    color: #0077b5;
    font-size: 1.5rem;
    text-decoration: none;
    margin-left: .5rem;
}

.footer-linkedin-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Mobile responsive adjustments for footer social */
@media (max-width: 768px) {
    .footer-social {
        gap: 6px; /* Slightly smaller gap on mobile */
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        margin-top: 10px;
        gap: 5px; /* Even smaller gap on very small screens */
    }
    
    .footer-social-heading {
        font-size: 0.9rem; /* Slightly smaller on very small screens */
    }
    
    .footer-linkedin-icon {
        width: 20px;
        height: 20px;
    }
}
