/*
Ins - Agency Landing Page Template
Author : aStylers
Author URL : https://themeforest.net/user/astylers
*/

/*
Table of Content:
- fonts
- general
- button
- navbar
- header title
- home intro
- services
- pricing
- portfolio
- testimonial
- contact
- footer
- responsive
*/

/* fonts */
/* Bebas Neue now loaded via HTML head for better performance */

/* general */
body {
    background: #f8f5ff;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Hide Ins logo */
.navbar-brand {
    display: none;
}

/* Hide sections between about and contact */
.pricing,
.testimonial {
    display: none;
}

/* Fix portfolio layout for mixed column widths */
.portfolio .filtr-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    position: relative;
    z-index: 1;
}

.portfolio .filtr-item {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    flex: 0 0 auto !important;
}

@media (min-width: 768px) {
    .portfolio .filtr-item.col-md-4 {
        width: calc((100% - 60px) / 3) !important;
        max-width: calc((100% - 60px) / 3) !important;
        flex-basis: calc((100% - 60px) / 3) !important;
    }

    .portfolio .filtr-item.col-md-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
}

@media (max-width: 767px) {
    .portfolio {
        padding-bottom: 160px !important;
    }

    .portfolio .filtr-item,
    .portfolio .filtr-item.col-sm-6,
    .portfolio .filtr-item.col-sm-12,
    .portfolio .filtr-item[style] {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        flex: 0 0 100% !important;
    }

    .portfolio .filtr-item:last-child {
        margin-bottom: 30px !important;
    }

    .portfolio .filtr-container {
        gap: 20px !important;
        max-width: 100%;
        width: 100%;
        padding-bottom: 30px;
    }

    .portfolio .container {
        max-width: 100%;
        padding-bottom: 20px;
    }

    .portfolio .content-image,
    .portfolio .content-image[style] {
        height: auto !important;
        aspect-ratio: 2 / 1 !important;
        overflow: visible !important;
    }

    .portfolio .content-image img,
    .portfolio .content-image[style] img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .portfolio .content-image .portfolio-caption {
        left: 15px;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .portfolio .content-image .portfolio-caption h4 {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .portfolio .content-image .portfolio-caption span {
        font-size: 14px;
        line-height: 1.4;
        display: block;
    }
}

h1 {
    font-size: 48px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}

h2 {
    font-size: 42px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}

h3 {
    font-size: 36px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1.5px;
}

h4 {
    font-size: 28px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
}

h5 {
    font-size: 22px;
    font-weight: 700;
}

h6 {
    font-size: 18px;
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
    font-weight: 400;
}

a {
    color: #111;
}

a:hover {
    color: #264f47;
    text-decoration: none;
    transition: 0.5s ease-out;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {
    list-style-type: none;
}

p {
    line-height: 26px;
}

.bg-grey {
    background: #f4f4f6;
}

*:focus {
    outline: none;
}

/* button */
.button {
    background: #264f47;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 0;
    color: #fff;
    letter-spacing: 2px;
    margin-top: 22px;
    display: inline-block;
    border: 4px solid #264f47;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.button:hover {
    border-color: #264f47;
    color: #264f47;
    background: #e9a73e;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    transform: translate(-2px, -2px);
}

.button2 {
    background: transparent;
    border: 2px solid #ffb005;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 5px;
    color: #222;
    letter-spacing: 1px;
    margin-top: 22px;
    display: inline-block;
}

.button2:hover {
    border-color: #ffb005;
    color: #264f47;
    background: #ffb005;
    transition: 0.5s ease-out;
}

/* navbar */
.navbar {
    padding: 15px 0 15px;
    transition: 0.5s ease-out;
    background: transparent;
}

.navbar .navbar-brand {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

.navbar .navbar-brand img {
    width: 65px;
}

.navbar .navbar-brand-home {
    border-bottom: 3px solid #264f47;
}

.navbar .navbar-nav li {
    padding: 0 15px;
}

.navbar .navbar-nav li a {
    color: #fff;
    font-size: 16px;
}

.navbar .navbar-nav li a:last-child {
    padding-right: 0 !important;
}

.navbar .navbar-nav li:last-child {
    padding-right: 0;
}

.navbar .navbar-toggler i {
    color: #fff;
}

.navbar-fixed {
    background: #f8f5ff;
    transition: 0.5s ease-out;
    box-shadow:
        0 2px 2px 0 rgba(0, 0, 0, 0),
        0 1px 5px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -2px rgba(0, 0, 0, 0);
}

.navbar-fixed .navbar-brand {
    color: #333;
}

.navbar-fixed .navbar-brand span {
    color: #264f47;
}

.navbar-fixed .navbar-nav li a {
    color: #333;
}

.navbar-fixed .navbar-toggler i {
    color: #333;
}

.navbar-transparent {
    background: transparent !important;
}

/* haader title */
.header-title {
    margin-top: 90px;
    padding: 65px 0;
    text-align: center;
    background: #f5f5f5;
}

.header-title h3 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
}

/* about us */
.about {
    background: #e9a73e;
    padding: 80px 0 80px;
    position: relative;
    border-top: 8px solid #264f47;
    border-bottom: 8px solid #264f47;
}

.about .title-section {
    margin-bottom: 30px;
}

.about .content {
    background: #e9a73e;
    border-radius: 0;
    text-align: center;
    padding: 40px;
    cursor: default;
    color: #f8f5ff;
    border: 5px solid #264f47;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
    position: relative;
}

.about .content i {
    font-size: 56px;
    color: #f8f5ff;
}

.about .content h5 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #f8f5ff;
}

/* About section title styling */
.about h2,
.about h3,
.about h4,
.about h5,
.about h6 {
    color: #f8f5ff;
}

.about .title-section p {
    color: #f8f5ff;
}

/* home intro */
.home-intro {
    background: #f8f5ff;
    padding: 130px 0 150px !important;
    position: relative;
    overflow: hidden;
}

.home-intro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    background: #264f47;
    -webkit-mask: url(../images/bg-intro.png) no-repeat top right;
    mask: url(../images/bg-intro.png) no-repeat top right;
    -webkit-mask-size: cover;
    mask-size: cover;
    z-index: 1;
}

/* Pop-art decorative circles */
.home-intro::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #e9a73e;
    top: 15%;
    left: 5%;
    z-index: 0;
    opacity: 0.3;
}

