﻿:root {
    --bs-primary: #fff;
}

body {
      font-family: 'Segoe UI', sans-serif;
      font-size: 1rem;
    }
.top-row {
      background-color: #fff;
    }

    .main-nav {
      background-color: #3b9cd4;
    }

    .navbar-brand {
      font-weight: bold;
      font-size: 1.4rem;
    }

    .nav-link {
      font-weight: 500;
      color: #ffffff !important;
      transition: color 0.3s;
    }

    .nav-link:hover {
      color: #ffc107 !important;
    }

    .nav-link.active {
      color: #333 !important;
      border-bottom: 2px solid #ffc107;
    }

    .btn-login {
      border-radius: 20px;
      padding: 0.3rem 1rem;
    }
    h2 {
      font-size: 2rem;
    }
    .card-title {
      font-size: 1.25rem;
    }
    section {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
    .card-text {
      font-size: 0.95rem;
    }
    .hero-section {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: stretch;
    }
    .hero-main {
      flex: 1 1 60%;
      position: relative;
    }
    .hero-main img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0.5rem;
      transition: transform 0.3s ease;
    }
    .hero-main:hover img {
      transform: scale(1.02);
    }
    .hero-side {
      flex: 1 1 35%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
    }
    .hero-side img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0.5rem;
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    .hero-side img:hover {
      transform: scale(1.05);
      opacity: 0.85;
    }
    .overlay-text {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.6);
      padding: 0.75rem 1.25rem;
      border-radius: 0.35rem;
      z-index: 2;
    }
    .hero-side .position-relative {
      position: relative;
      height: 100%;
    }
    .hero-side .overlay-text.small {
      font-size: 0.8rem;
      padding: 0.4rem 0.6rem;
      bottom: 0.5rem;
      left: 0.5rem;
    }
    @media (max-width: 768px) {
      .hero-section {
        display: none;
      }
      .hero-carousel-sm {
        display: block;
      }
    }
    @media (min-width: 769px) {
      .hero-carousel-sm {
        display: none;
      }
    }

.partner-logo {
    background-color: #fff;
    box-shadow: 0 0 5px #ccc;
    border-radius: 8px;
}
 .partner-logo h4{      /* Center horizontally */
    text-align: center; 
    font-size: 1rem;  
    color: #ffc107;
} 

    .partner-logo .owl-item{      /* Center horizontally */
    text-align: center;   
} 
    .partner-logo .item{       /* Center horizontally */
    text-align: center;        /* Prevent overflow if image is too large */
}

.partner-logo img {      /* Center horizontally */
    text-align: center;  
    width: auto !important; 
    max-height: 80px;  /* Scale image to fit container height */
    height: auto;      /* Maintain aspect ratio */
    width: auto;       /* Maintain aspect ratio */
    object-fit: contain; /* Ensure full logo is visible inside div */
    margin-bottom: .5rem;
    background-color: #fff;
    border-radius: 8px;
    padding: .4rem;
    margin: 0 auto;
}

/*Default-article card*/
.article-box {

}
    .article-box h5 {
        font-size: 1rem;
        color: var(--bs-primary);
    }

    .sidebar h5 {
      border-bottom: 1px solid #ddd;
      padding-bottom: 0.5rem;
    }
    .feature-title {
      font-size: 2rem;
      font-weight: bold;
    }
    .feature-content p {
      font-size: 1.1rem;
    }
    .social-icons a {
      font-size: 1.5rem;
      margin-right: 1rem;
      color: #0d6efd;
    }
    .social-icons a:hover {
      color: #0056b3;
    }


    section {
      padding: 4rem 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }
    .lead {
      font-size: 1.2rem;
    }
    .highlight {
      background-color: #f8f9fa;
      border-left: 4px solid #0d6efd;
      padding: 1rem;
      margin-top: 1rem;
    }
    .team-member img {
      border-radius: 50%;
      width: 120px;
      height: 120px;
      object-fit: cover;
    }
    .team-member h5 {
      margin-top: 1rem;
      margin-bottom: 0.3rem;
    }
    .team-member p {
      font-size: 0.9rem;
      color: #6c757d;
    }
    .illustration {
      border-radius: 0.5rem;
    }
    .bg-light-section {
      background-color: #f9f9f9;
    }

     .form-control, .btn {
      border-radius: 0.5rem;
    }
    .icon-box {
      font-size: 2rem;
      color: #0d6efd;
      margin-bottom: 0.5rem;
    }
.img-fixed {
    max-height: 10rem;
  width: auto;         /* keeps original aspect ratio */
  display: block;      
  margin-left: auto;    /* horizontal centering */
  margin-right: auto;   /* horizontal centering */
}

.media-coverage-img {
        cursor: pointer;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        border-radius: 10px;
    }
    .media-coverage-img:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }
    .img-wrapper {
        overflow: hidden;
        border-radius: 10px;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
    }
    .footer-links ul li a {
      color: #ccc;
      text-decoration: none;
    }
    .footer-links ul li a:hover {
      text-decoration: underline;
    }