/*
Theme Name: Hello Elementor Child
Theme URI: [Enter the URL of your child theme's website or leave it blank]
Description: My custom child theme based on Hello Elementor.
Author: [Admin]
Author URI: [Your website URL or leave it blank]
Template: hello-elementor
Version: 1.0
*/

/* Custom styles go below this line */

/* Default (Mobile & Tablet) */
#img_cls {
    width: 100% !important;
    /* 100% on small screens */
    height: auto;
    display: block;
    max-width: 100%;
}

/* Desktop only (width ≥ 1025px) */
@media (min-width: 1025px) {
    #img_cls {
        width: 50% !important;
        /* 50% only on desktop */
    }
}

/* Products Css Starts */
/* Product Image Wrapper */
.product-image {
    display: flex;
    justify-content: center;
}

/* Product Image Styling */
.product-image img {
    margin-top: 40px;
    width: 60%;
    max-width: 500px;
    height: auto;
    border-radius: 25px;
    border-top-right-radius: 120px;
    display: block;
}

@media(max-width:768px) {

    /* Product Image Styling */
    .product-image img {
        margin-top: 40px;
        width: 60%;
        max-width: 500px;
        height: 290px;
        border-radius: 25px;
        border-top-right-radius: 65px;
        display: block;
    }
}

/* Products Css Ends */


.cpt-hero {
    background: url('https://tattvam.staging-workhub.com/wp-content/uploads/2025/01/images-J9LCUAU.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 95%;
    height: 410px;
    margin: auto;
    border-top-right-radius: 200px;
    margin-bottom: 20px;
}

/* Title */
.hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Breadcrumbs */
.hero-breadcrumb {
    font-size: 17px;
}

@media (max-width: 768px) {
    .cpt-hero {
        background: url('https://tattvam.staging-workhub.com/wp-content/uploads/2025/01/images-J9LCUAU.jpg') no-repeat center;
        background-size: auto;
        margin-top: 15px;
        margin-bottom: -50px;
        height: 190px;
        border-top-right-radius: 101px;
    }

    .hero-title {
        font-size: 10px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .hero-breadcrumb {
        font-size: 11px;
    }
}


/* Dark Overlay */
.cpt-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 20, 0, 0.8);
}

/* Content Box */
.hero-overlay {
    position: relative;
    text-align: center;
    padding: 20px;
    color: white;
    z-index: 1;
}

.hero-breadcrumb a {
    color: white;
    text-decoration: none;
}

.hero-breadcrumb.a-tag:hover {
    color: orange;
}

/* Main Service Content */
.cpt-content {
    display: flex;
    max-width: 1400px;
    margin: 60px auto;
    gap: 50px;
    padding: 20px;
}

/* Main Service Section */
.cpt-main {
    width: 70%;
}

/* Service Image */
.cpt-image img {
    margin-top: 40px;
    width: 98%;
    height: 630px;
    border-radius: 25px;
    border-top-right-radius: 120px;
    /* object-fit: cover; */
    display: block;
}

/* Service Description */
.cpt-description h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.cpt-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    width: 105%;
    justify-content: center;
}

/* Sidebar */
.cpt-sidebar {
    margin-top: 40px;
    width: 27%;
}

/* Sidebar Boxes */
.cpt-list,
.cpt-contact {
    padding: 30px;
    border-radius: 20px;
    border-top-right-radius: 100px;
    font-size: 20px;
    line-height: 1.6;
}

/* Service List Box */
.cpt-list {
    height: 350px;
    background: #5f755f;
    color: white;
}

