/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    padding-top: 50px; /* Adjust this value based on your nav's height */
}

/* Navigation styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    height: 50px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    align-items: center; /* Align items vertically */
}

.nav-menu li {
    margin-left: 1rem;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 0.9rem; /* Slightly reduce font size */
}

.nav-menu li a:hover {
    color: #0A2E5C;
}

.nav-menu li:first-child {
    margin-right: auto; /* Push other items to the right */
    margin-left: 0; /* Remove left margin for the first item */
}

.nav-menu li:first-child a {
    display: flex;
    align-items: center;
}

.nav-menu li:first-child i {
    margin-right: 5px;
}

/* Hero section styles */
.hero {
    padding: 8rem 0;
    text-align: center;
    background-color: #0A2E5C;
    color: black;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #FFD700;
    color: #0A2E5C;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #FFC107;
}

/* Container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Box styles */
.box {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Grid styles */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.excel-table {
    border-collapse: collapse;
    width: 200px;
    margin: 20px 0;
}
.excel-table td {
    border: 1px solid #000;
    padding: 5px 10px;
    text-align: left;
}

/* Icon Styles */

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0A2E5C;
}

.app-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 10px;
}

.app-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.app-links a {
    display: inline-block;
    margin: 0.25rem;
    color: #0A2E5C;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.app-links a:hover {
    color: #FFD700;
}

.app-link-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-link-group a {
    display: flex;
    align-items: center;
    margin: 0.25rem 0;
    color: #0A2E5C;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.app-link-group a:hover {
    color: #FFD700;
}

.app-link-group a i {
    margin-right: 0.5rem;
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin-right: 1rem;
}

.app-store-badge {
    height: 40px;
    margin-left: auto;
}

.ms-app-store-badge {
    margin-left: 8px;
}

.app-screenshot {
    max-width: 450px;
    height: auto;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    float: right;
}

.app-description {
    margin-bottom: 2rem;
    overflow: hidden; /* Clear the float */
}

.app-title {
    flex-grow: 1;
}

.commsArrangementImage {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.article-title-image {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.pdf-download {
    display: inline-flex;
    align-items: center;
    background-color: #0A2E5C;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}
.pdf-download:hover {
    background-color: #FFD700;
    color: #0A2E5C;
}
.pdf-download i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Footer styles */
footer {
    background-color: #fff;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    list-style-type: none;
    padding: 0;
}

.social-icons li {
    margin: 0 0.5rem;
}

.social-icons a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0A2E5C;
}

.hideme {
    /* display: none; */
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px; /* Adjust this value based on your mobile nav's height */
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1;
        margin: 15px;
    }
    
    .nav-toggle-label span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin-bottom: 5px;
        transition: transform 0.3s ease;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .nav-menu li:first-child {
        margin-right: 0; /* Reset the auto margin on mobile */
    }
    
    .nav-menu li:first-child a {
        justify-content: center; /* Center the phone number on mobile */
    }
    
    /* Ensure the phone number is on its own line on mobile */
    .nav-menu li:first-child {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }

    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .app-links {
        flex-direction: column;
        align-items: center;
    }
    
    .app-link-group {
        margin-bottom: 1rem;
    }
    
    .app-screenshot {
        margin:10px; /* Set a fixed max-width for wide screens */
    }
}

@media screen and (min-width: 1200px) {
    .app-screenshot {
        max-width: 450px; /* Set a fixed max-width for wide screens */
    }
}

@media screen and (min-width: 1000px) {
    .commsArrangementImage {
        max-width: 750px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
