/*
 Theme Name: Product Industry Child
 Theme URI: http://yourwebsite.com
 Description: Child theme for Product Industry
 Author: lavanya
 Template: product-industry
 Version: 1.0.2
*/

/* Import parent theme styles */
@import url("../product-industry/style.css");

/* --- Zarwan Header Custom Styles --- */

/* Primary Colors */
:root {
    --zarwan-blue-dark: #172a5a;
    --zarwan-blue-active: #1a64aa;
}

/* Overall Header Container */
.zarwan-header-container {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Top Bar: Logo and Certifications Area */
.header-top-bar {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white; 
}

/* Logo Setup */
.zarwan-logo-area {
    display: flex;
    align-items: flex-start;
    padding: 5px 0;
}

.logo-icon {
    width: 80%; /* Adjusted fixed width */
    height: auto;
    margin-right: 15px;
}

/* Logo Text Styling */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 36px;
    font-weight: bold;
    color: var(--zarwan-blue-dark);
    margin-bottom: 3px; 
}

.logo-sub {
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
}

.logo-cert {
    font-size: 11px;
    color: #666;
    font-style: italic;
    display: none; 
}

/* Certifications Badges (Right Side) */
.certification-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 25px; 
}

.tuv-badge, .bahrain-badge {
    height: 65px; 
    width: auto;
    opacity: 1 !important; 
    transition: none; 
}

/* --- Navigation Bar Styling --- */

/* Centered nav bar with width fitting menu items */
.main-nav-zarwan {
    display: inline-flex;     /* only as wide as menu items */
    background-color: var(--zarwan-blue-dark);
    padding: 0;
    margin: 0 auto;           /* center horizontally */
}
/* Make the inner container shrink-wrap and center the menu */
.main-nav-zarwan .main-menu-navigation {
    display: inline-flex;        /* shrink to menu width */
    justify-content: center;     /* center items */
    width: auto;                 /* shrink-wrap */
    margin: 0 auto;              /* center horizontally */
    padding: 0;
}

.main-nav-zarwan .row,
.main-nav-zarwan .col-12 {
    display: inline-flex;
    justify-content: center;  /* center the menu items inside */
    width: auto;              /* shrink-wrap width */
    padding: 0;
    margin: 0;
}

.zarwan-menu {
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: auto;               /* shrink-wrap to menu items */
}

.zarwan-menu > li {
    float: left;
    margin: 0 15px;            /* spacing between menu items */
}

.zarwan-menu > li > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 15px;        /* reduce nav height */
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

/* Hover Effect */
.zarwan-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    color: white; 
}

/* Active Link Style */
.zarwan-menu > li.current-menu-item > a,
.zarwan-menu > li.current_page_item > a,
.zarwan-menu > li > a.active {
    background-color: var(--zarwan-blue-active);
    color: white;
}

/* Responsive Adjustments (Tablet / Mobile) */
@media (max-width: 991px) {
    .header-top-bar .row {
        flex-direction: column;
    }

    .logo-area-col,
    .certification-area-col {
        text-align: center;
        width: 100%;
    }
    
    .certification-badges {
        justify-content: center; 
        padding-top: 10px;
    }
    
    .zarwan-logo-area {
        justify-content: center; 
    }
    
    .zarwan-menu {
        display: none; /* mobile menu hidden until toggle */
    }
}

@media (max-width: 768px) {
    .tuv-badge, .bahrain-badge {
        height: 50px; 
    }
    
    .logo-icon {
        width: 60px;
    }
}

/* Additional menu text color override */
.nav-menu ul li a {
    color: #ebebeb !important;
}
.nav-menu ul li a:before {
   
    background: #ffc600 !important;
}

/* --- Your original input styling --- */
/* Outer container box */
.wpcf7 form {
    border: 1px solid #dcdcdc;
    padding: 40px;
    background: #fff;
    border-radius: 4px;
    max-width: 1000px;   /* adjust to match your layout */
    margin: 0 auto;      /* center the box */
}

/* Add spacing under the 'Required *' label */
.wpcf7 form p:first-child {
    margin-bottom: 25px !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}

/* --- Your original label styling --- */
.wpcf7 label {
    font-size: 14px;
    color: #444;
}

/* --- NEW: Make each form row horizontal --- */
.wpcf7-form p {
    display: flex;
    align-items: center;
    gap: 20px;               /* spacing between label + input */
    margin-bottom: 15px !important;
}

/* --- NEW: Label aligned left --- */
.wpcf7-form p label {
    width: 150px;            /* adjust width to match your screenshot */
    margin: 0;
    display: block;
}

/* --- NEW: Make inputs expand --- */
.wpcf7-form p .wpcf7-form-control-wrap {
    flex: 1;
}

/* --- NEW: Message field alignment --- */
.wpcf7 textarea {
    height: 150px;           /* adjust to match your layout */
}

.wpcf7-form p:nth-child(6) {
    align-items: flex-start; /* textarea label aligns at top */
}

/* --- Your button styling --- */
.wpcf7-form p:last-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 20px; /* spacing between send + clear */
}
.wpcf7-form p:last-child br {
    display: none !important;
}

.send-btn,
.clear-btn {
	display: inline-flex !important;
    align-items: center;
    justify-content: center;
	display: inline-block;
    background-color: #1e355d;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 3px;
}

/* Same color for clear button */
.clear-btn {
    background-color: #1e355d;
}

/* Hover effect */
.send-btn:hover,
.clear-btn:hover {
    opacity: 0.85;
}




/* -------------------- SLIDER --------------------- */
.homepage-slider {
    position: relative;
    overflow: hidden;
    height: 440px; /* fixed height */
}

.slider-wrapper, .fade-split-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.fade-split-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, clip-path 1s ease;
    clip-path: inset(0 0 0 0);
}

/* Active slide */
.fade-split-slider .slide.active {
    opacity: 1;
    clip-path: inset(0 0 0 0); 
}

/* Caption inside slides */
.fade-split-slider .slide .caption {
    position: absolute;
    top: 80%;               
    left: 50%;            
    transform: translate(-50%, -50%) translateX(50px); 
    color: #fff;
    font-size: 20px;
	font-weight: bold;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    opacity: 0;
    transition: all 1s ease;
}

.fade-split-slider .slide.active .caption {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0); /* center + move in */
}

/* -------------------- INFO SECTION --------------------- */
.home-info-section {
    background: #1f3460;
    color: #fff;
    padding: 40px 0;
}
.home-info-section .info-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}
.info-box {
    flex: 1;
    min-width: 250px;
    padding: 20px 15px;
    position: relative;
}

/* Dashed vertical lines */
.info-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: calc(100% - 20px);
    border-right: 1px dashed #fff;
}

.info-box h3 {
    margin-top: 10px;
    margin-bottom: 15px;
}
.info-box ul {
    list-style: disc;
    padding-left: 20px;
}
.info-box .more-link {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
.info-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

a.more-link {
    color: #fff;
	background: none !important;
    padding: 6px 10px;
    float: right !important;
}