/*
Theme Name: Dudhkoshi Hydropower Project
Theme URI: http://example.com/dudhkoshi-theme
Author: Your Name
Author URI: http://example.com
Description: A custom WordPress theme for the Dudhkoshi Hydropower Project.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dudhkoshi-theme
*/

.breadcrumb-area .inner-content {
    position: relative;
    display: block;
    padding: 10px;
}
.breadcrumb-area {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.default_content {
    padding: 10px 0;
    background: #f9f9f9;
	padding-bottom: 30px;
}

.single-project-content-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
    font-size: 16px;
    color: #333;
}

.breadcrumb-area.no-bg {
    background: none !important;
    padding: 30px 0; /* reduced height */
}

.breadcrumb-area .page-title {
    font-size: 28px;
    color: #222;
    text-shadow: none;
}

.wp-block-button__link.wp-element-button {
    background-color: #004080; /* Replace with your theme's primary color */
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wp-block-button__link.wp-element-button:hover {
    background-color: #002d59; /* Slightly darker shade for hover effect */
    color: #fff;
}

/* CSS for Contact Page Only */
body.page-template-contact-page .contact-page-desing {
    background-color: #f7f7f7;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Example nested styling */
body.page-template-contact-page .contact-page-desing h2 {
    color: #007bff;
}
/* Overall page content */
.page-content.contact-page-desing {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

/* Column Layout */
.wp-block-columns.is-layout-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact form container */
.wpforms-container {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
}

/* Form Inputs and Textareas */
.wpforms-field-container {
    margin-bottom: 20px;
}

.wpforms-field {
    margin-bottom: 15px;
}

.wpforms-field label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.wpforms-field input,
.wpforms-field textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    transition: border 0.3s ease;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
    border-color: #0073e6;
    outline: none;
}

/* Required fields indicator */
.wpforms-required-label {
    color: red;
}

/* Submit Button */
.wpforms-submit-container {
    text-align: center;
}

.wpforms-submit {
    background-color: #0073e6;
    color: #fff;
    padding: 12px 25px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpforms-submit:hover {
    background-color: #005bb5;
}

/* Contact Information Sidebar */
.wp-block-column.is-vertically-aligned-top {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Heading Style */
.wp-block-heading {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Contact Details */
.wp-block-heading img {
    margin-right: 10px;
}

.wp-block-heading a {
    text-decoration: none;
    color: #0073e6;
}

.wp-block-heading a:hover {
    text-decoration: underline;
}

/* Google Maps Embed */
iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

/* Responsive Layout for Mobile */
@media (max-width: 768px) {
    .wp-block-columns.is-layout-flex {
        flex-direction: column;
        gap: 20px;
    }

    .wp-block-column.is-layout-flow {
        flex-basis: 100%;
    }

    .wpforms-container {
        padding: 20px;
    }

    .wpforms-submit {
        width: 100%;
    }
}

.post-date {
    font-size: 0.95rem;
    color: #6c757d;
}

.post-date i {
    color: #999;
}
/*org chart */
.org-chart {
    list-style: none;
    padding-left: 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.org-chart ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
}

.org-chart li {
    text-align: center;
    position: relative;
    margin: 0 20px;
}

.org-node {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.org-node h5, .org-node h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.org-node span {
    font-size: 14px;
    color: #666;
}

.org-chart li::before, .org-chart li::after {
    content: '';
    position: absolute;
    top: 0;
    border-top: 2px solid #ccc;
    width: 50%;
    height: 20px;
}

.org-chart li::before {
    left: -50%;
    border-right: 2px solid #ccc;
}

.org-chart li::after {
    right: -50%;
    border-left: 2px solid #ccc;
}

.org-chart ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #ccc;
    height: 20px;
}
/* this is test */
/* Organization Chart Styles */
.organization-chart {
    padding: 40px 0;
}

.org-chart-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.team-member {
    margin-bottom: 30px;
}

.team-member-box {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.team-member-box:hover {
    transform: scale(1.05);
}

.team-photo img {
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-name {
    font-size: 1.5em;
    font-weight: bold;
}

.position {
    font-size: 1.2em;
    color: #777;
}

/* Pagination */
.pagination {
    display: inline-block;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    background-color: #f4f4f4;
    color: #333;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #007bff;
    color: white;
}

/* Responsiveness */
@media (max-width: 768px) {
    .team-member {
        margin-bottom: 15px;
    }

    .team-member-box {
        padding: 15px;
    }
}