.home-intro .content-image {
    padding-left: 50px;
    position: relative;
    z-index: 2;
}

/* AGENCY text styling - very specific override */
.home-intro .content h2:last-of-type {
    color: #e6a444 !important;
    -webkit-text-stroke-color: #e6a444 !important;
}

/* Override any span styling within AGENCY */
.home-intro .content h2:last-of-type span {
    color: #e6a444 !important;
    -webkit-text-stroke-color: #e6a444 !important;
}

.home-intro .content-image img {
    height: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-top: 20px;
    border-radius: 40px;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}

.home-intro ul li {
    display: inline-block;
    margin-right: 20px;
}

.home-intro .content {
    padding-top: 20px;
}

.home-intro h5 {
    margin-top: 40px;
    letter-spacing: 3px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
}

.home-intro h5 .line {
    height: 4px;
    background: #264f47;
    width: 80px;
    display: inline-block;
    position: relative;
    bottom: 8px;
    margin-right: 15px;
}

.home-intro h2 {
    font-size: 120px;
    font-weight: 400;
    margin: 60px 0;
    line-height: 90px;
    letter-spacing: 3px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: #264f47;
    text-shadow: 4px 4px 0 rgba(233, 167, 62, 0.3);
    font-family: "Bebas Neue", sans-serif;
}

.home-intro h2 span {
    color: #264f47;
}

.home-intro h6 {
    color: #444;
    line-height: 28px;
    font-size: 17px;
    margin-bottom: 15px;
}

/* section */
.section {
    padding: 90px 0 100px;
}

.title-section {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.title-section p {
    color: #264f47;
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
}

.title-section h3 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.3;
}

.title-section h3 span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #264f47;
}

/* services */
.services .content {
    background: #f8f5ff;
    border-radius: 15px;
    text-align: center;
    padding: 30px;
    cursor: default;
    margin-bottom: 30px;
}

.services .content i {
    font-size: 56px;
    color: #264f47;
}

.services .content h5 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.services .content:hover {
    background: #264f47;
    color: #fff;
    transition: 0.7s ease-out;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}

.services .content:hover i {
    color: #fff;
}

.services .content:hover h5 {
    color: #fff;
}

.services {
    background: #264f47;
    border-top: 8px solid #e9a73e;
    border-bottom: 8px solid #e9a73e;
}

.services .completed {
    background: transparent;
    text-align: center;
    padding: 60px 0;
    border-radius: 0;
    margin-top: 62px;
    margin-bottom: 10px;
}

.services .completed h3 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 50px;
}

.services .completed h4 {
    font-size: 90px;
    font-weight: 400;
    color: #e9a73e;
    font-family: "Bebas Neue", sans-serif;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    line-height: 1;
}

