
:root {
    --ut-orange: #FF8200; 
    --ut-blue: #00263E;   
    --ut-light-blue: #004b7a;
    --ut-green: #4a773c;
    --text-dark: #333;
    --bg-light: #f4f4f4;
    --ut-smokey: #58595B; 
    --ut-light-grey: #F6F6F6;
    --text-main: #333333;
    --border: #E0E0E0;
    --light-bg: #F9F7F2;
    --slate: #333d47;
    --subText: #4f4f4fda;
}

/* * {
    box-sizing: border-box;
} */


.alignfull {
    height: unset !important;
    margin: 3rem 0;
}

body {
    /* font-family: "Montserrat", Helvetica, Arial, sans-serif; */
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}


.container {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.container-narrow {
    max-width: 800px; 
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    width: 600px;
}

.search-container {
    max-width: 800px; 
    margin: 0 auto;
    text-align: center;
}



.main-header {
    /* margin-top: 54px; */
    background-color: var(--slate);
    border-bottom: 4px solid var(--ut-orange);
    padding: 5px 0 ;
}
.main-header .container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    overflow: hidden;
    width: 100%;

}

.image-block {
    width: 100%;
    height: auto;
    justify-items: center;
}

.full-header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.top-nav {
    background-color: #f8f8f8;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--ut-orange);
}


.hero-publication {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--ut-blue);
    color: white;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 53vh;  
    overflow: hidden;
}


.carousel-track {
    display: flex;
    width: 200%; 
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); 
    will-change: transform;
}

.carousel-slide {
    width: 50%; 
    height: 100%;
    position: relative;
    display: flex;
    align-items: center; 
    transition: all 0.5s ease;
}

.slide-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}
.carousel-slide.left .slide-image-bg {
    background-position: center;
}
.carousel-slide.right .slide-image-bg {
    background-position: bottom center;
}



.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(179deg, rgb(0 0 0 / 50%) 0%, rgb(30 30 30 / 48%) 100%);
    z-index: 2;
}

.carousel-slide.left .slide-overlay {
    background: linear-gradient(180deg, rgb(0 0 0 / 80%) 0%, rgb(40 40 40 / 50%) 100%);
}

.carousel-slide.right .slide-overlay {
    background: linear-gradient(270deg, rgb(0 0 0 / 50%) 0%, rgb(40 40 40 / 50%) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px 0 100px;
    display: flex;
}

.label-top {
    display: inline-block;
    background: var(--ut-orange);
    color: white;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 600px; 
    width: 100%;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.hero-text p {
    font-size: 2rem;
    max-width: 550px;
    margin-top: 30px 0;
    font-weight: 100;
    line-height: 1.2;
}

.btn-primary {
    display: inline-block;
    background-color: var(--ut-orange);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 2rem 0;
}

.btn-outline {
    display: inline-block;
    padding: 7px 30px;
    background-color: #FFFFFF;
    color: #2D3741;
    text-decoration: none;
    font-weight: bold;
    border: 3px solid #FF8200; 
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    z-index: 110;
    transition: background-color 0.1s linear, color 0.1s linear;
    transform: translateZ(0);
}

.btn-outline:hover {
    background-color: #2D3741; /* Using hex for var(--slate) to be safe */
    color: #FFFFFF;
    border: 3px solid #FF8200; 
}


.carousel-slide.left .slide-content {
    justify-content: flex-start; 
}



.carousel-slide.right .slide-content {
    justify-content: flex-end; 
}




.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #FF8200; 
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    font-size: 5rem; 
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.carousel-prev i, .carousel-next i {
    font-weight: 300; 
    -webkit-text-stroke: 1px transparent; 
}

.carousel-prev:hover, .carousel-next:hover {
    transform: translateY(-50%) scale(1.1);
    color: #e67300; 
    background-color: unset;
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.3s;
}

.dot.active {
    background: var(--ut-orange);
    width: 30px;
    border-radius: 6px;
}


.main-search {
    padding: 3rem 0;
    background: white;
}

.main-search .container-narrow {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    width: 710px;
}


.tagline {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--slate);
    color: white;
    padding: 5px 30px;
}

.main-search .subtext {
    font-size: 1.5rem;
    color: var(--subText);
    margin: 3rem auto;
    line-height: 1.2;
}



.search-box-wrapper {
    position: relative;
    max-width: 765px;
    margin: 2rem auto;
}


.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #414141;
    pointer-events: none; 
    z-index: 2;
    font-size: 1.5rem;
}


.search-box-wrapper input {
    width: 100%;
    padding: 5px 15px 5px 50px;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 30px;
    background-color: #ededed;
    color: black;
    outline: none;
    display: block;
    transition: background-color 0.3s ease;
}


.search-box-wrapper input::placeholder {
    color: rgba(0, 0, 0, 0.719);
    transition: opacity 0.3s ease;
}


.search-box-wrapper input:focus {
    background-color: #e0e0e0;
    border-color: var(--ut-orange);

}


.the-buzz .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 150px;
    position: relative;
    background-color: #efefef;
    border-radius: 10px;
    justify-items: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    padding: 0px;
    margin: 0px;
}

