/*
Theme Name: Nordic Chamber Theme
Theme URI: http://nordic-chamber.com
Author: Your Name
Author URI: http://nordic-chamber.com
Description: Custom theme for Nordic Chamber website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordic-chamber
*/

/* Reset and base styles */
/* Main Styles for Nordic Chamber Theme */

/* MailPoet Form Styling */
.mailpoet-heading.mailpoet-has-font-size {
    font-size: 1.5vw !important;
    font-weight: 500 !important;
    font-family: inherit !important;
}

/* MailPoet Submit Button */
.mailpoet_form input[type="submit"],
.mailpoet-subscribe.mailpoet-submit,
.mailpoet_form button[type="submit"] {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.mailpoet_form input[type="submit"]:hover,
.mailpoet-subscribe.mailpoet-submit:hover,
.mailpoet_form button[type="submit"]:hover {
    background-color: #072d51 !important;
    border-color: #072d51 !important;
    color: white !important;
    opacity: 1 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive adjustments for MailPoet heading */
@media (max-width: 768px) {
    .mailpoet-heading.mailpoet-has-font-size {
        font-size: 4.5vw !important;
    }
}

/* Base Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #4299e1;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Add your custom styles here */
/* About Page Styles */
.about-hero {
    background-color: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    color: #072d51;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-content {
    max-width: 90vw;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: #fff;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 90vw;
    margin: 0 auto;
}

.mission-box,
.vision-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mission-box h2,
.vision-box h2 {
    color: #072d51;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.team-section h2 {
    color: #072d51;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 90vw;
    margin: 0 auto;
}

.team-member {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Values Section */
.values-section {
    background-color: #fff;
    text-align: center;
    color: #072d51;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 90vw;
    text-align: left;
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
}

.values-grid-title{
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 5rem;
    width: 80vw;
}

.value-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.grid-item {
    text-align: left;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005293;
    background-color: #e6f0fa;
    border-radius: 50%;
    font-size: 1.5rem;
}

.grid-icon i {
    line-height: 1;
}

.grid-item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    color: #072d51;
}

.grid-item-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    width: 100%;
}

/* Ensure Font Awesome icons are visible */
.fa-sharp, .fa-solid {
    font-family: 'Font Awesome 6 Sharp';
    font-weight: 900;
}

/* Blue accent for the title */
.accent {
    color: #005293;
}

input{
    padding: 0.5rem;
    width: 25vw;
    opacity: 0.5;
}

.wpcf7-submit{
    opacity: 1;
    background-color: #072d51;
    color: #fff;
    padding: 0.8rem 2rem;
    cursor: pointer;
    border: 2px solid #072d51;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 1rem;
}

.wpcf7-submit:hover{
    background-color: transparent;
    color: #072d51;
}

/* Responsive Design */
@media (max-width: 768px) {

    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .about-hero {
        padding: 3rem 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .team-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 1rem;
    }
}

/* Add this to your functions.php to enqueue the styles */
/*
function nordic_chamber_enqueue_styles() {
    wp_enqueue_style('about-page-style', get_template_directory_uri() . '/css/about-page.css', array(), '1.0.0');
}
add_action('wp_enqueue_scripts', 'nordic_chamber_enqueue_styles');
*/
