/*
Theme Name: Hello Elementor Child - Sagar Safiwala
Theme URI: https://safiwala.in
Description: A child theme for Hello Elementor by Sagar Safiwala.
Author: Sagar Safiwala
Author URI: https://safiwala.in
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child-sagar
*/

@import url("../hello-elementor/style.css");

/* Custom styles can be added below */
.swiper-wrapper {
    padding-top: 30px;
}
.slide-1 h2.hero-quote {
    font-family: "HVD Poster", sans-serif;
    font-size: 75px;
    font-style: normal;
    line-height: 1;
}
.hero-author p {
    line-height: 1.5;
}
.borderbox h6 {
    font-weight: 400;
    font-size: 15px;
}

form#gform_2 input {
    background: #ffffff !important;
    border: 1px solid #cccbcb !important;
    border-radius: 5px !important;
}

form#gform_2 input[type="submit"] {
    background: #b22222 !important;
    border: 0 !important;
}

h3.hero-quote-title {
    color: #ffffff;
    font-family: "HVD Poster", sans-serif;
    font-size: 40px;
}

.slide-1 .hero-right {
    width: 50%;
}

.buttonslide {text-align: center;margin-top: -150px;display: block;display: none;}
.hero-right img {
    margin-top: -80px;
}

.buttonslide a {
    padding: 12px 70px !important;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.borderbox {
    border-image: linear-gradient(to top, #BBBBA9 0%, #BBBBA900 100%) 1;
    border-radius: 0px;
    border-width: 1px;
    border-style: solid;
}

.elementor-widget-image-box .elementor-image-box-title {
    display: contents;
}

.elementor-widget-image-box .elementor-image-box-description {
    display: contents;
}

.elementor-widget-image-box .elementor-image-box-content {
    line-height: 0.9;
}

.boxes4bottom .e-con.e-child {
    border-image: linear-gradient(to top, #BBBBA9 0%, #BBBBA900 100%) 1;
    border-radius: 0px;
    border-right-width: 1px;
    border-style: solid;
}

.boxes4bottom .e-con.e-child:last-child {
    border: 0 !important;
}

.boximage {
    max-width: 120% !important;
}

p.gform_required_legend {
    display: none !important;
}

label.gfield_label.gform-field-label {
    font-size: 14px !important;
    color: #ffffff;
    font-weight: 300 !important;
}

.gform_fields {
    column-gap: 25px !important;
    row-gap: 20px !important;
}

.gform_fields input {
    background: #B29976 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 22px 12px !important;
    color: #5C4B33 !important;
    box-shadow: none !important;
    min-height: 44px;
}

.gform_fields select, .gform_fields option {
    background: #B29976 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #5C4B33 !important;
    box-shadow: none !important;
    padding: 12px 9px !important;
    font-style: italic !important;
    height: 44px !important;
    -webkit-appearance: listbox !important;
}

.gform_fields input::placeholder {
    color: #5C4B33;
    font-style: italic;
}

.gform_fields option:not(:first-of-type) {
  color: black;
}

.gform_button.button {
    width: 100% !important;
    background: #b22222 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    height: auto !important;
    padding: 15px !important;
    text-transform: uppercase !important;
}

p strong {font-weight: 700;}

	.swiper-button-prev,
.swiper-button-next {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.swiper-pagination {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.hero-footer {
    position: relative;
    z-index: 10;
}
	
	.swiper-slide {
    background-size: cover !important;
    background-position: top center !important;
}
    .swiper-pagination-bullet {
    margin: 0 !important;
    border-radius: 0 !important;
    min-width: 100px;
    height: 2px !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    transform: scale(1) !important;
    background: #ffffff !important;
}

.heritage-hero {
    height: 100vh;
    overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.3);
    color: #fff !important;
    z-index: 99999 !important; /* Forces past Elementor column stack */
    cursor: pointer !important;
    pointer-events: auto !important; /* Fixes unclickable element bugs */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-prev { left: 40px !important; }
.swiper-button-next { right: 40px !important; }

.swiper-pagination {
    bottom: 62px !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,.35) !important;
    opacity: 1;
    margin: 0 !important;
    transition: .3s;
    cursor: pointer !important;
}

.swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* --------------------------
   HERO & GRID
--------------------------- */
.heritage-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    z-index: 3;
    background-image:
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 220px 220px;
}

.center-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255,255,255,.12);
    z-index: 3;
}

.heritageSwiper,
.swiper,
.swiper-wrapper,
.swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.35);
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,.15), rgba(0,0,0,.55), rgba(0,0,0,.82));
}

