/***********************
    1.BASIC           
    2.HELPER
    3.NAVBAR
    4.HOME
    5.ABOUT ME
    6.SERVICES
    7.FUNFACTS
    8.EDUCATION & EXPERIANCE
    9.CTA SECTION
    10.WORK
    11.CLIENT
    12.GREATE PEOPLE
    13.SUBCRIBE SECTION
    14.BLOG
    15.CONTACT US
    16.FOOTER
    17.RESPONSIVE
************************/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600|Nunito:400,600,700');

/*======================
        1.BASIC
========================*/

body {
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

h1.font-weight-bold,
h2.font-weight-bold,
h3.font-weight-bold,
h4.font-weight-bold,
h5.font-weight-bold,
h6.font-weight-bold {
    font-weight: 600 !important;
}

a,
a:hover,
a:focus,
button,
button:focus {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

::selection {
    background: rgba(166, 175, 189, 0.3);
}

::-moz-selection {
    background: rgba(166, 175, 189, 0.3);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999999;
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

.spinner {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid rgba(0, 0, 0, 0.2);
    border-right: 5px solid rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
    border-left: 5px solid #000;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}   

.back_top {
    text-align: center;
    position: fixed;
    bottom: 15px;
    height: 35px;
    width: 35px;
    background-color: #000;
    display: none;
    z-index: 10000;
    border-radius: 3px;
    right: 20px;
    transition: all 0.5s;
}

.back_top i {
    color: #fff;
    line-height: 35px;
    font-size: 12px;
    display: block;
}

/*==========================
        2.HELPER
============================*/

.section {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    background-color: #fff;
}

.bg-dark {
    background-color: #000;
}

.bg-custom{
    background-color: #000;
}

.text-dark {
    color: #000 !important;
}

.text-muted {
    color: #777;
}

.text-custom {
    color: #000 !important;
}

.h-100vh {
    height: 100vh;
}

.z-index {
    z-index: 2;
}

.bg-custom {
    background-color: #000;
}

.section-main-title {
    max-width: 570px;
}

.main-title-border::after,
.main-title-border::before {
    display: inline-block;
    margin-top: -7px;
    vertical-align: middle;
    content: "";
    background-color: #d0d0d0;
    width: 30px;
    height: 1px;
}

.main-title-border i {
    font-size: 20px;
}

.bg-overlay-gredient {
    background: linear-gradient(32deg, rgba(18, 166, 181, 0.8) 0%, rgba(16, 12, 242, 0.7) 100%);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.bg-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.btn {
    padding: 12px 26px;
}

.btn-rounded {
    border-radius: 30px;
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    letter-spacing: 1px;
    transition: all 0.5s;
    font-size: 15px;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom.active,
.btn-outline-custom.focus,
.btn-outline-custom:active,
.btn-outline-custom:focus,
.btn-outline-custom:hover,
.open>.dropdown-toggle.btn-outline-custom {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
}

.btn-outline-black {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.5s;
    font-size: 15px;
}

.btn-outline-black:hover,
.btn-outline-black:focus,
.btn-outline-black:active,
.btn-outline-black.active,
.btn-outline-black.focus,
.btn-outline-black:active,
.btn-outline-black:focus,
.btn-outline-black:hover,
.open>.dropdown-toggle.btn-outline-black {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.btn-custom {
    background-color: #6E6E6E;
    border: 2px solid #6E6E6E;
    color: #fff;
    transition: all 0.5s;
    font-size: 15px;
    text-transform: capitalize;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:hover,
.open>.dropdown-toggle.btn-custom {
    background-color: #fff;
    border-color: #000;
    color: #000;
}

/*==========================
        3.NAVBAR
============================*/

.custom-nav {
    padding: 15px 0px;
    width: 100%;
    border-radius: 0px;
    z-index: 999;
    margin-bottom: 0px;
    transition: all 0.5s ease-in-out;
    background-color: transparent;
}

.custom-nav.stickyadd {
    background-color: #fff;
    padding: 8px 0;
    box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
}

.custom-nav .navbar-nav li a {
    color: #000;
    font-size: 20px;
    background-color: transparent !important;
    padding: 15px 0;
    position: relative;
    margin: 0 7px;
    font-weight: 600;
    transition: all 0.4s;
}

.custom-nav .navbar-nav li.active a:before,
.custom-nav .navbar-nav li:hover a:before,
.custom-nav .navbar-nav li:active a:before,
.custom-nav.stickyadd .navbar-nav li.active a:before,
.custom-nav.stickyadd .navbar-nav li:hover a:before,
.custom-nav.stickyadd .navbar-nav li:active a:before {
    opacity: 0;
}

.custom-nav .navbar-nav li a:before,
.custom-nav.stickyadd .navbar-nav li a:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10%;
    height: 6px;
    width: 6px;
    background: #000;
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-50%);
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.custom-nav.stickyadd .navbar-nav li a:before {
    background: #000 !important;
}

.navbar-toggler {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 0px;
    color: #ffffff;
}

.custom-nav.stickyadd .navbar-nav li a {
    color: #000;
}

.navbar-toggle {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 0px;
    color: #ffffff;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: transparent;
    border-color: #337ab7;
}

.logo .logo-light {
    display: inline-block;
}

.stickyadd .logo .logo-dark {
    display: inline-block;
}

.stickyadd .logo .logo-light {
    display: none;
}

.logo .logo-dark {
    display: none;
}

.custom-nav .navbar-brand.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/*==========================
        4.HOME
============================*/

.home-bg {
    background-image: url(../images/home-bg.jpg);
    background-position: center center;
    background-size: cover;
    position: relative;
}

.home-table-center {
    display: table-cell;
    vertical-align: middle;
}

.home-table {
    display: table;
    width: 100%;
    height: 100%;
}

.header_title {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: capitalize;
}

.header_subtitle {
    line-height: 2.0;
    font-size: 18px;
    max-width: 600px;
}

.social_home li a {
    font-size: 18px;
    color: #ffffff;
    display: inline-block;
    width: 30px;
    text-align: center;
}

.scroll_down {
    position: absolute;
    bottom: 5vh;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 13px;
    z-index: 8;
}

.scroll_down i {
    position: relative;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
    height: 50px;
    width: 30px;
    line-height: 60px;
    border-radius: 30px;
    border: 2px solid #ffffff;
    display: inline-block;
    color: #fff;
    font-size: 12px;
}

.scroll_down i:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transition: all .2s;
}

/*----DEMO 4/5/6----*/

.creative:after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100px;
    background: transparent;
    background-size: 100% 100%;
    background-image: url(../images/bottom-color.png);
}

/*----DEMO 7/8/9-----*/

.clip-home{
    clip-path: polygon(0 0, 100% 0, 100% 83%, 50% 100%, 0 83%);
}

/*----DEMO 10/11/12/13----*/

.jarallax{
    background-size: cover;
    background-position: center center;
}

/*----DEMO 14----*/

.home-bg-slider {
    position: relative;
}

.home-bg-slider .carousel-control-next,
.carousel-control-prev {
    width: 6%;
}

.home-bg-slider .carousel-item,
.home-bg-slider .carousel {
    height: 100vh;
    width: 100%;
}

.home-bg-slider .carousel-item {
    background-position: center center;
    background-size: cover;
}

/*==========================
        5.ABOUT ME
============================*/

.about-detail {
    max-width: 850px;
}

.about-detail .about-work li {
    font-size: 18px;
    font-weight: 600;
}

.about-detail .about-work li::after {
    content: "";
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background-color: #757575;
    margin: 0px 12px;
    position: relative;
    display: inline-block;
    top: -3px;
}

.about-detail .about-work li:last-child:after {
    content: "";
    display: none;
}

.skill-custom .progress {
    height: 4px;
    margin-bottom: 40px;
    margin-top: 10px;
}

.skill-custom .progress-bar {
    background: #000;
}

/*==========================
        6.SERVICES
============================*/

.lan_box_ser {
    border: 1.75px dotted #d7d5d5;
}

.lan_box_ser .ser_icon i {
    font-size: 42px;
}

.lan_box_ser {
    padding: 2rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .container-fluid {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.custom-container {
    max-width: 1550px; /* Adjust this value as needed */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .custom-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Mobile Accordion for Services */
@media (max-width: 991px) {
    /* Normalize row spacing on mobile */
    #services .row.mt-4 {
        margin-top: 0 !important;
    }

    #services .col-lg-6 {
        margin-bottom: 0.75rem;
    }

    .lan_box_ser {
        padding: 0 !important;
        border: none;
        margin-top: 0 !important;
    }

    .lan_box_ser .service-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        background: #f8f9fa;
        border: 1.75px dotted #d7d5d5;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .lan_box_ser .service-header-mobile:hover {
        background: #e9ecef;
    }

    .lan_box_ser .service-header-mobile.active {
        border-radius: 8px 8px 0 0;
        border-bottom: none;
        background: #fff;
    }

    .lan_box_ser .service-header-mobile .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .lan_box_ser .service-header-mobile .ser_icon {
        margin: 0;
    }

    .lan_box_ser .service-header-mobile .ser_icon i {
        font-size: 28px;
        color: #007bff;
    }

    .lan_box_ser .service-header-mobile h4 {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .lan_box_ser .service-header-mobile .toggle-icon {
        font-size: 24px;
        color: #6c757d;
        transition: transform 0.3s ease;
    }

    .lan_box_ser .service-header-mobile.active .toggle-icon {
        transform: rotate(180deg);
    }

    .lan_box_ser .service-content {
        display: none;
        padding: 1.25rem;
        padding-top: 0.75rem;
        margin-top: 0 !important;
        border: 1.75px dotted #d7d5d5;
        border-top: none;
        border-radius: 0 0 8px 8px;
        background: #fff;
        animation: slideDown 0.3s ease;
    }

    .lan_box_ser .service-content.show {
        display: block;
    }

    .lan_box_ser .service-content h6 {
        margin-top: 0.75rem !important;
    }

    .lan_box_ser .service-content h6:first-of-type {
        margin-top: 0.5rem !important;
    }

    .lan_box_ser .service-content p.text-muted[itemprop="description"] {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        margin-top: 0;
    }

    .lan_box_ser .service-content .text-left p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Hide original icon and title in content area on mobile */
    .lan_box_ser .ser_icon:not(.service-header-mobile .ser_icon) {
        display: none;
    }

    .lan_box_ser .service-content h4 {
        display: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Desktop: Hide mobile header */
@media (min-width: 992px) {
    .lan_box_ser .service-header-mobile {
        display: none !important;
    }

    .lan_box_ser .service-content {
        display: block !important;
    }
}

/*==========================
        7.FUNFACTS
============================*/

.lan_funfact {
    border: 1px dashed #b9b9b9;
}

.lan_funfact .lan_fun_name {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.bg-funfact {
    position: relative;
    background-image: url(../images/img-1.jpg);
    background-size: cover;
    background-position: center center;
}

/*===========================
        8.EDUCATION
=============================*/

.cv_edu_exp {
    padding: 10px 0;
    position: relative;
}

.cv_edu_exp::after {
    content: "";
    height: 100%;
    left: 0;
    background-color: #e7e7e7;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
}

.cv_edu_exp .cv_edu_exp_box {
    border-radius: 7px;
    border: 1px solid #e7e7e7;
    margin-left: 20px;
    padding: 20px;
}

.cv_edu_exp .cv_edu_exp_box .cv_edu_exp_year {
    position: relative;
    margin: 0 0 10px 15px !important;
}

.cv_edu_exp .cv_edu_exp_box .cv_edu_exp_year::after {
    border: 3px solid #fff;
    border-radius: 50%;
    content: "";
    height: 20px;
    background-color: #000;
    position: absolute;
    left: -65px !important;
    width: 20px;
    z-index: 1;
}

.cv_edu_exp .cv_edu_exp_box .cb_edu_exp_detail {
    text-align: left;
    margin-left: 15px;
    float: left;
    border-radius: 0;
}

.cv_edu_exp h4,
.cb_edu_exp_detail h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    text-transform: capitalize;
}

.cv_desc {
    line-height: 26px;
    font-size: 15px;
    color: #666;
}

/*==========================
        9.CTA SECTIOn
============================*/

.bg-cta {
    position: relative;
    background-image: url(../images/img-2.jpg);
    background-size: cover;
    background-position: center center;
}

/*===========================
        10.WORK
=============================*/

.work_menu li a {
    letter-spacing: 0.03em;
    cursor: pointer;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #9a9a9a !important;
    transition: all 0.5s;
    margin-top: 5px;
}

.work_menu li {
    margin-right: 0px !important;
}

.work_menu li:after {
    content: "";
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background-color: #757575;
    margin: 0px 16px;
    position: relative;
    display: inline-block;
    top: -3px;
}

.work_menu li:last-child:after {
    content: "";
    display: none;
}

.work_menu a.active,
.work_menu a:hover {
    color: #000 !important;
}

.work_item {
    position: relative;
    padding: 15px;
}

.work_box {
    overflow: hidden;
    position: relative;
}

.work_box .work_img {
    position: relative;
    overflow: hidden;
}

.work_box .work_img:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.work_box .work_img>img {
    transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    border-radius: 0;
}

.work_box .work_detail {
    opacity: 0;
    color: #ffffff;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    overflow: hidden;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.work_box .work_detail h4 {
    font-size: 18px;
}

.work_box .work_detail p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.work_box:hover .work_detail {
    top: 50%;
    transform: translate(0, -50%);
    opacity: 1;
}

.work_box:hover .work_img:after {
    background: rgba(0, 0, 0, 0.8);
}

.work_box:hover .work_img>img {
    transform: scale(1.2);
}

/*==========================
        11.CLIENT
============================*/

.bg-client {
    position: relative;
    background-image: url(../images/img-3.jpg);
    background-size: cover;
    background-position: center center;
}

.people_says .people_icon i {
    font-size: 60px;
}

.people_review_box .people_review {
    font-size: 18px;
    max-width: 580px;
}

.owl-theme .owl-controls .owl-page {
    margin: 20px 0px;
}

.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 12px;
    height: 6px;
    margin: 5px 4px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    transition: all 0.5s;
    background: #fff;
}

.owl-theme .owl-controls .owl-page.active span {
    width: 20px;
}

/*==========================
        12.GREATE PEOPLE
============================*/

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.logo_img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    padding: 5px; /* Add padding to prevent overflow */
}

.logo_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bci-logo img {
    max-width: 85%;
    max-height: 85%;
}

.peoplespheres-logo {
    height: 90px; /* Slightly taller container for this logo */
}

.peoplespheres-logo img {
    max-width: 100% !important; /* Keep within bounds */
    max-height: 100% !important;
}

.swanwatch-logo img {
    max-width: 100%; /* Keep within bounds */
    max-height: 100%;
}

/* Extra large screens (1200px and up) - Make logos 20% bigger and ensure all fit on one row */
@media (min-width: 1200px) {
    #trackrecord .container {
        max-width: 1400px; /* Make container wider */
    }
    
    .logo_img {
        height: 96px; /* 20% bigger than base 80px */
        padding: 8px; /* Slightly more padding for larger logos */
    }
    
    .peoplespheres-logo {
        height: 108px; /* 20% bigger than 90px */
    }
    
    .peoplespheres-logo img {
        max-width: 100% !important; /* Still keep within bounds */
        max-height: 100% !important;
    }
    
    .swanwatch-logo img {
        max-width: 100%; /* Keep within bounds */
        max-height: 100%;
    }
    
    .bci-logo img {
        max-width: 90%; /* Slightly bigger but still within bounds */
        max-height: 90%;
    }
}

@media (min-width: 992px) {
    .logo_img {
        padding: 6px;
    }
    
    .logo-container > div {
        flex: 0 0 12.5%;
        max-width: 12.5%;
        padding: 0 8px; /* Reduce horizontal padding */
    }
    
    .peoplespheres-logo img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .peoplespheres-logo img {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 768px) {
    .logo_img {
        height: 60px;
        padding: 4px;
    }
    .peoplespheres-logo {
        height: 70px;
    }
    .peoplespheres-logo img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 576px) {
    .logo_img {
        height: 50px;
        padding: 3px;
    }
    .logo-container > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    .peoplespheres-logo {
        height: 60px;
    }
    .peoplespheres-logo img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

.peoplespheres-logo {
    margin: 15px 0 !important;
}

/* Projects Section Styles */
.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.project-header {
    text-align: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: #000;
    color: #fff;
}

.project-icon i {
    font-size: 24px;
    color: #000;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon i {
    color: #fff;
}

.project-title {
    font-size: 20px;
    margin-bottom: 5px;
    color: #000;
}

.project-category {
    font-size: 14px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-description p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-tags {
    margin-bottom: 20px;
}

.project-tags .badge {
    margin-right: 8px;
    margin-bottom: 5px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #f8f9fa;
    color: #6c757d;
    border: none;
}

.project-links {
    text-align: center;
}

.project-links .btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 5px;
}

/* Responsive adjustments for projects */
@media (max-width: 768px) {
    .project-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
    }
    
    .project-icon i {
        font-size: 20px;
    }
    
    .project-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .project-card {
        padding: 15px;
    }
}

/* SwanWatch logo styling */
.project-logo {
    max-width: 55px;
    max-height: 55px;
    object-fit: contain;
}

/* SwanWatch specific hover effect - white background instead of black */
.project-card:hover .swanwatch-icon {
    background: #fff !important;
    border: 2px solid #000;
}

.project-card:hover .project-logo {
    filter: none;
}

/* GitHub Stats styling */
.github-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
    font-size: 13px;
}

.github-stat {
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.github-stat i {
    font-size: 14px;
}

/* Loading state for GitHub stats */
.github-stats .loading {
    opacity: 0.6;
    font-style: italic;
}

/*==========================
        13.SUBCRIBE SECTION
============================*/

.subcribe-newslatter input {
    padding: 15px 20px;
    width: 100%;
    font-size: 17px;
    color: #4c5667 !important;
    border: none;
    outline: none !important;
    padding-right: 150px;
    padding-left: 30px;
    border-radius: 30px;
    background-color: #f1f1f1;
}

.subcribe-newslatter button {
    position: absolute;
    top: 4px;
    right: 5px;
    outline: none !important;
    border-radius: 30px;
    font-size: 17px;
    padding: 9px 30px;
}

.subcribe-newslatter form {
    max-width: 550px;
}

/*==========================
        14.BLOG
============================*/

.blog_video .blog_play {
    position: absolute;
    top: 52%;
    left: 52%;
    margin-left: -40px;
    margin-top: -40px;
}

.blog_play {
    outline: none !important;
    width: 65px;
    height: 65px;
    padding-left: 2px;
    border-radius: 50%;
    z-index: 4;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    color: #000 !important;
    font-size: 35px;
    line-height: 65px;
    background-color: #fff;
}

/*==========================
        15.CONTACT US
============================*/

.form-sub-title {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 50px;
}

.contact_form .form-control {
    box-shadow: none !important;
    height: 44px;
    border-radius: 0px;
}

.contact_form .form-control:focus {
    border-color: #000;
}

.contact_form textarea.form-control {
    height: auto;
}

.error {
    margin: 8px 0px;
    display: none;
    color: red;
}

.error_msg {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    color: red;
    font-weight: 700;
}

.gig_loader {
    display: none;
}

#success_msg {
    text-align: center;
    margin-bottom: 20px;
}

#success_msg h3 {
    color: #0dba26;
    font-size: 22px;
}

/*==========================
        16.FOOTER
============================*/

.fot_social .social-icon {
    border: 2px solid #868e96;
    border-radius: 50%;
    transition: all 0.5s;
    width: 42px;
    height: 42px;
    display: block;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
}

.fot_social .social-icon:hover {
    border-color: #000;
    color: #000 !important;
    transform: rotate(360deg);
}

.copy-rights {
    line-height: 23px;
}

/*==========================
        14.RESPONSIVE
============================*/

/* Tablet and mobile styles (up to 991px - when navbar collapses) */
@media (max-width: 991px) {
    .custom-nav {
        margin-top: 0px;
        padding: 10px 0px !important;
        background-color: #fff !important;
    }
    .custom-nav .navbar-nav li a:before {
        content: '';
        display: none;
    }
    .custom-nav .navbar-nav li a {
        margin: 0 0px;
        padding: 6px 0;
        color: rgba(0, 0, 0, 0.55) !important;
    }
    .custom-nav .navbar-nav li.active a {
        color: #000 !important;
    }
    .custom-nav>.container {
        width: 90%;
    }
    .custom-nav .logo .logo-dark {
        display: inline-block;
    }
    .custom-nav .logo .logo-light {
        display: none;
    }
    .custom-nav .navbar-brand.logo img {
        height: 36px;
        width: auto;
        object-fit: contain;
    }
    .navbar-nav {
        margin-top: 0px;
    }
    .navbar-toggler {
        font-size: 29px;
        margin-top: 0px;
        margin-bottom: 0px;
        color: #000;
        display: block;
    }
}

/* Mobile-only adjustments */
@media (max-width: 768px) {
    .custom-nav .navbar-brand.logo img {
        height: 32px;
    }
    .header_title {
        font-size: 40px;
        line-height: 1.2;
    }
    .header_subtitle {
        font-size: 15px;
        line-height: 1.8;
    }
    .home-bg,.h-100vh.jarallax,.h-100vh.bg-dark,.home-bg-slider .carousel-item{
        padding: 110px 0 170px 0;
    }
    .h-100vh ,.home-bg-slider .carousel-item{
        height: auto;
    }
    .clip-home{
        clip-path:none;
    }
    .about-detail .about-work li::after,
    .work_menu li:after {
        display: none;
        content: "";
    }
    .about-detail .about-work li {
        margin-right: 7px;
        margin-left: 7px;
    }
    .copy-rights {
        line-height: 23px;
    }
    .float_none.float-right,
    .float_none.float-left {
        float: none !important;
        text-align: center;
    }
    .work_menu li a {
        margin: 8px 10px;
    }
}

/* Blog Cards styling */
.blog-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.blog-header {
    margin-bottom: 20px;
}

.blog-category {
    margin-bottom: 15px;
}

.blog-title {
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #000 !important;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    margin-bottom: 0;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-description {
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-description p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.blog-footer {
    text-align: left;
}

.blog-footer .btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for blog cards */
@media (max-width: 768px) {
    .blog-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .blog-card {
        padding: 15px;
    }
}

/* Article Page Styling - README Style */
.article-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

/* Article spacing and back button */
#article {
    padding-top: 120px; /* Increased from default 80px */
}

.article-back-button {
    padding-top: 20px;
}

.article-back-button .btn {
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.article-back-button .btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
}

.article-meta span {
    margin-right: 20px;
}

.readme-style {
    line-height: 1.7;
    font-size: 16px;
}

.readme-style h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.readme-style h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #333;
}

.readme-style h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #444;
}

.readme-style p {
    margin-bottom: 16px;
    color: #555;
}

.readme-style ul, .readme-style ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.readme-style li {
    margin-bottom: 8px;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    padding: 20px;
    background: transparent;
    border: none;
    color: #333;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-block code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.feature-box {
    background: #f8f9fa;
    border-left: 4px solid #000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.feature-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.benefit-item h4 {
    margin-bottom: 10px;
    color: #000;
}

.call-to-action {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.call-to-action h3 {
    margin-bottom: 15px;
    color: #000;
}

.alert {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #0066cc;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.article-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.share-buttons .btn {
    margin-left: 5px;
}

/* Responsive adjustments for articles */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .code-block pre {
        padding: 15px;
        font-size: 13px;
    }
}

/*==========================
        17.TESTIMONIALS CAROUSEL
============================*/

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 420px; /* Fixed height to prevent layout shifts on desktop */
}

.testimonials-carousel .carousel-inner {
    touch-action: pan-y pinch-zoom;
    height: 100%;
}

.testimonials-carousel .carousel-item {
    height: 100%;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    margin: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: calc(100% - 30px); /* Full height minus margins */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 15px;
    opacity: 0.7;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.55;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-y: auto;
    max-height: 180px;
    padding: 0 5px;
}

/* Subtle scrollbar for testimonial text */
.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.3);
    border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.5);
}