.the-buzz .subtitle {
    font-size: 1.5rem;
    color: #555;
    margin: 0 auto;
    line-height: 1.2;
    font-weight: 400;
}

.section-title span {
    font-weight: normal;
    font-size: 1.2rem;
    color: #666;
    margin-left: 10px;
}

.buzz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px auto;
}

.buzz-card {
    position: relative;
    height: 270px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-top: 15px solid #FF8200; 
    border-bottom: 15px solid #FF8200;
    border-radius: 25px;
    background-color: var(--slate);
}


.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
    z-index: 1;
    opacity: 0.85;
    /* filter: brightness(0.5) contrast(0.9); */
}


.buzz-card:hover .card-img {
    /* transform: scale(1.1); */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-color: #000; 
    opacity: 0.5; 
    transition: opacity 0.3s ease;
}


.buzz-card.orange .card-overlay { background-color: var(--ut-orange); }
.buzz-card.blue .card-overlay { background-color: var(--ut-blue); }
.buzz-card.green .card-overlay { background-color: var(--ut-green); }
.buzz-card.slate .card-overlay { background-color: var(--slate); }
.buzz-card.black .card-overlay { background-color: black; }

/* .buzz-card:hover .card-overlay {
    opacity: 0.80; 
} */

.card-text {
    position: relative;
    width: 80%;
    z-index: 3;
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    text-align: center;
    padding: 15px 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3); 
}


.fresh-field {
    padding: 6rem 0 8rem;
    
}

.fresh-field .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px;
    position: relative;
    justify-items: center;
    border: 2px solid var(--ut-orange);
    border-radius: 10px;
}

.fresh-field .section-header {
    text-align: center;
    width: 100%;
    background-color: var(--slate);
    color: white;
    padding: 30px;
    border-radius: 5px 5px 0 0;
}

.fresh-field .section-title {
    font-size: 2.2rem;
    font-weight: 600;
    padding: 0px;
    margin: 0px;
    background-color: var(--slate);
    color: white;
}

.fresh-field .subtitle {
    font-size: 1.4rem;
    margin: 5px auto;
    line-height: 1.2;
    color: #ffffffc9;
        font-weight: 400;
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 60px 80px 60px;
    
}

.pub-card {
    background: #e1e1e1;
    padding-bottom: 5px;
    border-radius: 10px;
    position: relative;
}
.show-1150-1040 {
    display: none;
}

.fresh-field-img {
  width: 300px;
  height: 275px;       
  object-fit: cover;   
  object-position: center; 
  border-radius: 10px 10px 0 0;
  display: block;

}

.card-meta {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 5px 0; 
    width: 100%;
}

.flex-1 {
    flex: 1;
}

.pub-label {
    color: var(--ut-smokey);
    font-size: 1rem;
    font-weight: 400;
    padding: 0 15px;
}

.pub-card h4 {
    padding: 0 15px;
    margin: 5px 0;
    font-size: 1.2rem;
    line-height: normal;
}

.center-btn {
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translate(-50%, 50%); 
    z-index: 10;
}

.btn-secondary {
    background-color: var(--slate);
    color: white;
    padding: 10px 40px;
    transition: all 0.3s ease;
    border-radius: 10px;
    border: none;
    font-size: 1.2rem;
}
.btn-secondary:hover {
    scale: 1.05;
}


.problem-solution-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #2D3741;
    overflow: hidden; /* Keeps horizontal scrollbars away */
}

.split-container {
    display: flex;
    min-height: 500px; 
}


.content-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #FFFFFF;
    text-align: center;
}

.text-wrapper {
    max-width: 1040px;
    width: 75%;
}

.main-tagline {
    font-size: 2.2rem;
    
    line-height: 1.2;
    
}

.mission-text {
    font-size: 1.4rem;
    line-height: 1.2;
    padding: 40px 0; 
    color: #ffffffc9;
    text-align-last: justify;
    margin: 0 auto;
    font-weight: 400;
}


.image-block {
    flex: 1;
    position: relative;
}

.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
    }
    .image-block {
        height: 350px;
    }
}

.news-block {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: white;
    overflow: hidden; /* Keeps horizontal scrollbars away */
}

.news-block .container-narrow {
    max-width: 100vw;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
    justify-items: unset;
    overflow: hidden;
    width: 100%;
}

.image-block {
    width: 100%;
    height: auto;
    justify-items: center;
}

.full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.image-block.full-width { display: none; }
.image-block.small-screen { display: block; }


@media (min-width: 1801px) {
  .image-block.full-width { display: block; }
  .image-block.small-screen { display: none; }
}


.main-footer {
    background-color: var(--slate);
}

.main-footer .container-narrow {
    max-width: 1800px;
    margin: 0;
    overflow: hidden;
    width: 100vw;
}

.image-block {
    width: 100%;
    height: auto;
    justify-items: center;
}

.full-footer-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1400px;
}

@media screen and (min-width: 2300px) {
    .carousel-container {
        height: 65vh;
    }

    .carousel-prev { left: 80px; }

    .carousel-next { right: 80px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 10px 0 10px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }

    .main-tagline {
        font-size: 3.5rem;
    }
}

