/*
Theme Name: Nova & Root
Theme URI: https://www.lightyellow-gull-647878.hostingersite.com
Author: Nova & Root
Author URI: https://www.lightyellow-gull-647878.hostingersite.com
Description: A trauma-informed consultancy and training practice theme - rooted in healing, equity, and transformation.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novaandroot
Tags: custom-background, custom-logo, threaded-comments, translation-ready, mobile-first, responsive
*/

/* ===================================
   CSS Reset & Variables
   =================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-color: #8ABEB2;
    --secondary-color: #EDB480;
    --accent-color: #B6D6CF;
    --light-color: #FFE4AD;
    --dark-color: #BAAF99;
    --white: #ffffff;
    --post-card-height: 380px;
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Lato', Helvetica, Arial, sans-serif;
    --text-color: #4a5568;
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }

/* ===================================
   Layout
   =================================== */
.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* ===================================
   Header
   =================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Accessible in-page quicklink (hidden visually, visible on keyboard focus) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    padding: 10px 14px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    z-index: 1100;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(44,62,80,0.25);
}
.skip-link:focus:not(:focus-visible) {
    /* keep it visible only when keyboard-focused in browsers that support focus-visible */
    outline: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

@media (max-width: 767px) {
    .header-container {
        padding: 15px 20px;
    }
}

.site-branding h1 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.site-branding .site-logo,
.site-branding .custom-logo {
    display: block;
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .site-branding .site-logo,
    .site-branding .custom-logo { max-height: 44px; }
}

.site-branding a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   Navigation
   =================================== */
.main-navigation ul { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
}

.main-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
}

.main-navigation a:hover { 
    color: var(--secondary-color); 
}

.main-navigation .nav-cta {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 50%, var(--accent-color) 50%, var(--accent-color) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(138, 190, 178, 0.2), 0 0 4px rgba(138, 190, 178, 0.1) inset;
    position: relative;
    overflow: hidden;
    padding: 6px 18px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    line-height: 1;
}

.main-navigation .nav-cta:hover {
    background: linear-gradient(180deg, #6fa29d 0%, #6fa29d 50%, var(--accent-color) 50%, var(--accent-color) 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 30px rgba(138, 190, 178, 0.3), 0 0 4px rgba(138, 190, 178, 0.15) inset;
}

/* ===================================
   Hamburger Menu
   =================================== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    padding: 12px;
    background: none;
    border: none;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide the original hamburger when it becomes the active X so it doesn't show under the overlay close button */
.hamburger-menu.active {
    opacity: 0;
    pointer-events: none;
}

/* Visible overlay close button (large, accessible) */
.mobile-overlay-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    z-index: 1110;
}

.mobile-overlay-close:focus {
    outline: 3px solid rgba(138, 190, 178, 0.25);
    border-radius: 6px;
}

/* ===================================
   Mobile Menu Overlay
   =================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #fef9f3 0%, #f8f5f0 50%, #f0ebe6 100%);
    z-index: 1100;
    padding: 90px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.mobile-menu-overlay.active {
    display: block;
    transform: translateX(0);
}

.menu-leaf {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
    filter: drop-shadow(0 4px 12px rgba(138, 190, 178, 0.15));
}

.menu-leaf svg {
    animation: sway 8s ease-in-out infinite;
}

.menu-leaf-1 { top: 8%; left: 3%; width: 52px; animation-delay: 0s; animation-duration: 7s; }
.menu-leaf-2 { top: 12%; right: 5%; width: 48px; animation-delay: 1.5s; animation-duration: 8s; animation-direction: reverse; }
.menu-leaf-3 { top: 45%; left: 8%; width: 54px; animation-delay: 3s; animation-duration: 9s; }
.menu-leaf-4 { top: 50%; right: 6%; width: 50px; animation-delay: 4.5s; animation-duration: 7s; animation-direction: reverse; }
.menu-leaf-5 { top: 70%; left: 15%; width: 49px; animation-delay: 2s; animation-duration: 10s; }
.menu-leaf-6 { bottom: 8%; right: 8%; width: 51px; animation-delay: 5.5s; animation-duration: 8s; }
.menu-leaf-7 { top: 30%; left: 20%; width: 47px; animation-delay: 1s; animation-duration: 9s; animation-direction: reverse; }
.menu-leaf-8 { top: 65%; right: 18%; width: 52px; animation-delay: 2.5s; animation-duration: 8s; }
.menu-leaf-9 { bottom: 25%; left: 10%; width: 49px; animation-delay: 0.5s; animation-duration: 7.5s; animation-direction: reverse; }
.menu-leaf-10 { bottom: 15%; right: 20%; width: 50px; animation-delay: 3.5s; animation-duration: 9.5s; }

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-overlay ul {
    list-style: none;
    text-align: center;
}

/* Ensure menu content is above decorative leaves and accepts pointer events */
.mobile-menu-overlay ul,
.mobile-menu-overlay ul li,
.mobile-menu-overlay ul a {
    position: relative;
    z-index: 1105;
    pointer-events: auto;
}

