/*===========================
 * 01. Base & Common Styles
 *===========================*/
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700|Space+Mono:400,700&display=swap");

body {
    font-weight: normal;
    font-style: normal;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif; /* Defaulting body font based on imports */
}

a,
input,
textarea,
button {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

button {
    cursor: pointer;
}

a:focus,
a:hover {
    text-decoration: none;
}

i,
span,
a {
    display: inline-block;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}

h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

/* Animations and Visuals */

.img-bg {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    z-index: -1;
}

.slick-slide:focus {
    outline: 0;
}

/* Button Common */
.common-btn {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.common-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: inherit;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.common-btn:hover::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
}

/* Logo Sizing (Desktop/General) */
.logo img {
    width: 100%;
    min-width: 120%; /* Original desktop logo sizing */
    height: auto;
}

/* Countdown Image Animation */
.countdown-image {
    text-align: left;
}

.countdown-image img {
    max-width: 200%;
    min-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Make it visible when loaded */
.countdown-image img.wow {
    opacity: 1;
    transform: translateY(0);
}

/* Countdown Component Styles */
.countdown {
    padding-top: 10px;
    padding-bottom: 40px;
}

.countdown .single-count-content {
    position: relative;
    padding: 0 40px;
    text-align: center;
}

.countdown .single-count-content::after {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 50px;
}

.countdown .single-count-content:first-child {
    padding-left: 0;
}

.countdown .single-count-content:last-child {
    padding-right: 0;
}

.countdown .single-count-content:last-child::after {
    display: none;
}

.countdown .single-count-content .count {
    font-size: 200px;
}

.countdown .single-count-content .text {
    margin-bottom: 0;
}

/* Header (General) */
.header {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 2;
}

/*===========================
 * 02. Demo-06 Specific Styles
 *===========================*/

main.main-06 {
    background: #000000;
    overflow: hidden;
}

main .header.header-06 {
    position: unset;
    padding-top: 100px;
    padding-bottom: 120px;
}

main .header.header-06 .header-right a {
    color: #fff;
    font-size: 20px;
    font-family: "Space Mono", sans-serif;
}

main .main-wrapper.demo-06 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
}

/* Hero Area */
main .main-wrapper.demo-06 .hero-area {
    margin-bottom: 100px;
}

main .main-wrapper.demo-06 .hero-area h1 {
    font-size: 100px;
    font-weight: 700;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

main .main-wrapper.demo-06 .hero-area p {
    font-family: "Space Mono", sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 40px;
}

/* Countdown in Demo-06 */
main .main-wrapper.demo-06 .hero-area .countdown .single-count-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

main .main-wrapper.demo-06 .hero-area .countdown .single-count-content::after {
    content: ':';
    font-size: 54px;
    color: #fff;
    top: 35px;
}

main .main-wrapper.demo-06 .hero-area .countdown .single-count-content .count {
    font-family: "Poppins", sans-serif;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
}

main .main-wrapper.demo-06 .hero-area .countdown .single-count-content .text {
    font-family: "Space Mono", sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
}

/* Team Area */
main .main-wrapper.demo-06 .team-area {
    margin-bottom: 100px;
}

main .main-wrapper.demo-06 .team-area .section-title h1 {
    font-size: 26px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: #fff;
    padding-bottom: 7px;
    margin-bottom: 40px;
    position: relative;
}

main .main-wrapper.demo-06 .team-area .section-title h1::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background: #fff;
    bottom: 0;
    left: 0;
}

main .main-wrapper.demo-06 .team-area .section-title h2 {
    font-family: "Poppins", sans-serif;
    font-size: 45px;
    line-height: 55px;
    font-weight: 45px; /* Typo: should be font-weight: 400-700, but keeping original value */
    color: #fff;
    margin-bottom: 50px;
}

main .main-wrapper.demo-06 .team-area .team-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -25px; /* Consolidated margin */
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item {
    width: calc(33.33% - 50px);
    margin: 0 25px 50px;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img {
    position: relative;
    margin-bottom: 20px;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img img {
    width: 100%;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img .social-links {
    position: absolute;
    width: 185px;
    height: 0;
    background: #fff;
    border-top-right-radius: 57px;
    left: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img .social-links li {
    display: inline-block;
    margin: 0 8px;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img .social-links li a {
    font-size: 18px;
    color: #0A0A0A;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-img .social-links li a:hover {
    color: #D5081A;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item:hover .team-img .social-links {
    height: 57px;
    opacity: 1;
    visibility: visible;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

main .main-wrapper.demo-06 .team-area .team-wrapper .team-item .team-info p {
    font-family: "Space Mono", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
main .footer {
    width: 100%;
    margin-bottom: 50px;
}

main .footer p {
    font-family: "Space Mono", sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

main .footer .credit {
    text-align: right;
}

/*===========================
 * 03. Utility Classes (Margin/Padding)
 *===========================*/

/* Margin Top (mt) */
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }
.mt-40 { margin-top: 40px; }
.mt-45 { margin-top: 45px; }
.mt-50 { margin-top: 50px; }
.mt-55 { margin-top: 55px; }
.mt-60 { margin-top: 60px; }
.mt-65 { margin-top: 65px; }
.mt-70 { margin-top: 70px; }
.mt-75 { margin-top: 75px; }
.mt-80 { margin-top: 80px; }
.mt-85 { margin-top: 85px; }
.mt-90 { margin-top: 90px; }
.mt-95 { margin-top: 95px; }
.mt-100 { margin-top: 100px; }
.mt-105 { margin-top: 105px; }
.mt-110 { margin-top: 110px; }
.mt-115 { margin-top: 115px; }
.mt-120 { margin-top: 120px; }
.mt-125 { margin-top: 125px; }
.mt-130 { margin-top: 130px; }
.mt-135 { margin-top: 135px; }
.mt-140 { margin-top: 140px; }
.mt-145 { margin-top: 145px; }
.mt-150 { margin-top: 150px; }
.mt-155 { margin-top: 155px; }
.mt-160 { margin-top: 160px; }
.mt-165 { margin-top: 165px; }
.mt-170 { margin-top: 170px; }
.mt-175 { margin-top: 175px; }
.mt-180 { margin-top: 180px; }
.mt-185 { margin-top: 185px; }
.mt-190 { margin-top: 190px; }
.mt-195 { margin-top: 195px; }
.mt-200 { margin-top: 200px; }
.mt-205 { margin-top: 205px; }
.mt-210 { margin-top: 210px; }
.mt-215 { margin-top: 215px; }
.mt-220 { margin-top: 220px; }
.mt-225 { margin-top: 225px; }

/* Margin Bottom (mb) */
.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-35 { margin-bottom: 35px; }
.mb-40 { margin-bottom: 40px; }
.mb-45 { margin-bottom: 45px; }
.mb-50 { margin-bottom: 50px; }
.mb-55 { margin-bottom: 55px; }
.mb-60 { margin-bottom: 60px; }
.mb-65 { margin-bottom: 65px; }
.mb-70 { margin-bottom: 70px; }
.mb-75 { margin-bottom: 75px; }
.mb-80 { margin-bottom: 80px; }
.mb-85 { margin-bottom: 85px; }
.mb-90 { margin-bottom: 90px; }
.mb-95 { margin-bottom: 95px; }
.mb-100 { margin-bottom: 100px; }
.mb-105 { margin-bottom: 105px; }
.mb-110 { margin-bottom: 110px; }
.mb-115 { margin-bottom: 115px; }
.mb-120 { margin-bottom: 120px; }
.mb-125 { margin-bottom: 125px; }
.mb-130 { margin-bottom: 130px; }
.mb-135 { margin-bottom: 135px; }
.mb-140 { margin-bottom: 140px; }
.mb-145 { margin-bottom: 145px; }
.mb-150 { margin-bottom: 150px; }
.mb-155 { margin-bottom: 155px; }
.mb-160 { margin-bottom: 160px; }
.mb-165 { margin-bottom: 165px; }
.mb-170 { margin-bottom: 170px; }
.mb-175 { margin-bottom: 175px; }
.mb-180 { margin-bottom: 180px; }
.mb-185 { margin-bottom: 185px; }
.mb-190 { margin-bottom: 190px; }
.mb-195 { margin-bottom: 195px; }
.mb-200 { margin-bottom: 200px; }
.mb-205 { margin-bottom: 205px; }
.mb-210 { margin-bottom: 210px; }
.mb-215 { margin-bottom: 215px; }
.mb-220 { margin-bottom: 220px; }
.mb-225 { margin-bottom: 225px; }

/* Padding Top (pt) */
.pt-5 { padding-top: 5px; }
.pt-10 { padding-top: 10px; }
.pt-15 { padding-top: 15px; }
.pt-20 { padding-top: 20px; }
.pt-25 { padding-top: 25px; }
.pt-30 { padding-top: 30px; }
.pt-35 { padding-top: 35px; }
.pt-40 { padding-top: 40px; }
.pt-45 { padding-top: 45px; }
.pt-50 { padding-top: 50px; }
.pt-55 { padding-top: 55px; }
.pt-60 { padding-top: 60px; }
.pt-65 { padding-top: 65px; }
.pt-70 { padding-top: 70px; }
.pt-75 { padding-top: 75px; }
.pt-80 { padding-top: 80px; }
.pt-85 { padding-top: 85px; }
.pt-90 { padding-top: 90px; }
.pt-95 { padding-top: 95px; }
.pt-100 { padding-top: 100px; }
.pt-105 { padding-top: 105px; }
.pt-110 { padding-top: 110px; }
.pt-115 { padding-top: 115px; }
.pt-120 { padding-top: 120px; }
.pt-125 { padding-top: 125px; }
.pt-130 { padding-top: 130px; }
.pt-135 { padding-top: 135px; }
.pt-140 { padding-top: 140px; }
.pt-145 { padding-top: 145px; }
.pt-150 { padding-top: 150px; }
.pt-155 { padding-top: 155px; }
.pt-160 { padding-top: 160px; }
.pt-165 { padding-top: 165px; }
.pt-170 { padding-top: 170px; }
.pt-175 { padding-top: 175px; }
.pt-180 { padding-top: 180px; }
.pt-185 { padding-top: 185px; }
.pt-190 { padding-top: 190px; }
.pt-195 { padding-top: 195px; }
.pt-200 { padding-top: 200px; }
.pt-205 { padding-top: 205px; }
.pt-210 { padding-top: 210px; }
.pt-215 { padding-top: 215px; }
.pt-220 { padding-top: 220px; }
.pt-225 { padding-top: 225px; }

/* Padding Bottom (pb) */
.pb-5 { padding-bottom: 5px; }
.pb-10 { padding-bottom: 10px; }
.pb-15 { padding-bottom: 15px; }
.pb-20 { padding-bottom: 20px; }
.pb-25 { padding-bottom: 25px; }
.pb-30 { padding-bottom: 30px; }
.pb-35 { padding-bottom: 35px; }
.pb-40 { padding-bottom: 40px; }
.pb-45 { padding-bottom: 45px; }
.pb-50 { padding-bottom: 50px; }
.pb-55 { padding-bottom: 55px; }
.pb-60 { padding-bottom: 60px; }
.pb-65 { padding-bottom: 65px; }
.pb-70 { padding-bottom: 70px; }
.pb-75 { padding-bottom: 75px; }
.pb-80 { padding-bottom: 80px; }
.pb-85 { padding-bottom: 85px; }
.pb-90 { padding-bottom: 90px; }
.pb-95 { padding-bottom: 95px; }
.pb-100 { padding-bottom: 100px; }
.pb-105 { padding-bottom: 105px; }
.pb-110 { padding-bottom: 110px; }
.pb-115 { padding-bottom: 115px; }
.pb-120 { padding-bottom: 120px; }
.pb-125 { padding-bottom: 125px; }
.pb-130 { padding-bottom: 130px; }
.pb-135 { padding-bottom: 135px; }
.pb-140 { padding-bottom: 140px; }
.pb-145 { padding-bottom: 145px; }
.pb-150 { padding-bottom: 150px; }
.pb-155 { padding-bottom: 155px; }
.pb-160 { padding-bottom: 160px; }
.pb-165 { padding-bottom: 165px; }
.pb-170 { padding-bottom: 170px; }
.pb-175 { padding-bottom: 175px; }
.pb-180 { padding-bottom: 180px; }
.pb-185 { padding-bottom: 185px; }
.pb-190 { padding-bottom: 190px; }
.pb-195 { padding-bottom: 195px; }
.pb-200 { padding-bottom: 200px; }
.pb-205 { padding-bottom: 205px; }
.pb-210 { padding-bottom: 210px; }
.pb-215 { padding-bottom: 215px; }
.pb-220 { padding-bottom: 220px; }
.pb-225 { padding-bottom: 225px; }

/*===========================
 * 04. Media Queries
 *===========================*/

/* Default (Desktop) Logo Setup */
#mobile-logos {
    display: none; /* Hide mobile logos by default */
}

#desktop-logo {
    display: block; /* Display desktop logo by default */
}

/* Max 1199px (Large Tablet/Small Desktop) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .countdown .single-count-content {
        padding: 0 30px;
    }

    main .main-wrapper.demo-06 .hero-area h1 {
        font-size: 80px;
    }

    main .main-wrapper.demo-06 .hero-area .countdown .single-count-content::after {
        top: 30px;
    }

    main .main-wrapper.demo-06 .hero-area .countdown .single-count-content .count {
        font-size: 50px;
    }

    main .main-wrapper.demo-06 .team-area .team-wrapper .team-item {
        width: calc(33.33% - 30px);
        margin: 0 15px 50px;
    }
}

/* Max 1080px */
@media (max-width: 1080px) {
    /* Keeping original countdown-image styles for this breakpoint */
    .countdown-image img {
        max-width: 200%;
        min-width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .countdown-image img.wow {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Max 991px (Tablet Landscape) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .img-wrapper {
        display: none;
    }

    main .main-wrapper.demo-06 .team-area .team-wrapper .team-item {
        width: calc(50% - 30px);
        margin: 0 15px 50px;
    }
}

/* Max 767px (Mobile/Small Tablet) */
@media (max-width: 767px) {
    /* Logo Switching */
    #desktop-logo {
        display: none; /* Hide the desktop logo on mobile */
    }
    #mobile-logos {
        display: block; /* Show the mobile logos */
        padding: 10px;
    }
    #mobile-logos img {
        width: 100%;
        margin-bottom: 10px;
        opacity: 1 !important; /* Ensure the mobile logos are visible */
    }
    #mobile-logos img:first-child {
        margin-top: -10px !important;
    }
    #mobile-logos img:last-child {
        margin-bottom: -50px !important;
    }

    /* General */
    h2 {
        font-size: 36px;
    }
    .img-wrapper {
        display: none;
    }
    .odd-col {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
    .logo img {
        max-width: 150px; /* Logo width reduction on smaller screens */
    }

    /* Countdown */
    .countdown .single-count-content {
        padding: 0 10px;
    }
    .countdown .single-count-content::after {
        top: -10px;
    }
    .countdown .single-count-content .count {
        font-size: 35px;
    }
    .countdown .single-count-content .text {
        font-size: 15px;
    }

    /* Demo 06 */
    main .header.header-06 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    main .header.header-06 .header-right {
        display: none;
    }
    main .main-wrapper.demo-06 .hero-area h1 {
        font-size: 40px;
    }
    main .main-wrapper.demo-06 .hero-area .countdown .single-count-content::after {
        top: 30px;
        font-size: 45px;
    }
    main .main-wrapper.demo-06 .hero-area .countdown .single-count-content .count {
        font-size: 40px;
    }
    main .main-wrapper.demo-06 .team-area {
        margin-bottom: 30px;
    }
    main .main-wrapper.demo-06 .team-area .section-title h1 {
        font-size: 20px;
    }
    main .main-wrapper.demo-06 .team-area .section-title h2 {
        font-size: 28px;
        line-height: 40px;
    }
    main .main-wrapper.demo-06 .team-area .team-wrapper .team-item {
        width: calc(100% - 50px);
        margin: 0 25px 50px;
    }
    main .footer p,
    main .footer .credit {
        text-align: center;
    }

    /* WOW/Animation Cleanup */
    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
    .wow {
        visibility: visible !important;
        opacity: 1 !important; /* Remove any fading out/in on mobile */
    }
}

/* Min 480px and Max 767px (Mobile/Small Tablet) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {
        width: 450px;
    }
    h2 {
        font-size: 40px;
    }
    .countdown-image {
        text-align: left;
    }
    .countdown-image img {
        max-width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .countdown-image img.wow {
        opacity: 1;
        transform: translateY(0);
    }
    .countdown .single-count-content {
        padding: 0 20px;
    }
    .countdown .single-count-content::after {
        top: -5px;
    }
    .countdown .single-count-content .count {
        font-size: 45px;
    }

    /* Demo 06 */
    main .main-wrapper.demo-06 .hero-area h1 {
        font-size: 50px;
    }
    main .main-wrapper.demo-06 .team-area .section-title h1 {
        font-size: 22px;
    }
    main .main-wrapper.demo-06 .team-area .section-title h2 {
        font-size: 32px;
        line-height: 42px;
    }
}