/*!
Theme Name: age-consulting
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: age-consulting
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

age-consulting is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/



/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors */
    --primary-orange: #f28332;
    --primary-orange-dark: #e03d00;
    
    /* Neutral Colors */
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --light-bg: #f8f9fb;
    --white: #ffffff;
    --border-light: #e8e8e8;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:focus {
	outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}
img{
	display: block;
	max-width: 100%;
	height: auto;
}

/* ==================== TYPOGRAPHY ==================== */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-text);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
    color: var(--dark-text);
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--dark-text);
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--light-text);
    line-height: 1.8;
}
p:last-child {
	margin-bottom: 0;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
}

a:hover {
    color: var(--primary-orange-dark);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==================== BUTTONS ==================== */
.cta-button {
    display: inline-block;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-family);
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
	height: 50px;
	transition: all 0.3s;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
}

.cta-button.primary:hover {
    opacity: 0.9;
}

.cta-button.primary-light {
    background: var(--white);
    color: var(--primary-orange);
	border: 1px solid var(--white);
}

.cta-button.primary-light:hover {
    background: transparent;
	color: var(--white);
}
.header .cta-button{
	height: auto;
}

/* ==================== HEADER ==================== */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.logo-text {
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-text);
    padding: var(--spacing-xs) 0;
}

.nav-menu a:hover,
.nav-menu .current_page_item a {
    color: var(--primary-orange);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}
.header-action,
.header-right{
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    background: linear-gradient(135deg, var(--dark-text), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-image-placeholder {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
}

/* ==================== VALUE PROPOSITION ==================== */
.value-prop {
    background-color: var(--light-bg);
    padding: var(--spacing-2xl) 0;
}

.value-prop h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: 22px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.value-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==================== FEATURED SERVICES ==================== */
.featured-services {
    padding: var(--spacing-2xl) 0;
}

.featured-services h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-box {
    background: var(--white);
    padding: 22px;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    text-align: center;
}

.service-box:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.service-box h3 {
    margin-bottom: var(--spacing-sm);
}

.service-box p {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.service-link {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

.service-link:hover {
    color: var(--primary-orange-dark);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    margin: var(--spacing-2xl) 0 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}
.page-header p:last-child{
	margin-bottom: 0;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: var(--spacing-2xl) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-layout-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-section.alternate {
    background-color: var(--light-bg);
}

.about-image {
    border-radius: 40px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    margin: 24px 0;
}

.about-list li {
    /* padding: var(--spacing-sm) 0; */
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 6px;
}
.about-list li:last-child{
    margin-bottom: 0;
}

.about-list.numbered {
    list-style-type: decimal;
    padding-left: var(--spacing-lg);
}

.about-list.numbered li {
    margin-bottom: var(--spacing-md);
}

/* ==================== TEAM VALUES ==================== */
.team-values {
    background-color: var(--light-bg);
    padding: var(--spacing-2xl) 0;
}

.team-values h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.value-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.value-item h3 {
    margin-bottom: var(--spacing-sm);
}

.value-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: var(--spacing-2xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-detail-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: var(--spacing-lg);
}

.service-detail-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    opacity: 0.2;
}

.service-icon-large {
    font-size: 2.5rem;
}

.service-detail-card h3 {
    margin-bottom: var(--spacing-md);
}

.service-detail-card p {
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.service-features li {
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-lg);
    color: var(--light-text);
    position: relative;
    font-size: 0.95rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.btn-learn-more {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

.btn-learn-more:hover {
    color: var(--primary-orange-dark);
}

/* ==================== SERVICE BREAKDOWN ==================== */
.service-breakdown {
    background-color: var(--light-bg);
    padding: var(--spacing-2xl) 0;
    border-radius: 15px;
    margin: var(--spacing-2xl) 0 0;
}

.service-breakdown h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.breakdown-item {
    text-align: center;
    padding: 22px;
}

.breakdown-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.breakdown-item h4 {
    margin-bottom: var(--spacing-sm);
}

.breakdown-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==================== SERVICE DETAIL PAGE ==================== */
.service-hero {
    padding: var(--spacing-2xl) 0;
}

.service-hero-content h1 {
    margin-bottom: var(--spacing-md);
}

.service-hero-content p {
    font-size: 1.1rem;
    color: var(--light-text);
}

.service-hero-visual {
    border-radius: 15px;
    overflow: hidden;
}

.service-hero-visual img {
    width: 100%;
    height: auto;
}

.service-detail-content {
    padding: var(--spacing-2xl) 0;
	background-color: var(--light-bg);
}

.service-detail-content h2 {
    margin-bottom: var(--spacing-lg);
}

.detail-sections {
    margin: var(--spacing-2xl) 0;
}

.detail-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--border-light);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    margin-bottom: var(--spacing-md);
}

.detailed-list {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.detailed-list li {
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-lg);
    color: var(--light-text);
    position: relative;
}

.detailed-list ol li {
    padding-left: 0;
    margin-bottom: var(--spacing-sm);
    margin-left: var(--spacing-lg);
}

.detailed-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
    padding: var(--spacing-2xl);
    border-radius: 10px;
    text-align: center;
}

.service-cta h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.service-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: var(--spacing-2xl) 0;
}

/* .contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-2xl);
} */
.contact-form-wrapper{
    max-width: 600px;
    margin-inline: auto;
}

.contact-form-wrapper h2 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.contact-form {
    background: var(--light-bg);
    padding: var(--spacing-lg);
    border-radius: 10px;
}
.contact-form .cta-button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wpcf7-spinner{
    margin: 0;
}
.contact-form .wpcf7 form .wpcf7-response-output{
    margin: 10px 0 0;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group br{
    display: none;
}
.form-group .wpcf7-not-valid-tip{
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 14px;
    line-height: 1;
}

.form-group label {
    line-height: 1;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    background-color: var(--white);
    color: var(--dark-text);
    display: block;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.form-group textarea{
	resize: vertical;
}
.form-group select{
    appearance: none;
    background-image: url('assets/images/icon-arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 36px;
    background-size: 20px 20px;
    cursor: pointer;
}

.contact-form button {
    width: 100%;
}

.form-message {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

.contact-info h2 {
    margin-bottom: var(--spacing-lg);
}

.info-block {
    margin-bottom: var(--spacing-lg);
}

.info-block h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.info-block p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.info-block a {
    font-weight: 600;
}

.contact-social {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.social-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-orange);
}

.social-link:hover {
    color: var(--primary-orange-dark);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--dark-text), #2a2a2a);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    /* margin-top: var(--spacing-2xl); */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover,
.footer-section .current_page_item a {
    color: var(--primary-orange);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.footer-bottom p{
	margin-bottom: 0;
}
/* ==================== RESPONSIVE DESIGN ==================== */