/* fixed */
.float-icon {
    position: fixed;
    z-index: 999999;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 1.9em;
    right: 2.5em;
    background: #60d669 !important;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.float-icon img {
    width: 30px;
}

/* Custom cursor follower */
.cursor-follower {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, font-size 0.25s ease, padding 0.25s ease;
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0px;
    font-weight: 500;
    color: var(--color-dark);
}

.cursor-follower.hover {
    width: 75px;
    height: 75px;
    opacity: 0.5;
    padding: 10px;
    font-size: 12px;
    line-height: 1.3em;
    text-align: center;
    mix-blend-mode: normal;
}

/* header */
header {
    padding-block: 45px;
}

/* hero banner */
.banner-row {
    border-bottom: 1px solid #1E1E1E;
}

.banner-row-1 .ban-sub-text {
    font-size: 56px;
    line-height: 1.4em;
    letter-spacing: 0px;
    font-weight: 300;
    color: #333;
}

.banner-row-3 {
    font-family: var(--secondary-font);
    font-style: italic;
    padding-bottom: 20px;
}

.banner-row-3 .ban-sub-text {
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: 0px;
    max-width: 195px;
    display: inline-block;
    font-weight: 300;
    margin-right: 60px;
    margin-top: 15px;
    font-style: normal;
    font-family: var(--primary-font);
}

.parallax-img {
    aspect-ratio: 2.28;
    position: relative;
    overflow: hidden;
}

/* Fallback image for iOS and unsupported browsers */
.parallax-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide fallback image and show parallax background on all devices except iOS */
@supports (background-attachment: fixed) {
    .parallax-img {
        background-image: url("../images/para-img.png");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
    
    .parallax-fallback {
        display: none;
    }
}

/* iOS-specific override: show fallback image instead of parallax */
@supports (-webkit-touch-callout: none) {
    .parallax-img {
        background-image: none;
        background-attachment: scroll;
    }
    
    .parallax-fallback {
        display: block;
    }
}

/* about */
.about-sec {
    padding-block: 160px 100px;
    background-image: url("../images/sec-bg.png");
    background-size: 100% 100%;
    background-position: center;
}

.about-head {
    font-size: 18px;
    font-weight: 300;
}

.about-para {
    font-size: 60px;
    font-weight: 300;
    line-height: 1.05em;
    letter-spacing: -1px;
}

.about-card {
    max-width: 720px;
    color: #D4D4D4;
    line-height: 1.6em;
    font-weight: 300;
}
.about-sec img {
    max-width: 220px;
}

/* stats */
.stat-num {
    font-size: 75px;
    font-weight: 300;
    line-height: 1.1em;
}

.stat-text {
    color: #D4D4D4;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5em;
}

/* featured work */
.featured-sec {
    padding-block: 65px 150px;
}

.featured-sec .main-h2 {
    font-weight: 300;
    opacity: 0.2;
}

.project-cards {
    grid-template-columns: 1fr 1fr;
    gap: 6%;
}

.project-col {
    row-gap: 70px;
}

.project-card {
    color: var(--White, #FFF);
    font-size: 16px;
    line-height: 1.6em;
    letter-spacing: -0.9px;
    text-decoration: none;
}

.project-num {
    font-weight: 300;
}

.project-card h4 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3em;
    letter-spacing: -1.68px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-card img {
    aspect-ratio: 1.1;
    object-fit: cover;
}

.project-col-1 .project-card:nth-child(odd) img,
.project-col-2 .project-card:nth-child(even) img {
    aspect-ratio: 0.85;
}

/* serivces */
.service-grid {
    grid-template-columns: auto 800px;
}

.service-tab {
    border-top: 1px solid #FFFFFF1A;
    border-bottom: 1px solid #FFFFFF1A;
    margin-top: -1px;
}

.service-head h3 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.37em;
    letter-spacing: -1.92px;
}

.service-head {
    padding-block: 50px;
    cursor: pointer;
}

.service-toggle-icon {
    min-width: 24px;
    min-height: 24px;
    transform: rotate(90deg);
    transition: all 0.6s ease;
}

.service-tab.active .service-toggle-icon {
    transform: rotate(0deg);
}

.service-minus-icon {
    display: none;
}

.service-tab.active .service-plus-icon {
    display: none;
}

.service-tab.active .service-minus-icon {
    display: block;
}

.service-head span {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4em;
}

.service-cont-grid {
    grid-template-columns: 415px auto;
}

.service-content {
    max-height: 0px;
    overflow: hidden;
    padding-bottom: 0px;
    opacity: 0;
    transition: all 0.6s ease;
}

.service-tab.active .service-content {
    max-height: 1000px;
    padding-bottom: 50px;
    opacity: 1;
}

.service-content img {
    aspect-ratio: 2.52;
    object-fit: cover;
}

.service-content p {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.6;
    line-height: 1.6em;
}

.service-content h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4em;
}

/* team */
.team-sec {
    padding-block: 150px 30px;
}

.team-sec p {
    font-size: 40px;
    line-height: normal;
    letter-spacing: -1px;
}

.team-cards {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 458px;
}

.team-card:nth-child(odd) {
    transform: translateY(-32px);
}

.team-card:nth-child(even) {
    transform: translateY(32px);
}

