/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  A child theme for Hello Elementor
 Author:       admin
 Author URI:   https://admin.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/
/* fonts */
@font-face {
    font-family: 'Teko Bold';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/Teko-Bold.ttf') format('opentype');
}
@font-face {
    font-family: 'Teko Light';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/Teko-Light.ttf') format('opentype');
}
@font-face {
    font-family: 'Teko Medium';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/Teko-Medium.ttf') format('opentype');
}
@font-face {
    font-family: 'Teko SemiBold';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/Teko-SemiBold.ttf') format('opentype');
}
@font-face {
    font-family: 'Teko Regular';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/Teko-Regular.ttf') format('opentype');
}
@font-face {
    font-family: 'Opensans Italic';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/OpenSans-Italic-VariableFont_wdthwght.ttf') format('opentype');
}
@font-face {
    font-family: 'Opensans Variable';
    src: url('https://lamay.sonomainfotech.in/wp-content/uploads/2025/03/OpenSans-VariableFont_wdthwght.ttf') format('opentype');
}

ul#menu-1-ed81e0e li a, 
ul#menu-1-17ec5de li a, 
span.elementor-button-text,
.elementor-element-1e8a850 .elementor-heading-title,
.elementor-element-a7b2a70 .elementor-heading-title,
.elementor-element-d52d9c3 .elementor-heading-title,
.elementor-element-ed16577 .elementor-heading-title,
.elementor-element-ed16577 .elementor-heading-title,
.elementor-element-d36efbd .elementor-heading-title,
.elementor-element-97792f2 .elementor-heading-title,
.elementor-element-c7498e3 .elementor-heading-title,
.elementor-element-09efbe5 .elementor-heading-title,
.am_grid_col .am_single_grid .am_cont a,
.blog-title,
.blog-category a, .blog-tags a,
.project-title h2,
.project-heading h2
{
    font-family: 'Teko Bold' !important;
}
.elementor-element-93d1fa5 .elementor-heading-title,
.elementor-element-ba57a08 .elementor-heading-title,
.elementor-element-d094434 .elementor-heading-title, p{
    font-family: 'Opensans Variable' !important;
}
.elementor-6 .elementor-element.elementor-element-afe5f45 .elementor-heading-title,
.elementor-element-cfa9279 .elementor-heading-title,
.project-category h2{
    transform: rotate(180deg);
    writing-mode: vertical-rl;
}
span.error-cls {
    color: red;
}
summary.e-n-accordion-item-title {
    padding-left: 60px !important;
}
.elementor-element.elementor-element-fd6b8ce.why.animated-slow.elementor-widget.elementor-widget-text-editor.animated.fadeIn p,
.elementor-element.elementor-element-6e2d4a2.why.animated-slow.elementor-widget.elementor-widget-text-editor.animated.fadeIn p,
.elementor-element.elementor-element-4091e01.why.animated-slow.elementor-widget.elementor-widget-text-editor.animated.fadeIn p,
.project-tag h2{
    font-family: 'Opensans Italic' !important;
}
.btn-estimate a.elementor-button.elementor-button-link.elementor-size-sm {
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #839c53;
    transition: ease-out 0.5s;
}
.btn-estimate a.elementor-button.elementor-button-link.elementor-size-sm:hover {
    box-shadow: inset 300px 0 0 0 #839c53;
    color: white !important;
}

.estimatebtn a.elementor-button.elementor-button-link.elementor-size-sm {
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #839c53;
    transition: ease-out 0.5s;
}
.estimatebtn a.elementor-button.elementor-button-link.elementor-size-sm:hover {
    box-shadow: inset 300px 0 0 0 #839c53;
    color: white !important;
}

.hover-filled-slide-left a.elementor-button.elementor-button-link.elementor-size-sm {
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #295183;
    transition: ease-out 0.5s;
}
.hover-filled-slide-left a.elementor-button.elementor-button-link.elementor-size-sm:hover {
    box-shadow: inset 300px 0 0 0 #295183;
    color: white !important;
}
/* blog page */
.am_single_grid {
    height: 100%;
    display: block;
    box-shadow: 5px 5px 1px 0px #295183 !important;
    border: 2px solid #295183 !important;
}

.blog-container {
    max-width: 900px;
    margin: 0px auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-in-out;
}

/* Featured Image */
.blog-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Blog Title */
.blog-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 20px 0;
    color: #222;
}

.blog-tags a {
    pointer-events: none; /* Disables clicking */
    text-decoration: none; /* Removes underline */
    color: inherit; /* Keeps the text color same as parent */
    cursor: default; /* Changes cursor to default (not clickable) */
    font-size: 20px;
}
.blog-content .entry-content h1 {
    font-family: 'Opensans Variable';
    font-size: 26px;
}

/* Blog Meta (Categories & Tags) */
.blog-meta {
    font-size: 0.9rem;
    text-align: center;
    color: #777;
    margin-bottom: 20px;
}
label {
    font-weight: 600;
}

.blog-category, .blog-tags {
    display: inline-block;
    margin: 0 10px;
    color:#295183;
}

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-content p {
    margin-bottom: 20px;
}

/* Blog Navigation (Previous & Next Links) */
.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid #9a9a9a;
    padding-top: 20px;
}

.blog-navigation a {
    text-decoration: none;
    color: #295183;
    font-family: 'Opensans Variable' !important;
    transition: color 0.3s ease;
}

