/* Main Fonts */
@font-face { 
    font-family: "Timeburner";
    font-weight: bold;
    src: 
      url(/fonts/timeburnerbold.woff) format("woff"),
  }

@font-face { 
    font-family: "Timeburner";
    font-weight: normal;
    src: 
        url(/fonts/timeburnernormal.woff) format("woff"),
}

/* Color Table */
:root {
    --header-foot-bg-color: rgb(244, 220, 224)   ;
    --bg-color: #ececec;
    --white-bg-color: white;
    --card-bg: #e0e5ec;
    --shadow-color: #949494;
    --highlight-color: #f8e8e8;
    --text-color: #333;
    --accent-color: #4a90e2;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;

}

body h1 {
    font-family: 'Timeburner', sans-serif;
}

header, footer {
    background-color: var(--header-foot-bg-color);
    color: black;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header {
    top: 0;
    font-family: 'Timebuner', sans-serif;

}

footer {
    bottom: 0;
    text-align: center;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: smaller;
}

footer .social-icons a:hover {
    color: var(--highlight-color);
}

header a.nav-link {
    color: black;
    transition: color 0.3s;
}

header a.nav-link:hover {
    color: white;
}

.logo {
    width: 200px;
    height: 100px;
}
.navbar-collapse {
    justify-content: flex-end;
}

main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 150px; /* Adjust based on header height */
}

/* About */

.read-about {
    border: 2px solid blue !important; /* using for development purpose only */
    margin-top: 10px;
    cursor: pointer;
    color: var(--accent-color);

}

.about-content-container {
    max-width: 600px !important;
    min-width: 350px;
    max-height: 100vh;
    margin-bottom: 150px;
}

.about-content-container {
    cursor: pointer;
}

.content-section.active {
    display: block;
}

.content-section {
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin: auto;
}

.content-section.hidden {
    display: none;
}

.content-section h2 {
    text-align: left;
    margin-bottom: 10px;
}

.content-section p {
    margin-bottom: 10px;
}

/* Provider page */

.carousel-container {
    max-width: 800px;
    margin: 1.5rem auto; /* 50px rem auto */
    position: relative;
    margin-bottom: 130px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* gap: 1rem; */
    /* max-width: 1200px; */
    /* min-width: 300px; */
    width: 100%;
    /* margin-bottom: 150px; */
    padding: 1.5rem;
}

.carousel {
    display: flex;
    overflow: hidden;
    /* background-color: #e0e0e0; */
    border: 1px solid #ccc;
    border-radius: 10px;
}

.carousel-content {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.carousel img {
    max-width: 100%;
    border-radius: 5px;
}

.caption {
    margin-top: 15px;
    color: #333;
    text-align: center;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #0056b3;
}

.expanded {
    max-height: none;
    overflow: visible;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background-color: pink;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-controls button:hover {
    background-color: white;
    color: pink;
}

.hidden {
    display: none;
}

/* Services */

.services-container {
    display: grid;

}

.services-content-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    min-width: 300px;
    width: 100%;
    margin-bottom: 150px;
    padding: 1.5rem;

}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        3px 3px 9px var(--shadow-color),
        -6px -6px 12px var(--highlight-color);
} */


.card-image-container {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
} 

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}