/*
Theme Name: Hello Biz Child
Theme URI: https://elementor.com/products/hello-biz/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Description: Child theme for the hello biz theme
Author: Your Name
Author URI: https://indiaintlimpact.org/
Version: 1.0.0
Text Domain: hello-biz-child
Template: hello-biz
*/

@import url("../hello-biz/style.css");

header.ehp-header{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Row */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Column (base) */
[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

/* 12-column system */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.box {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 450px;
}
.box img {
    height: 250px !important;
    object-fit: contain;
    width: 100%;
    margin-bottom: 15px;
}
.events a {
    text-decoration: none !important;
}
.events .text a{
    font-size: 20px;
}
nav.navigation.post-navigation .nav-links {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2rem;
}
.events a.btn {
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 10px;
}
/* Modal Overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Dialog */
.modal-dialog {
  position: relative;
  width: 75%;
  margin: 100px auto;
  background: white;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
  animation: fadeIn 0.3s ease-out;
}

/* Modal Content */
.modal-content {
  display: flex;
  flex-direction: column;
}

/* Header, Body, Footer */
.modal-header, .modal-body, .modal-footer {
  padding: 1rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
}

.modal-body {
  font-size: 0.95rem;
}
.modal-body .owl-carousel.owl-loaded{
    margin-bottom: 1rem;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex !important;
  justify-content: space-between;
  pointer-events: none; /* allows arrows to overlay content without blocking clicks */
}

.owl-carousel .owl-nav .owl-prev::before {
  content: "←";
  font-size: 20px;
}

.owl-carousel .owl-nav .owl-next::before {
  content: "→";
  font-size: 20px;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 0;
  padding: 10px 15px;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s ease;
  border-radius: 50%;
  width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #dee2e6;
}

/* Close Button */
.close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
    width: 36px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