.blog-navigation a:hover {
    color: #839c53;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

/* Container for the image */
.blog-featured-image {
    position: relative;
    overflow: hidden; /* Ensures image doesn't overflow */
    border-radius: 10px; /* Optional: Add rounded corners */
}

/* Image zoom effect */
.blog-featured-image img {
    width: 100%;
    transition: transform 0.5s ease, filter 0.5s ease; /* Smooth zoom and overlay */
}

/* Overlay on hover */
.blog-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade-in */
}

/* Apply zoom and overlay on hover */
.blog-featured-image:hover img {
    transform: scale(1.1); /* Zoom effect */
    filter: brightness(0.8); /* Darken the image slightly */
}

.blog-featured-image:hover::before {
    opacity: 1; /* Show overlay */
}


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

/* Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        padding: 15px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-navigation {
        flex-direction: column;
        align-items: center;
    }

    .blog-navigation div {
        margin-bottom: 10px;
    }

    .e-con-inner>.elementor-element.elementor-absolute, .e-con>.elementor-element.elementor-absolute, .elementor-widget-wrap>.elementor-element.elementor-absolute {
        position: static;
    }
    figure.gallery-item {
        width: 22% !important;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .blog-content {
        font-size: 1rem;
    }
} 
.am_thumb {
    position: relative;
    overflow: hidden; /* Ensures the overlay does not spill outside */
}

.am_thumb img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    height: 100%;
    width: 100%;
    margin: 0!important;
    border-radius: 0;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: transform .6s ease-in-out;
}

/* Hover effect - image scale */
.am_single_grid:hover .am_thumb img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

/* Light Gray Overlay Effect */
.am_thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 211, 211, 0); /* Transparent by default */
    transition: background 0.6s ease-in-out;
    pointer-events: none; /* Prevents blocking interactions with the image */
}

.am_single_grid:hover .am_thumb::after {
    background: rgba(211, 211, 211, 0.4); /* Light gray overlay on hover */
}
.url.fn.n {
    display: inline-block; /* Keep the text inline */
    pointer-events: none; /* Disable click */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep the original color */
}
a.am__readmore.am__read_more_link {
    color: #336;
}
a.am__readmore.am__read_more_link:hover {
    color: #839c53 !important;
}


/* contact */
.field-row.first {
    display: flex;
}
.field-row.first .field {
    width: 50%;
    padding-right: 7.5px;
}
.field-row.first .field:last-child {
    padding-right: 0;
    padding-left: 7.5px;
}
.field-row textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    height: 150px;
    margin-bottom: 0;
    line-height: 30px;
    padding: 10px 15px;
    font-family: "Open Sans", Sans-serif;
    font-size: 16px !important;
    color: #000;
    background: #ffffff;
}
.field {
    margin-bottom: 15px;
    font-family: 'Opensans Variable' !important;
}
.field input {
    width: 100%;
    background: #ffffff;
    border-color: #00000015;
    margin-bottom: 0;
    line-height: 30px;
    padding: 10px 15px;
    font-family: 'Opensans Variable' !important;
    font-size: 16px !important;
    color: #000;
}
input.wpcf7-form-control.wpcf7-date:focus,
input.wpcf7-form-control.wpcf7-number:focus,
input.wpcf7-form-control.wpcf7-quiz:focus,
input.wpcf7-form-control.wpcf7-text:focus,
select.wpcf7-form-control.wpcf7-select:focus,
textarea.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #fff;
}
.field-btn {
    text-align: left;
    margin-top: 15px;
}
.field-btn .wpcf7-submit {
    font-family: 'Teko Bold' !important;
    border:none;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 22px;
    height: auto;
    padding: 12px 0;
    min-width: 280px;
    color: #fff;
    background: #295183;
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #839c53;
    transition: ease-out 0.5s;
}
.field-btn [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    color: #fff;
    background-color: #275183 !important;
    text-decoration: none;
}
.field-btn .wpcf7-submit:hover {
    box-shadow: inset 300px 0 0 0 #839c53;
    color: white !important;
}
.wpcf7 input[type="file"] {
	cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
	cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

@media screen and (max-width: 767px) {
    .field-row.first {
        flex-wrap: wrap;
    }
    .field-row.first .field {
        padding: 0;
        width: 100%;
    }
    .field-row.first .field:last-child {
        padding: 0;
    }
    .field-btn {
        text-align: center !important;
        margin-top: 20px;
    }
    .field-btn .wpcf7-submit {
        padding: 10px 0;
        margin-left: 0;
    }
    /*div.wpcf7 .ajax-loader {
        display: none;
    }*/
}

/* gallery */
.wpcp-carousel-section.nav-vertical-center .swiper-button-next {
    right: 30px !important;
    text-align: right;
    left: auto;
}
.wpcp-carousel-section.nav-vertical-center .swiper-button-prev {
    left: 30px !important;
    right: auto;
    text-align: left;
}
#sp-wp-carousel-free-id-1058.sp-wpcp-1058 .swiper-button-prev i, #sp-wp-carousel-free-id-1058.sp-wpcp-1058 .swiper-button-next i {
    background: white;
    padding: 4px 12px;
    border-radius: 50%;
    font-size: 24px;
}
.wpcp-carousel-section.nav-vertical-center {
    margin: 0 0px !important;
}
.swiper-slide {
    border: 6px solid #c6c6c5 !important;
}
th#full_number {
    display: none;
}
.am_single_grid {
    background: #FFFFFF;
}
.main-blog-cls {
    background: #c2c1c0;
    padding-top: 70px;
    padding-bottom: 70px;
}