.services .completed span {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* pricing */
.pricing {
    text-align: center;
    padding-bottom: 76px;
}

.pricing .content {
    background: #f9f8fc;
    text-align: center;
    border-radius: 15px;
    padding: 35px 0 46px;
}

.pricing .content h4 {
    font-size: 24px;
}

.pricing .content span {
    font-size: 38px;
    color: #264f47;
    display: block;
    margin: 14px;
    font-weight: 600;
}

.pricing .content ul li {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 15px;
}

.pricing .content ul li.not-active {
    color: #ddd;
}

.pricing .content-center {
    background: #264f47;
}

.pricing .content-center h4 {
    color: #fff;
}

.pricing .content-center span {
    color: #fff;
}

.pricing .content-center ul li {
    color: #fff;
}

.pricing .content-center ul li.not-active {
    color: #aaa;
}

.pricing .button {
    position: relative;
    bottom: 46px;
    margin-bottom: -46px;
}

.pricing .button:hover {
    background: #f8f5ff;
    color: #264f47;
}

/*portfolio*/
.portfolio {
    position: relative;
    padding-bottom: 130px !important;
}

.portfolio .portfolio-popup {
    pointer-events: none;
    cursor: default;
}

/* Decorative geometric element */
.portfolio::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #e9a73e;
    top: 50px;
    right: 5%;
    z-index: 0;
    opacity: 0.15;
    transform: rotate(45deg);
}

.portfolio .row .col-md-4 {
    padding: 15px;
}

.portfolio .portfolio-filter-menu {
    margin-bottom: 40px;
    text-align: center;
}

.portfolio .portfolio-filter-menu ul li {
    display: inline-block;
    margin: 0 10px;
    border: 3px solid #264f47;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #444;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    padding: 12px 25px;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-filter-menu ul li:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-filter-menu ul li span {
    z-index: 99;
    position: relative;
}

.portfolio .portfolio-filter-menu ul li.active {
    background: #264f47;
    color: #fff;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.portfolio .content-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border: 5px solid #264f47;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.portfolio .content-image:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.25);
}

.portfolio .content-image:hover .image-overlay {
    opacity: 0.8;
}

.portfolio .content-image:hover .portfolio-caption {
    opacity: 1;
}

.portfolio .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.portfolio .content-image img:visited {
    outline: none;
}

.portfolio .content-image img:focus {
    outline: none;
}

.portfolio .content-image .portfolio-caption {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 40%;
    color: #333;
    text-align: center;
    opacity: 1;
    transition: all 0.5s ease;
    color: #fff;
}

.portfolio .content-image .portfolio-caption h4 {
    font-size: 28px;
    color: #fff;
    font-weight: 400;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.portfolio .content-image .portfolio-caption .subtitle {
    margin-top: 22px;
    top: 52px;
    position: relative;
    text-align: right;
}

.portfolio .content-image .portfolio-caption ul li {
    display: inline-block;
    margin: 0 5px;
}

.portfolio .content-image .portfolio-caption i {
    width: 30px;
    height: 30px;
    background: #333;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    color: #fff;
}

.portfolio .content-image .image-overlay {
    background: #264f47;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: auto;
}

/* testimonial */
.testimonial {
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    padding-bottom: 145px;
}

.testimonial span {
    font-size: 13px;
}

.testimonial h5 {
    margin-bottom: 3px;
}

.testimonial i {
    font-size: 40px;
    margin-bottom: 32px;
    color: #333;
}

.testimonial .carousel-indicators {
    bottom: -60px;
}

.testimonial .carousel-indicators .active {
    background: #264f47;
}

.testimonial .carousel-indicators li {
    background: #333;
    border-radius: 50%;
    width: 15px;
    height: 14px;
    border: 0;
    margin: 0 10px;
}

/* contact */
.contact {
    position: relative;
    background: #f8f5ff;
}

/* Dotted pattern background */
.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #264f47 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
    z-index: 0;
}

.contact .box-content {
    position: relative;
    z-index: 1;
}

.contact .content h5 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
}

.contact .content h5:first-child {
    margin-top: 0;
}

.contact .content-right {
    text-align: center;
}

.contact .content-right .button {
    margin-top: 0px;
}

::placeholder {
    color: #aaa;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #aaa;
}

::-ms-input-placeholder {
    color: #aaa;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    min-height: 18px;
    display: none;
}

.error-message.show {
    display: block;
}

form input,
form textarea,
form select {
    border: 3px solid #264f47;
    background: #fff;
    padding: 16px 20px;
    margin-bottom: 30px;
    width: 100%;
    color: #333;
    border-radius: 0;
    text-align: left;
    font-weight: 500;
    transition: all 0.3s ease;
}

form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23264f47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

form select option {
    color: #333;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #e9a73e;
    outline: none;
    box-shadow: 5px 5px 0 rgba(233, 167, 62, 0.3);
    transform: translate(-2px, -2px);
}

