/* Global Reset and Base Styles
-------------------------------- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    color: #fff;
    background: transparent;
    height: 100%;
}

/* Header Styles
-------------------------------- */
header {
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    position: fixed;
    top: 0;
}
h2 {
    color: #914A23; /* Sets the font color */
    margin: 0 1 10px;
    /*-webkit-text-stroke: .5px black; /* Black outline */
    font-size: 2.2em;
	text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2); /* Drop shadow */
}
h3{
    color: #5b705E;
	/*-webkit-text-stroke: .5px black;  /*Black outline */
	font-size: 1.6em;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2); /* Drop shadow */
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    margin: 0;
    color: #EEECE1;
    font-size: 1.5em;
    text-align: left;
}

/* Dropdown Menu Styles
-------------------------------- */
.dropdown-title {
    color: #EEECE1;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

.nav-right .dropdown {
    position: relative;
}

/* Dropdown Menu Styles
-------------------------------- */
.nav-right .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 180%;
    left: -200px;
    right: 0;
    width: auto; /* Adjust the width automatically based on the content */
    max-width: 600px; /* Set a maximum width for the dropdown */
    margin: 0; /* Center the dropdown menu within the screen */
    box-sizing: border-box;
    padding: 10px; /* Add padding for better touch targets */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    overflow: hidden; /* Ensure the content fits within the box */
	line-height: 1; /* Reduce the line height to make lines closer together */
}

.nav-right .dropdown-content a {
    color: #EEECE1;
    padding: 12px 14px;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
	font-size: 1.4em; /* Adjust this value for a larger font */
}


.nav-right .dropdown-content a:visited {
    color: #EEECE1;
}

.nav-right .dropdown-content a + a {
    margin-top: 3px;
}

.nav-right .dropdown:hover .dropdown-content {
    display: block;
}

/* Background Styles
-------------------------------- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* Content Container Styles
-------------------------------- */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.index-content {
    padding-top: 20vh;
}



