/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
}

body {
    background-color: #f0f0f0;

}

section {
    position: relative;
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    /* Ensure enough height */
    overflow: hidden;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    margin-top: -140px;
    padding-top: 200px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover entire hero section */
    z-index: -2;
    /* Behind text & form */

}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* 0.4 = 40% dark */
    z-index: -1;
    /* between video and content */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 150px;
    flex-wrap: wrap;
    position: relative;
    /* To stay above video */
    z-index: 1;
}

/* Left Text */
.hero-text {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
    /* initial hidden for animation */
}

.hero-text h1 {

    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.hero-text p {
    font-size: 20px;
    color: #fff;
    font-weight: 200;
    margin-bottom: 30px;
}

.hero-text {
    padding: 12px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    /* space between buttons */
    margin-top: 30px;
    /* space from the text above */
}

.hero-btn {
    padding: 10px 23px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Primary button */
.primary-btn {
    background: #593E7B;
    color: #fff;
}

.primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* white with 20% opacity */
    backdrop-filter: blur(10px);
    /* blur behind the element */
    -webkit-backdrop-filter: blur(10px);
    /* for Safari */
    border-radius: 15px;
    /* rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* subtle border */
}

/* Secondary button */
.secondary-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* white with 20% opacity */
    backdrop-filter: blur(10px);
    /* blur behind the element */
    -webkit-backdrop-filter: blur(10px);
    /* for Safari */
    border-radius: 15px;
    /* rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* subtle border */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Right Form */
.author-form-section {
    background-color: rgba(0, 0, 0, 0.05);
    /* light gray */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.author-form-container {
    background: rgba(255, 255, 255, 0.1);
    /* semi-transparent */
    backdrop-filter: blur(10px);
    /* frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    /* for Safari */
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    color: #fff;
    /* text color */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* optional shadow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* subtle border */
}

.author-form-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.author-form-container p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #fff;
}

.author-form-container input,
.author-form-container textarea,
.author-form-container select {
    width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 15px !;
    border: 1px solid #1a3c82 !important;
    /* blue border */
    border-radius: 5px !important;
    font-size: 14px !important;
}

.author-form-container textarea {
    resize: none !important;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    width: 100px;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #1a3c82;
    background-color: #fff;
    font-size: 14px;
}

.phone-input input {
    flex: 1;
    color: #fff;
}

.checkbox-container {
    display: flex;
    align-items: center;
    /* vertically center checkbox with text */
    gap: 8px;
    /* smaller space between checkbox and label */
    margin-bottom: 15px;
    font-size: 14px;
    color: #fff;
    margin-left: -68px;
    top: -20px;
}

.checkbox-container input[type="checkbox"] {
    margin-top: -30px;
}

.checkbox-container label {
    margin: 0;
    /* remove default label margin */
    cursor: pointer;
    margin-left: -54px;
    color: #fff;
}

.author-form-container form button {
    width: 100%;
    padding: 12px;
    background-color: #593E7B;
    /* dark blue */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.author-form-container form button:hover {
    background-color: #E65464;
}


.typing-animation {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    width: 20ch;
    /* adjust based on your text length */
    animation: typing 3s steps(35, end) forwards, blink 0.7s step-end infinite;
}

/* Typing keyframes */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 20ch;
    }
}

/* Blinking cursor */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Animations */
@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-text,
    .hero-form {
        max-width: 100%;
    }
}

.text-slider-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 15px 0;
    border-radius: 10px;

    box-sizing: border-box;
    margin-top: 10px;
}

.text-slider {
    display: inline-block;
    white-space: nowrap;
    animation: slideText 80s linear infinite;
}

.text-slider span {
    display: inline-block;
    margin-right: 50px;
    /* gap between repetitions */
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

@keyframes slideText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Book Section */
.book-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #f0f2f5, #d9e2f3);
}

.book-section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap;
}

/* Left Text */
.book-text {
    flex: 1;
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;

}

.book-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.book-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.book-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(89, 62, 123, 0.8) 0%, rgba(230, 84, 100, 0.8) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.book-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Right Book Container */
.book-container {
    flex: 1;
    max-width: 400px;
    position: relative;
    width: 100%;
    height: 550px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotateY(-25deg) rotateX(5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-25deg) rotateX(5deg);
    }
}

