/* About Us Page Wrapper Work Start */
.about-us-page-wrapper {
    position: relative;
    overflow: hidden;
}

.about-us-page-wrapper section {
    position: relative;
    z-index: 2;
}

.about-us-page-wrapper section:nth-child(even) {
    background: linear-gradient(
        135deg,
        rgba(194, 151, 101, 0.05) 0%,
        rgba(19, 6, 91, 0.02) 100%
    );
}

.about-us-page-wrapper .row {
    position: relative;
    z-index: 3;
}

.about-us-page-wrapper .about-img {
    border-radius: 24px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--themeboxshadow);
    transition: var(--transition);
    position: relative;
    z-index: 4;
}

.about-us-page-wrapper .about-img:hover {
    transform: translateY(-10px);
    box-shadow: var(--themeboxshadow2);
}

.about-us-page-wrapper .section-content {
    margin-bottom: 0;
}

.about-us-page-wrapper .section-content p:last-child {
    margin-bottom: 0;
}

.about-us-page-wrapper .info-box .section-title {
    position: relative;
    z-index: 2;
}

.about-us-page-wrapper .info-box .section-content {
    position: relative;
    z-index: 2;
}

.about-us-page-wrapper .bg-gray {
    background: linear-gradient(135deg, #f8f7fb 0%, #f1f1f6 100%) !important;
}

/* Decorative elements */
.about-us-page-wrapper section::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(
        circle,
        rgba(194, 151, 101, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    bottom: -75px;
    right: -75px;
    z-index: 1;
    pointer-events: none;
}

.about-us-page-wrapper section:nth-child(odd)::after {
    right: auto;
    left: -75px;
    bottom: auto;
    top: -75px;
}

/* About Us Page Wrapper Work End */
/* Gallery Page Wrapper Work Start */
.gallery-page-wrapper {
    position: relative;
    overflow: hidden;
}

/* Gallery Grid */
.gallery-page-wrapper #galleryContainer {
    position: relative;
    z-index: 2;
}

/* Gallery Card */
.gallery-page-wrapper .gallery-card-wrapper {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition) ease;
}

.gallery-page-wrapper .gallery-card-wrapper:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Gallery Image Container */
.gallery-page-wrapper .gallery-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-page-wrapper .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    display: block;
}

/* Gallery Overlay */
.gallery-page-wrapper .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(19, 6, 91, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    gap: 12px;
}

.gallery-page-wrapper .gallery-card-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-page-wrapper .gallery-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--themecolor);
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse 0.6s ease-in-out;
}

.gallery-page-wrapper .gallery-card-wrapper:hover .gallery-icon {
    background: var(--themecolor);
    color: #fff;
    transform: scale(1.15);
}

.gallery-page-wrapper .gallery-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: slideUpText 0.4s ease 0.2s forwards;
}

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

/* Load More Button */
.gallery-page-wrapper .gallery-load-more-container {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 3;
}

.gallery-page-wrapper .gallery-no-more-text {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

/* Bootstrap Modal Styling */
.gallery-modal-content {
    background: #000;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-modal-close {
    background: #d1000025;
    color: #d10000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    top: 15px;
    right: 15px;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: #d10000;
    color: #fff;
}

.gallery-modal-image {
    display: block;
    border-radius: 12px;
}

/* Decorative Background Elements */
.gallery-page-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(194, 151, 101, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.gallery-page-wrapper::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(19, 6, 91, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Gallery Page Wrapper Work End */

/* how-it-works-section work start */

.how-it-works-section .how-it-works-wrapper {
    margin-bottom: 20px;
    position: relative;
}

.how-it-works-section .how-it-works-wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 45px;
    width: 1px;
    height: 100%;
    border: 2px dashed #ccc;
    z-index: 1;
}

.how-it-works-section .how-it-works-wrapper:last-child::before {
    display: none;
}

.how-it-works-section .how-it-works-wrapper .step-count {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    background-color: var(--themecolor2);
    color: #fff;
    text-align: center;
    font-weight: 600;
    line-height: 1.1;
    position: relative;
    z-index: 11;
    border: 8px solid #fff;
}

.how-it-works-section .how-it-works-wrapper .how-content {
    padding-top: 100px;
}

.how-it-works-section .how-it-works-wrapper .how-content h4 {
    font-size: 26px;
    font-weight: 600;
    color: var(--themecolor);
    margin-bottom: 10px;
}

.how-it-works-section .how-it-works-wrapper .how-content h6 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.how-it-works-section .how-it-works-wrapper .how-it-works-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* how-it-works-section work end */

/* Policy Section Work Start */
.policy-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f7fb 100%);
}

.policy-section .row {
    position: relative;
    z-index: 3;
}

/* Decorative elements */
.policy-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(194, 151, 101, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.policy-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(19, 6, 91, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Policy Card */
.policy-section .policy-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.policy-section .policy-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Policy Header */
.policy-section .policy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-section .policy-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--themecolor);
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.policy-section .policy-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--themecolor2) 0%,
        var(--themecolor) 100%
    );
    border-radius: 2px;
    margin-top: 15px;
}

/* Policy Content Styling */
.policy-section .policy-content {
    position: relative;
    z-index: 2;
    font-size: 16px;
}

.policy-section .policy-content h1,
.policy-section .policy-content h2,
.policy-section .policy-content h3,
.policy-section .policy-content h4,
.policy-section .policy-content h5,
.policy-section .policy-content h6 {
    font-size: 22px;
    margin-bottom: 18px;
}

.policy-section .policy-content p {
    color: var(--greytextcolor);
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section .policy-content p:last-child {
    margin-bottom: 0;
}

.policy-section .policy-content ul,
.policy-section .policy-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.policy-section .policy-content ul li,
.policy-section .policy-content ol li {
    color: var(--greytextcolor);
    margin-bottom: 5px;
    position: relative;
    padding-left: 10px;
}

.policy-section .policy-content ul li {
    list-style-type: disc;
    color: var(--greytextcolor);
}

.policy-section .policy-content ul li::marker {
    color: var(--themecolor2);
    font-weight: 600;
}

.policy-section .policy-content ol li {
    list-style-type: decimal;
}

.policy-section .policy-content ol li::marker {
    color: var(--themecolor);
    font-weight: 600;
}

.policy-section .policy-content strong {
    color: var(--themecolor);
    font-weight: 700;
}

.policy-section .policy-content em {
    color: var(--themecolor2);
    font-style: italic;
}

.policy-section .policy-content a {
    color: var(--themecolor);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.policy-section .policy-content a:hover {
    color: var(--themecolor2);
    border-bottom-color: var(--themecolor2);
}

.policy-section .policy-content blockquote {
    border-left: 5px solid var(--themecolor2);
    padding: 20px 20px 20px 25px;
    margin: 25px 0;
    background: rgba(194, 151, 101, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--greytextcolor);
}

.policy-section .policy-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    color: #d63384;
}

.policy-section .policy-content pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
    border-left: 4px solid var(--themecolor);
}

.policy-section .policy-content pre code {
    background: transparent;
    padding: 0;
    color: #333;
}

/* Policy Section Work End */