.testimonial-author {
    flex-shrink: 0;
}

.testimonial-author h6 {
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author small {
    color: #666;
    font-size: 13px;
}

.testimonial-link {
    margin-top: 15px;
    flex-shrink: 0;
}

.review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.review-link:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.review-link i {
    font-size: 16px;
}

.company-link {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.company-link:hover {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px solid #0056b3;
}

/*==========================
        18.CONTACT OPTIONS
============================*/

.contact-options {
    padding: 20px 0;
}

.contact-option {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon i {
    font-size: 3rem;
    color: #007bff;
}

.contact-option h5 {
    color: #333;
}

.contact-option p {
    flex: 1;
    margin-bottom: 1.5rem;
}

.contact-info {
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
}

.contact-info i {
    color: #007bff;
}

@media (max-width: 768px) {
    .contact-option {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .contact-icon i {
        font-size: 2.5rem;
    }

    .contact-info {
        padding: 20px;
    }
}

/* Contact Modal (Mobile) */
.contact-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contact-modal-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.contact-modal-option:hover,
.contact-modal-option:focus {
    background: rgba(0, 123, 255, 0.05);
    border-color: #007bff;
    text-decoration: none;
    color: inherit;
}

.contact-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.contact-modal-icon i {
    font-size: 22px;
    color: #007bff;
}

.contact-modal-text {
    flex: 1;
    text-align: left;
}

.contact-modal-arrow {
    font-size: 20px;
    color: #ccc;
    flex-shrink: 0;
}

.contact-mobile-cta .btn {
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 8px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -70px;
}

.carousel-control-next {
    right: -70px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #007bff;
    border-color: #007bff;
}

.carousel-control-icon {
    font-size: 20px;
    color: #007bff;
    transition: color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    color: #fff;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #007bff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .carousel-control-prev {
        left: -50px;
    }
    
    .carousel-control-next {
        right: -50px;
    }
    
    .testimonials-carousel {
        height: 400px; /* Fixed height for tablets */
    }

    .testimonial-card {
        margin: 10px;
        padding: 25px 20px;
        height: calc(100% - 20px);
    }

    .testimonial-text {
        font-size: 14px;
        max-height: 160px;
    }
}

@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    #trackrecord.section {
        padding-bottom: 40px;
    }

    /* Spacing above reviews section title */
    #trackrecord .row.justify-content-center.mt-5 {
        margin-top: 2.25rem !important;
    }

    /* Reduce margin above testimonials carousel */
    .testimonials-carousel.mt-5 {
        margin-top: 1.5rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: flex;
        width: 24px;
        height: 24px;
        background: rgba(0, 123, 255, 0.15);
        border: 1px solid rgba(0, 123, 255, 0.3);
        border-radius: 50%;
        top: 45%;
        transform: translateY(-50%);
        opacity: 0.85;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-control-icon {
        font-size: 12px;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover,
    .carousel-control-prev:focus,
    .carousel-control-next:focus,
    .carousel-control-prev:active,
    .carousel-control-next:active {
        background: rgba(0, 123, 255, 0.3);
        opacity: 1;
    }

    .testimonials-carousel {
        height: 380px; /* Fixed height for mobile to prevent layout shifts */
        -webkit-overflow-scrolling: touch;
        overflow: visible;
    }

    .testimonials-carousel .carousel-inner {
        height: 100%;
    }

    .testimonials-carousel .carousel-item {
        height: 100%;
    }

    .testimonial-card {
        margin: 5px 22px; /* Reduced horizontal margin for wider cards */
        padding: 20px 15px;
        height: calc(100% - 10px);
        cursor: grab;
        display: flex;
        align-items: center;
    }

    .testimonial-card:active {
        cursor: grabbing;
    }

    .testimonial-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        width: 100%;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.5;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 15px;
        max-height: 180px;
        overflow-y: auto;
    }

    .testimonial-quote {
        font-size: 28px;
        margin-bottom: 12px;
        flex-shrink: 0;
    }

    .testimonial-author {
        flex-shrink: 0;
    }

    .testimonial-link {
        flex-shrink: 0;
        margin-top: 10px;
    }

    .carousel-indicators {
        bottom: -25px;
        position: relative;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    /* Further reduce section padding on small mobile */
    #trackrecord.section {
        padding-bottom: 25px;
    }

    #trackrecord .row.justify-content-center.mt-5 {
        margin-top: 1.75rem !important;
    }

    .testimonials-carousel.mt-5 {
        margin-top: 1rem !important;
    }

    .testimonials-carousel {
        height: 360px; /* Fixed height for small mobile */
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 22px;
        height: 22px;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-control-icon {
        font-size: 11px;
    }

    .testimonial-card {
        padding: 15px 10px;
        margin: 3px 18px; /* Reduced horizontal margin for wider cards */
        height: calc(100% - 6px);
    }

    .testimonial-text {
        font-size: 12px;
        line-height: 1.45;
        max-height: 160px;
    }

    .testimonial-quote {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .testimonial-author h6 {
        font-size: 14px;
    }

    .testimonial-author small {
        font-size: 11px;
    }

    .carousel-indicators {
        bottom: -20px;
        margin-top: 3px;
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px;
    }
}