/*
Theme Name: Webitute Theme
Theme URI: https://webitute.com
Author: Webitute
Author URI: https://webitute.com
Description: Custom Bootstrap + ACF Theme
Version: 1.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: webitute
*/

/* Page Banner */
/* ==========================================================================
   Inner Page Banner (20/80 Split Layout)
   ========================================================================== */

.inner-page-banner {
    padding: 40px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* Flex Wrapper */
.banner-layout-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Left Image Column (20% Width) */
.banner-media-col {
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-media-col img {
    width: auto;
    height: 140px; /* Adjust height as needed */
    object-fit: cover;
    object-position: center;
}

/* Right Content Column (80% Width) */
.banner-content-col {
    flex: 0 0 80%;
    max-width: 80%;
}

/* Typography Adjustments */
.banner-content-col h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.banner-content-col .section-subtitle {
    font-size: 0.85rem;
    color: #ff7a00;
    letter-spacing: 1px;
}

.banner-content-col p {
    font-size: 1rem;
    color: #475569;
}

/* Responsive Mobile Fallback */
@media (max-width: 767px) {
    .banner-layout-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-media-col,
    .banner-content-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .banner-media-col img {
        height: 100px;
        width: 100px;
        border-radius: 50%; /* Converts to circular icon badge on mobile */
        margin-bottom: 15px;
    }
}




/*========== about*/
.about-intro{
    padding:100px 0 !important;
}

.about-intro-image img{
    width:100%;
    border-radius:20px;
}

.about-intro h2,
.about-why h2,
.about-expertise h2{
    color:#0b2345;
    font-size:42px;
    font-weight:700;
    margin:15px 0 20px;
}

.about-intro-content{
    color:#666;
    line-height:1.9;
    margin-bottom:25px;
}

.mission-vision-section{
    background:#f8fbff;
    padding:90px 0 !important;
}

.mission-card{
    height:100%;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
}

.mission-image img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.mission-content{
    padding:30px;
}

.mission-icon,
.feature-icon{
    width:60px;
    height:60px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff3e8;
    color:#ff7a00;
    font-size:25px;
    margin-bottom:20px;
}

.mission-content h3{
    color:#0b2345;
    font-size:25px;
    margin-bottom:15px;
}

.mission-content p{
    color:#666;
    line-height:1.8;
}

.about-why{
    padding:90px 0 !important;
}

.section-heading{
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.section-subtitle{
    color:#ff7a00;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:700;
}

.section-heading p{
    color:#666;
    line-height:1.8;
}

.about-feature-card{
    height:100%;
    padding:30px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
    transition:.3s;
}

.about-feature-card:hover{
    transform:translateY(-7px);
}

.about-feature-card h4{
    color:#0b2345;
    font-size:21px;
    margin-bottom:12px;
}

.about-feature-card p{
    color:#666;
    line-height:1.7;
    margin:0;
}

.about-expertise{
    background:#f8fbff;
    padding:90px 0 !important;
}

.service-card{
    height:100%;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-7px);
}

.service-image img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.service-content{
    padding:25px;
}

.service-content h4{
    margin-bottom:15px;
}

.service-content h4 a{
    color:#0b2345;
    text-decoration:none;
}

.service-content p{
    color:#666;
    line-height:1.7;
}

.read-more{
    color:#ff7a00;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:991px){

    .banner-content h1{
        font-size:40px;
    }

    .about-intro h2,
    .about-why h2,
    .about-expertise h2{
        font-size:34px;
    }

}


/*====== product section */

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.product-thumb-wrapper img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrapper img {
    transform: scale(1.05);
}


/* ==========================================================================
   Contact Page Master Stylesheet
   ========================================================================== */



/* Section Subtitle */
.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff7a00;
    margin-bottom: 8px;
}
/* Ensure Contact Form 7 fields stretch full width */






/* Main Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

/* Card Layouts */
.info-card, 
.form-card, 
.map-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-color: rgba(0,0,0,0.08) !important;
}

.info-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    transform: translateY(-3px);
}

/* Typography Overrides */
.text-warning {
    color: #e67e22 !important; /* Matches the orange "CALL US" from the image */
    letter-spacing: 1px;
}



/* Map Wrapper */
.map-wrapper {
    position: relative;
    display: block;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    padding: 44px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.contact-form-wrapper h2 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
}





/* Responsive Rules */
@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .contact-map-wrapper {
        min-height: 350px;
    }
}


/* ==========================================================================
   Global Contact Form 7 Styles
   ========================================================================== */

/* Form Wrapper & Spacing */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Label & Typography */
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0;
}

/* Base Input & Textarea Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    margin-top: 0.375rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
}

/* Focus States */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Textarea Height */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #2563eb;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    margin-top: 0.5rem;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #1d4ed8;
}

.wpcf7-form input[type="submit"]:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

/* Spinner Loader Alignment */
.wpcf7-spinner {
    margin: 0.5rem auto 0 auto;
    display: block;
}

/* Validation Tooltips & Error Styling */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.825rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Submission Alerts / Status Output */
.wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 0.375rem !important;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0 !important;
    color: #166534;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #fef2f2;
    border: 1px solid #fecaca !important;
    color: #991b1b;
}

/* ==========================================================================
   Pricing Page Styles
   ========================================================================== */

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #e2e8f0 !important;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

.pricing-icon {
    width: 54px;
    height: 54px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pricing-icon svg {
    width: 28px;
    height: 28px;
    fill: #2563eb;
}

.pricing-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-amount h2 {
    color: #0f172a;
}


/* ==========================================================================
   Single Blog Post Redesign
   ========================================================================== */

/* Blog Content Typography */
.single-blog-body {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-blog-body h2,
.single-blog-body h3,
.single-blog-body h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-blog-body p {
    margin-bottom: 1.5rem;
}

.single-blog-body ul, 
.single-blog-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.single-blog-body li {
    margin-bottom: 0.5rem;
}

.single-blog-body blockquote {
    border-left: 4px solid #2563eb;
    background-color: #f8fafc;
    padding: 1.25rem;
    margin: 1.75rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.single-blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}