/* Book Mockup */
.book {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-container:hover .book {
    transform: rotateY(-10deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.3), -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateZ(25px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 40px;
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.book-title-section {
    position: relative;
    z-index: 1;
}

.book-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.book-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.5;
}

.book-author-section {
    position: relative;
    z-index: 1;
}

.book-author {
    font-size: 20px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background: white;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.book-pages {
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #f8f9fa;
    right: 3px;
    top: 3px;
    border-radius: 0 5px 5px 0;
    transform: translateZ(-25px);
    box-shadow: -2px 0 3px rgba(0, 0, 0, 0.1), -4px 0 5px rgba(0, 0, 0, 0.08), -6px 0 7px rgba(0, 0, 0, 0.06);
}

.book-shadow {
    position: absolute;
    width: 120%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    bottom: -30px;
    left: -10%;
    transform: rotateX(90deg) translateZ(-50px);
    filter: blur(20px);
}

.badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .book-section-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .book-text,
    .book-container {
        max-width: 100%;
    }

    .book-text h2 {
        font-size: 28px;
    }

    .book-text p {
        font-size: 16px;
    }

    .book-container {
        height: 420px;
    }
}

.slider-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px;
}

.slider-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.slider-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.slider-header p {
    font-size: 20px;
    color: #000;
    font-weight: 400;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}



.slider-track {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
    gap: 30px;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    flex-shrink: 0;
    width: 500px;
    background: #ffffff;
    border: 2px solid #E65464;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(230, 84, 100, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #593E7B 0%, #E65464 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 84, 100, 0.2);
    border-color: #593E7B;
}

.slide:hover::before {
    transform: scaleX(1);
}

.slide-number {
    display: inline-block;
    background: linear-gradient(135deg, #593E7B 0%, #E65464 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.slide-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #E65464;
    transition: transform 0.3s, color 0.3s;
}

.slide:hover .slide-icon {
    transform: scale(1.2);
    color: #593E7B;
}

.slide-title {
    font-size: 24px;
    font-weight: 700;
    color: #593E7B;
    margin-bottom: 16px;
    line-height: 1.3;
}

.slide-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 400;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-530px * 6));
    }
}

@media (max-width: 768px) {
    .slider-header h1 {
        font-size: 32px;
    }

    .slider-header p {
        font-size: 16px;
    }

    .slide {
        width: 350px;
        padding: 30px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-paragraph {
        font-size: 14px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-380px * 6));
        }
    }
}

.services-hero {
    position: relative;
    min-height: 720px;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(120deg, rgba(89, 62, 123, 0.5), rgba(230, 84, 100, 0.16)),
        url('/Assets/images/wooden-workspace-still-life-with-laptop.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* subtle blur layer for depth */
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 12, 38, 0.62), rgba(10, 12, 38, 0.24));
    pointer-events: none;
}

