/* ========================================
   Typography System - Standardized Fonts
   ======================================== */

html {
    overflow-x: hidden;
    width: 100%;
    font-size: 16px;
    /* Base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #222222;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    letter-spacing: 0.3px;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #162341;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffb400;
    outline-offset: 2px;
}

/* Typography Scale - Consistent sizing across the site */
h1,
.h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.1875rem;
    /* 35px */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #162341;
    letter-spacing: 0.5px;
}

h2,
.h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.875rem;
    /* 30px */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #162341;
    letter-spacing: 0.5px;
}

h3,
.h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.875rem;
    color: #162341;
    letter-spacing: 0.3px;
}

h4,
.h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #162341;
    letter-spacing: 0.3px;
}

h5,
.h5 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.625rem;
    color: #162341;
    letter-spacing: 0.3px;
}

h6,
.h6 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #162341;
    letter-spacing: 0.3px;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #222222;
    letter-spacing: 0.3px;
}

p.lead {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    line-height: 1.7;
    color: #666666;
}

strong,
b {
    font-weight: 600;
    color: #3280FE;
}

em,
i {
    font-style: italic;
}

small,
.small {
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    line-height: 1.5;
}

a {
    font-family: 'Open Sans', sans-serif;
    color: #3280FE;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

a:hover,
a:focus {
    color: #005df8;
    text-decoration: none;
}

/* Responsive Typography */
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }

    h1,
    .h1 {
        font-size: 1.875rem;
        /* 30px */
    }

    h2,
    .h2 {
        font-size: 1.625rem;
        /* 26px */
    }

    h3,
    .h3 {
        font-size: 1.375rem;
        /* 22px */
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    h1,
    .h1 {
        font-size: 1.625rem;
        /* 26px */
    }

    h2,
    .h2 {
        font-size: 1.5rem;
        /* 24px */
    }

    h3,
    .h3 {
        font-size: 1.25rem;
        /* 20px */
    }

    p {
        font-size: 0.9375rem;
        /* 15px */
        line-height: 1.6;
    }
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;

}


a,
a:hover,
a:focus {
    text-decoration: none;
    outline: none;
    transition: all 0.2s linear;
}

a,
.btn {
    transition: all 0.3s ease-out 0s;
}



.note .logo {
    color: #6ddb07;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font: 18px verdana;
    padding: 10px;
    position: relative;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
    z-index: 123;
}

.logo a {
    color: #6DDB07;
}

nav {
    /* margin: 0 auto; */
    position: relative;
    width: 100%;
}

.row,
.container-fluid,
body,
html {
    height: 100%;
}

section.background {
    display: table;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    height: 100%;
    position: relative;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
}

header.navbar {
    background: #ffffff none repeat scroll 0 0;
    border: medium none;
    border-radius: 0;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
    z-index: 99999;
    clear: both;
}

/* Ensure navbar content displays properly with float utilities */
header.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow: visible;
}

/* Constrain header navbar container to match Bootstrap container widths at all breakpoints */
@media (min-width: 576px) {
    header.navbar .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    header.navbar .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    header.navbar .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    header.navbar .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    header.navbar .container {
        max-width: 1320px;
    }
}

/* Prevent header content from wrapping */
header.navbar .logo-2 {
    flex-shrink: 0;
}

header.navbar .site-nav {
    flex-shrink: 1;
    min-width: 0;
}

/* Bootstrap 5 navbar-light - dark menu items on light background */
header.navbar.navbar-light .mainmenu .menu-item a {
    color: #000000;
}

/* Header wrapper */
.header-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* Sticky top-menu - appears above header when sticky */
.top-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100001;
    width: 100%;
}

/* Sticky header - appears below top-menu when sticky */
header.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    width: 100%;
}

header:after {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#005df8+0,ffc833+100 */
    background: #005df8;
    /* Old browsers */
    background: -moz-linear-gradient(left, #005df8 0%, #ffc833 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #005df8 0%, #ffc833 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #005df8 0%, #ffc833 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#005df8', endColorstr='#ffc833', GradientType=1);
    /* IE6-9 */
}

.top-menu {
    background-color: #162341;
    width: 100%;
    position: relative;
    z-index: 100000;
    clear: both;
    float: none;
    display: block;
}

/* Ensure top-menu container matches Bootstrap container max-widths */
.top-menu .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Constrain top-menu container to match Bootstrap container widths at all breakpoints */
@media (min-width: 576px) {
    .top-menu .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .top-menu .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .top-menu .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .top-menu .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .top-menu .container {
        max-width: 1320px;
    }
}

.top-menu .container .row {
    margin: 0;
    align-items: center;
}

.top-menu .container .row .col-sm-6:first-child {
    padding-top: 8px;
    padding-bottom: 8px;
}

.top-menu .container .row .col-sm-6:last-child {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.social>li {
    margin: 0;
    padding: 0;
}

/* Social icons accessibility */
.social a:focus {
    outline: 2px solid #ffc732;
    outline-offset: 2px;
}

/* Form focus states for accessibility */
.form-control:focus {
    border-color: #015FFF;
    box-shadow: 0 0 0 0.2rem rgba(1, 95, 255, 0.25);
}

/* Button focus states for accessibility */
.btn:focus {
    outline: 2px solid #ffc732;
    outline-offset: 2px;
}

.social>li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-menu .pull-rihgt li {
    /* Replaced with Bootstrap: float: left -> pull-left class */
}

.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    display: table-cell;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    vertical-align: middle;
}

.note {
    margin: 0 auto;
    width: 80%;
}

.note h1 {
    color: #ffffff;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 36px;
    font-weight: 300;
    margin-top: 10px;
    width: 100%;
}

.note p {
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 1px;
}

.view-btn>a {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #3280FE;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 2% 0;
    padding: 20px 50px;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

#slider .col-sm-7>h1 {
    color: #015ffc;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#slider .col-sm-7>h2 {
    color: #162340;
    font-size: 35px;
    letter-spacing: 0.5px;
    margin: 7px 0;
    /* Replaced with Bootstrap: text-transform: capitalize -> text-capitalize class */
}

#slider .col-sm-7>p {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logo img {
    margin-top: -100px;
    width: 30%;
}

