/* Custom Tailwind utilities for Omotoyosi Elitefield Educational Foundation */

/* Blog styling */
.blog-post-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-date {
    background-color: rgb(231, 120, 46);
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    position: absolute;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-date span {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: block;
    line-height: 1.2;
}

.blog-date p {
    color: white;
    margin: 0;
    font-size: 0.875rem;
}

.blog-cap {
    padding: 1.5rem;
    background-color: white;
}

.blog-cap h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: #2d2d2d;
    transition: color 0.3s ease;
}

.blog-cap h3:hover {
    color: rgb(67, 142, 198);
}

.blog-cap p {
    color: #6b7280;
    line-height: 1.6;
}

/* Blog details page */
.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.blog-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: rgb(67, 142, 198);
    color: white;
}

/* Custom colors and overrides */
.custom-blue {
    color: rgb(67, 142, 198);
}

.bg-custom-blue {
    background-color: rgb(67, 142, 198);
}

.custom-orange {
    color: rgb(231, 120, 46);
}

.bg-custom-orange {
    background-color: rgb(231, 120, 46);
}

.custom-button {
    background-color: rgb(231, 120, 46);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-button:hover {
    background-color: rgb(210, 100, 30);
    transform: translateY(-2px);
}

/* Fix any spacing issues */
.section-padding30 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Make images responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Override header styling */
.header-bottom {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Fix navigation alignment */
#navigation li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

#navigation li a:hover {
    color: rgb(231, 120, 46);
}

/* Testimonial styling */
.testimonial-founder img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid rgb(231, 120, 46);
}

.testimonial-top-cap p {
    font-style: italic;
    line-height: 1.8;
    color: #4b5563;
}

/* Footer styling */
.footer-wrapper {
    background-color: #f3f4f6;
}

.footer-tittle h4 {
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-tittle h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: rgb(231, 120, 46);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: rgb(231, 120, 46);
    color: white;
}

/* Custom styles for Omotoyosi Elitefield Foundation */

/* General styles */
.custom-text {
  color: rgb(67, 142, 198);
}

.custom-button {
  background-color: rgb(231, 120, 46);
  color: white;
  border: none;
}

.custom-button:hover {
  background-color: rgb(200, 100, 35);
}

/* Custom styles for blog posts */
.blog-post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.blog-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.blog-content ul, .blog-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content a {
  color: rgb(67, 142, 198);
  text-decoration: none;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-content blockquote {
  border-left: 4px solid rgb(231, 120, 46);
  padding-left: 1rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: #555;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin: 1.5rem 0;
}

/* Pagination styles */
.blog-pagination .page-link {
  color: #444;
  background-color: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
  background-color: #f5f5f5;
  border-color: #ddd;
  color: rgb(231, 120, 46);
}

.blog-pagination .page-item.active .page-link {
  background-color: rgb(231, 120, 46);
  border-color: rgb(231, 120, 46);
  color: white;
}

/* Blog sidebar styles */
.blog_right_sidebar .widget_title {
  position: relative;
  margin-bottom: 1.5rem;
}

.list-category li a:hover {
  background-color: #f5f5f5;
  color: rgb(231, 120, 46);
}

/* Testimonial styles */
.testimonial-padding {
  padding: 100px 0;
}

.testimonial-area {
  background-color: #f8f9fa;
}

.testimonial-caption p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.testimonial-founder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-img {
  text-align: center;
}

.founder-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.founder-text span {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
}

.founder-text p {
  margin: 0;
  color: #666;
}

/* Dot navigation for testimonials and sliders */
.slick-dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  font-size: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
  background-color: rgb(231, 120, 46);
  transform: scale(1.2);
}

/* Override Bootstrap styles that conflict with Tailwind */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Responsive styles */
@media (max-width: 767px) {
  .testimonial-caption p {
    font-size: 1rem;
  }
  
  .founder-img img {
    width: 60px;
    height: 60px;
  }
  
  .founder-text span {
    font-size: 1rem;
  }
}