/* decorative overlay gradient */
.overlay {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(230, 84, 100, 0.08) 0%, rgba(89, 62, 123, 0.06) 100%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Content wrapper constrains width */
.content-wrap {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

/* Title */
.section-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 38px;
    margin: 0 0 8px;
    letter-spacing: 0.6px;
    color: #fff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.section-sub {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 15px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    color: #fff;
}

/* Grid */
.cards-grid {
    display: grid;
    gap: 26px;
    margin-top: 61px;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

/* Responsive */
@media (max-width:1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:700px) {
    .services-hero {
        padding: 60px 18px;
        min-height: 820px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 30px;
    }
}

/* Service Card - Glassmorphism */
.service-card {
    position: relative;
    padding: 36px 26px 28px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid linear-gradient(135deg, #593E7B 0%, #E65464 100%);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 10px 30px rgba(14, 10, 40, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .28s, border-color .28s;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    cursor: default;
    outline: none;
    border: 2px solid #fff;
}

/* small glow accent line at top-left */
.service-card::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 56px;
    height: 4px;
    border-radius: 6px;
    opacity: 0.06;
    transition: opacity .28s;
    background: linear-gradient(135deg, #593E7B, #E65464);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Icon */
.icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.92)); */
    box-shadow: 0 6px 18px rgba(5, 7, 25, 0.25);
    margin-top: 6px;
    margin-bottom: 18px;
    font-size: 28px;
    color: var(--accent-deep);
}

/* title and text */
.card-title {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 20px;
    color: #fff;
}

.card-desc {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    padding: 0 6px;
    flex: 1;
    color: #fff;
}

/* Button (pill) */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
    color: var(--accent-deep);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 14px rgba(19, 10, 40, 0.18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s;
}

/* hover states */
.service-card:hover,
.service-card:focus {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(5, 7, 25, 0.55);
    border-color: rgba(255, 255, 255, 0.18);
}

.service-card:hover::after {
    opacity: 0.35;
}

.service-card:hover .icon-wrap {
    transform: translateY(-4px) scale(1.02);
}

.service-card:focus {
    box-shadow: 0 18px 46px rgba(5, 7, 25, 0.6);
}

/* button hover color flip to coral accent */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(230, 84, 100, 0.14);
    background: linear-gradient(135deg, rgba(89, 62, 123, 0.8) 0%, rgba(230, 84, 100, 0.8) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

/* icon color when hovered (accent) */
.service-card:hover .icon-wrap,
.service-card:focus .icon-wrap {
    color: #fff;
    background: linear-gradient(180deg, var(--accent-deep), var(--accent-coral));
}

/* accessibility: keyboard focus */
.service-card:focus {
    box-shadow: 0 20px 48px rgba(89, 62, 123, 0.18);
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

/* little subtle entrance animation */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card {
    animation: riseIn .6s cubic-bezier(.2, .9, .25, 1) both;
}

.portfolio-container {
    align-items: center;
    text-align: center;
    justify-content: space-between;
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding-top: 80px;
}

.portfolio-heading h1 {
    color: #000;
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 50px;

}

.portfolio-heading p {
    color: #000;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;

}

/* Thumbnails as a Grid with Scroll */
.book-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-height: 658px;
    /* Adjust as needed */
    overflow-y: auto;
    /* Enable scrolling */
    padding-right: 10px;
}

/* Scrollbar styling (optional) */
.book-thumbnails::-webkit-scrollbar {
    width: 6px;
}

.book-thumbnails::-webkit-scrollbar-thumb {
    background: #593E7B;
    border-radius: 3px;
}

/* Individual Thumbnails */
.thumbnail {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.thumbnail img {
    width: 100%;
    border-radius: 10px;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    border-color: #E65464;
    box-shadow: 0 12px 25px rgba(230, 84, 100, 0.3);
    transform: scale(1.05);
}

/* Book Detail Section */
.book-detail {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.book-detail img {
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Title & Description */
.book-detail h2 {
    font-size: 36px;
    color: #593E7B;
}

.book-detail h3 {
    font-size: 20px;
    color: #E65464;
    font-weight: 500;
}

.book-detail p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    color: #000;
}

/* Social Icons */
.icon-bar {
    display: flex;
    gap: 15px;
}

.icon-bar i {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.icon-bar i:hover {
    transform: scale(1.2);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .portfolio-container {
        flex-direction: column;
    }

    .book-thumbnails {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        max-height: 300px;
    }

    .book-detail {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .book-thumbnails {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* CTA Section */
/* ===== CTA Section Styling ===== */
.cta-story {
    padding: 80px 10%;
    background: linear-gradient(135deg, rgba(89, 62, 123, 0.2), rgba(230, 84, 100, 0.2));
    font-family: 'Poppins', sans-serif;
    margin-top: 80px;
    height: 650px;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ===== Left Content ===== */
.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.cta-text p {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #593E7B 0%, #E65464 100%);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 84, 100, 0.3);
}

/* ===== Stats Section ===== */
.cta-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    min-width: 280px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    text-align: center;
    min-width: 150px;
    flex: 1;
    max-width: 200px;
    border: 1px solid rgba(89, 62, 123, 0.2);
}

.stat-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: #593E7B;
}

.stat-box p {
    font-size: 14px;
    color: #000;
    margin-top: 5px;
}

/* ===== Book Visual Section ===== */
.cta-visual {
    flex: 1;
    position: relative;
    min-width: 400px;
    height: 400px;
}

.book {
    position: absolute;
    width: 367px;
    height: 507px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* 🎯 Replace these placeholders with your actual book image URLs */
.book-front {
    background-image: url(/Assets/images/robert-simpsons.png);
    top: 20px;
    right: 30px;
    z-index: 2;
    width: 55%;
    height: 107%;
}

.book-back {
    background-image: url(/Assets/images/passang-sherpa.png);
    top: 60px;
    right: 110px;
    transform: rotate(-10deg);
    z-index: 1;
    width: 55%;
    height: 107%;
}

.book:hover {
    transform: scale(1.05);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-visual {
        height: 250px;
    }

    .book-front {
        right: 35%;
    }

    .book-back {
        right: 55%;
    }
}

@media (max-width: 600px) {
    .cta-text h2 {
        font-size: 28px;
    }

    .stat-box {
        max-width: 150px;
    }

    .book-front,
    .book-back {
        width: 140px;
        height: 210px;
    }
}

.how-we-work-area {
    overflow: hidden;
}

.ptb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 180px;
    padding-right: 180px;
}

.section-title {
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
    margin-top: -6px;

}

.how-we-work-area .section-title {
    position: relative;
    z-index: 2;
    text-align: left;
    margin-left: 0;
    max-width: 555px;
}

.section-title .sub-title {
    display: block;
    color: #000;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 44px;
    font-family: "Playfair Display", serif;
}

.section-title h2 {
    margin-bottom: 0;
    font-size: 40px;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    color: #000;
}

.section-title h2 span {
    color: #593E7B;
    display: inline-block;
}

.how-we-work-area .section-title p {
    margin-left: 0;
    max-width: 100%;
    font-size: 15.5px;
    margin-top: 12px;
    color: #000;
}

p:last-child {
    margin-bottom: 0;
}

.how-we-work-process {
    position: relative;
    z-index: 1;
}

.how-we-work-process::before {
    content: '';
    position: absolute;
    left: -275px;
    top: -200px;
    width: 1526px;
    height: 602px;
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
    z-index: -1;
    background-image: url('https://templates.envytheme.com/zovio/default/assets/img/arrow.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.how-we-work-process .process-list {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.how-we-work-process .process-list .single-process:nth-child(1) {
    margin-top: 180px;
}

.how-we-work-process .process-list .single-process {
    -ms-flex: 0 0 25%;
    -webkit-box-flex: 0;
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 15px;
    padding-right: 15px;
}

.how-we-work-process .process-list .single-process .content.bg-1 {
    background-image: url(/Assets/images/1.jpg);
}

.how-we-work-process .process-list .single-process .content {
    position: relative;
    z-index: 1;
    padding-top: 105px;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom: 25px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonial-header p {
    color: #000;
}

.how-we-work-process .process-list .single-process .content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: -1;
    background-color: #fff;
}

.how-we-work-process .process-list .single-process .content .number {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #593E7B;
    color: #dddddd;
    width: 80px;
    height: 80px;
    line-height: 60px;
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    font-family: "Playfair Display", serif;
}

.how-we-work-process .process-list .single-process .content h3 {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 600;
}

.how-we-work-process .process-list .single-process .content P {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    color: #23221d;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 0;
}

.how-we-work-process .process-list .single-process .content::after {
    opacity: 0;
    visibility: hidden;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    height: 100%;
    background-color: #a53d35;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.how-we-work-process .process-list .single-process .content.bg-2 {
    background-image: url(/Assets/images/2.jpg);
}

.how-we-work-process .process-list .single-process .content.bg-3 {
    background-image: url(/Assets/images/3.jpg);
}

.how-we-work-process .process-list .single-process .content.bg-4 {
    background-image: url(/Assets/images/4.jpg);
}

.how-we-work-process .process-list .single-process .content:hover::before {
    opacity: 0;
    visibility: hidden;
}

.how-we-work-process .process-list .single-process .content:hover::after {
    visibility: visible;
    opacity: 0.54;
}

.how-we-work-process .process-list .single-process:nth-child(2) {
    margin-top: 120px;
}

.how-we-work-process .process-list .single-process .content:hover h3 {
    color: #ffffff;
}

.how-we-work-process .process-list .single-process .content:hover p {
    color: #ffffff;
}

.how-we-work-process .process-list .single-process:nth-child(3) {
    margin-top: 60px;
}

.how-we-work-process .process-list .single-process {
    -ms-flex: 0 0 25%;
    -webkit-box-flex: 0;
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 15px;
    padding-right: 15px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .how-we-work-process .process-list .single-process:nth-child(1),
    .how-we-work-process .process-list .single-process:nth-child(2),
    .how-we-work-process .process-list .single-process:nth-child(3),
    .how-we-work-process .process-list .single-process:nth-child(4) {
        margin-top: 0;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .how-we-work-process .process-list .single-process {
        -ms-flex: 0 0 50%;
        -webkit-box-flex: 0;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .how-we-work-process .process-list .single-process:nth-child(1),
    .how-we-work-process .process-list .single-process:nth-child(2),
    .how-we-work-process .process-list .single-process:nth-child(3),
    .how-we-work-process .process-list .single-process:nth-child(4) {
        margin-top: 0;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .how-we-work-process .process-list .single-process {
        -ms-flex: 0 0 50%;
        -webkit-box-flex: 0;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .how-we-work-process .process-list .single-process:nth-child(1),
    .how-we-work-process .process-list .single-process:nth-child(2),
    .how-we-work-process .process-list .single-process:nth-child(3),
    .how-we-work-process .process-list .single-process:nth-child(4) {
        margin-top: 0;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .how-we-work-process .process-list .single-process {
        -ms-flex: 0 0 100%;
        -webkit-box-flex: 0;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .how-we-work-process .process-list .single-process .content .number {
        width: 60px;
        height: 60px;
        line-height: 46px;
        font-size: 40px;
    }
}

@media only screen and (max-width: 767px) {

    .how-we-work-process .process-list .single-process .content h3 {
        font-size: 18px;

    }
}

.testimonial-section {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.testimonial-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.testimonial-header p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 60px;
    color: #000;
}

.carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}

.testimonial-track {
    display: flex;
    width: 100%;
    margin-top: 45px;
    animation: scroll 40s linear infinite;
}

.testimonial {
    flex-shrink: 0;
    width: 400px;
    margin: 0 20px;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    transition: transform 0.4s ease;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial p {
    font-size: 16px;
    line-height: 1.7;
    color: #000;
    opacity: 0.9;
    margin-bottom: 30px;
}

.testimonial .client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.client-info h4 {
    font-size: 18px;
    font-weight: 600;
}

.client-info span {
    display: block;
    font-size: 14px;
    color: #000;
    opacity: 0.8;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate testimonials for smooth infinite effect */
.testimonial-track::after {
    content: attr(data-duplicate);
}

@media (max-width: 768px) {
    .testimonial {
        width: 280px;
        padding: 30px 20px;
    }

    .testimonial-header h2 {
        font-size: 32px;
    }

    .testimonial-header p {
        font-size: 16px;
    }
}

/* Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --text-color: #2d3436;
    --light-text: #636e72;
    --background-color: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

.faq-section {
  background: #fff;
  color: #593E7B;
  padding: 100px 60px;
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-container h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #593E7B, #E65464);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-container p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 50px;
}

.faq-item {
  text-align: left;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: #f9f8ff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(89, 62, 123, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 18px 20px;
  color: #593E7B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s ease;
}

.faq-question:hover {
  background: rgba(230, 84, 100, 0.05);
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fff;
  padding: 0 20px;
}

.faq-answer p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.6;
  padding-bottom: 15px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #E65464;
}

@media (max-width: 600px) {
  .faq-section {
    padding: 70px 25px;
  }

  .faq-question {
    font-size: 1rem;
  }
}

/* Footer */
.faq-footer {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-top: 1px solid #e6e6e6;
}

.faq-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.faq-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.fa-add:before,
.fa-plus:before {
    content: "\2b";
    color: #E65464;
}

/* Responsive */
@media (max-width: 992px) {
    .faq-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.2rem;
    }

    .faq-content {
        padding: 30px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .category-btn {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 40px 15px;
    }

    .faq-header h1 {
        font-size: 1.8rem;
    }

    .search-box {
        padding: 8px 15px;
    }

    .faq-content {
        padding: 20px;
    }
}




/* Responsive */


@media screen and (max-width: 991px) {

    .hero-text h1 {
        font-size: 34px;
    }

    .typing-animation {
        font-size: 24px;
    }

    .book-thumbnails {
        margin-left: unset;
        margin-right: unset
    }

    .cta-story {
        padding: 80px 0px;
        height: unset;
    }

    .cta-visual {
        display: none;
    }

    .section-title{
        margin: unset !important;
    }

    .how-we-work-process .process-list {
        flex-direction: column;
        gap: 20px;
        flex-wrap: nowrap;
        margin-right: unset;
        margin-left: unset;
    }

    .testimonial-header{
        margin-top: 30px;
    }

    .testimonial-header p {
        margin-bottom: unset;
    }
}


.c-signform input#telField {
    padding-left: 48px !important;
}