.logo-2 {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    margin-right: 25px;
    padding-top: 5px;
    width: 21%;
    max-width: 220px;
    flex-shrink: 0;
}

/* Responsive logo sizing - Consolidated */
@media (max-width: 1199.98px) {
    .logo-2 {
        width: 18%;
        max-width: 180px;
    }
}

@media (max-width: 991.98px) {
    .logo-2 {
        width: 15%;
        max-width: 160px;
    }
}

.logo-2 .img-responsive {
    margin-top: 0;
    width: 100%;
}

.note h1 span {
    color: #FFC732;
    font-weight: 800;
    padding: 5px 10px;
}

.button.styl-material {
    background: #ffffff none repeat scroll 0 0;
    border: medium none;
    border-radius: 4px;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
    color: #3280FE;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    min-width: 160px;
    padding: 18px 30px;
    position: relative;
    text-shadow: 0 0 0;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
    transition: background 200ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.button.styl-material:hover,
.button.styl-material:focus {
    background: #3280FE none repeat scroll 0 0;
    color: #ffffff;
    outline: medium none;
}

.ripple-obj {
    fill: #004DCF;
}

.about {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    padding: 3% 0;
    width: 100%;
}

.about h1 {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 2.1875rem;
    /* 35px */
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-bottom: 12px;
    position: relative;
    width: 100%;
    line-height: 1.3;
    color: #162341;
    letter-spacing: 0.5px;
}


.about h1::after {
    border-bottom: 3px solid #ffc732;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    width: 200px;
}

.about h1::before {
    background-color: #ffffff;
    border: 3px solid #0060fd;
    border-radius: 50%;
    bottom: -7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    content: "";
    height: 17px;
    left: 0;
    position: absolute;
    width: 17px;
    z-index: 1;
}



.col-sm-7.first img {
    left: -40px;
    position: absolute;
    top: -35px;
    z-index: -1;
}

.about .col-sm-5 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .col-sm-5 .img-responsive,
.about .col-sm-5 .img-fluid {
    margin-top: 0;
    width: 100%;
    height: auto;
}

.about .first p {
    color: #222222;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-weight: 400;
    font-size: 1rem;
    /* 16px */
    letter-spacing: 0.3px;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    /* text-align: justify not available in Bootstrap 3, keeping custom */
    width: 100%;
}

/* Exclude portfolio grid items from about section typography */
.about.portfolio .grid__item p,
.about.portfolio .grid__item h3,
.about.portfolio .grid__item em {
    margin: 0;
    padding: 0;
    width: auto;
    line-height: inherit;
}

.about .first strong {
    color: #3280FE;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    width: 100%;
}

.about .first p strong span {
    color: #9c9c9c;
    font-weight: 300;
}

.about .button.styl-material,
.about button.styl-material {
    background-color: #3280FE;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
    color: #ffffff;
    margin-top: 20px;
    display: inline-block;
}

.inner-email {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
    height: 130px;
    margin-left: -50px;
    padding: 44px 20px 30px 60px;
    transition: all 0.3s ease 0s;
    width: 130px;
}

.inner-email:hover {
    margin-left: -30px;
    padding-left: 40px;
    padding-top: 33px;
}

.email- {
    left: 0;
    position: fixed;
    top: 30%;
    z-index: 2147483647;
}

.inner-email img {
    width: 100%;
}

/* Go to Top Button */
.go-to-top {
    background-color: #005df8;
    border: none;
    border-radius: 50%;
    bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    height: 50px;
    opacity: 0;
    position: fixed;
    right: 30px;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    width: 50px;
    z-index: 1000;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background-color: #0045c7;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.go-to-top:active {
    transform: translateY(-1px);
}

.go-to-top:focus {
    outline: 2px solid #ffc732;
    outline-offset: 2px;
}

/* Responsive adjustments for go-to-top button */
/* Go to Top Button - Consolidated */
@media (max-width: 767.98px) {
    .go-to-top {
        bottom: 20px;
        height: 45px;
        right: 20px;
        width: 45px;
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .go-to-top {
        bottom: 15px;
        height: 40px;
        right: 15px;
        width: 40px;
        font-size: 16px;
    }
}

.inner- {
    background-color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    /* Replaced with Bootstrap: float: left -> pull-left class */
    margin-bottom: 25px;
    padding: 25px 20px 0px 20px;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    transition: all 0.3s linear 0s;
    width: 100%;
    min-height: 320px;
}

.inner->h1 {
    color: #162341;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0;
    line-height: 1.4;
    margin-bottom: 15px;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.inner->p {
    color: #222222;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    margin-bottom: 0;
    /* text-align: justify not available in Bootstrap 3, keeping custom */
}


.inner->a,
.inner-blog a {
    color: #3280FE;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.inner->a:hover,
.inner-blog a:hover {
    color: #005df8;
}

.inner- i.fa {
    font-size: 14px;
    padding-left: 5px;
}

section.services {
    background-attachment: fixed;
    background-image: url("../images/client-1.jpg");
    background-position: center center;
    background-size: cover;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    padding: 70px 0 50px;
    width: 100%;
}

.inner-1 {
    background-color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    /* height: 535px; */
    overflow: auto;
    padding: 20px;
}

.services .col-sm-4 {
    padding-right: 0;
}

.icon {
    margin-bottom: 20px;
}

.icon>img {
    height: 64px;
    width: 64px;
    display: block;
    margin: 0 auto;
}

.inner-1>h1 {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
    color: #162341;
}

.inner-1>p {
    color: #222222;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 0;
    /* text-align: justify not available in Bootstrap 3, keeping custom */
}

.inner-1 .img-fluid {
    display: block;
    margin: 30px auto 0;
    width: 75%;
    max-width: 100%;
}

.services .button.styl-material,
.services button.styl-material {
    background-color: #3280FE;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    display: inline-block;
    width: auto;
    min-width: 200px;
}

#our-works {
    padding-bottom: 60px;
}

#our-works img {
    margin-bottom: 30px;
}

#our-works .button.styl-material {
    margin-top: 20px;
    display: inline-block;
}

/* 7. OUR WORKS */

.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    z-index: 1;
}