/* Logo Styles
-------------------------------- */
.logo-container-small {
        padding-top: 10vh;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
/* PC SCREEN */
@media (min-width: 769px) {
    .logo-container {
        padding-top: 10vh;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 40px;
    }

    .logo {
        max-height: 80vh; /* Set the maximum height to 80% of the viewport height */
        width: auto; /* Maintain aspect ratio */
    }
}

/* Mobile-specific styles for the logo */
@media (max-width: 768px) {
    .logo-container {
        padding-top: 10vh;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .logo {
        width: 100%; /* Adjust the width to 90% of the container */
        height: auto; /* Maintain the aspect ratio */
        max-width: 400px; /* Optionally set a maximum width */
    }
	h2 {
        font-size: 1.5em; /* Adjust as needed */
    }

    h3 {
        font-size: 1.2em; /* Adjust as needed */
    }
}




.logo-responsive, .logo-small {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
}

/* Section Styles
-------------------------------- */
.section {
    display: block; /* Ensure sections stack vertically */
    width: 100%;
    margin: 60px auto;
    padding: 80px;
    border-radius: 10px;
    background: transparent;
    position: relative;
    clear: both; /* Ensure sections don't overlap */
    box-sizing: border-box;
}








/* Text Box Styles
-------------------------------- */
.text-box {
    background: #EEECE1;
    border-radius: 10px;
    padding: 20px;
    color: black;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.text-box::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #EEECE1 transparent;
}



.text-box p {
    margin: 0 0 20px;
    font-size: 1em;
    line-height: 2;
}

.text-box a {
    color: purple;
    display: block;
    text-align: right;
    margin-top: 5px;
    font-size: 1em;
}



/* Image Modal and Zoom Styles
-------------------------------- */
.image-modal {
    display: none; /* Hide the modal by default */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.5s;
}

.image-modal img {
    max-width: 95%;
    max-height: 95%;
}

.image-modal.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

.image-modal.fade-out img {
    transition: none;
}

.video-modal {
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.5s;
}

.video-content {
    width: 90%; /* Set a maximum width relative to the viewport */
    max-width: 800px; /* Maximum width for larger screens */
    height: auto;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 56.25%; /* Aspect ratio of 16:9 */
}

.video-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.zoomed-in {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    z-index: 3000;
    background-color: rgba(238, 236, 225, 0.9);
    object-fit: contain;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 2500;
    display: none;
}

/* Popup Form Styles
-------------------------------- */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup form {
    display: flex;
    flex-direction: column;
}

.popup form label {
    margin-top: 10px;
}

.popup form input,
.popup form select,
.popup form textarea {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.popup form textarea {
    height: 100px;
    resize: vertical;
}

.popup form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.popup form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Form Container Styles
-------------------------------- */
.form-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #EEECE1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Merriweather', serif;
    color: black; /* <-- This line sets the text color */
}

.form-container label,
.form-container input,
.form-container select,
.form-container textarea {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container textarea,
.form-container select {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}



/* Group layout for checkbox and radio sets */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* Style for labels next to checkboxes or radios */
.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1em;
    line-height: 1.4;
    color: black;
    cursor: pointer;
}
/* Proper spacing and alignment for inputs */
.checkbox-group input[type="checkbox"]{
    margin-top: 4px;
    flex-shrink: 0;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    vertical-align: middle;
}

.radio-group label {
    display: inline-block;
    font-size: 1em;
    line-height: 1.4;
    color: black;
    cursor: pointer;
}
.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.radio-option input[type="radio"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.radio-group > label:first-child {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.radio-group > label:not(:first-child) {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  font-weight: normal;
}


/* Optional: style inputs slightly if you're not overriding with custom icons */
input[type="radio"],
input[type="checkbox"] {
    width: 30px;
    height: 30px;
}


/* Footer Styles
-------------------------------- */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: #EEECE1;
	padding: 10px 20px;  
    
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center the content vertically */
    box-sizing: border-box;
}

footer a {
    color: #EEECE1;
    text-decoration: none;
    font-weight: bold;
}


/* Left footer link styles */
.footer-left {
    color: #EEECE1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em; /* Match header font size */
    margin-left: 20px; /* Align with the header */
    display: block;
}


.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon,
.header-icon {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin: 0 10px;
}

/* Media Queries for Responsive Design
-------------------------------- */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.2em;
    }

    header .nav-right a,
    header .nav-right .dropdown {
        margin-left: 5px;
        font-size: 0.9em;
    }

    .content {
        width: 100%;
    }



    .text-box p,
    .text-box a {
        font-size: 0.9em;
    }

    .video-content {
        width: 100%;
        height: 50%;
    }

    .footer-left {
        margin-left: 10px;
    }

    .footer-right {
        margin-right: 5px;
    }
	.image-topic {
		width: 100%;
	}
	.image-content {
		width: 100%;
	}
	.checkbox-group label,
    .radio-group label {
        align-items: center;
        font-size: 0.95em;
	}
}

.phase-image {
    width: 100%; /* Set the image width to fit the text box */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image within the text box */
    max-width: 100%; /* Prevent the image from exceeding the container width */
}

/* Phone Screen */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        width: 100%;
        padding: 0 10px; /* Add padding on both sides */
    }

    .text-box {
        width: 100%;
        margin-left: auto; /* Automatically adjusts margins */
        margin-right: auto; /* Automatically adjusts margins */
        box-sizing: border-box; /* Include padding and border in the element's width and height */
        padding: 20px; /* Adjust padding to suit the design */
    }
	.image-topic img {
	width: 90%; /* Adjust this value for consistent sizing */
    height: auto;
	margin-bottom: 20px;
	cursor: pointer;
	}
	.image-content img {
	width: 90%; /* Adjust this value for consistent sizing */
    height: auto;
	margin-bottom: 20px;
	cursor: pointer;
	}
	/* Phase Image Styles (b&w graphic images in text box )
	-------------------------------- */
	
}


/* Adjusting the layout for PC screens */
@media (min-width: 769px) {
    .section {
        display: flex;
        align-items: flex-start; /* Aligns content at the top */
        width: 80%;
        margin: 0 auto;
        position: relative;
    }

    .image-topic {
        width: 15%; /* Reduce width to 15% of screen */
        margin-right: 20px; /* Add some spacing from the text-box */
        position: absolute;
        top: 0;
        left: 0;
    }

    .image-topic img {
        width: 100%; /* Make image fully fit inside its container */
        height: auto;
        display: block;
    }

    .text-box {
        width: 80%; /* Adjust text-box width so it doesn't overlap */
        margin-left: auto; /* Push the text-box to the right */
    }
	.text-box::after {
        content: none; /* Hides the triangle */
    }
}


/* Logo and Quote Image Alignment
-------------------------------- */
.logo-quote-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-top: 5%;
}

.quote-image {
    max-height: 100%;
    height: auto;
    margin-left: 10px;
}

/* Social Links Styles
-------------------------------- */
.text-box .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-box .footer-icon {
    width: 24px;
    height: auto;
    max-width: 100%;
}

/* Link Hover Effects
-------------------------------- */
.title-link {
    color: inherit;
    text-decoration: none;
}

.title-link:hover {
    text-decoration: underline;
}

/* Style for the image button to make it responsive and fit within the text-box */
.text-box .image-button img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image within the text-box */
}

/* Optional: Add a hover effect for the image button */
.text-box .image-button:hover img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.text-box .custom-list {
    font-family: 'Merriweather', serif;  /* Use the same font as the text box */
    font-size: .8em;        /* Match font size */
    color: black;          /* Match text color */
    padding-left: 5px;    /* Indent bullet points slightly */
    line-height: 1.0;      /* Set line height to match text box */
}

.text-box .custom-list li {
    margin-bottom: 10px;   /* Add spacing between list items */
}

