/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Infowebs Solution
Author URI: https://infowebssolution.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom CSS below */

.maindivli{color:red;}





/*Portfolio*/


/* ========================================
   Portfolio Single Page
======================================== */

.portfolio-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px 60px;
    box-sizing: border-box;
}

.portfolio-header {
    margin-bottom: 25px;
}

.portfolio-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
    color: #102a43;
}

/* ========================================
   Image Slider
======================================== */

.portfolio-slider {
    position: relative;
    margin-bottom: 45px;
    overflow: hidden;
    background: #f1f3f5;
    border-radius: 10px;
}

.portfolio-slides {
    position: relative;
    height: 480px;
}

.portfolio-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.portfolio-slide.is-active {
    display: block;
}

.portfolio-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-slider-prev,
.portfolio-slider-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #102a43;
    color: #ffffff;
    cursor: pointer;
}

.portfolio-slider-prev {
    left: 15px;
}

.portfolio-slider-next {
    right: 15px;
}

.portfolio-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.portfolio-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b8c2cc;
    cursor: pointer;
}

.portfolio-slider-dot.is-active {
    background: #c69a3a;
}

/* ========================================
   Project Description
======================================== */

.portfolio-description {
    margin-bottom: 55px;
}

.portfolio-description h2,
.related-projects > h2 {
    margin: 0 0 22px;
    color: #102a43;
    font-size: 28px;
    line-height: 1.3;
}

.portfolio-description-content {
    color: #384654;
    font-size: 16px;
    line-height: 1.8;
}

.portfolio-description-content img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Related Projects
======================================== */

.related-projects {
    margin-top: 50px;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 33.333%);
    gap: 25px;
}

/* Related Project Card */

.related-project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(16, 42, 67, 0.08);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
    box-sizing: border-box;
}

.related-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.14);
}

/* Related Project Image */

.related-project-image {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #eef2f3;
}

.related-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-project-no-image {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #607d8b;
}

/* Related Project Content */

.related-project-content {
    padding: 20px;
}

.related-project-content h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.4;
}

.related-project-content h3 a {
    color: #102a43;
    text-decoration: none;
}

.related-project-content h3 a:hover {
    color: #c69a3a;
}

.related-project-content p {
    color: #52616f;
    font-size: 15px;
    line-height: 1.6;
}

/* View Project Button */

.related-project-button {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 18px;
    border-radius: 4px;
    background: #c69a3a;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.related-project-button:hover {
    background: #102a43;
    color: #ffffff !important;
}

/* ========================================
   Tablet Layout
======================================== */

@media screen and (max-width: 1024px) {
    .related-projects-grid {
        grid-template-columns: repeat(2, 48%);
        gap: 20px;
    }

    .portfolio-slides {
        height: 380px;
    }
}

/* ========================================
   Mobile Layout
======================================== */

@media screen and (max-width: 767px) {
    .portfolio-single {
        padding: 25px 15px 40px;
    }

    .portfolio-title {
        font-size: 28px;
    }

    .portfolio-slides {
        height: 280px;
    }

    .portfolio-description h2,
    .related-projects > h2 {
        font-size: 24px;
    }

    .related-projects-grid {
        display: block;
    }

    .related-project-card {
        width: 100%;
        margin-bottom: 25px;
    }

    .related-project-image {
        height: 220px;
    }

    .related-project-content {
        padding: 18px;
    }

    .related-project-content h3 {
        font-size: 19px;
    }
}

/* ========================================
   Small Mobile
======================================== */

@media screen and (max-width: 480px) {
    .portfolio-title {
        font-size: 25px;
    }

    .portfolio-slides {
        height: 220px;
    }

    .portfolio-slider-prev,
    .portfolio-slider-next {
        width: 36px;
        height: 36px;
    }

    .related-project-image {
        height: 200px;
    }
}


/*portfolio end*/




/*full page responsive*/


/* ==========================================================================
   COMPLETE RESPONSIVE & MOBILE CSS (staging.inplant.com)
   Targeting: Layout, Containers, Headings, Navigation, and CTA Widgets
   ========================================================================== */

/* --- GLOBAL MOBILE FIXES (max-width: 767px) --- */
@media screen and (max-width: 767px) {

    /* 1. Page & Layout Reset */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* 2. Container & Section Adjustments */
    /* Resets large desktop paddings to mobile-friendly spacing */
    .e-con, 
    .elementor-section, 
    .elementor-container,
    .e-con-inner {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important; /* Forces stacking */
        display: flex !important;
    }

    /* 3. Call To Action (CTA) Widgets Fix */
    /* Fixes the "skinny strips" issue on the home page */
    .elementor-widget-call-to-action {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .elementor-widget-call-to-action .elementor-cta {
        height: auto !important;
        min-height: 300px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .elementor-cta__content {
        padding: 25px 20px !important;
        background: rgba(0,0,0,0.4); /* Ensures text readability over BG image */
    }

    /* 4. Responsive Typography */
    h1.elementor-heading-title, 
    .elementor-widget-heading h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    h2.elementor-heading-title, 
    .elementor-widget-heading h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    h3.elementor-heading-title, 
    .elementor-widget-heading h3 {
        font-size: 19px !important;
    }

    .elementor-widget-text-editor, 
    .portfolio-description-content {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* 5. Navigation & Header Fixes */
    /* Ensures the mobile toggle is visible and header isn't too tall */
    .elementor-location-header .elementor-container {
        flex-direction: row !important; /* Keep logo and toggle side-by-side */
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .elementor-menu-toggle {
        display: block !important;
    }

    /* 6. Form & Input Responsiveness */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS auto-zoom on focus */
        width: 100% !important;
    }

    /* 7. Image Scaling */
    .elementor-widget-image img,
    .wp-block-image img {
        width: 100% !important;
        height: auto !important;
    }
    
    /* 8. Hide desktop-only elements if any exist */
    .hide-on-mobile {
        display: none !important;
    }
}

/* --- TABLET ADJUSTMENTS (768px to 1024px) --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .e-con, 
    .elementor-section {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .elementor-widget-call-to-action {
        width: 48% !important; /* 2-column grid on tablets */
        margin-bottom: 20px;
    }

    h1.elementor-heading-title {
        font-size: 32px !important;
    }
}

/* --- RETINA / SMALL PHONES (max-width: 320px) --- */
@media screen and (max-width: 320px) {
    h1.elementor-heading-title {
        font-size: 22px !important;
    }
}