.isotope,
.isotope .isotope-item {
    /* change duration value to whatever you like */
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

#our-works {
    padding-top: 130px;
    padding-bottom: 120px;
}

.portfolio-wrapper ul.filter {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    margin-top: 28px;
    overflow: hidden;
}

.portfolio-wrapper ul.filter li {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
    margin-right: 25px;
    font-weight: 600;
}

.portfolio-wrapper ul.filter li a {
    color: #909090;
}

.portfolio-wrapper ul.filter li a:hover,
.portfolio-wrapper ul.filter li a.active {
    color: #000;
}

.portfolio-wrapper .portfolio-items {
    clear: both;
}

.portfolio-wrapper .portfolio-content {
    position: relative;
    margin-bottom: 30px;
}

.portfolio-wrapper .portfolio-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    -moz-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -o-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
}

.portfolio-wrapper .portfolio-content:hover .portfolio-overlay {
    opacity: 1;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.portfolio-wrapper .portfolio-overlay a {
    color: #fff;
    font-size: 35px;
}

.portfolio-wrapper .portfolio-overlay a:hover {
    color: #fff;
}

section#our-works {
    background-attachment: fixed;
    background-image: url("../images/banner-1.jpg");
    background-position: center center;
    background-size: cover;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    padding: 50px 0;
    width: 100%;
}

.social-media ul::before {
    background: rgba(0, 0, 0, 0) radial-gradient(ellipse at center center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 24%, rgba(0, 0, 0, 0) 69%, rgba(0, 0, 0, 0) 100%) repeat scroll 0 0;
    bottom: -38px;
    content: "";
    height: 50px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 350%;
    z-index: 50;
}

.social-media>ul {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.social-media {
    margin-bottom: -7px;
}

.pt-100 {
    padding-top: 100px;
}

.social-media ul {
    position: relative;
}

.social-media ul li {
    display: inline-block;
    margin: auto 5px;
    transform: translateY(10px);
    transition: all 0.3s ease 0s;
}

.social-media a::after {
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    border-radius: 100%;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: scale(0);
    transition: all 0.3s ease 0s;
    width: 100%;
    z-index: -1;
}

.social-media a {
    background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
    border-radius: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    color: #ffffff;
    display: block;
    font-size: 20px;
    height: 50px;
    line-height: 52px;
    position: relative;
    width: 50px;
}

.social-media a:hover::after {
    opacity: 1;
    transform: scale(1);
}

.social-media ul li:hover {
    transform: translateY(-10px);
}

.social-media ul li:hover a.twitter {
    background: #5bbcec none repeat scroll 0 0;
    color: #ffffff;
}

.social-media ul li:hover a.facebook {
    background: #597ac7 none repeat scroll 0 0;
    color: #ffffff;
}

.social-media ul li:hover a.google {
    background: #ff4519 none repeat scroll 0 0;
    color: #ffffff;
}

.social-media ul li:hover a.dribbble {
    background: #e24f86 none repeat scroll 0 0;
    color: #ffffff;
}

.social-media ul li:hover a.pinterest {
    background: #ff3635 none repeat scroll 0 0;
    color: #ffffff;
}

.social-media ul li:hover a.rss {
    background: #fbc95d none repeat scroll 0 0;
    color: #ffffff;
}

#our-works.about {
    background-color: #f5f5f5;
}

#cssmenu>ul {
    /* Replaced with Bootstrap: float: right -> pull-right class */
}

.our-project {
    background-attachment: fixed;
    background-image: url("../images/slider_1.jpg");
    background-position: center center;
    background-size: cover;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    width: 100%;
    overflow: visible;
    position: relative;
    margin-bottom: 0;
}

