.elementor-kit-12{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-12 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* 1. THE FOUNDATION: Stops the entire page from shifting */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. THE WIDGET WRAPPER: Ensures the 3D effect stays inside its box */
.gpl-modern-wrapper {
    max-width: 100vw;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

/* 3. THE 3D FIX: Prevents "Z-space" from breaking the layout on tap */
.gpl-strip-container {
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Allows 3D to show, but parent keeps it contained */
    touch-action: pan-y; /* Allows vertical scrolling but stops side-swiping shifts */
}

/* 4. MOBILE TAP RESET: Stops mobile browsers from "zooming" or "highlighting" the box on click */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


/* 1. FORCE ZERO MARGIN/PADDING (Kills the top/bottom gaps) */
.elementor-kit-12, 
.elementor-kit-12 .elementor-widget-container,
.gpl-hero-ultra {
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. MOBILE TIGHTENING */
@media (max-width: 768px) {
    .gpl-hero-ultra {
        /* Change fixed height to min-height to avoid 'stretched' look */
        height: auto !important; 
        min-height: 50vh; 
        padding: 30px 0 !important; /* Controlled vertical space */
        background-attachment: scroll; /* Smoother on mobile */
    }

    .hero-content {
        padding: 15px 15px !important; /* Tighter card padding */
        width: 92% !important;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    /* Reduce title space */
    .gpl-title {
        margin-bottom: 5px !important;
    }

    .subtitle {
        margin-top: 5px !important;
        line-height: 1.2;
    }

    /* Info cards should be closer together */
    .info-strip {
        margin: 15px 0 !important;
        gap: 8px !important;
    }
}


/* =============================================
   GPL MODERN BLOG DESIGN (Scoped to #gpl-blog-grid)
   ============================================= */

#gpl-blog-grid .elementor-post {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    margin-bottom: 20px;
}

/* Hover Effect */
#gpl-blog-grid .elementor-post:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,114,255,0.15) !important;
    border-color: #0072FF !important;
}


/* Date Badge Style */
#gpl-blog-grid .elementor-post__badge {
    background: linear-gradient(135deg, #0072FF, #00C6FF) !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    padding: 5px 15px !important;
    text-transform: uppercase;
    font-size: 10px;
}

/* Title Styling */
#gpl-blog-grid .elementor-post__title a {
    color: #1a1a1a !important;
    font-weight: 800 !important;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: 0.3s;
}

#gpl-blog-grid .elementor-post:hover .elementor-post__title a {
    color: #0072FF !important;
}

/* Excerpt/Text Styling */
#gpl-blog-grid .elementor-post__excerpt p {
    color: #666 !important;
    font-size: 14px;
    line-height: 1.6;
}



/* DYNAMIC HOME BLOGS STYLING */
#gpl-home-blogs .elementor-post {
    background: #ffffff !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#gpl-home-blogs .elementor-post:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(0, 114, 255, 0.15) !important;
    border-color: #0072FF !important;
}

/* Image Zoom Effect */

#gpl-home-blogs .elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.1) rotate(1deg) !important;
}

/* Badge Styling */
#gpl-home-blogs .elementor-post__badge {
    background: #0072FF !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    padding: 5px 15px !important;
}

/* Title & Content */
#gpl-home-blogs .elementor-post__title a {
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    text-decoration: none !important;
}

#gpl-home-blogs .elementor-post:hover .elementor-post__title a {
    color: #0072FF !important;
}

#gpl-home-blogs .elementor-post__excerpt p {
    color: #666 !important;
    font-size: 14px !important;
}


/* MOBILE GALLERY GRID FIX */
@media (max-width: 767px) {
    .elementor-widget-image-gallery .gallery {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Yahan 2 ka matlab 2 columns hai */
        gap: 10px !important;
    }

    .elementor-widget-image-gallery .gallery-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Caption hide karne ke liye (Optional) */
    .gallery-caption {
        display: none !important;
    }
}/* End custom CSS */