body {
    background-color:#DBDBDB;
    margin:0px;
    font-family:'Open Sans Light';
    display:flex;
    flex-flow:row wrap;
    flex-direction:row;
    justify-content:center;
}

a {
    text-decoration:none;
    color:black;
}

/* Header and Navigation Styles */
.uHeader{
    background-color:white;
    width:100%;
    position: relative;
}

.mobic-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    z-index: 10;
    font-family: 'Open Sans Light';
}

.navBtn {
    font-size:22px;
    padding:0px 6px;
    line-height:64px;
}

.imgContainer{
    padding:20px;
}

#active {
    color: #FF8C00; /* Orange color */
}

.navigation{
    display:flex;
    flex-flow:row wrap;
    flex-direction:row;
    position: absolute;
    right:0;
    justify-content:center;
    width:100%;
    height:64px;
}

.logoCon{
    display:flex;
    flex-wrap:wrap;
    transition: .5s;
    background-size:100%;
    background-repeat:no-repeat;
}

.logo--small{
    display:none;
    background-image:url(../images/serahFaulkLogoSub.png);
    background-size:40%;
    background-repeat:no-repeat;
    height:70px;
    width:500px;
}

.navBar {
    justify-items:center;
    top:0px;
    width:100%;
    color:black;
    position: sticky;
    font-family:'Open Sans Light';
    top: -1px;                       /* ? the trick */
    padding-top: 1px;    /* ? compensate for the trick */
    height:60px;
    background-color:#ffffff;
}

#navBarId.isSticky .logo--small{
    transition: 5.5s;
    display:block;
}

#navBarId.isSticky .navigation{
    width:400px;
} 

/* Grid Layout for Orange Squares */
.grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.square-box {
    width: 48%;
    aspect-ratio: 1/1;
    background-color: #FF8C00; /* Orange color */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.square-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.square-content {
    text-align: center;
    padding: 20px;
    color: white;
}

.square-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.square-content p {
    margin: 0;
    font-size: 18px;
}

/* Content Container Styles */
.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-title {
    color: #FF8C00;
    padding: 20px 0;
    text-align: center;
    font-size: 36px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.content-section {
    padding: 20px;
    margin-bottom: 30px;
}

.content-section h2 {
    color: #FF8C00;
    margin-bottom: 15px;
}

.content-section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans Light';
}

.form-group textarea {
    height: 150px;
}

.submit-btn {
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #E67E00;
}

/* Blog Styles */
.blog-post {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    color: #FF8C00;
}

.blog-meta {
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Media Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 10px;
    background-color: #f8f8f8;
    text-align: center;
}

/* Footer Styles */
.footer {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .row {
        flex-direction: column;
    }

    .square-box {
        width: 100%;
        margin-bottom: 20px;
    }

    #navBarId.isSticky .logo--small{
        transition: 5.5s;
        display:none;
    }
    
    #navBarId.isSticky .navigation{
        width:100%;
    }
    
    .mobic-overlay {
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .footer-section {
        min-width: 100%;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 10px 0;
    }
    
    .navBtn {
        font-size: 18px;
        line-height: 40px;
        padding: 0 10px;
    }
    
    .navBar {
        height: auto;
    }
    
    .mobic-overlay {
        font-size: 28px;
        text-align: center;
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .navBtn {
        font-size: 16px;
        padding: 0 5px;
        line-height: 36px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .mobic-overlay {
        font-size: 22px;
    }
    
    .square-content h2 {
        font-size: 22px;
    }
    
    .square-content p {
        font-size: 16px;
    }
}