.our-project .overlay-1 {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 50px 0 70px;
}

.inner-project {
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 220px;
}

.inner-project>img {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.inner-project h2 {
    color: #1a1a1a;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 5px 0;
    display: inline-block;
    float: none;
}

.inner-project span {
    color: #1a1a1a;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 5px 0;
    display: inline-block;
    float: none;
}

.inner-project>p {
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.inner-project {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
}

.get-a-qauote {
    position: absolute;
    right: 0;
}

footer {
    background-color: #162341;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    width: 100%;
    overflow: visible;
    position: relative;
}

.social a {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
}

.social a .fa {
    font-size: 16px;
    line-height: 1;
    display: block;
}

.top-menu .pull-rihgt a {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 15px;
    display: inline-block;
    text-decoration: none;
}

.social li:first-child a,
.top-menu .pull-rihgt li:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.top-menu .pull-rihgt {
    width: 100%;
}

.top-menu .pull-rihgt>ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}

.top-menu .pull-rihgt>ul>li {
    margin: 0;
    padding: 0;
}

.top-menu .pull-rihgt a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 15px;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
}

.top-menu .pull-rihgt a .fa {
    color: #ffc732;
    font-size: 18px;
    margin-right: 5px;
}

.pull-rihgt a .fa {
    color: #ffc732;
    font-size: 18px;
}

/* Footer specific styles */
footer .social-1 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
}

footer .social-1 li {
    margin: 0;
    padding: 0;
}

footer .social-1 a {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #005df8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px;
    margin-right: 5px;
    padding: 0;
    text-align: center;
    width: 40px;
    text-decoration: none;
}

footer .social-1 a .fa {
    font-size: 16px;
    line-height: 1;
    display: block;
}

footer .social-1 li:first-child a {
    border-left: none;
}

section#slider {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    width: 100%;
    overflow: hidden;
    position: relative;
}

#home-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#home-carousel .carousel-item {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 450px;
}

#home-carousel .carousel-item:before {
    background-color: #000;
    content: "";
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.carousel-caption {
    left: 15px;
    right: 15px;
    top: 55%;
    font-size: 15px;
    /* Bootstrap 5: text-left -> text-start */
    color: #fff;
    text-shadow: none;
    margin-top: -130px;
}

.carousel-caption h1 {
    font-size: 46px;
    margin-bottom: 0;
    line-height: 27px;
    letter-spacing: 2px;
    font-weight: 100;
}

.carousel-caption h2 {
    font-size: 81px;
    font-weight: 600;
    margin-top: 0px;
    /* Replaced with Bootstrap: text-transform: lowercase -> text-lowercase class */
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.home-carousel-left,
.home-carousel-right {
    background-color: #f0f0f0;
    color: #000;
    font-size: 32px;
    height: 40px;
    line-height: 40px;
    margin-top: -20px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 32px;
    z-index: 999;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    -ms-transition: 300ms;
    transition: 300ms;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-carousel-left:hover,
.home-carousel-right:hover {
    background-color: #e0e0e0;
}

.home-carousel-left {
    left: 10px;
    opacity: 0;
    pointer-events: none;
}

.home-carousel-right {
    right: 10px;
    opacity: 0;
    pointer-events: none;
}

#home-carousel:hover .home-carousel-left,
#home-carousel:hover .home-carousel-right {
    opacity: 1;
    pointer-events: auto;
}

/* Bootstrap 5 carousel control styles */
.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
    background: none;
    border: none;
    width: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

.home-carousel-left .fa,
.home-carousel-right .fa {
    display: inline-block;
}

.home-carousel-left .visually-hidden,
.home-carousel-right .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Carousel animation */

#home-carousel .carousel-item h1,
#home-carousel .carousel-item h2,
#home-carousel .carousel-item p {
    opacity: 0;
    -moz-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -o-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
}

#home-carousel .carousel-item h1 {
    -webkit-transition: all 0.5s ease-in-out 0.15s;
    -moz-transition: all 0.5s ease-in-out 0.15s;
    -ms-transition: all 0.5s ease-in-out 0.15s;
    -o-transition: all 0.5s ease-in-out 0.15s;
    transition: all 0.5s ease-in-out 0.15s;
}

#home-carousel .carousel-item.active h1,
#home-carousel .carousel-item.active h2,
#home-carousel .carousel-item.active p {
    opacity: 1;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

#home-carousel .carousel-item h2 {
    -webkit-transition: all 0.5s ease-in-out 0.30s;
    -moz-transition: all 0.5s ease-in-out 0.30s;
    -ms-transition: all 0.5s ease-in-out 0.30s;
    -o-transition: all 0.5s ease-in-out 0.30s;
    transition: all 0.5s ease-in-out 0.30s;
}

#home-carousel .carousel-item p {
    -webkit-transition: all 0.5s ease-in-out 0.45s;
    -moz-transition: all 0.5s ease-in-out 0.45s;
    -ms-transition: all 0.5s ease-in-out 0.45s;
    -o-transition: all 0.5s ease-in-out 0.45s;
    transition: all 0.5s ease-in-out 0.45s;
}


