/* ----------------------------------------------- */
/* GLOBAL SETTINGS */
/* ----------------------------------------------- */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 18px;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding-top: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    overflow-x: hidden;
}

/* Ensure header starts at absolute top */
body > header {
    position: relative;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Old nav styles removed - using top-menu-bar now */

/* Old navigation styles removed - using top-menu-bar now */

/* ----------------------------------------------- */
/* REUSABLE COMPONENTS */
/* ----------------------------------------------- */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

/* Old header nav styles removed - using top-menu-bar now */

.box {
    padding: 1%;
}


/* ----- HEADINGS ----- */

h1, h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #d4bd0f;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    margin-top: 40px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}


h2:after {
    display: block;
    height: 2px;
    background-color: #122ad4;
    content: " ";
    width: 400px;
    margin: 0 auto;
    margin-top: 30px;
}


/* ----- PARAGRAPHS ----- */
.long-copy {
    line-height: 145%;
    width: 90%;
    margin-left: 5%;
    margin-bottom: 30px;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}

/* ----- ICONS ----- */
.icon-big {
    font-size: 250%;
    display: block;
    color: #122ad4;
    margin-bottom: 10px;
    margin-left: 20%;
}



/* ----- BUTTONS ----- */

.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    transition: background-color 0.2s, border 0.2s, color 0.2s;


}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #122ad4;
    border: 1px solid #122ad4;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #122ad4;
    color: #122ad4;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #122ad4;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #122ad4;

}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #122ad4;
    color: #fff;
}

/* ----------------------------------------------- */
/* TOP MENU BAR - FIXED AT TOP */
/* ----------------------------------------------- */

.top-menu-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #122ad4 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: auto;
    min-height: 50px;
}

.top-menu-bar .row {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
    position: relative;
}

.top-menu-bar .main-nav {
    float: none;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    height: 100%;
}

