/* Custom Page Builder Styles - New Design */
.custom-page-builder-content * { box-sizing: border-box; }

/* Hide page title wrapper, breadcrumb */
.page-title-wrapper, .breadcrumb, nav[data-depth] { display: none !important; }

/* Ensure content takes full width and white background */
#content-wrapper { padding: 0 !important; background: #fff !important; }
.page-content.page-cms { padding: 0 !important; background: #fff !important; }
body { background: #fff !important; }
.container {
        width:100%;
        padding: 0px !important;
        font-family: "Carrois Gothic", sans-serif;
    }
/* Slider Section */
.custom-page-builder-content .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.custom-page-builder-content .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 1.5s ease-in;
}

.custom-page-builder-content .slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .slider-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    font-weight: 300;
    letter-spacing: 2px;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .slider-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 10px;
    opacity: 0.95;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .slider-content .slider-subtitle {
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-style: italic;
    opacity: 0.9;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* First Hero Part Section (below slider) */
.custom-page-builder-content .intro-hero-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .intro-hero-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.custom-page-builder-content .intro-hero-part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.custom-page-builder-content .intro-hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.custom-page-builder-content .intro-hero-section.visible .intro-hero-image {
    opacity: 1;
    transform: translateX(0);
}

.custom-page-builder-content .intro-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.custom-page-builder-content .intro-hero-image:hover img {
    transform: scale(1.05);
}

.custom-page-builder-content .intro-hero-text {
    padding: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .intro-hero-section.visible .intro-hero-text {
    opacity: 1;
    transform: translateX(0);
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .intro-hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .intro-hero-text .hero-text-content,
.custom-page-builder-content .hero-text .hero-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .intro-hero-text .hero-text-content p,
.custom-page-builder-content .hero-text .hero-text-content p {
    font-size:18px ;
    margin-bottom: 15px;
    font-family: "Carrois Gothic", sans-serif;
}

/* Banner Section */
.custom-page-builder-content .banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    overflow: hidden;
}

.custom-page-builder-content .banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.custom-page-builder-content .banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .banner.visible .banner-content {
    opacity: 1;
    transform: translateY(0);
}

.custom-page-builder-content .banner-content h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 400;
    line-height: 1.2;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .banner-content p {
    font-size: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 8px;
    line-height: 1.4;
    padding: 0 150px;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .banner-content .subtitle {
    font-size: 0.9rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.95;
    font-style: italic;
    margin-top: 5px;
    line-height: 1.4;
    max-width: 700px;
    font-family: "Carrois Gothic", sans-serif;
}

/* Hero Sections */
.custom-page-builder-content .hero-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;#
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .hero-part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.custom-page-builder-content .hero-part.visible {
    opacity: 1;
    transform: translateY(0);
}

.custom-page-builder-content .hero-part:nth-child(2) {
    grid-template-columns: 1fr 1fr;
}

.custom-page-builder-content .hero-part:nth-child(2) .hero-image {
    order: 2;
}

.custom-page-builder-content .hero-part:nth-child(2) .hero-text {
    order: 1;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.custom-page-builder-content .hero-part.visible .hero-image {
    opacity: 1;
    transform: translateX(0);
}

.custom-page-builder-content .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.custom-page-builder-content .hero-image:hover img {
    transform: scale(1.05);
}

.custom-page-builder-content .hero-text {
    padding: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.custom-page-builder-content .hero-part.visible .hero-text {
    opacity: 1;
    transform: translateX(0);
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .hero-part:nth-child(2) .hero-image {
    opacity: 0;
    transform: translateX(30px);
}

.custom-page-builder-content .hero-part:nth-child(2).visible .hero-image {
    opacity: 1;
    transform: translateX(0);
}

.custom-page-builder-content .hero-part:nth-child(2) .hero-text {
    opacity: 0;
    transform: translateX(-30px);
}

.custom-page-builder-content .hero-part:nth-child(2).visible .hero-text {
    opacity: 1;
    transform: translateX(0);
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    font-family: "Carrois Gothic", sans-serif;
}

/* Feedback Cards */
.custom-page-builder-content .feedback-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .feedback-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #222;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .feedback-section.visible h2 {
    opacity: 1;
    transform: translateY(0);
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .feedback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.custom-page-builder-content .feedback-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.custom-page-builder-content .feedback-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.custom-page-builder-content .feedback-card:nth-child(1) { transition-delay: 0.1s; }
.custom-page-builder-content .feedback-card:nth-child(2) { transition-delay: 0.3s; }
.custom-page-builder-content .feedback-card:nth-child(3) { transition-delay: 0.5s; }

.custom-page-builder-content .feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.custom-page-builder-content .feedback-card .rating {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.custom-page-builder-content .feedback-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-family: "Carrois Gothic", sans-serif;
}

.custom-page-builder-content .feedback-card .author {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
    font-family: "Carrois Gothic", sans-serif;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-page-builder-content .intro-hero-part,
    .custom-page-builder-content .hero-part {
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin-bottom: 60px;
    }

    .custom-page-builder-content .hero-part:nth-child(2) .hero-image,
    .custom-page-builder-content .hero-part:nth-child(2) .hero-text {
        order: initial !important;
        font-family: "Carrois Gothic", sans-serif;

    }

    .custom-page-builder-content .intro-hero-image,
    .custom-page-builder-content .hero-image {
        transform: translateY(-20px) !important;
    }

    .custom-page-builder-content .intro-hero-section.visible .intro-hero-image,
    .custom-page-builder-content .hero-part.visible .hero-image {
        transform: translateY(0) !important;
    }

    .custom-page-builder-content .intro-hero-text,
    .custom-page-builder-content .hero-text {
        transform: translateY(20px) !important;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .intro-hero-section.visible .intro-hero-text,
    .custom-page-builder-content .hero-part.visible .hero-text {
        transform: translateY(0) !important;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .hero-text h2,
    .custom-page-builder-content .intro-hero-text h2 {
        font-size: 2rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .hero-text .hero-text-content,
    .custom-page-builder-content .intro-hero-text .hero-text-content {
        font-size: 1rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .banner {
        height: 300px;
        background-attachment: scroll;
    }

    .custom-page-builder-content .banner-content h2 {
        font-size: 2rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .banner-content p {
        font-size: 1.1rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .feedback-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .custom-page-builder-content .slider {
        height: 60vh;
    }

    .custom-page-builder-content .hero-section,
    .custom-page-builder-content .intro-hero-section {
        padding: 40px 15px;
    }

    .custom-page-builder-content .hero-text h2,
    .custom-page-builder-content .intro-hero-text h2 {
        font-size: 1.5rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .banner-content h2 {
        font-size: 1.5rem;
        font-family: "Carrois Gothic", sans-serif;
    }

    .custom-page-builder-content .feedback-section h2 {
        font-size: 2rem;
        font-family: "Carrois Gothic", sans-serif;
    }
}
