@charset "utf-8";

body {
    font-family: 'Roboto', sans-serif; 
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* ============================
   Header Styles
============================ */
header {
    background-color: #f8f9fa;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .search-bar input {
    border-radius: 50px;
    background-color: #f0f0f0;
    color: #333;
}

/* ============================
   Navbar Styles
============================ */
.navbar {
    background-color: #EADFD0;
    margin-bottom: 50px; 
}

.navbar-nav .nav-link {
    color: #000000 !important;
}

.navbar-toggler {
    border-color: #ffffff;
    outline: none; 
    box-shadow: none; 
}

.navbar-toggler-icon {
    background-color: #ffffff;
    border: none; 
}

.navbar-nav .nav-item:hover .nav-link {
    color: #2A718F !important;
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
    }

    .navbar-nav .nav-item {
        margin: 5px 0; 
    }
}

.search-bar {
    margin-left: 20px; 
}



/* ============================
   Hero Image
============================ */
.carousel {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    border-radius: 8px; 
}

.carousel-inner img {
    max-width: 70%; 
    height: auto; 
    display: block; 
    margin: auto; 
	border-radius: 20px;
}

.carousel {
    position: relative; 
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;  
    top: 50%;  
    transform: translateY(-50%);  
    width: 3rem;  
    height: 3rem; 
    background-color: #C9BDAE;  
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0.5rem; 
    z-index: 1; 
}

.carousel-control-prev {
    left: 90px;  
}

.carousel-control-next {
    right: 90px;  
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        left: auto;  
        right: auto; 
        display: none; 
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem; 
    height: 1.5rem; 
    background-size: contain;  
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #C9BDAE; 
}



/* ============================
   Home select
============================ */
.hover-box {
    position: relative;
    width: 150px; 
    height: 150px; 
    margin: 0 auto;
    transition: transform 0.3s, background-color 0.3s;
}

.hover-box img {
    transition: opacity 0.3s;
    display: block;
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.hover-box img.default {
    opacity: 1;
}

.hover-box img.hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hover-box:hover img.default {
    opacity: 0;
}

.hover-box:hover img.hover {
    opacity: 1;
}

.custom-spacing .row {
    gap: 5px; 
}

.custom-spacing p {
    margin-top: 5px; 
}

.custom-spacing {
    padding-left: 10px;
    padding-right: 10px;
}

/* ============================
   Upcoming Event
============================ */
.eventbutton {
    border-radius: 25px;
    background-color: transparent;  
    color: black; 
    border: 1px solid #ccc;  
    outline: none;  
}

.eventbutton:hover {
    background-color: #C9BDAE;  
    color: white; 
	outline: none;
}


/* ============================
   BOOK LIST
============================ */
    .container {
      max-width: 1200px; 
      margin: 0 auto;    
      padding: 0 15px;   
    }

    .card-container {
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 10px;
    }

    .card {
      flex: 0 0 auto;
      width: 220px; 
      margin-right: 15px;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
      transform: scale(1.05); 
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    }

    .card img {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
    }

    .card-title {
      font-size: 0.8rem;
	  margin-top: 15px;
    }

    .scroll-btn {
      background-color: transparent;
      border: none;
      color: #DED2C3;
      font-size: 24px;
      cursor: pointer;
      padding: 5px 10px;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .scroll-btn:hover {
	  transform: scale(1.4); 
	  color: #2A718F;       
	}

    @media (max-width: 768px) {
      .card {
        width: 180px; 
        margin-right: 10px;
      }

      .card-title {
        font-size: 0.7rem; 
      }

      .scroll-btn {
        font-size: 18px; 
      }
    }

    @media (max-width: 576px) {
      .card {
        width: 150px; 
        margin-right: 8px;
      }

      .card-title {
        font-size: 0.6rem; 
      }
    }

/* ============================
   Footer Styles
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer {
    position: relative; 
    background-color: blue; 
    color: white; 
    text-align: center;
    padding: 10px 0;
    margin-top: 30px; 
}


html, body {
    height: 100%;
    overflow-x: hidden; 
}


footer h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}


.subscribe-btn {
    background-color: #ffffff; 
    color: #2E6B83; 
    transition: all 0.3s ease; 
}

.subscribe-btn:hover {
    background-color: #2E6B83; 
    color: #ffffff; 
    border: 1px solid #2E6B83; 
}

a {
    color: inherit; 
    text-decoration: none;
}

a:hover {
    color:#000000; 
    text-decoration: underline; 
}

footer .text-center {
    color: #ffffff !important; 
}

@media (max-width: 576px) {
    footer {
        padding: 20px 0; 
    }
    
    footer .container {
        display: block; 
        width: 100%;
    }

    footer .row {
        margin-bottom: 15px; 
    }

    footer h6, footer p {
        font-size: 0.9rem; 
    }

    footer .col-md-2,
    footer .col-md-4 {
        width: 100%; 
        margin-bottom: 20px; 
    }

    footer .text-center {
        margin-top: 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    footer .col-md-2, footer .col-md-4 {
        text-align: center;
		margin-bottom: 20px;
    }

    footer .text-center {
        text-align: center;
    }

    footer .col-md-2 ul, footer .col-md-4 form {
        text-align: center;
    }
}

