/* ========================
   GLOBAL STYLES
   ======================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: url("../mikpics/background1.jpg") center/cover no-repeat fixed;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
}

/* ========================
   HEADER / BANNER
   ======================== */
.banner-div {
    background-color: #193157;
    padding: 15px 0;
    text-align: center;
}

.banner-img {
    max-width: 500px;
    width: 90%;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-radius: 12px;
}

.banner-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* ========================
   BUILDING IMAGE
   ======================== */
.building-img-row {
    margin-top: -20px;
}

.building-img {
    padding: 7px;
    width: 100%;
    max-width: 830px;
    display: block;
    margin: 0 auto;
}

/* ========================
   NAVBAR STYLING
   ======================== */
.navbar {
    background-color: rgba(45, 137, 173, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
}

.navbar .navbar-brand {
    color: #6b1616;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(145deg, #3a8fd4, #2d6ba6);
    border: 2px solid #1c5299;
    border-radius: 25px;
    padding: 8px 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #337AB7;
    background: #ffffff;
    border-color: #1c3f6d;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}

.navbar-nav .nav-link.active {
    color: #337AB7;
    background: #ffffff;
    border-color: #1c3f6d;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link:active {
    transform: scale(0.97);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.2);
}

/* ========================
   ABOUT SECTION / CARDS
   ======================== */
.about-section {
    position: relative;
    background-image: url("../mikpics/background1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #776969;
    min-height: 100vh;
}

.about-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}


/* Card container */
.card-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

/* Card styling (matches home/index cards) */
.about-section .card,
.card-container .card {
  width: 100%;
  max-width: 700px;
  padding: 25px;
  border-radius: 12px;
  background-color: rgba(0,0,0,0.75);
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;       /* allow text to flow naturally */
  word-wrap: break-word;   /* break long words instead of overflowing */
  min-height: unset;       /* remove previous fixed min-height */
}

/* Card hover effect */
.about-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}

/* Header inside cards */
.about-section .card h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #f0ad4e; /* accent color matching other cards */
}

/* Card paragraphs */
.about-section .card p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Section title */
.about-section h1 {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  color: #f0efee;
}

/* ========================
   CONTACT US / MAP
   ======================== */
.contact-directions-section {
    position: relative;
    background: url('./Assets/contactheader-II.jpg') no-repeat center center;
    background-size: cover;
}

.contact-directions-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-directions-section .container {
    position: relative;
    z-index: 2;
}

.contact-directions-section iframe {
    width: 100%;
    max-width: 900px;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
}

.contact-directions-section iframe:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* ========================
   CONTACT FORM
   ======================== */
.form-format {
    background-color: rgba(8, 38, 95, 0.95);
    max-width: 820px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-format:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.form-format input,
.form-format textarea {
    border-radius: 10px;
    border: 1px solid #ccc;
}

.form-submit-btn {
    background-color: #193157;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* ========================
   VIDEOS / CAROUSEL
   ======================== */
.my-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.my-carousel img {
    height: 400px;
    object-fit: cover;
}

.carousel-item img {
    width: 200px;
    height: 500px;
}

.carousel-caption h5 {
    color: #000;
}

.vid-container {
    position: relative;
    padding-bottom: 52%;
    padding-top: 30px;
    height: 0;
}

.vid-container iframe,
.vid-container object,
.vid-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================
   MEDIA QUERIES
   ======================== */
@media (max-width: 1024px) {
    .about-section .card,
    .card-container .card {
        flex: 1 1 80% !important;
        max-width: 90% !important;
        min-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .about-section .card,
    .card-container .card {
        flex: 1 1 100% !important;
        max-width: 90% !important;
        min-height: 300px !important;
    }

    .contact-directions-section iframe {
        height: 350px;
    }

    body {
        margin: 15px;
    }
}

@media (max-width: 624px) {
    .caption {
        margin-top: 40px;
    }
    .vid-list-container {
        padding-bottom: 20px;
    }
    .arrows {
        position: relative;
        margin: 0 auto;
        width: 96px;
    }
    .arrow-left {
        left: 0;
        top: -17px;
    }
    .arrow-right {
        right: 0;
        top: -17px;
    }
}