/* Service Contact Box */
.cpt-contact {
    min-height: 350px;
    background: white;
    color: black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar Headings */
.cpt-list h3,
.cpt-contact h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.active-cpt a {
    font-weight: bold;
    color: #ff8400;
    pointer-events: none;
}

.cpt-list ul {
    padding: 0;
    list-style: none;
}

.cpt-list ul li {
    padding: 8px 0;
    font-size: 18px;
}

.cls.cpt-links {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.cls.cpt-links:hover {
    color: rgb(255, 132, 0);
}

.cls.cpt-links[style*="pointer-events: none"] {
    color: #ff8400 !important;
    cursor: not-allowed;
}

/* Adjustments for Spacing */
.cpt-contact {
    height: fit-content;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.cpt-list {
    margin-bottom: 40px;
    height: fit-content;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cpt-content {
        flex-direction: column;
        align-items: center;
    }

    .cpt-main,
    .cpt-sidebar {
        width: 100%;
        height: 100%;
    }

    .cpt-image img {
        height: 400px;
    }
}

.custom-product-card {
    margin-bottom: 30px;
}

div#footer-id {
    margin: 0 0 -20px 40px;
}

.elementor-element.elementor-element-7a2def68.footer-cls.elementor-widget.elementor-widget-elementskit-social-media {
    margin: 10px 0px 150px 40px;
}

@media (max-width: 767px) {
    div#footer-id {
        margin: 0;
    }

    .elementor-element.elementor-element-7a2def68.footer-cls.elementor-widget.elementor-widget-elementskit-social-media {
        margin: 0;
    }

    .elementor-element.elementor-element-46b03b0.treatment-cls.elementor-widget.elementor-widget-custom_treatment_widget {
        margin-left: -23px;
        margin-right: 10px;
        min-width: 31em;
    }
}

.custom-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.custom-form-col {
    flex: 1;
    min-width: 200px;
}

.custom-form-full {
    width: 100%;
}

.custom-form-row:nth-of-type(1),
.custom-form-row:nth-of-type(2) {
    border-bottom: 1px solid #ccc;
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
}

.custom-form-row:nth-of-type(3) {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: transparent;
    font-size: 20px;
    outline: none;
    transition: border-color 0.3s;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder {
    color: #ccc;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #000;
}

.wpcf7 label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.wpcf7 input[type="submit"] {
    background: linear-gradient(to right, #f39161, #f39161);
    color: #fff;
    border: none;
    padding: 20px 30px;
    width: 465px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(to right, #f47d43, #f47d43);
}

@media(max-width: 767px) {
    .wpcf7 input[type="submit"] {
        background: linear-gradient(to right, #f39161, #f39161);
        color: #fff;
        border: none;
        padding: 20px 30px;
        width: 277px;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .wpcf7 input[type="submit"]:hover {
        background: linear-gradient(to right, #f47d43, #f47d43);
    }

    .custom-form-col {
        width: 100%;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    /* Optional: remove double line when wrapping */
    .custom-form-row:nth-of-type(1),
    .custom-form-row:nth-of-type(2) {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}


/* Newsletter Form Custom Styles */
.wpcf7 .custom-subscribe-form label {
    width: 59%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    color: #fff;
    font-size: 15px;
    outline: none;
    border-radius: 0;
    display: block;
}

.wpcf7 .custom-subscribe-form input[type="email"] {
    background: transparent;
    color: #fff;
    padding: 8px 0;
    width: 100%;
    text-transform: none !important;
}

.wpcf7 .custom-subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.wpcf7 .custom-subscribe-form input[type="email"]:focus,
.wpcf7 .custom-subscribe-form input[type="email"]:hover {
    cursor: pointer;
    background: transparent !important;
}

.wpcf7 .custom-subscribe-form input[type="submit"] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 20px 50px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    width: 240px;
    transition: background 0.3s;
    margin-top: 20px;
    display: inline-block;
    color: #fff;
}

.wpcf7 .custom-subscribe-form input[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.wpcf7 .custom-subscribe-form input[type="email"]:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 1025px) {

    .elementor-kit-2217 input:not([type="button"]):not([type="submit"]),
    .elementor-kit-2217 textarea,
    .elementor-kit-2217 .elementor-field-textual {
        all: unset;
        font-family: none !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        border: none !important;
        border-radius: 0 !important;
    }
}

#wpcf7-f3018-o2 .wpcf7-response-output {
    color: white !important;
    background-color: #222;
    width: 365px;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    margin-top: 15px;
    margin-left: -10px;
}

@media (max-width: 768px) {
    .wpcf7 .custom-subscribe-form label {
        width: 89%;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ccc;
        padding: 8px 0;
        color: #fff;
        font-size: 15px;
        outline: none;
        border-radius: 0;
        display: block;
    }

    #wpcf7-f3018-o1 .wpcf7-response-output {
        color: white !important;
        background-color: #222;
        padding: 12px;
        border-radius: 5px;
        border: none;
        font-size: 16px;
        margin-top: 15px;
    }

    .elementor-kit-2217 input:not([type="button"]):not([type="submit"]),
    .elementor-kit-2217 textarea,
    .elementor-kit-2217 .elementor-field-textual {
        all: unset;
        font-family: none !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        border: none !important;
        border-radius: 0 !important;
    }
}