/* --------------------------
   CONTENT
--------------------------- */
.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1450px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 90px 100px;
}

.hero-left {width: 60%;}
.hero-right {width: 37%;display: flex;justify-content: center;}
.slide-1 .hero-left {
    width: 45%;
}
.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: #fff;
    margin-bottom: 8px;
}

.hero-quote {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    color: #fff;
    font-size: 22px;
    line-height: 1.14;
    max-width: 1000px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,.12);
    padding: 20px 50px;
    margin-left: -60px;
}
.heritage-hero .swiper-button-prev, .heritage-hero .swiper-button-next {
    top: 50% !important;
    position: absolute !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: 40px !important;
}

.heritage-hero .swiper-button-prev::after, .heritage-hero .swiper-button-next::after {
    font-size: 34px !important;
}
.hero-author {
    color: #d5c086;
    font-size: 18px;
    margin-bottom: 45px;
    font-style: italic;
}

.hero-author strong {color: #D1B48C;font-weight: 600;line-height: 1.1 !important;font-style: normal;margin-bottom: 10px !important;display: block;}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 330px;
    background: #9b1f1f;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .6px;
    transition: .3s;
}

.hero-button:hover { background: #b62828;color: #fff; }
.photo-wrapper { position: relative; transform: rotate(-6deg); }
.photo-frame {
    background: #d4b78f;
    padding: 18px;
    box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 10px 18px rgba(0,0,0,.25);
}

.photo-frame img {
    display: block;
    width: 420px;
    height: 560px;
    object-fit: cover;
}

.tape {
    position: absolute;
    width: 95px;
    height: 34px;
    background: rgba(235,220,170,.92);
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    z-index: 5;
}

.tape-top { top: -12px; right: 18px; transform: rotate(18deg); }
.tape-bottom { bottom: -12px; left: -18px; transform: rotate(-28deg); }

.hero-footer {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    text-align: center;
    width: 480px !important;
}

.hero-progress {
    width: 240px;
    height: 2px;
    background: rgba(255,255,255,.18);
    margin: auto auto 22px;
}

.hero-progress span {
    display: block;
    width: 42%;
    height: 100%;
    background: #fff;
}

.hero-preview { color: #fff; font-size: 13px; letter-spacing: 1px; }
.hero-scroll { color: #fff; margin-top: 10px; font-size: 26px; }

.testimonial-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding-top: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 30% 66%;
    gap: 42px;
    align-items: center;
}

.testimonial-image img {
    width: 100%;
    display: block;
    box-shadow: 38px 29px 34px -20px rgba(0,0,0,.12);
}

.quote-icon {
    font-size: 130px;
    line-height: 0.2;
    color: #c9a86a;
    margin-bottom: 10px;
    font-family: math;
    margin-bottom: -30px !important;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.2;
    font-style: italic;
    margin-bottom: 16px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid #c9a86a;
}

.author-line {
    /* width: 4px; */
    /* background: #c9a86a; */
    /* flex-shrink: 0; */
}

.testimonial-author h3 {
    margin: 0 0 10px;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: "HVD Poster", sans-serif;
}

.testimonial-author p {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    line-height: 1.2;
    font-weight: 500;
}

.testimonial-footer {
    margin-top: 10px;
    padding-top: 25px;
    border-top: 1px solid #c9a86a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    float: right;
    width: 64%;
}

.testimonial-nav {
    display: flex;
    gap: 15px;
}

.testimonial-footer span.swiper-pagination-bullet {
    color: #000000 !important;
    width: 10px !important;
    height: 10px !important;
    background: #D9D9D9 !important;
    min-width: auto !important;
    border-radius: 50px !important;
}

.testimonial-footer .swiper-pagination-bullet.swiper-pagination-bullet-active {
    transform: scale(1.4) !important;
    background: #c9a76a !important;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    color: #888 !important;
    background: #ffffff !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
}

.swiper-pagination {
    position: static !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    margin: 0 5px !important;
    background: #d8d8d8;
}

.swiper-pagination-bullet-active {
    background: #c9a86a;
}

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .quote-icon {
        font-size: 80px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .testimonial-author h3 {
        font-size: 24px;
    }

    .testimonial-author p {
        font-size: 16px;
    }
}

@media(max-width:991px) {
    .hero-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 120px 20px 80px;
    }
    .hero-left, .hero-right { width: 100%; }
    .hero-right { margin-top: 40px; }
    .hero-quote { font-size: 36px; }
    .photo-frame img { width: 280px; height: 360px; }
    .hero-button { min-width: 260px; }
    .center-divider { display: none; }
}