/*!
 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    height: 100%;
    font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #fff;
    background-color: #000;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

@media(min-width:767px) {
    p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
    }
}

a {
    color: #219ab3;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #11505d;
}

.light {
    font-weight: 400;
}

.navbar-custom {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: #000;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: #fff;
}

.navbar-custom .nav li.active {
    outline: nonte;
    background-color: rgba(255,255,255,.3);
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover{
  background-color: #219ab3;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a.active {
    outline: 0;
    background-color: rgba(255,255,255,.3);
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
        background-color: #000;
    }

    .navbar-custom.top-nav-collapse {
        border-bottom: 1px solid rgba(255,255,255,.3);
    }
}

.intro {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ), url(../img/intro-bg.jpg) no-repeat bottom center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    /*opacity: 0.2;*/
    background-color: rgba(0,0,0,.5);
}

.intro .intro-body {
    display: table-cell;
    vertical-align: middle;
}

.intro .intro-body .brand-heading {
    font-size: 40px;
}

.intro .intro-body .intro-text {
    font-size: 18px;
}

@media(min-width:767px) {
    .intro {
        height: 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        font-size: 100px;
    }

    .intro .intro-body .intro-text {
        font-size: 25px;
    }
}

.contact {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ), url(../img/intro-contact.jpg) no-repeat bottom center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#blog {
    padding-bottom: 250px;
}

.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid #fff;
    border-radius: 35px;
    font-size: 40px;
    color: #fff;
    background: 0 0;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #fff;
    background: rgba(255,255,255,.1);
}

.btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {
    0 {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {
    0 {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

.content-section {
    padding-top: 100px;
}

.download-section {
    width: 100%;
    padding: 50px 0;
    color: #fff;
    background: url(../img/downloads-bg.jpg) no-repeat center center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#map {
    width: 100%;
    height: 200px;
    margin-top: 100px;
}

@media(min-width:767px) {
    .content-section {
        padding-top: 250px;
    }

    .download-section {
        padding: 100px 0;
    }

    #map {
        height: 400px;
        margin-top: 250px;
    }
}

.btn {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-default {
    border: 1px solid #219ab3;
    color: #219ab3;
    background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
    border: 1px solid #219ab3;
    outline: 0;
    color: #000;
    background-color: #219ab3;
}

ul.banner-social-buttons {
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
    
    /* Better mobile spacing for content sections */
    .content-section {
        padding-top: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .intro {
        padding: 80px 0;
    }
    
    .intro .intro-body .brand-heading {
        font-size: 50px;
    }
    
    .intro .intro-body .intro-text {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    /* Better navigation on mobile */
    .navbar-custom .navbar-nav {
        margin: 0;
    }
    
    .navbar-custom .nav li a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    
    /* Improve dropdown menu on mobile */
    .navbar-custom .dropdown-menu {
        background-color: rgba(0,0,0,.9);
        border: 1px solid rgba(255,255,255,.2);
    }
    
    .navbar-custom .dropdown-menu > li > a {
        color: #fff;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    
    .navbar-custom .dropdown-menu > li > a:hover {
        background-color: #219ab3;
    }
}

footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

::selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #219ab3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    right: -8px;
    background-color: #219ab3;
    border: 3px solid #000;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-date {
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #219ab3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 25px 35px;
    background-color: rgba(255,255,255,.1);
    border-radius: 6px;
    border-left: 4px solid #219ab3;
    min-width: 280px;
}

.timeline-content h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.timeline-content small {
    font-style: italic;
    color: #ccc;
}

@media screen and (max-width: 768px) {
    .timeline {
        padding: 20px 10px;
    }
    
    .timeline::after {
        left: 20px;
        margin-left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        margin-bottom: 25px;
        left: 0 !important;
    }
    
    .timeline-item::before {
        display: none;
    }

    .timeline-item::after {
        left: 13px !important;
        right: auto !important;
        width: 12px;
        height: 12px;
        top: 20px;
        border: 2px solid #000;
    }
    
    .timeline-item:nth-child(even) {
        left: 0% !important;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 13px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 20px 15px;
        min-width: auto;
        margin-left: 0;
    }
    
    .timeline-content h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .timeline-content p {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .timeline-date {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

/* Presentation buttons styling */
.presentation-buttons {
    margin-top: 15px;
    text-align: center;
}

.presentation-buttons .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    margin: 0 5px;
}

@media screen and (max-width: 768px) {
    .presentation-buttons {
        margin-top: 10px;
    }
    
    .presentation-buttons .btn-sm {
        display: block;
        margin: 5px 0;
        width: 100%;
        font-size: 11px;
        padding: 8px 12px;
    }
}

/* Additional improvements for very small screens */
@media screen and (max-width: 480px) {
    .timeline {
        padding: 15px 5px;
    }
    
    .timeline::after {
        left: 15px;
        margin-left: 0;
    }
    
    .timeline-item {
        padding-left: 40px;
        padding-right: 5px;
        left: 0 !important;
    }
    
    .timeline-item::after {
        left: 8px !important;
        right: auto !important;
        width: 10px;
        height: 10px;
        border: 2px solid #000;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 8px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 15px 10px;
        font-size: 12px;
    }
    
    .timeline-content h4 {
        font-size: 13px;
    }
    
    .timeline-content p {
        font-size: 12px;
    }
    
    .timeline-date {
        font-size: 11px;
    }
    
    .intro .intro-body .brand-heading {
        font-size: 35px;
    }
    
    .intro .intro-body .intro-text {
        font-size: 14px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
}