/* footer bottom */
.footer-bottom {
    background: #264f47;
    text-align: center;
    color: #eee;
    padding: 35px 0 35px;
    border-top: 1px solid #888;
}

/* footer */
footer {
    background: #264f47;
    padding: 90px 0 80px;
}

/* Hide footer logo */
footer .brand img {
    display: none;
}

footer .brand {
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

footer .brand img {
    width: 65px;
}

footer h5 {
    color: #fff !important;
    margin-top: 8px;
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #ccc;
}

footer ul li a i {
    margin-right: 10px;
}

footer .social li a i {
    width: 20px;
}

/*responsive*/
@media (max-width: 980px) {
    .home-intro {
        margin-top: 85px;
    }

    .home-intro h2 {
        font-size: 80px;
        margin: 12px 0;
        line-height: 70px;
    }

    .home-intro .button {
        padding: 13px 20px;
    }

    .home-intro .button2 {
        padding: 13px 20px;
    }

    .home-intro h6 {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .home-intro img {
        margin-top: 95px;
    }

    .home-intro .content {
        padding-top: 0;
    }

    .navbar .navbar-nav li a {
        color: #333;
    }

    .about h2 {
        margin-top: 30px;
    }

    .about .col-md-6 {
        max-width: 100%;
        flex: 100%;
    }

    .portfolio .content-image .portfolio-caption {
        top: 30%;
    }
}

@media (max-width: 767px) {
    .home-intro {
        margin-top: 0;
        padding-bottom: 100px !important;
    }

    .home-intro h2 {
        font-size: 60px;
        line-height: 55px;
        -webkit-text-stroke-width: 2px;
    }

    .home-intro .content-image {
        padding-left: 0;
    }

    .home-intro .content-image img {
        margin-top: 45px;
        float: none;
    }

    /* Reduce border and shadow sizes on mobile */
    .portfolio .content-image {
        border: 3px solid #264f47;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
    }

    .portfolio .content-image:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    }

    .about .content {
        border: 3px solid #264f47;
        box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.15);
    }

    .button {
        border: 3px solid #264f47;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    }

    .button:hover {
        box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
    }

    form input,
    form textarea,
    form select {
        border: 2px solid #264f47;
    }

    .services .completed h4 {
        font-size: 70px;
    }

    .title-section h3 {
        font-size: 36px;
    }

    .container {
        padding: 0 15px;
    }

    .navbar-toggler {
        border-radius: 0;
    }

    .navbar-brand {
        margin-left: 15px;
    }

    .navbar-nav {
        background: #f8f5ff;
        box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 15px 15px;
        border-top: 0;
        outline: none;
    }

    .navbar-fixed .navbar-nav {
        background: transparent;
        box-shadow: none;
    }

    .navbar-toggler:focus {
        outline: none;
    }

    .about .content {
        margin-bottom: 30px;
    }

    .about .col-md-4:last-child .content {
        margin-bottom: 0;
    }

    .contact form {
        margin-top: 40px;
    }

    .services .completed h4 {
        margin-top: 40px;
    }

    .services .completed .col-md-4:first-child h4 {
        margin-top: 0;
    }

    .portfolio .content-image .portfolio-caption {
        top: 35%;
    }

    .portfolio .portfolio-filter-menu ul li {
        margin: 0 6px;
        padding: 10px 10px;
    }

    footer {
        text-align: center;
    }

    footer span {
        margin-bottom: 6px;
        display: block;
    }

    footer ul {
        text-align: center;
    }

    footer ul li {
        margin: 0 12px;
    }
}

@media (max-width: 640px) {
    .navbar-fixed .navbar-nav li {
        padding: 0;
    }

    .navbar .navbar-nav {
        background: #f8f5ff;
        padding: 14px 0;
    }

    .navbar-fixed .navbar-nav {
        background: transparent;
        padding: 14px !important;
    }

    .navbar .navbar-nav li a {
        color: #333;
    }

    .services .content-left {
        margin-bottom: 75px;
    }

    .services .col-sm-12:last-child .content {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .navbar .navbar-nav {
        margin: 11px;
        margin-left: 11px !important;
    }

    .navbar-fixed .navbar-nav {
        padding: 2px;
    }

    .portfolio .content-image .portfolio-caption {
        top: 40%;
    }

    footer h5 {
        margin-top: 26px;
    }
}

@media (max-width: 360px) {
    .portfolio .content-image .portfolio-caption {
        top: 35%;
    }
}

/* Hide home-intro::before on mobile devices */
@media (max-width: 768px) {
    .home-intro::before {
        display: none;
    }
}
