
:root {
    --primary-color: #193A68;
    --secondary-color: #ED7723;
    --font-main: 'Manrope', sans-serif;
    --hover-color: #ED7723;
    --text-color: white;
    --mobile-bg: #193A68;
}



/* Banner container takes half the viewport height */
.banner-ab-container {
    width: 100%;
    height: 45vh; /* Half of viewport height */
    position: relative;
    overflow: hidden;
}

.banner-ab {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Image styling - covers the container while maintaining aspect ratio */
.banner-ab img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    display: block;
}

/* Text overlay styling */
.banner-ab h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-ab h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-ab-container {
        height: 40vh; 
    }
    
    .banner-ab h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-ab-container {
        height: 30vh; /* Smaller on mobile */
    }
    
    .banner-ab h1 {
        font-size: 1.5rem;
    }
}





/* new - section  */

/* Section title */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  color: #133464;
  margin-bottom: 40px;
}

/* News grid layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
  gap: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* Mobile: 1 column */
  }
}


/* News card */
.news-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
}

/* Image */
.news-card img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 6px;
}

/* Content */
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content .category {
  color: #f26522;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-content h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 8px;
  color: #000;
}

.news-content p {
  font-size: 14px;
  color: #444;
  margin: 0 0 12px;
  line-height: 1.5;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.bottom-row .date {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* Arrow icon */
.arrow-icon {
  font-size: 16px;
  border: 1px solid #f26522;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 24px;
  color: #f26522;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-icon:hover {
  background-color: #f26522;
  color: #fff;
}

/* Button */
.news-btn {
  margin: 40px auto 0;
  text-align: center;
}

.news-btn a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #133464;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  color: #133464;
  transition: 0.3s ease;
}

.news-btn a span {
  margin-left: 8px;
}

.news-btn a:hover {
  background-color: #133464;
  color: #fff;
}