/* Quote Bubble Styles */
.text-box .quote-bubble {
    background: #ffffff;           /* White background for the bubble */
    color: #333;                   /* Dark text color for readability */
    font-style: italic;            /* Italic font for quotes */
    text-align: center;            /* Center-align the text */
    padding: 15px 20px;            /* Padding for space inside the bubble */
    margin: 20px auto;             /* Margin around the quote bubble */
    border-radius: 20px;           /* Rounded corners for the bubble */
    max-width: 80%;                /* Limit the width of the bubble */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for 3D effect */
    position: relative;            /* Relative positioning for the triangle */
}

/* Optional Triangle for the Bubble */
.text-box .quote-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;                /* Position below the bubble */
    left: 50%;                    /* Center align */
    transform: translateX(-50%);  /* Adjust position */
    border-width: 15px 15px 0;    /* Triangle size */
    border-style: solid;
    border-color: #ffffff transparent transparent transparent; /* White triangle */
}

.text-box {
    font-size: 1em; /* Match this to the same size used on index.html */
    line-height: 1.8; /* Ensure the same line height */
}



.text-box p {
    font-size: 1em; /* Match this to index.html */
    line-height: 1.8; /* Ensure the same line height */
}

.section .text-box,
.section .text-box p,

.section .text-box a {
    font-size: 1em; /* Standardize text size */
    line-height: 1.8; /* Consistent line height */
}



.section .text-box p {
    font-size: 1em; /* Ensure uniform paragraph text size */
    line-height: 1.8; /* Consistent paragraph line height */
}

.section .text-box a {
    font-size: 1em; /* Standardize link font size */
}

.text-box .image-button img {
    width: 65%; /* Set the image width to 50% of the text box */
    height: auto; /* Maintain the aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image within the text-box */
}

/* Standardize form input fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em; /* Adjust to match your site’s text size */
    font-family: 'Merriweather', serif; /* Match your site's font */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
}

/* Ensure inputs and selects don’t shrink on smaller screens */
input,
textarea,
select {
    min-height: 44px; /* Helps with mobile tap targets */
    font-family: 'Merriweather', serif;
    font-size: 1em;

}
.submit-button {
  background: linear-gradient(to right, #4E6E5D, #7E9F87   ); /* earthy green to warm tan */
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  padding: 12px 32px;
  border: none;
  border-radius: 222px; /* pill shape */
  box-shadow: 0 4px 10px rgba(50, 50, 50, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
    display: block;          /* CHANGED from inline-block */
  margin: 0 auto;          /* NEW: Centers it horizontally */
}

.image-button:hover img {

	transform: translateX(5px);
}

.submit-button:hover {
  background: linear-gradient(to right, #3F5D4F, #6B8973   );
  box-shadow: 0 6px 14px rgba(30, 30, 30, 0.3);
  transform: scale(1.03);
}

.submit-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(30, 30, 30, 0.2);
}

.submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(125, 150, 120, 0.5);
}

/* Make title links inside H1 look exactly like regular H1 text */
h1 .title-link {
    color: inherit;            /* same color as the h1 */
    text-decoration: none;     /* remove underline */
    font-size: inherit;        /* inherit h1 size */
    font-weight: inherit;      /* inherit weight */
    line-height: inherit;
    display: inline;           /* ensure normal text flow */
}

/* Optional: keep hover effect subtle */
h1 .title-link:hover {
    text-decoration: underline; /* or remove this if unwanted */
}


/* === Edge-to-edge header & footer overrides === */
header, footer {
  padding-left: 100 !important;
  padding-right: 100 !important;
}

/* Remove container gutters & centering */
.header-container {
  max-width: none !important;
  margin: 0 !important;
  padding-left: 100 !important;
  padding-right: 100 !important;
}

/* Remove footer offsets */
.footer-left { margin-left: 100 !important; }
.footer-right { margin-right: 100 !important; }

/* Optional: remove side gaps from icons in header/footer */
.header-icon, .footer-icon {
  margin-left: 50 !important;
  margin-right: 50 !important;
}

/* === Consistent heading + footer type across all pages === */
/* Normalize base so rem is predictable */
html { font-size: 16px; }

/* Neutralize any inherited scaling within header */
header, header * { font-size: inherit; }

/* Force a consistent H1 size across all pages */
header h1 { 
  font-size: 1.5rem !important;   /* ~24px */
  font-weight: 700 ;
  line-height: 1.2;
  margin: 0;
  color: #EEECE1;
}

/* Make linked H1s match exactly */
header h1 a,
header h1 a.title-link {
  font-size: 1.5rem !important;   /* ~24px */
  font-weight: 700 ;
  line-height: 1.2;
  color: inherit;
  margin: 0;
  
  text-decoration: none;
}

/* Mobile: if you want it slightly smaller */
@media (max-width: 768px) {
  header h1 { font-size: 1.25rem !important; } /* ~20px */
}