.mobile-menu-overlay ul li {
    margin-bottom: 20px;
}

.mobile-menu-overlay a {
    color: var(--primary-color);
    font-size: 1.65rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    padding: 12px 0;
}

.mobile-menu-overlay a:hover {
    color: var(--secondary-color);
}

.mobile-menu-overlay .nav-cta {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 50%, var(--accent-color) 50%, var(--accent-color) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(138, 190, 178, 0.2), 0 0 4px rgba(138, 190, 178, 0.1) inset;
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 8px 22px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
}

.mobile-menu-overlay .nav-cta:hover {
    background: linear-gradient(180deg, #6fa29d 0%, #6fa29d 50%, var(--accent-color) 50%, var(--accent-color) 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 30px rgba(138, 190, 178, 0.3), 0 0 4px rgba(138, 190, 178, 0.15) inset;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #fef9f3 0%, #f8f5f0 50%, #f0ebe6 100%);
    padding: clamp(60px, 12vw, 140px) 0 clamp(50px, 10vw, 120px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-leaf {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
    filter: drop-shadow(0 4px 12px rgba(138, 190, 178, 0.15));
}

.hero-leaf svg {
    animation: sway 8s ease-in-out infinite;
}

.hero-leaf-1 { top: 10%; left: 5%; width: 60px; }
.hero-leaf-1 svg { animation-delay: 0s; animation-duration: 7s; }

.hero-leaf-2 { top: 20%; right: 8%; width: 50px; }
.hero-leaf-2 svg { animation-delay: 1.5s; animation-duration: 8s; animation-direction: reverse; }

.hero-leaf-3 { bottom: 25%; left: 12%; width: 55px; }
.hero-leaf-3 svg { animation-delay: 3s; animation-duration: 9s; }

.hero-leaf-4 { bottom: 35%; right: 6%; width: 45px; }
.hero-leaf-4 svg { animation-delay: 4.5s; animation-duration: 7s; animation-direction: reverse; }

.hero-leaf-5 { top: 40%; left: 3%; width: 40px; }
.hero-leaf-5 svg { animation-delay: 2s; animation-duration: 10s; }

.hero-leaf-6 { bottom: 15%; right: 20%; width: 48px; }
.hero-leaf-6 svg { animation-delay: 5.5s; animation-duration: 8s; }

@keyframes sway {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(8deg) scale(1.05); }
    50% { transform: translateY(-8px) rotate(-5deg) scale(1); }
    75% { transform: translateY(-25px) rotate(5deg) scale(1.02); }
}

.hero-content h1 {
    margin-bottom: 20px;
    line-height: 1.1;
    padding: 0 10px;
}

/* Enforce correct fonts for hero content to avoid homepage mismatch */
.hero-content {
    font-family: var(--body-font);
}
.hero-content h1 {
    font-family: var(--heading-font);
}
.hero-content p {
    font-family: var(--body-font);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin: 0 auto 30px;
    max-width: 800px;
    color: var(--dark-color);
    font-style: italic;
    line-height: 1.6;
    padding: 0 15px;
}

/* ===================================
   Section Titles
   =================================== */
.section-title { 
    text-align: center; 
    margin-bottom: clamp(40px, 8vw, 80px); 
}

.section-title h2 { 
    color: var(--primary-color); 
    margin-bottom: 15px; 
    padding: 0 10px;
}

.section-title .subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--secondary-color);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Make the Values section title white */
.values-section .section-title h2 {
    color: #ffffff !important;
}

.values-section .section-title h2 .highlight {
    color: #ffffff !important;
    background: none !important;
}

/* Make only the About section title use the primary color (solid blue) */
.about-section .section-title h2 {
    color: var(--primary-color) !important;
}

.about-section .section-title h2 .highlight {
    color: var(--primary-color) !important;
    background: none !important;
}

/* ===================================
   Services Section
   =================================== */
.services-section { 
    padding: clamp(50px, 10vw, 100px) 0; 
    background-color: var(--white); 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(193, 123, 58, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(193, 123, 58, 0.15);
}

.service-card h3 { 
    color: var(--primary-color); 
    margin-bottom: 15px; 
    font-size: clamp(1rem, 2.5vw, 1.4rem); 
}

.service-card p { 
    color: var(--dark-color); 
    line-height: 1.7; 
    font-size: 0.95rem;
}

/* ===================================
   About Section
   =================================== */
.about-section { 
    padding: clamp(50px, 10vw, 100px) 0; 
    background: linear-gradient(135deg, #fef9f3 0%, #fff5eb 100%); 
}

.about-content { 
    display: flex; 
    flex-direction: column;
    gap: 40px; 
    align-items: start; 
}

.about-content.with-bg-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-content.with-bg-image .about-text {
    max-width: 700px;
    margin: 0;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-illustration {
    flex: 0 0 340px;
    height: auto;
    min-height: auto;
    margin-left: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.about-illustration img.about-img {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    z-index: 3;
    max-height: 320px;
    max-width: 270px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

/* About illustration decorative elements */
.about-illustration .leaf {
    position: absolute;
    left: 60px;
    top: 80px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 60% 40%, var(--accent-color) 60%, var(--primary-color) 100%);
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 60%;
    opacity: 0.7;
    transform: rotate(-18deg);
}

.about-illustration .leaf2 {
    position: absolute;
    left: 180px;
    top: 120px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 40% 60%, var(--secondary-color) 60%, var(--accent-color) 100%);
    border-radius: 50% 60% 50% 60% / 60% 50% 60% 50%;
    opacity: 0.5;
    transform: rotate(22deg);
}

.about-illustration .leaf3 {
    position: absolute;
    left: 120px;
    top: 200px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 60%, var(--light-color) 100%);
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 60%;
    opacity: 0.4;
    transform: rotate(-10deg);
}

.about-illustration .burst {
    position: absolute;
    left: 140px;
    top: 60px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--light-color) 60%, var(--secondary-color) 100%);
    opacity: 0.5;
}

.about-illustration .ray {
    position: absolute;
    width: 6px;
    height: 54px;
    background: var(--secondary-color);
    border-radius: 3px;
    opacity: 0.25;
}

.about-illustration .ray.ray1 { left: 188px; top: 30px; transform: rotate(15deg); }
.about-illustration .ray.ray2 { left: 160px; top: 10px; transform: rotate(-10deg); }
.about-illustration .ray.ray3 { left: 220px; top: 65px; transform: rotate(35deg); }
.about-illustration .ray.ray4 { left: 110px; top: 120px; transform: rotate(-25deg); }
.about-illustration .ray.ray5 { left: 250px; top: 180px; transform: rotate(60deg); }

@media (min-width: 900px) {
    .about-content.with-bg-image {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .about-content.with-bg-image .about-text {
        flex: 1 1 60%;
        max-width: 720px;
    }
    .about-illustration {
        flex: 0 0 340px;
        margin-left: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        transform: translateY(28px);
    }
    .about-illustration img.about-img {
        margin-left: 0;
        width: 270px;
        max-width: 100%;
        height: auto;
        display: block;
        align-self: center;
    }
}

@media (max-width: 900px) {
    .about-content.with-bg-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-illustration {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        min-height: auto;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    .about-illustration img.about-img {
        position: static !important;
        display: block;
        margin: 0 auto !important;
        width: min(220px, 60vw) !important;
        max-width: 60vw !important;
        height: auto !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        object-fit: contain !important;
    }
    .about-header h2 { text-align: center !important; }
    .about-body p {
        text-align: left !important;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .about-illustration {
        gap: 6px;
        padding: 8px 0 20px 0;
        min-height: 220px;
    }
    /* Simplified decorative elements visible on small screens */
    .about-illustration .leaf {
        display: block;
        left: 10px;
        top: 10px;
        width: 90px;
        height: 90px;
        opacity: 0.25;
        transform: rotate(-12deg);
    }
    .about-illustration .leaf2 {
        display: block;
        left: auto;
        right: 40px;
        top: 20px;
        width: 50px;
        height: 50px;
        opacity: 0.18;
        transform: rotate(18deg);
    }
    .about-illustration .leaf3 {
        display: block;
        left: 30%;
        top: 140px;
        width: 40px;
        height: 40px;
        opacity: 0.15;
        transform: rotate(-8deg);
    }
    .about-illustration .burst {
        display: block;
        left: 50%;
        top: 30px;
        width: 60px;
        height: 60px;
        opacity: 0.18;
    }
    .about-illustration .ray { display: none; }
}

.about-header h2 { 
    font-size: clamp(1.5rem, 4vw, 3rem); 
    color: var(--primary-color); 
    margin-bottom: 20px;
    line-height: 1.05;
}

/* Ensure inline highlighted words in the About heading are primary blue */
.about-header h2 .highlight {
    color: var(--primary-color) !important;
    background: none !important;
}

.about-body p { 
    margin-bottom: 8px; 
    color: var(--dark-color); 
    font-size: 0.95rem;
    line-height: 1.4;
}

.about-body strong { 
    color: var(--secondary-color); 
    font-weight: 700; 
}

.highlight {
    display: inline;
    vertical-align: baseline;
    background: none;
    color: var(--secondary-color);
    padding: 0 2px;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1;
    transform: none;
}

.about-body p .highlight {
    display: inline;
    vertical-align: -0.02em;
    padding-left: 1px;
    padding-right: 1px;
    font-weight: 700;
    transform: none;
}

/* ===================================
   Team Section
   =================================== */
.team-section { 
    padding: clamp(50px, 10vw, 100px) 0; 
    background-color: var(--white); 
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.values-anchor {
    scroll-margin-top: 100px;
}
.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); 
}

.team-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    object-fit: cover;
    object-position: center var(--focus-y, 28%);
    display: block;
}

@media (max-width: 600px) {
    .team-image { height: 200px; object-position: center var(--focus-y-mobile, var(--focus-y, 28%)); }
}

.team-content { 
    padding: 25px; 
}

/* ===================================
   Blog Page - Professional Layout
   =================================== */

/* Blog Container */
.blog-page {
    padding: 0;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

@media (max-width: 767px) {
    .blog-container {
        padding: 30px 20px 60px;
    }
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: var(--primary-color);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.blog-subtitle {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

/* Featured Post Section */
.featured-post {
    margin-bottom: 60px;
    position: relative;
}

.featured-label {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.featured-thumbnail {
    position: relative;
    overflow: hidden;
}

.featured-thumbnail img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-thumbnail a:hover img {
    transform: scale(1.03);
}

.featured-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--secondary-color);
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #7b8791;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.meta-separator {
    color: #ccc;
}

.featured-excerpt {
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-excerpt p {
    margin: 0;
}

@media (max-width: 900px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-thumbnail img {
        min-height: 250px;
        max-height: 300px;
    }
    
    .featured-content {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .featured-content {
        padding: 24px;
    }
    
    .featured-thumbnail img {
        min-height: 200px;
    }
}

/* Recent Posts Section */
.recent-posts {
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 30px;
}

/* Add spacing between consecutive blog sections (e.g. Latest -> Read More) */
.blog-section + .blog-section {
    margin-top: 48px;
}

@media (max-width: 600px) {
    .blog-section + .blog-section {
        margin-top: 32px;
    }
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1000px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Make the thumbnail fill the full card width and clip to the card's top radius */
.card-thumbnail {
    padding: 0;
    margin: 0;
    background: transparent;
}

.card-thumbnail img {
    display: block;
    height: clamp(200px, 18vw, 260px);
}

.card-thumbnail a:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--secondary-color);
}

.card-meta {
    color: #7b8791;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.card-excerpt {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.read-more-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.read-more-link:hover {
    color: var(--primary-color);
}

/* Blog Actions */
.blog-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.no-posts h2 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.no-posts p {
    color: var(--dark-color);
}

/* ===================================
   General Blog Styles (for other templates)
   =================================== */
.page-header {
    text-align: center;
    margin: 40px 0;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.content-wrapper {
    display: block;
    padding-bottom: 60px;
    max-width: 800px;
    margin: 0 auto;
}

/* Legacy article styles for other templates */
article.post,
article.post-type-post {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.entry-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

@media (max-width: 420px) {
    .entry-thumbnail img { 
        height: 160px; 
    }
}

.entry-title { 
    margin: 16px 0 10px; 
}

.entry-title a { 
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--secondary-color);
}

.entry-meta { 
    color: #7b8791; 
    font-size: 0.9rem; 
    margin-bottom: 12px; 
}

.entry-content { 
    color: var(--dark-color); 
    line-height: 1.7; 
    margin-bottom: 16px; 
}

/* ===================================
   Single Post Page
   =================================== */
.single-post {
    padding: 0;
}

.single-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

@media (max-width: 767px) {
    .single-container {
        padding: 30px 20px 60px;
    }
}

.single-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.single-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #7b8791;
    font-size: 0.95rem;
}

.single-thumbnail {
    margin-bottom: 30px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.single-content {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.single-content p {
    margin-bottom: 1.5em;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--primary-color);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.single-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.single-content a:hover {
    color: var(--primary-color);
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.single-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--dark-color);
}

.single-content ul,
.single-content ol {
    margin: 1em 0 1.5em 1.5em;
}

.single-content li {
    margin-bottom: 0.5em;
}

.single-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-categories,
.post-tags {
    margin-bottom: 12px;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.post-categories a,
.post-tags a {
    color: var(--secondary-color);
    text-decoration: none;
}

.post-categories a:hover,
.post-tags a:hover {
    color: var(--primary-color);
}

.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
    display: block;
}

.post-navigation .nav-subtitle {
    display: block;
    color: #7b8791;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.post-navigation .nav-title {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-navigation a:hover .nav-title {
    color: var(--secondary-color);
}

@media (max-width: 600px) {
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
}

/* ===================================
   Generic Page Styles
   =================================== */
.page-content {
    padding: 0;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

@media (max-width: 767px) {
    .page-container {
        padding: 30px 20px 60px;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1,
.page-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0;
}

.page-body {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-body p {
    margin-bottom: 1.5em;
}

.page-body h2,
.page-body h3,
.page-body h4 {
    color: var(--primary-color);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.page-body a {
    color: var(--secondary-color);
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===================================
   Privacy Policy Page Styles
   =================================== */
.privacy-page .page-header .last-updated {
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.8;
}

.policy-content section {
    margin-bottom: 2.5em;
}

.policy-content h2 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5em;
}

.policy-content h3 {
    font-size: 1.15rem;
}

.policy-content ul {
    margin: 1em 0 1.5em 1.5em;
}

.policy-content ul li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.policy-content .contact-info {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.policy-content .contact-info li {
    margin-bottom: 0.8em;
}

/* Ensure footer shows on all blog templates */
.page-template-page-blog .site-footer,
.page-template-page-all-posts .site-footer {
    display: block;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-wrapper .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    padding: 0 20px;
}

.team-content h3 { 
    color: var(--primary-color); 
    margin-bottom: 8px; 
    font-size: clamp(1.1rem, 3vw, 1.6rem); 
}

.team-content .role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.team-content p { 
    color: var(--dark-color); 
    line-height: 1.6; 
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.team-content .contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.team-content .contact a {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 15px;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ===================================
   Values Section
   =================================== */
.values-section {
    position: relative;
    padding: clamp(50px, 10vw, 100px) 0;
    background-image:
        radial-gradient(ellipse at center, rgba(15,20,18,0.00) 40%, rgba(10,12,14,0.12) 100%),
        linear-gradient(135deg, rgba(237,180,128,0.06) 0%, rgba(0,0,0,0.04) 60%),
        linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    background-blend-mode: normal, overlay, normal;
    color: var(--white);
    overflow: visible;
}

.values-section h2 { color: var(--white); }
.values-section .subtitle { color: var(--secondary-color); }

.values-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform-style: preserve-3d;
}

.values-section > .container { position: relative; z-index: 2; }

.values-decor .leaf,
.values-decor .leaf2,
.values-decor .leaf3,
.values-decor .burst,
.values-decor .ray { position: absolute; border-radius: 50%; pointer-events: none; }

.values-decor .leaf {
    left: 6%; top: 12%; width: 140px; height: 140px;
    background: radial-gradient(circle at 60% 40%, var(--accent-color) 60%, var(--primary-color) 100%);
    opacity: 0.12; transform: rotate(-18deg); filter: blur(4px);
    animation: floatA 8s ease-in-out infinite;
}

.values-decor .leaf2 {
    right: 8%; top: 22%; width: 100px; height: 100px;
    background: radial-gradient(circle at 40% 60%, var(--secondary-color) 60%, var(--accent-color) 100%);
    opacity: 0.10; transform: rotate(22deg); filter: blur(3px);
    animation: floatB 9.5s ease-in-out infinite;
}

.values-decor .leaf3 {
    left: 18%; bottom: 10%; width: 80px; height: 80px;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 60%, var(--light-color) 100%);
    opacity: 0.09; transform: rotate(-10deg); filter: blur(3px);
    animation: floatA 10.5s ease-in-out infinite;
}

.values-decor .burst {
    right: 20%; bottom: 18%; width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(255,238,205,0.65) 40%, rgba(237,180,128,0.08) 100%);
    opacity: 0.07; filter: blur(6px);
    animation: floatB 11s ease-in-out infinite;
}

.values-decor .ray {
    width: 6px; height: 48px; background: rgba(237,180,128,0.6); border-radius: 3px; opacity: 0.10; filter: blur(1px);
}
.values-decor .ray.r1 { left: 30%; top: 8%; transform: rotate(12deg); }
.values-decor .ray.r2 { left: 42%; top: 4%; transform: rotate(-8deg); }
.values-decor .ray.r3 { right: 28%; top: 14%; transform: rotate(28deg); }

@keyframes floatA {
    0% { transform: translateY(0) rotate(-18deg); }
    50% { transform: translateY(-8px) rotate(-16deg); }
    100% { transform: translateY(0) rotate(-18deg); }
}

@keyframes floatB {
    0% { transform: translateY(0) rotate(18deg); }
    50% { transform: translateY(-6px) rotate(20deg); }
    100% { transform: translateY(0) rotate(18deg); }
}

@media (max-width: 900px) {
    .values-decor .leaf { left: 4%; top: 6%; width: 100px; height: 100px; opacity: 0.14; }
    .values-decor .leaf2 { right: 6%; top: 14%; width: 80px; height: 80px; opacity: 0.12; }
    .values-decor .leaf3 { left: 14%; bottom: 4%; width: 60px; height: 60px; opacity: 0.11; }
    .values-decor .burst { right: 18%; bottom: 8%; width: 80px; height: 80px; opacity: 0.05; }
    .values-decor .ray { display: none; }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card { 
    text-align: center; 
    padding: 25px; 
}

.value-card h3 { 
    color: var(--white); 
    margin-bottom: 12px; 
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    position: relative;
    display: inline-block;
    padding: 0 6px;
    z-index: 1;
    font-weight: 700;
}

.value-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.06em;
    height: 0.48em;
    width: 100%;
    background: linear-gradient(90deg, rgba(237,180,128,0.55) 0%, rgba(237,180,128,0.55) 100%);
    border-radius: 4px;
    z-index: -1;
    transform-origin: left center;
}

.value-card p { 
    color: rgba(255, 255, 255, 0.85); 
    font-size: 0.9rem; 
    line-height: 1.6;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section { 
    padding: clamp(60px, 12vw, 120px) 0; 
    text-align: center; 
    background: linear-gradient(135deg, #fef9f3 0%, #f8f5f0 50%, #f0ebe6 100%); 
}

.contact-content h2 { 
    font-size: clamp(1.5rem, 4vw, 3rem); 
    color: var(--primary-color); 
    margin-bottom: 15px; 
}

.contact-content p { 
    font-size: clamp(1rem, 2vw, 1.2rem); 
    margin: 0 auto 30px; 
    max-width: 700px; 
    color: var(--dark-color); 
    font-style: italic; 
    line-height: 1.6;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-item a { 
    color: var(--primary-color); 
    font-weight: 600; 
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-decoration: none;
}

/* Contact form styles */
.contact-form {
    margin: 18px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    width: 100%;
    font-family: var(--body-font);
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
}

.contact-form .row { display: flex; gap: 12px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 0.95rem;
    resize: none;
    background: var(--white);
    color: var(--dark-color);
    font-family: var(--body-font);
}

.contact-form textarea { min-height: 120px; }

.contact-form .btn { width: auto; padding: 10px 22px; }

.form-note { font-size: 0.85rem; color: var(--text-color); }

.form-message { font-size: 0.95rem; padding: 10px 14px; border-radius: 8px; display: none; }
.form-message.success { background: rgba(138,190,178,0.12); color: #1b5e4a; display: none; }
.form-message.error { background: rgba(193,83,83,0.08); color: #8a2c2c; display: none; }

.hp-field { position: absolute !important; left: -99999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden; }

@media (max-width: 900px) {
    .contact-form .row { flex-direction: column; }
    .contact-form textarea { min-height: 100px; }
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0;
    position: relative;
    z-index: 20;
    width: 100%;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px 32px;
}

@media (max-width: 767px) {
    .footer-inner {
        padding: 50px 20px 30px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 28px;
    align-items: start;
}

@media (max-width: 880px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }
    .footer-widget:nth-child(2) { padding-left: 0 !important; }
    .footer-widget:first-child p { margin-right: 0 !important; max-width: 100% !important; }
    .footer-content .footer-widget {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 8px !important;
    }
    .footer-widget h3 {
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 12px !important;
    }
}

.footer-widget h3 { 
    color: #ffffff;
    margin-bottom: 14px; 
    font-size: 1.15rem;
}

.footer-widget p { 
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-widget:first-child p {
    margin-right: 12px;
    max-width: 320px;
}

.footer-widget:nth-child(2) {
    padding-left: 0;
}

.footer-widget a.social-link { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-widget a.social-link .social-icon { width: 18px; height: 18px; fill: currentColor; opacity: 0.95; }

.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 10px; }

/* Two-column layout for footer quick links (more compact spacing) */
.footer-widget .quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 4px;
    padding: 0;
}
.footer-widget .quick-links li { margin-bottom: 2px; }
.footer-widget .quick-links a { padding: 1px 0; font-size: 0.95rem; }

@media (max-width: 880px) {
    .footer-widget .quick-links {
        grid-template-columns: 1fr;
    }
}


.footer-widget a { 
    color: rgba(255, 255, 255, 0.85); 
    font-weight: 400; 
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    text-decoration: none;
}

.footer-widget a:hover { 
    color: var(--secondary-color); 
    padding-left: 10px; 
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom p { 
    font-size: 0.85rem; 
    margin: 0;
    line-height: 1.5;
}

.footer-credit {
    margin-top: 6px !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 0.02em;
}

.footer-bottom .footer-credit a,
.footer-bottom .footer-credit a:visited,
.footer-bottom .footer-credit a:link,
.footer-credit .lyfepixels-link {
    font-family: 'DOTO', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    letter-spacing: 0.08em !important;
    transition: color 0.3s ease !important;
    display: inline !important;
    padding: 0 !important;
    vertical-align: baseline;
    background: none !important;
    border: none !important;
}

.footer-bottom .footer-credit a:hover,
.footer-credit .lyfepixels-link:hover {
    color: var(--secondary-color) !important;
    padding-left: 0 !important;
    text-decoration: none !important;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 767px) {
    .hamburger-menu {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-item {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 18px 8px 28px;
    }

    .footer-content .footer-widget {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-widget:first-child p {
        margin: 0 auto 14px;
        max-width: 420px;
        padding: 0 12px;
        line-height: 1.6;
    }

    .footer-widget h3 {
        margin: 0 0 14px;
        text-align: center;
        width: 100%;
    }

    .footer-widget p { margin-bottom: 12px; }
    .footer-widget ul li { margin-bottom: 8px; }

    .footer-widget a.social-link .social-icon { width: 20px; height: 20px; }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .container { padding: 0 15px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .section-title h2 { font-size: 1.5rem; }
    .service-card, .team-card { padding: 25px 20px; }
    .team-image { height: 200px; }
    .team-content, .service-card { padding: 20px; }
}

@media (hover: none) and (pointer: coarse) {
    .btn:hover { transform: none; }
    .service-card:hover, .team-card:hover { transform: none; }
}

/* Custom Logo Link */
.custom-logo-link {
    display: block;
}

.custom-logo-link img {
    max-height: 56px;
    width: auto;
}
