/*

Theme Name: WP OST Theme

Theme URI: https://offshoresofttech.com/

Author: Offshore

Author URI: https://offshoresofttech.com/

Description: Theme by Offshore

Version: 1.0.0

Tested up to: 5.4

Requires PHP: 5.6

License: GNU General Public License v2 or later

License URI: LICENSE

Text Domain: wp-osttheme

*/
/*  highlights css*/
.smn-award-section .smn-grid-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.smn-award-section .smn-grid-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.smn-award-section .smn-grid-card h3 {
  margin: 0;
  padding: 16px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.smn-award-section .primary-card h3 {
  color: #af2b25;
  border-top: 4px solid #af2b25;
}

.smn-award-section .secondary-card h3 {
  color: #12a850;
  border-top: 4px solid #12a850;
}

.smn-award-section .smn-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.smn-award-section .smn-grid-card:hover img {
  transform: scale(1.05);
}

/* event section css */
.events-modern {
    background: #fff;
}

.events-modern__heading {
    font-weight: 800;
    color: #111;
}

.events-modern__line {
    width: 80px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #af2b25, #12a850);
}

.events-modern__card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    position: relative;
    border-top: 4px solid #12a850;
}

.events-modern__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.events-modern__img {
    position: relative;
    overflow: hidden;
}

.events-modern__img img {
    height: 240px;
    object-fit: cover;
    transition: 0.5s ease;
    display: block;
}

.events-modern__card:hover .events-modern__img img {
    transform: scale(1.08);
}

.events-modern__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #af2b25;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.events-modern__title a {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    transition: 0.3s;
}

.events-modern__title a:hover {
    color: #af2b25;
}

.events-modern__desc {
    color: #6b7280;
    font-size: 14px;
}

.events-modern__btn {
    color: #12a850;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.events-modern__btn:hover {
    color: #0e8a3e;
    letter-spacing: 0.5px;
}

/* news section css */

.news-section {
    background: #f8f9fa;
}

.news-section__heading {
    font-weight: 700;
    margin-bottom: 10px;
}

.news-section__underline {
    width: 80px;
    height: 4px;
    background: #af2b25;
    margin: 0 auto;
    border-radius: 10px;
}

.news-section__card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-top: 4px solid #12a850;
}

.news-section__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.news-section__imgbox {
    position: relative;
    display: block;
    overflow: hidden;
}

.news-section__imgbox img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
}

.news-section__card:hover .news-section__imgbox img {
    transform: scale(1.08);
}

.news-section__tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #af2b25;
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.news-section__content {
    padding: 20px;
    text-align: center;
}

.news-section__title a {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    transition: 0.3s;
}

.news-section__title a:hover {
    color: #af2b25;
}

.news-section__desc {
    color: #6b7280;
    font-size: 14px;
    margin: 10px 0;
}

.news-section__readmore {
    color: #12a850;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.news-section__readmore:hover {
    color: #0e8a3e;
    letter-spacing: 0.5px;
}