.name-tag {
    color: var(--color-black);
    font-family: "Rethink Sans";
    font-size: 18px;
    font-weight: 600;
    line-height: 1.42em;
    display: flex;
    transform: rotate(-1.98deg);
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.name-tag-1 {
    left: -32px;
    top: -19px;
}

.name-tag-2 {
    right: -34px;
    top: -31px;
}

.name-tag-3 {
    left: -32px;
    bottom: -23px;
}

.name-tag-4 {
    right: -34px;
    bottom: -14px;
}

/* review */
.review-sec {
    padding-block: 150px 85px;
    background-image: url("../images/sec-bg.png");
    background-size: 100% 100%;
    background-position: center;
}

.review-sec h4 {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4em;
}
.rev-slider-thumbs {
    max-width: 210px;
}


.rev-slider p {
    font-size: 38px;
    font-weight: 300;
    line-height: 1.2em;
    letter-spacing: -0.76px;
    margin-bottom: 30px;
}

.client-info span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: -0.28px;
}
.logo-grid {
    grid-template-columns: repeat(4, 1fr);
}

.logo-grid div {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #FFFFFF1A;
}

/* blog */
.blog-sec {
    padding-block: 95px 180px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.blog-card {
    text-decoration: none;
}
.blog-nav {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.blog-button-prev,
.blog-button-next {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: auto;
    user-select: none;
}

.blog-button-prev svg,
.blog-button-next svg {
    width: 36px;
    height: 36px;
    display: block;
    pointer-events: none;
}

.blog-button-prev:hover,
.blog-button-next:hover {
    opacity: 0.7;
}

.blog-slider-pagination {
    display: flex;
    gap: 5px;
    width: max-content !important;
    align-items: center;
    justify-content: center;
}

.blog-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #888888;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blog-slider-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.author {
    padding-bottom: 30px;
}

.author-info img {
    width: 32px;
    aspect-ratio: 1;
    object-fit: cover;
}

.author-info h5 {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2em;
}

.author-info p {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.4px;
}

.blog-date {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.4px;
}

.blog-discription h4 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2em;
}

.blog-img {
    aspect-ratio: 1.67;
    transition: all 0.6s ease;
}

.blog-card:hover .blog-img {
    filter: grayscale(1);
}

/* faq */
.faq-item {
    border: 1px solid #FFFFFF0D;
    transition: all 0.3s ease;
}

.faq-item.active {
    background-color: #FFFFFF08;
    border-color: #fff0;
}

.faq-icon {
    min-width: 24px;
    min-height: 24px;
    transform: rotate(90deg);
    transition: all 0.6s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(0deg);
}

.faq-minus-icon {
    display: none;
}

.faq-item.active .faq-plus-icon {
    display: none;
}

.faq-item.active .faq-minus-icon {
    display: block;
}

.faq-title {
    cursor: pointer;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4em;
    padding: 35px 40px;
}

.faq-content {
    max-height: 0px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4em;
    max-width: 665px;
    padding-inline: 40px;
    padding-bottom: 0px;
    transition: all 0.6s ease;
}

.faq-item.active .faq-content {
    padding-bottom: 40px;
    max-height: 1000px;
}

/* contact */
.contact-sec {
    padding-block: 150px 120px;
}

.contact-sec h3 {
    color: #EBE1D6;
    font-size: 75px;
    font-weight: 300;
    line-height: 1.1em;
    letter-spacing: -4.5px;
}

.cont-detail,
.cont-detail h5 {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2em;
}

.checkbox-field-group>label {
    color: #D4D4D4;
    font-size: 16px;
    line-height: 1.6em;
}

.checkbox-group {
    position: relative;
}

.checkbox-group input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.checkbox-group label {
    border: 1px solid #6B6B6B;
    padding: 13px 16px;
    line-height: 1.4em;
    font-weight: 300;
    font-size: 16px;
    width: max-content;
    transition: all 0.6s ease;
}

.checkbox-group input:hover~label {
    border-color: var(--color-accent);
}

.checkbox-group input:checked~label {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.field-group label {
    top: 0px;
    color: #D4D4D4;
    font-weight: 300;
    z-index: 0;
    transition: all 0.3s ease;
}

.field-group .form-field:focus~label,
.field-group .form-field:not(:placeholder-shown)~label {
    top: -17px;
    zoom: 0.8;
}

.field-group .form-field {
    border: 0;
    background-color: #fff0 !important;
    outline: 0px;
    color: #fff;
    z-index: 1;
    padding-inline: 0px;
    padding-block: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.field-group .form-field::placeholder {
    color: #fff0;
}

.field-group textarea {
    height: 100px;
}

.error-message {
    display: none;
    color: #ff4444;
    font-size: 13px;
    margin-block: 10px;
    font-weight: 400;
}

.error-message.show {
    display: block;
}

.form-field.error {
    border-bottom-color: #ff4444 !important;
}

.checkbox-field-group .error-message {
    margin-top: 0px;
    margin-bottom: 10px;
}

/* Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Message notification */
.message-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background-color: var(--color-black);
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 500px;
    width: 90%;
}

.message-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.message-notification h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}

.message-notification p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1.6;
}

.message-notification .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.message-notification.success .icon {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.message-notification.error .icon {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

/* footer */
footer {
    background-image: url("../images/sec-bg.png");
    background-size: cover;
    background-position: top center;
}

.social-links {
    max-width: 300px;
}

.social-links a {
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #FFFFFF1A;
}

.foo-links a {
    font-size: 32px;
    line-height: 1.1em;
    letter-spacing: -0.32px;
    text-decoration: none;
    font-weight: 300;
}

footer hr {
    opacity: 0.1;
}

.foo-legal {
    font-size: 20px;
}

.foo-legal a {
    text-decoration: none;
}