.top-footer {
    background-color: #005df8;
    color: #ffffff;
    padding: 20px 0 50px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.top-footer .container>p {
    color: #ffffff;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.email-1 {
    background-color: #005df8;
    border-radius: 50%;
    display: inline-block;
    height: 130px;
    line-height: 80px;
    padding: 25px;
    position: absolute;
    top: -145px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    z-index: 100;
}

.email-1>img {
    width: 100%;
}

.top-footer .container {
    position: relative;
    z-index: 0;
}

.top-footer .container>h2 {
    margin-top: -55px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

footer .col-sm-12 {
    padding: 25px 15px;
}

.col-sm-5.footer-about>img {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    clear: both;
}

.col-sm-5.footer-about>p {
    color: #ffffff;
    font-size: 15px;
    margin: 0;
    padding: 10px 0 20px;
    /* text-align: justify not available in Bootstrap 3, keeping custom */
    clear: both;
    display: block;
    width: 100%;
}

/* Footer About Social Icons - Match desktop footer .social-1 exactly */
.footer-about .social-1 {
    clear: both;
    display: inline-flex !important;
    /* Match desktop footer .social-1 - force with !important */
    align-items: center;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 15px 0 0 0;
    padding: 0;
    width: auto;
    list-style: none;
    gap: 0;
}

.footer-about .social-1 li {
    margin: 0;
    padding: 0;
    float: none !important;
    display: block !important;
    flex-shrink: 0;
    width: auto !important;
    clear: none !important;
}

/* Ensure footer-about social icons match footer .social-1 exactly */
.footer-about .social-1 a {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #005df8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px;
    margin-right: 5px;
    padding: 0;
    text-align: center;
    width: 40px;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-about .social-1 a .fa {
    font-size: 16px;
    line-height: 1;
    display: block;
}

/* Ensure footer about section is properly structured */
.footer-about {
    clear: both;
}

.footer-about h2 {
    clear: both;
}

.footer-about p {
    float: none !important;
}

.social-1>li {
    /* Replaced with Bootstrap: float: left -> pull-left class */
}

/* General social-1 styles (not in footer) - for use in sections other than footer */
section .social-1 a {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #005df8;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 16px;
    height: 40px;
    margin-right: 5px;
    padding: 10px;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 40px;
}


.f-menu>h2,
.f-menu-1>h2 {
    color: #ffffff;
    font-size: 22px;
    padding-bottom: 20px;
    position: relative;
}

.f-menu>h2::before,
.f-menu-1>h2::before {
    background-color: #162341;
    border: 3px solid #0060fd;
    border-radius: 50%;
    bottom: -7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    content: "";
    height: 17px;
    left: 0;
    position: absolute;
    width: 17px;
    z-index: 1;
}

.f-menu>h2::after,
.f-menu-1>h2::after {
    border-bottom: 3px solid #ffc732;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    width: 200px;
}

.f-menu a {
    color: #ffffff;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 8px 0;
    width: 100%;
    position: relative;
}

.f-menu a:hover::after {
    width: 100%;
}

.f-menu a {
    position: relative;
}

.f-menu a::after {
    background-color: #015FFF;
    bottom: -0px;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    transition: all 0.2s ease 0s;
    width: 0;
}

.f-menu a:hover {
    color: #015FFF;
}

footer .fa.fa-long-arrow-right {
    padding-right: 7px;
}

.copy-right {
    border-top: 1px solid #263351;
    color: #ffffff;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    margin-top: 10px;
    padding: 25px 0;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
}

.copy-right p {
    margin: 0;
}

section#slider {
    position: relative;
}

.no-worry {
    position: absolute;
    right: 20px;
    /* top: 0px; */
    z-index: 999;
    max-width: 250px;
    width: auto;
    transform-origin: top center;
    animation: pendulum-swing 3.5s ease-in-out infinite;
}

/* Pendulum swing keyframes - smooth back and forth motion */
@keyframes pendulum-swing {
    0% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

/* Ensure no-worry doesn't cause overflow on smaller screens */
@media (max-width: 991.98px) {
    .no-worry {
        max-width: 200px;
        right: 10px;
    }
}

.no-worry img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    border: none;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}


/*about-page-css*/
.about-background {
    background-attachment: fixed;
    background-image: url("../images/bg-1.jpg");
    background-size: cover;
    color: #ffffff;
    padding: 30px 0 30px;
    width: 100%;
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 1;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.about-background .container {
    position: relative;
    z-index: 2;
}

/* Adjust padding when header is sticky */
body.has-sticky-header .about-background {
    padding-top: 30px;
    /* Keep consistent padding, body padding-top already handles header clearance */
}

.about-background.contact-bg {
    background-image: url("../images/bg-2.jpg");
}

.about-background h2 {
    color: #fff;
    font-size: 33px;
    font-weight: 600;
    margin: 0;
}

.about-background h2 span {
    color: #015ffd;
}

/* Breadcrumb in page title section */
.about-background .page-breadcrumb {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-background .page-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.about-background .page-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.about-background .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "/";
    padding: 0 12px;
}

.about-background .page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-background .page-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.about-background .page-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive breadcrumb in page title section */
/* Breadcrumb responsive - Consolidated */
@media (max-width: 767.98px) {
    .about-background .page-breadcrumb {
        margin-top: 15px;
    }

    .about-background .page-breadcrumb .breadcrumb-item {
        font-size: 13px;
    }

    .about-background .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 8px;
    }
}

@media (max-width: 575.98px) {
    .about-background .page-breadcrumb {
        margin-top: 12px;
    }

    .about-background .page-breadcrumb .breadcrumb-item {
        font-size: 12px;
    }

    .about-background .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 6px;
    }
}

/* ========================================
   Footer Social Icons - Consolidated Media Queries
   ======================================== */

/* Tablet and below - Footer adjustments */
@media (max-width: 991.98px) {
    .footer-about {
        margin-bottom: 30px;
    }

    .footer-about .social-1 {
        margin-top: 20px;
        width: auto !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        clear: none !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .footer-about .social-1 li,
    .footer-about .social-1 li.float-start {
        float: none !important;
        display: block !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        clear: none !important;
    }

    .footer-about .social-1 a,
    .footer-about .social-1 a.float-start {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        color: #005df8 !important;
        font-size: 16px !important;
        height: 40px !important;
        width: 40px !important;
        margin-right: 5px !important;
        padding: 0 !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border: none !important;
        clear: none !important;
    }

    .footer-about .social-1 a .fa {
        font-size: 16px !important;
        line-height: 1 !important;
        display: block !important;
    }

    .col-sm-5.footer-about>img {
        max-width: 250px;
        margin: 0 0 20px 0;
        display: block;
    }

    .footer-about p {
        text-align: left;
        margin-bottom: 20px;
    }
}

/* Small mobile - Left alignment */
@media (max-width: 575.98px) {
    .footer-about .social-1 {
        justify-content: flex-start !important;
        margin-top: 15px !important;
    }

    .col-sm-5.footer-about>img {
        max-width: 280px;
        margin: 30px 0 20px 0;
    }

    .footer-about p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* ========================================
   Global Responsive Layout Fixes
   Consolidated Media Queries - Bootstrap 5.3 Standards
   ======================================== */

/* Tablet/Medium Screens (768px to 991.98px) */
@media (max-width: 991.98px) and (min-width: 768px) {

    /* General row flexbox fixes */
    .services .row,
    .blog-inner .row,
    .contact-form .row,
    .sitemap .row,
    .about .row,
    .our-project .row,
    .testimonial .row,
    .inner-blog-1 .row,
    .service-inner-sub .row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Services section */
    .services .col-sm-4.new,
    .services .col-sm-4.new-1,
    .services .new,
    .services .new-1 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .services .inner- {
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    /* Blog items */
    .blog-inner .col-sm-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Stats section */
    .our-project .col-sm-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* About section */
    .about .col-sm-7,
    .about .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about .col-sm-5 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about .col-sm-5 img {
        margin: 0 auto;
        display: block;
    }

    /* Contact form */
    .contact-form .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .contact-form .col-sm-6.address {
        padding-top: 30px;
        padding-left: 15px;
    }

    /* Sitemap */
    .sitemap .col-sm-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .sitemap .social-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 15px;
        clear: both;
        width: 100%;
    }

    .sitemap .social-1 li {
        margin: 0;
        padding: 0;
    }

    /* Testimonial */
    .testimonial .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Blog details */
    .inner-blog-1 .col-sm-5,
    .inner-blog-1 .col-sm-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .inner-blog-1 .col-sm-5 img {
        margin: 0 auto;
        display: block;
    }

    /* Service details */
    .service-inner-sub .col-sm-7,
    .service-inner-sub .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .service-inner-sub .col-sm-5 img {
        margin: 0 auto;
        display: block;
    }

    /* Home page services */
    #our-works .container {
        padding: 0 15px;
    }
}

/* Large Tablet (992px to 1024px) */
@media (max-width: 1024px) and (min-width: 992px) {

    .services .row,
    .blog-inner .row,
    .contact-form .row,
    .sitemap .row {
        display: flex;
        flex-wrap: wrap;
    }
}

/* Social share buttons - prevent wrapping */
.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.social-share-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Prevent any float conflicts */
@media (max-width: 992px) {

    .float-start,
    .float-end,
    .pull-left,
    .pull-right {
        float: none !important;
        display: block;
        width: 100%;
        clear: both;
    }

    /* Except for specific cases that need float */
    .top-menu .social .float-start,
    .top-menu .pull-rihgt .float-start {
        float: left !important;
        width: auto;
        display: inline-block;
    }

    /* Ensure top-menu container stays within frame */
    .top-menu .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Prevent overflow on smaller screens */
    .top-menu .container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .top-menu .container .row .col-sm-6 {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Footer social icons must stay horizontal - override float clearing */
    .footer-about .social-1 li.float-start,
    .footer-about .social-1 li,
    .footer-about .social-1 a.float-start,
    .footer-about .social-1 a {
        float: none !important;
        display: block !important;
        width: auto !important;
        clear: none !important;
    }

    /* Ensure social-1 container stays inline-flex */
    .footer-about .social-1 {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        clear: none !important;
    }
}

/* Additional responsive fixes for top-menu on smaller screens */
@media (max-width: 600px) {

    /* Ensure top-menu content wraps properly and stays within container */
    .top-menu .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .top-menu .container .row .col-sm-6 {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Allow text to wrap on very small screens */
    .top-menu .pull-rihgt a,
    .top-menu .float-end a {
        font-size: 12px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .top-menu .social a {
        padding: 8px 10px;
    }
}

.contact-intro {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.contact-form form {
    background-color: #015ffd;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    margin-top: 25px;
    padding: 35px 30px;
    border-radius: 5px;
}

.contact-form label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.contact-form .form-control {
    border: medium none;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 48px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
    margin-bottom: 20px;
}

section.contact- {
    padding: 60px 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 0;
}

.btn.btn-info {
    background-color: #ffffff;
    border: medium none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #015ffd;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 15px 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.btn.btn-info:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.contact-info-title {
    color: #162341;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffc732;
    position: relative;
}

.contact-info-title::before {
    background-color: #ffffff;
    border: 3px solid #0060fd;
    border-radius: 50%;
    bottom: -7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    content: "";
    height: 17px;
    left: 0;
    position: absolute;
    width: 17px;
    z-index: 1;
}

.col-sm-6.address {
    padding-top: 25px;
    padding-left: 30px;
}

.address .location {
    display: flex;
    align-items: flex-start;
    padding-bottom: 5px;
    width: 100%;
    margin-bottom: 5px;
}

.address .location:last-of-type {
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.address .location .fa {
    background-color: #015ffd;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    text-align: center;
    width: 50px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.address .location:hover .fa {
    background-color: #ffc732;
    transform: scale(1.1);
}

.location-content {
    padding-left: 20px;
    flex: 1;
}

.location-label {
    color: #666;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.location-value {
    color: #162341;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0;
    line-height: 1.4;
}

.location-value a {
    color: #015ffd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-value a:hover {
    color: #ffc732;
    text-decoration: underline;
}

.map {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map iframe {
    width: 100%;
    height: 280px;
    border: none;
    display: block;
}

.service-inner .first p strong {
    color: #000000;
    letter-spacing: 0;
}

.testimonial {
    background-color: #f5f5f5;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    padding: 30px 0;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
}

/*-------------------------------*/
/*      Code snippet by          */
/*      @maridlcrmn              */
/*-------------------------------*/



.testimonial .quote {
    color: rgba(0, 0, 0, .1);
    /* Replaced with Bootstrap: text-align: center -> text-center class */
}

/*-------------------------------*/
/*    Carousel Fade Transition   */
/*-------------------------------*/

.testimonial #fade-quote-carousel.carousel {
    padding-bottom: 40px;
}

.testimonial #fade-quote-carousel.carousel .carousel-inner .carousel-item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -ms-transition-property: opacity;
    transition-property: opacity;
}

.testimonial #fade-quote-carousel.carousel .carousel-inner .carousel-item.active {
    opacity: 1;
    -webkit-transition-property: opacity;
    -ms-transition-property: opacity;
    transition-property: opacity;
}

.testimonial #fade-quote-carousel.carousel .carousel-indicators {
    bottom: 10px;
}

.testimonial #fade-quote-carousel.carousel .carousel-indicators>li {
    background-color: #005EFB;
    border: none;
}

.testimonial #fade-quote-carousel blockquote {
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    border: none;
}

.testimonial #fade-quote-carousel .profile-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 100px;
}

.testimonial .container>h2 {
    color: #000000;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 25px;
}

.testimonial .carousel-item h4 {
    color: #000000;
    font-weight: 600;
    letter-spacing: 1px;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.testimonial .carousel-item p {
    color: #777777;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 22px;
}

.testimonial .testimonial-stars {
    font-size: 1.2rem;
}

.testimonial .star {
    display: inline-block;
    margin: 0 2px;
    color: #d6d6d6;
}

.testimonial .star-filled {
    color: #ffb400;
}

.inner-blog {
    border-bottom: 3px solid #015fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 0;
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inner-blog:hover {
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.blog-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.inner-blog:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.inner-blog img {
    margin-bottom: 0;
    width: 100%;
    height: auto;
    display: block;
}

.inner-blog p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.inner-blog-1 {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.inner-blog-1 img {
    width: 100%;
    height: auto;
    display: block;
}

.inner-blog-1 p {
    margin-bottom: 15px;
}

.inner-blog-1 p:last-child {
    margin-bottom: 0;
}

.inner-blog h3,
.inner-blog-1 h3 {
    font-size: 22px;
    margin: 0 0 15px;
    width: 100%;
    color: #162341;
    font-weight: 600;
    line-height: 1.3;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
}

.blog-read-more {
    color: #3280FE;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: auto;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.blog-read-more:hover {
    color: #005df8;
    padding-left: 5px;
}

.blog-read-more i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-inner {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.blog-inner .container {
    padding-top: 20px;
}

.blog-inner .first h1 {
    margin-bottom: 40px;
}

.inner-blog-1 h3 {
    margin-top: 0;
}


.grid {
    position: relative;
    margin: 0 auto;
}

.js .grid::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: #252323 url(../img/loading.svg) no-repeat 50% 75px;
    background-size: 60px auto;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.js .grid--loaded::after {
    opacity: 0;
}

.grid__item {
    width: 270px;
    padding: 10px;
}

.grid__item--current {
    opacity: 0 !important;
}

.img-wrap {
    display: block;
}

.img-wrap:focus,
.img-wrap:hover {
    outline: none;
}

.img-wrap img {
    display: block;
    max-width: 100%;
}

.preview {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    -webkit-align-content: center;
    align-content: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.preview::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: #162341;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.preview--open {
    pointer-events: auto;
}

.preview--open::before {
    opacity: 1;
}

.clone {
    position: fixed;
    z-index: 110;
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    -webkit-backface-visibility: hidden;
}

.original {
    position: fixed;
    z-index: 120;
    display: block;
    object-fit: contain;
    max-width: 50%;
    max-height: 100vh;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    -webkit-backface-visibility: hidden;
}

.preview--open .animate {
    /* open */
    -webkit-transition: -webkit-transform 0.6s, opacity 0.2s;
    transition: transform 0.6s, opacity 0.2s;
}

.animate {
    /* close */
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s;
}

.description {
    color: #fff;
}

.js .description--grid {
    display: none;
}

.description--preview {
    font-size: 2em;
    position: fixed;
    z-index: 140;
    width: 50%;
    left: 50%;
    top: 0;
    height: 100%;
    padding: 0 3em;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    opacity: 0;
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
}

.preview--open .description--preview {
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.description--preview h3 {
    font-weight: normal;
    margin: 0;
}

.description--preview p {
    font-size: 0.65em;
    max-width: 100%;
}

.description--preview p em {
    color: #5D5D5D;
    display: block;
    padding: 0.4em 0 0 0;
}


/* Details */

.details {
    max-width: 100%;
    /* IE 10-11 bug flexbox */
}

.details ul {
    line-height: 1;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.details ul li {
    font-size: 0.5em;
    position: relative;
    display: inline-block;
    margin: 0 1em 0 0;
    padding: 0.15em 0;
    white-space: nowrap;
    opacity: 0;
    color: #9d9d9d;
    -webkit-transition: -webkit-transform 1s, opacity 1s;
    transition: transform 1s, opacity 1s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}

.preview--open .details ul li {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.preview--open .details ul li:nth-child(1) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.preview--open .details ul li:nth-child(2) {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.preview--open .details ul li:nth-child(3) {
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.preview--open .details ul li:nth-child(4) {
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.preview--open .details ul li:nth-child(5) {
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.details ul li:first-child {
    font-weight: bold;
    color: #909090;
}

.icon {
    font-family: 'camera-icons';
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    speak: none;
}

.icon+span {
    margin-left: 5px;
    vertical-align: middle;
}

.icon-focal_length:before {
    content: '\e600';
}

.icon-exposure_time:before {
    content: '\e601';
}

.icon-iso:before {
    content: '\e602';
}

.icon-camera:before {
    content: '\e603';
}

.icon-aperture:before {
    content: '\e604';
}

.details .icon {
    margin-right: 5px;
    color: #77d45b;
}


/* Close button */

.action {
    font-size: 1.5em;
    margin: 0;
    padding: 0;
    cursor: pointer;
    vertical-align: top;
    color: #FFC732;
    border: none;
    background: none;
}

.action:hover,
.action:focus {
    color: #FFC732;
    outline: none;
}

.action--close {
    position: fixed;
    z-index: 150;
    top: 0;
    right: 0;
    padding: 1em;
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: scale3d(0.6, 0.6, 1);
    transform: scale3d(0.6, 0.6, 1);
}

.preview--image-loaded .action--close {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.text-hidden {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 0;
    height: 0;
    color: transparent;
}

@media screen and (max-width: 40em) {
    .description--preview h3 {
        font-size: 0.5em;
    }

    .description--preview p,
    .details {
        display: none;
    }
}


.portfolio .content {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    padding: 0;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
}

.about.portfolio .first>.row p {
    color: #222222;
    letter-spacing: 0.3px;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

/* Old rule - keeping for backward compatibility but scoped */
.about.portfolio .first p:not(.grid__item p) {
    color: #222222;
    letter-spacing: 0.3px;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.sitemap h3 {
    border-bottom: 2px solid #e5e5e5;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    position: relative;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
    width: 100%;
}

.sitemap h3::after {
    border: 1px solid rgb(51, 128, 255);
    bottom: -2px;
    content: "";
    left: 0;
    position: absolute;
    width: 60px;
}

.sitemap .col-sm-4>ul {
    /* Replaced with Bootstrap: float: left -> pull-left class */
    width: 100%;
}

.sitemap .col-sm-4 a {
    color: #303030;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 28px;
    transition: all 0.2s linear 0s;
    width: 100%;
}

.sitemap .col-sm-4 a:hover {
    color: rgb(51, 128, 255);
}

.sitemap .col-sm-4 .social-1 a {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    color: #3380FF;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    height: 40px;
    line-height: 40px;
    padding: 0;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    transition: all 0.3s linear;
    width: 40px;
}

.sitemap .col-sm-4 .social-1 a:hover {
    background-color: #3380FF;
    color: #fff;
}

section.about.pagenotfound {
    background-image: url("../images/404page.png");
    background-position: center center;
    background-size: cover;
    color: #fff;
    display: table;
    /* Replaced with Bootstrap: float: left -> pull-left class */
    height: 450px;
    padding: 0;
    /* Replaced with Bootstrap: text-align: center -> text-center class */
    width: 100%;
}

.pagenotfound .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    display: table-cell;
    vertical-align: middle;
}

.pagenotfound .col-sm-12>h2 {
    font-size: 160px;
    font-weight: 700;
    margin: 0;
}

.pagenotfound .col-sm-12>p {
    font-size: 17px;
}

.pagenotfound .col-sm-12>a {
    background-color: #005DF8;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 13px 30px;
    /* Replaced with Bootstrap: text-transform: uppercase -> text-uppercase class */
    transition: all 0.3s linear;
}

.pagenotfound .col-sm-12>a:hover {
    background-color: #fff;
    color: #005DF8;
}