.top-menu-bar .main-nav li {
    display: inline-block;
    margin: 0 0 0 30px !important;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.top-menu-bar .main-nav li a:link,
.top-menu-bar .main-nav li a:visited {
    padding: 15px 0;
    color: white !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.2s, color 0.2s;
    display: block;
    height: 100%;
    line-height: 20px;
}

.top-menu-bar .main-nav li a:hover,
.top-menu-bar .main-nav li a:active {
    border-bottom: 3px solid #d4bd0f;
    color: #d4bd0f !important;
}

.top-menu-bar .main-nav li a.active {
    border-bottom: 3px solid #d4bd0f;
    color: #d4bd0f !important;
}

.top-menu-bar .mobile-nav-icon {
    display: none;
    color: white;
    font-size: 200%;
    cursor: pointer;
    margin-left: 15px;
}

/* ----------------------------------------------- */
/* HEADER - BELOW MENU BAR */
/* ----------------------------------------------- */

header {
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(/assets/images/Flag2400x1500.png);
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(/assets/images/Flag2400x1500.png);
    background-size: cover;
    background-position: center;
    height: 62.5vh;
    background-attachment: fixed;
    position: relative;
    min-height: 500px;
    margin: 0 !important;
    padding: 0 !important;
    top: 50px !important;
    left: 0 !important;
    width: 100%;
    display: block;
    overflow: visible;
    clear: both;
}

.header-content {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-content .row {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2%;
}

.logo {
    height: 180px;
    width: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 101;
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Old main-nav styles removed - now using .top-menu-bar .main-nav */

/* Mobile Menu Toggle */
.mobile-nav-icon {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 200%;
    margin-left: 15px;
}

.mobile-nav-icon i {
    font-size: 200%;
}

/* ----------------------------------------------- */
/* photos */
/* ----------------------------------------------- */

.section-photos {
    margin-top: 50px;
    padding: 20px;


}

.photos-showcase {
    list-style: none;
    width: 100%;
}

.photos-showcase li {
    display: block;
    float: left;
    width: 25%;
}

.main-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.main-photo img {
    opacity: 0.8;
    width: 100%;
    height: auto;
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}

.main-photo img:hover {
    opacity: 1;
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}


/* ----------------------------------------------- */
/* FEATURES */
/* ----------------------------------------------- */

.section-features {
    padding: 40px 0;
}

.section-features .long-copy {
    margin-bottom: 30px;
}


.mySlides{
    background-color: #f4f4f4;
}


/* ----------------------------------------------- */
/* LINKS */
/* ----------------------------------------------- */
.section-links {
    font-size: 90%;
    margin-top: 20px;
    margin-bottom: 50px;
}

.link-main{
    font-size: 140%;
}

.link-header{
    font-size: 95%;
}

.link-list li a:link, li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;

}



/*PRESS RELEASE*/
.pressReleases{
    text-align: center;
    margin-bottom: 30px;
}




/*FOOTER SECTION*/

footer {
    background-color: #333;
    margin-top: 10px;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: #ddd;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 160%;
}

.ion-social-facebook,
.ion-social-twitter,
.ion-social-googleplus,
.ion-social-instagram {
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.ion-social-facebook:hover {
    color: #3b5998;
}

.ion-social-twitter:hover {
    color: #00aced;
}

.ion-social-googleplus:hover {
    color: #dd4b39;
}

.ion-social-instagram:hover {
    color: #517fa4;
}


footer p {
    color: #888;
    text-align: center;
    margin-top: 20px;
}





/* ----------------------------------------------- */
/* HOW IT WORKS SECTION */
/* ----------------------------------------------- */

.section-steps {
    background-color: #f4f4f4;




}

.steps-box {
    margin-top: 30px;
}


.steps-box:first-child {
    text-align: right;
    padding-right: 3%;
}

.steps-box:last-child {
    text-align: left;
    padding-left: 3%;
    margin-top: 70px;
}

.app-screen {
    width: 40%;
}

.works-step {
    margin-bottom: 50px;
}

.works-step:last-of-type {
    margin-bottom: 80px;
}

.works-step div {
    color: #e67e22;
    font-size: 150%;
    height: 25px;
    width: 25px;
    /*border: 2px solid #e67e22;*/
    /*border-radius: 50%;*/
    display: inline-block;
    text-align: center;
    margin-right: 20px;
    float: left;
    padding: 2px;
}

.btn-app:link,
.btn-app:visited {
    border: 0;
}

.btn-app img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}



.pressReleases{
    text-align: center;
    margin-bottom: 30px;
}


/*TODO clean up CSS PHOTOS - Press Release*/

.press-top-photo{
    margin-top: 40px;
}

.press-bottom-photo{
    margin-top: 100px;

}

/* ----------------------------------------------- */
/* RESPONSIVE DESIGN - MOBILE FIRST */
/* ----------------------------------------------- */

/* Large tablets and small desktops (1024px and down) */
@media only screen and (max-width: 1024px) {
    .row {
        max-width: 100%;
        padding: 0 2%;
    }
    
    .hero-text-box {
        width: 100%;
        padding: 0 2%;
    }
    
    h1 {
        font-size: 200%;
    }
    
    h2 {
        font-size: 150%;
    }
}

/* Tablets (768px and down) */
@media only screen and (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    body {
        padding-top: 50px !important;
    }
    
    .top-menu-bar {
        height: auto;
        min-height: 50px;
    }
    
    .top-menu-bar .row {
        height: auto;
        min-height: 50px;
        padding: 10px 2%;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
    
    .top-menu-bar .mobile-nav-icon {
        display: block !important;
    }
    
    .top-menu-bar .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #122ad4;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .top-menu-bar .main-nav.mobile-open {
        display: flex;
    }
    
    .top-menu-bar .main-nav li {
        margin: 0 !important;
        width: 100%;
        display: block;
        text-align: center;
        padding: 5px 0;
    }
    
    .top-menu-bar .main-nav li a:link,
    .top-menu-bar .main-nav li a:visited {
        padding: 10px 0;
        font-size: 85%;
        width: 100%;
        display: block;
    }
    
    header {
        height: 50vh;
        min-height: 400px;
        background-attachment: scroll;
        top: 50px !important;
    }
    
    .logo {
        height: 120px;
        margin-top: 10px;
    }
    
    .hero-text-box {
        width: 100%;
        padding: 0 4%;
        top: 55%;
    }
    
    h1 {
        font-size: 180%;
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 140%;
        margin-top: 30px;
    }
    
    h2:after {
        width: 200px;
    }
    
    .long-copy {
        width: 100%;
        margin-left: 0;
    }
    
    .photos-showcase li {
        width: 50%;
    }
    
    footer {
        padding: 30px 20px;
    }
    
    .footer-nav,
    .social-links {
        float: none;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-nav li,
    .social-links li {
        margin: 5px 10px;
    }
    
    /* Admin Dashboard Responsive */
    .col.span-1-of-3 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .col.span-1-of-2 {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Mobile phones (480px and down) */
@media only screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 50px !important;
    }
    
    .top-menu-bar {
        height: auto;
        min-height: 50px;
    }
    
    .top-menu-bar .row {
        height: auto;
        min-height: 50px;
        padding: 10px 2%;
    }
    
    .top-menu-bar .main-nav li {
        margin: 0 !important;
        padding: 3px 0;
    }
    
    .top-menu-bar .main-nav li a:link,
    .top-menu-bar .main-nav li a:visited {
        font-size: 80%;
        padding: 8px 0;
    }
    
    header {
        height: 40vh;
        min-height: 300px;
        top: 50px !important;
    }
    
    .logo {
        height: 80px;
        display: block;
        margin: 10px auto;
    }
    
    .hero-text-box {
        top: 50%;
        padding: 0 5%;
    }
    
    h1 {
        font-size: 150%;
        word-spacing: 2px;
        letter-spacing: 0.5px;
    }
    
    h2 {
        font-size: 120%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    h2:after {
        width: 150px;
        margin-top: 15px;
    }
    
    h3 {
        font-size: 100%;
    }
    
    .btn:link,
    .btn:visited,
    input[type=submit] {
        padding: 8px 20px;
        font-size: 85%;
        margin: 5px 5px 5px 0;
    }
    
    .long-copy {
        font-size: 95%;
        line-height: 140%;
    }
    
    .photos-showcase li {
        width: 100%;
        float: none;
    }
    
    .section-features {
        padding: 20px 0;
    }
    
    footer {
        padding: 20px 15px;
        font-size: 75%;
    }
    
    .footer-nav li,
    .social-links li {
        display: block;
        margin: 8px 0;
    }
    
    /* Tables responsive */
    table {
        font-size: 85%;
    }
    
    table th,
    table td {
        padding: 8px 6px;
    }
    
    /* Admin Dashboard Mobile */
    .col.span-1-of-3,
    .col.span-1-of-2,
    .col.span-1-of-1 {
        width: 100%;
        padding: 2%;
    }
    
    /* Quick Actions Menu Mobile */
    .row > div[style*="background-color: #122ad4"] {
        padding: 10px 15px !important;
    }
    
    .row > div[style*="background-color: #122ad4"] > div {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .row > div[style*="background-color: #122ad4"] a {
        display: block;
        text-align: center;
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Stat boxes mobile */
    .col.span-1-of-3 > div {
        min-height: 150px !important;
        padding: 20px !important;
    }
    
    .col.span-1-of-3 > div p {
        font-size: 200% !important;
    }
    
    /* Calendar modal mobile */
    #event-modal > div {
        width: 95% !important;
        margin: 10% auto !important;
    }
    
    #event-modal > div > div:first-child {
        padding: 15px !important;
    }
    
    #event-modal > div > div:nth-child(2) {
        padding: 20px 15px !important;
    }
    
    /* Forms mobile */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    textarea,
    select {
        width: 100% !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Grid adjustments */
    .col.span-1-of-2 {
        width: 100%;
    }
    
    .col.span-1-of-3 {
        width: 100%;
    }
    
    .col.span-2-of-3 {
        width: 100%;
    }
}

/* Very small phones (320px and down) */
@media only screen and (max-width: 320px) {
    html {
        font-size: 12px;
    }
    
    h1 {
        font-size: 130%;
    }
    
    h2 {
        font-size: 110%;
    }
    
    .btn:link,
    .btn:visited {
        padding: 6px 15px;
        font-size: 80%;
    }
    
    .logo {
        height: 60px;
    }
    
    header {
        min-height: 250px;
    }
}

/* Landscape orientation adjustments */
@media only screen and (max-width: 768px) and (orientation: landscape) {
    header {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-text-box {
        top: 50%;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .main-nav,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section-features {
        page-break-inside: avoid;
    }
}