﻿/* General Reset for full width and height */
html, body {
    height: 100%;
    margin: 0px 0px 50px 0px;
    padding: 0px 0px 50px 0px;
    width: 100%;
}
.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

    .box .row {
        border: 1px dotted grey;
    }

        .box .row.header {
            flex: 0 1 auto;
            /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
        }

        .box .row.content {
            flex: 1 1 auto;
        }

        .box .row.footer {
            flex: 0 1 40px;
        }
/* Flex container for header content */
.contentcenter {
    display: flex;
    justify-content: space-between; /* Spreads the logo and nav evenly */
    align-items: start; /* Centers items vertically */
    width: 100%;
    background-color: #f2f2f2;
    margin: 0 auto;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 3px, inset rgba(0, 0, 0, 0.2) 0px -1px 2px;
    border-radius: 20px;
    overflow: hidden;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-start; /* Align items to the left */
}

.navbar-nav {
    display: flex;
    flex-direction: row; /* Default layout: horizontal */
    padding-left: 0;
    margin: 0;
    gap: 15px; /* Space between items */
    list-style: none;
}

.nav-item {
    display: inline-block; /* Keep items inline for larger screens */
}

.nav-link {
    text-align: left; /* Align text to the left */
    padding: 0; /* Remove extra padding */
    font-size: large; /* Maintain large font size */
}

/* Mobile view: Stack items vertically */
@media screen and (max-width: 768px) {
    .navbar-nav {
        flex-direction: column; /* Change to vertical stacking */
        gap: 10px; /* Adjust spacing between items */
    }

    .nav-item {
        width: 100%; /* Make items span full width */
        text-align: left; /* Ensure alignment stays left */
    }

    .nav-link {
        width: 100%; /* Ensure the links take full width */
}


/* Ensure nav items have appropriate spacing */
.nav-item {
    margin: 0 15px; /* Adjusts space between nav items */
}

/* Adjust header text */
.header-pic-text {
    font-size: 18px;
    color: #215e50;
    margin: 0;
    position: absolute;
    bottom: 12.5%; /* Position text 1/8 above the bottom of the image */
    left: 5%;
    right: 5%;
    text-align: center;
    font-family: 'Arial Narrow', sans-serif;
    font-stretch: condensed;
    transform: scaleY(1.3);
    text-shadow: -0.5px -0.5px 0 rgba(255, 255, 255, 0.8), 
                 0.5px -0.5px 0 rgba(255, 255, 255, 0.8), 
                 -0.5px 0.5px 0 rgba(255, 255, 255, 0.8), 
                 0.5px 0.5px 0 rgba(255, 255, 255, 0.8), 
                 -0.75px 0 0 rgba(255, 255, 255, 0.8), 
                 0.75px 0 0 rgba(255, 255, 255, 0.8), 
                 0 -0.75px 0 rgba(255, 255, 255, 0.8), 
                 0 0.75px 0 rgba(255, 255, 255, 0.8);
}

/* Container for all session items */
.sessions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between items */
    padding: 20px;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Each session card */
.session-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -2px 10px 5px rgba(0, 0, 0, 0);
    border-radius: 10px;
    font-family: 'SQ Market', Helvetica, Arial, sans-serif;
    padding: 20px;
    text-align: center;
}

/* Image styles */
.session-image {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

/* Details section */
.session-details p {
    font-size: 18px;
    line-height: 20px;
    margin: 10px 0;
}

/* Button styles */
.pay-now-button {
    display: inline-block;
    font-size: 18px;
    line-height: 48px;
    height: 48px;
    color: #ffffff;
    min-width: 212px;
    background-color: #006aff;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    border-radius: 6px;
    text-decoration: none;
    padding: 0 10px;
}

/* Mobile view: Stacked layout */
@media screen and (max-width: 768px) {
    .sessions-container {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}


/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

.divimage {
    
    background-position: center center; /* Centers the image horizontally and vertically */
    background-repeat: no-repeat;
    background-size: cover; /* Keeps the entire image within the div */
    width: 100%; /* Ensures div takes full width if needed */
    height:100vh;
}

/* Parallax sections */
.parallax, .parallax50, .parallax100 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax50 {
    height: 50vh;
}

.parallax100 {
    height: 100vh;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    font-size: 18px;
    color: white;
    user-select: none;
    transition: 0.6s ease;
    border-radius: 3px;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Text overlay in slides */
.text {
    color: #f2f2f2;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    text-align: center;
    width: 100%;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    position: absolute;
    top: 0;
}

/* Dots for slideshow */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* Custom fade effect for slideshow */
.fadecustom {
    animation-name: fadecustom;
    animation-duration: 1.5s;
}

@keyframes fadecustom {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Collapsible content */
.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100vw;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.collapsible:hover {
    background-color: #555;
}

/* Common text style */
.commonPageText {
    font-size: large;
    text-indent: 50px;
}

@media screen and (max-width: 600px) {
    .header-pic-text {
        font-size: large;
        position: absolute;
        bottom: 12.5%; /* Position text 1/8 above the bottom of the image */
        left: 5%;
        right: 5%;
        text-align: center;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
}
}

/* Header text style */
.header-pic-text {
    height: auto;
    font-size: xx-large;
    color: #215e50;
    margin-left: 10px;
   
}

@media screen and (max-width: 600px) {
    .header-pic-text {
        font-size: large;
        margin-left: 0px;
    }
}

.picOverLapYellow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column; /* Stack text vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Brush Script MT', cursive; /* Primary: Brush Script MT, Fallback: cursive */
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px #0F483F, 0 0 20px #0F483F, 0 0 30px #0F483F;
}




@media screen and (max-width: 600px) {
    .picOverLapYellow {
        font-size: medium;
        top: 30%; /* Move text up by 20% of the image size */
    }
}

/* Mobile view classes */
.mobileView {
    display: none;
}

@media screen and (max-width: 600px) {
    .mobileView {
        display: block;
    }
}

.desktopView {
    display: block;
}

@media screen and (max-width: 600px) {
    .desktopView {
        display: block;
        padding: 1rem;
    }
}

/* Flex container for logo and navigation */
.contentleft {
    flex-shrink: 0; /* Prevents logo from shrinking */
}

.contentright {
    display: flex;
    justify-content: space-around; /* Space around the navigation items */
    width: 100%;
}


/* Content left and right sections */
.contentleft, .contentright {
    flex: 1;
    margin: 25px;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    min-height: 300px; /* Ensure minimum height */
}

/* Make the content evenly spread and full width on smaller screens */
@media only screen and (max-width: 600px) {
    .contentcenter {
        flex-direction: column; /* Stack content vertically */
    }

    .contentleft, .contentright {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
}

/* Headings */
h1 {
    font-size: .5rem;
    color: #333;
}
h2 {
    font-size: 1rem;
    color: #333;
}
h3 {
    font-size: 2rem;
    color: #333;
}

@media only screen and (max-width: 600px) {
    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}
.centered-bg {
    background-image: url(../assets/xamarininfographic.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    align-content: end;
}

@media only screen and (max-width: 600px) {
    .centered-bg {
        background-image: url(../assets/xamarininfographicmobile.png); /* Mobile-specific image */
        background-position: center;
        background-size: contain;
        height: 400px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