@media screen and (min-width: 2100px) {
    .carousel-container { height: 50vh; }
    .carousel-prev { left: 80px; }
    .carousel-next { right: 80px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 10px 0 10px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.8rem;
    }
    .mission-text {
        font-size: 1.5rem;
    }
    .split-container .btn-outline {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1801px), (max-width: 2099px) {
    .carousel-container { height: 50vh; }
    .carousel-prev { left: 80px; }
    .carousel-next { right: 80px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 10px 0 10px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.8rem;
    }
    .mission-text {
        font-size: 1.5rem;
        text-align-last: center;
    }
    .split-container .btn-outline {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1800px) {
    .carousel-container { height: 50vh; }
    .carousel-prev { left: 80px; }
    .carousel-next { right: 80px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 10px 0 10px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.8rem;
    }

  

    .text-wrapper {
        width: 90%;
    }
    .main-tagline {
        font-size: 2.9rem;
    }

    .mission-text {
        font-size: 1.2rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1650px) {
    .carousel-container { height: 55vh; }
    .carousel-prev { left: 40px; }
    .carousel-next { right: 40px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 10px 0 80px;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-text p {
        font-size: 1.6rem;
    }

  

    .text-wrapper {
        width: 90%;
    }
    .main-tagline {
        font-size: 2.9rem;
    }

    .mission-text {
        font-size: 1.2rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1500px) {
    .carousel-container { height: 55vh; }
    .carousel-prev { left: 40px; }
    .carousel-next { right: 40px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 50px 0 120px;
    }
    .hero-text h1 {
        font-size: 2.6rem;
    }
    .hero-text p {
        font-size: 1.4rem;
    }

  

    .text-wrapper {
        width: 90%;
    }
    .main-tagline {
        font-size: 2.5rem;
    }

    .mission-text {
        font-size: 1.2rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1300px) {
    .carousel-container { height: 55vh; }
    .carousel-prev { left: 40px; }
    .carousel-next { right: 40px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        padding: 0 50px 0 120px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }

    .text-wrapper {
        width: 90%;
    }
    .main-tagline {
        font-size: 2.2rem;
    }

    .mission-text {
        font-size: 1.2rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1150px) {
    .carousel-container { height: 55vh; }
    .carousel-prev { left: 40px; }
    .carousel-next { right: 40px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        justify-content: center !important;
        padding: 0 50px 0 50px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        max-width: 100%;
        font-size: 1.2rem;
    }


    .the-buzz .container {
        padding: 60px 60px;
    }

    .card-text {
        font-size: 1.6rem;
        padding: 15px 15px;
    }

    .pub-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 50px 60px 80px 60px;
    }
    .show-1150-1040 {
        display: block;
    }
    .content-block {
        padding: 5px;
    }

    .text-wrapper {
        width: 85%;
    }
    .main-tagline {
        font-size: 1.6rem;
    }

    .mission-text {
        font-size: 1.1rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 799px) {
    .hero-text h1 { font-size: 2.2rem; }
    

    .carousel-container { height: 50vh; }
    .carousel-prev { left: 40px; }
    .carousel-next { right: 40px; }

    .carousel-slide.left .slide-image-bg {
        background-position: center center;
    }
    .carousel-slide.right .slide-image-bg {
        background-position: center center;
    }
    .slide-content {
        justify-content: center !important;
        padding: 0 120px 0 120px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        max-width: 100%;
        font-size: 1.2rem;
    }

    .main-search, .the-buzz, .fresh-field {
        padding-left:  10px;
        padding-right: 10px;
    }
    .main-search {
        padding-top: 2rem;
    }

    .main-search .container-narrow {
        width: 600px;
    }
    .main-search .subtext {
        font-size: 1.2rem;
    }

    .the-buzz .container {
        padding: 30px 60px 30px 60px;
    }

    .buzz-grid { 
        grid-template-columns: repeat(2, 1fr);
        margin: 30px auto 0px auto;
     }
    .buzz-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / span 2; 
        justify-self: center;   
        width: 50%;
    }
    .card-text {
        font-size: 1.6rem;
        padding: 15px 30px;
    }

    .pub-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 30px 20px 50px 20px;
    }

    .fresh-field-img {
        width: 250px;   
        height: 230px;
    }

    .content-block {
        padding: 5px;
    }

    .text-wrapper {
        width: 80%;
    }
    .main-tagline {
        font-size: 2rem;
    }

    .mission-text {
        font-size: 1.4rem;
        text-align-last: center;
    }

    .split-container .btn-outline {
        padding: 14px 30px;
        font-size: 1rem;
    }
}


/* Ribbon css  */
.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 80px;
    height: 80px;
    text-align: right;
}
.ribbon span {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: none;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: var(--slate);
    box-shadow: 0 3px 10px -5px rgba(0,0,0,1);
    position: absolute;
    top: 15px;
    right: -25px;
}
.ribbon::before,
.ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
}
.ribbon::before {
    top: 0;
    left: 0;
    border-top: 3px solid #ff5722;
    border-left: 3px solid #ff5722;
}
.ribbon::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #ff5722;
    border-right: 3px solid #ff5722;
}