/* === Titles Centered === */
.elementor-heading-title {
    text-align: center !important;
    width: 100% !important;
}

/* === Reset Elementor section/container spacing === */
.elementor-section,
.elementor-container,
.e-con-boxed,
.e-con {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make sure it centers on screen */
.elementor-section.elementor-top-section,
.e-con.e-parent {
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}


/* === My Carousel (same behavior as Project Carousel, keep current image size) === */
.my-carousel .swiper-wrapper {
    display: flex !important;
    transition-timing-function: ease-in-out !important;
}

.my-carousel .swiper-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Keep existing image size and proportions */
.my-carousel .swiper-slide img,
.my-carousel .swiper-slide .swiper-slide-image {
    width: auto !important;
    height: auto !important;
    max-height: 120px !important; /* your current size */
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
}

/* Optional: Limit pagination dots to 4 (keep this if needed) */
.my-carousel .swiper-pagination-bullet:nth-child(n+5) {
    display: none !important;
}


/* Responsive tweak */
@media (max-width: 767px) {
    .my-carousel .swiper-slide,
    .my-carousel img {
        max-height: 80px !important;
        margin: 0 6px !important;
    }
}

/* === Captions (always visible) === */
.elementor-widget-image figcaption,
.wp-caption-text {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: none !important;
    color: #000 !important;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4em;
}

.elementor-widget-image figcaption a,
.wp-caption-text a {
    color: #000 !important;
    text-decoration: underline;
}

.elementor-widget-image figcaption a:hover,
.wp-caption-text a:hover {
    color: #0056b3 !important;
}

/* === Careers box hover fade === */
.careers-box li a,
.careers-box li a:link,
.careers-box li a:visited {
    color: #000 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    display: inline-block !important;
    transition: opacity .50s ease-in-out !important;
    will-change: opacity;
}

.careers-box li a:hover {
    opacity: 0.15 !important;
}

.careers-box li a:focus {
    opacity: 1 !important;
    outline: 2px solid rgba(0,86,179,0.18) !important;
    outline-offset: 2px !important;
}

/* === Remove shadows/borders/backgrounds globally for images === */
img {
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

/* === Dropdown Menu === */
.main-header-menu .sub-menu {
    top: 100% !important;
    margin-top: 0 !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-radius: 3px !important;
    padding: 4px 0 !important;
    min-width: unset !important;
    width: auto !important;
}

.main-header-menu .sub-menu li a {
    color: #333 !important;
    padding: 4px 12px !important;
    background: none !important;
    font-size: 15px !important;
    line-height: 1.2em !important;
    white-space: nowrap !important;
}

.main-header-menu .sub-menu li a:hover {
    background: none !important;
    color: #000 !important;
}

/* === Global Buttons (exclude main menu) === */
.ast-button,
.elementor-button,
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none !important;
}

/* Hover effect for buttons only */
.ast-button:hover,
.elementor-button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    opacity: 0.8;
    transform: scale(0.97);
}

/* === Main Menu Links === */
.main-header-menu a {
    color: inherit !important;
    background: none !important;
    text-decoration: none !important;
    transition: color 0.3s ease-in-out;
}

.main-header-menu a:hover {
    color: red !important;
    background: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* === Project Carousel: 400x325 cropped === */
.project-carousel .swiper-slide img,
.project-carousel .swiper-slide .swiper-slide-image {
    width: 400px !important;
    height: 325px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
}

/* === Project Carousel Slide Wrapper === */
.project-carousel .swiper-wrapper {
    display: flex !important;
    transition-timing-function: ease-in-out !important;
}

.project-carousel .swiper-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    height: 325px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    margin: 0 !important;
}

.careers-box {
    margin: 0;
    padding-left: 20px;   /* keeps default bullet indent */
    text-align: left;     /* align to the left */
}

.careers-box li {
    margin: 6px 0;        /* spacing between items */
}

.careers-box li a {
    text-decoration: none;
    color: #000;          /* adjust text color if needed */
}
/* Make all links white by default */
a {
    color: #fff !important;
    text-decoration: none !important;
}

/* Optional: white links on hover too */
a:hover {
    color: #fff !important;
}
