/*
Theme Name: HM Marketing Studio
Theme URI: https://hmmarketingstudio.site
Author: Hadia Maryam
Author URI: https://hmmarketingstudio.site
Description: Green-branded marketing studio theme with hero stats image, blog, about & contact pages.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hm-marketing-studio
Tags: marketing, business, green, seo, blog
*/

/* ── RESET & VARIABLES ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --green:       #2E7D32;
  --green-dark:  #1B5E20;
  --green-mid:   #4CAF50;
  --green-light: #C8E6C9;
  --green-pale:  #F0FAF2;
  --green-accent:#81C784;
  --text:        #1A1A1A;
  --muted:       #555;
  --border:      #C8E6C9;
  --white:       #ffffff;
  --serif:       'Playfair Display',Georgia,serif;
  --sans:        'DM Sans',Arial,sans-serif;
}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);color:var(--text);background:var(--white);line-height:1.6;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;display:block;}

/* ── NAV ── */
.hm-nav{position:sticky;top:0;z-index:100;display:flex;justify-content:space-between;align-items:center;padding:1rem 2.5rem;background:rgba(255,255,255,0.97);border-bottom:1px solid var(--border);backdrop-filter:blur(8px);}
.hm-nav-brand{display:flex;flex-direction:column;}
.hm-nav-logo{font-family:var(--serif);font-size:18px;font-weight:900;color:var(--text);}
.hm-nav-logo span{color:var(--green);}
.hm-nav-tagline{font-size:10px;color:var(--muted);font-style:italic;margin-top:1px;}
.hm-nav-links{display:flex;gap:1.75rem;align-items:center;}
.hm-nav-links a{font-size:13px;font-weight:500;color:var(--muted);transition:color 0.2s;}
.hm-nav-links a:hover{color:var(--green);}
.hm-nav-cta{background:var(--green)!important;color:#fff!important;padding:9px 20px;border-radius:4px;font-size:13px!important;font-weight:700!important;transition:background 0.2s;}
.hm-nav-cta:hover{background:var(--green-dark)!important;color:#fff!important;}

/* ── HERO ── */
.hm-hero{background:var(--green-pale);padding:0;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;min-height:560px;align-items:stretch;}
.hm-hero-content{padding:5rem 3rem 4rem 3rem;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2;}
.hm-hero-content::before{content:'';position:absolute;right:-40px;top:-60px;width:280px;height:280px;border-radius:50%;background:var(--green-light);opacity:0.4;pointer-events:none;z-index:0;}
.hm-hero-inner{position:relative;z-index:1;}
.hm-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--green);margin-bottom:1.25rem;}
.hm-eyebrow::before{content:'';display:inline-block;width:20px;height:2px;background:var(--green);}
.hm-hero h1{font-family:var(--serif);font-size:46px;font-weight:900;line-height:1.1;letter-spacing:-1px;margin-bottom:1.25rem;}
.hm-hero h1 em{font-style:normal;color:var(--green);}
.hm-hero p{font-size:15px;color:var(--muted);line-height:1.75;max-width:440px;margin-bottom:2rem;}
.hm-hero-btns{display:flex;gap:14px;flex-wrap:wrap;}
.hm-btn-primary{background:var(--green);color:#fff;padding:13px 28px;border-radius:4px;font-size:14px;font-weight:700;display:inline-block;transition:background 0.2s,transform 0.15s;}
.hm-btn-primary:hover{background:var(--green-dark);color:#fff;transform:translateY(-1px);}
.hm-btn-outline{background:transparent;color:var(--green);border:1.5px solid var(--green);padding:12px 26px;border-radius:4px;font-size:14px;font-weight:700;display:inline-block;transition:background 0.2s;}
.hm-btn-outline:hover{background:var(--green-light);}

/* ── HERO IMAGE PANEL ── */
.hm-hero-image-panel{position:relative;overflow:hidden;min-height:480px;}
.hm-hero-image-panel img{width:100%;height:100%;object-fit:cover;object-position:center top;}
.hm-hero-image-panel .hm-hero-img-overlay{position:absolute;inset:0;background:linear-gradient(to right,var(--green-pale) 0%,transparent 30%);}

/* ── HERO BADGES (stats overlay on image) ── */
.hm-hero-badges{position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:3;}
.hm-badge{background:rgba(27,94,32,0.92);color:#fff;border-radius:10px;padding:14px 18px;text-align:right;min-width:140px;backdrop-filter:blur(4px);}
.hm-badge-label{font-size:11px;opacity:0.85;margin-bottom:2px;}
.hm-badge-num{font-family:var(--serif);font-size:28px;font-weight:900;color:#81C784;line-height:1;}

/* ── FEATURE PILLS ── */
.hm-feature-bar{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:1.25rem 2.5rem;display:flex;gap:2.5rem;flex-wrap:wrap;justify-content:center;align-items:center;}
.hm-feature-pill{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--text);}
.hm-feature-pill .fp-icon{width:36px;height:36px;border-radius:8px;background:var(--green-pale);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:16px;}

/* ── STATS BAR ── */
.hm-stats{display:grid;grid-template-columns:repeat(3,1fr);background:var(--green);}
.hm-stat{padding:1.75rem 1.5rem;text-align:center;border-right:1px solid rgba(255,255,255,0.2);}
.hm-stat:last-child{border-right:none;}
.hm-stat-num{font-family:var(--serif);font-size:36px;font-weight:900;color:#fff;margin-bottom:4px;}
.hm-stat-label{font-size:12px;color:rgba(255,255,255,0.85);font-weight:500;}

/* ── SECTIONS ── */
.hm-section{padding:4rem 2.5rem;}
.hm-section-label{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--green);margin-bottom:0.5rem;display:flex;align-items:center;gap:8px;}
.hm-section-label::before{content:'';display:inline-block;width:16px;height:2px;background:var(--green);}
.hm-section-title{font-family:var(--serif);font-size:32px;font-weight:900;margin-bottom:0.5rem;}
.hm-section-sub{font-size:15px;color:var(--muted);margin-bottom:2.5rem;max-width:500px;}

/* ── SERVICES ── */
.hm-services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;}
.hm-service-card{display:block;text-decoration:none;color:inherit;background:var(--green-pale);border:1px solid var(--border);border-radius:8px;padding:1.5rem 1.25rem;transition:border-color 0.2s,transform 0.2s;}
.hm-service-card:hover{border-color:var(--green);transform:translateY(-3px);}
.hm-svc-icon{width:42px;height:42px;border-radius:8px;background:var(--green-light);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;font-size:20px;}
.hm-service-card h3{font-size:14px;font-weight:700;margin-bottom:6px;}
.hm-service-card p{font-size:12px;color:var(--muted);line-height:1.65;}
.hm-svc-tag{display:inline-block;margin-top:10px;font-size:11px;color:var(--green);font-weight:700;}

/* ── PROCESS ── */
.hm-process-section{background:var(--green-pale);padding:4rem 2.5rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.hm-steps{display:flex;flex-direction:column;}
.hm-step{display:flex;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid var(--border);align-items:flex-start;}
.hm-step:last-child{border-bottom:none;}
.hm-step-num{font-family:var(--serif);font-size:13px;font-weight:700;color:var(--green);background:var(--green-light);min-width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;}
.hm-step-content h4{font-size:15px;font-weight:700;margin-bottom:4px;}
.hm-step-content p{font-size:13px;color:var(--muted);line-height:1.65;}

/* ── TESTIMONIAL ── */
.hm-testimonial-section{padding:4rem 2.5rem;}
.hm-testimonial{background:var(--green-pale);border-left:4px solid var(--green);border-radius:0 8px 8px 0;padding:2rem;max-width:640px;}
.hm-quote{font-family:var(--serif);font-size:17px;line-height:1.75;color:var(--text);margin-bottom:1.25rem;font-style:italic;}
.hm-quote-author{font-size:14px;font-weight:700;color:var(--green-dark);}
.hm-quote-role{font-size:12px;color:var(--muted);margin-top:2px;}

/* ── CTA ── */
.hm-cta-section{background:var(--green);padding:4rem 2.5rem;text-align:center;}
.hm-cta-section h2{font-family:var(--serif);font-size:36px;font-weight:900;color:#fff;margin-bottom:1rem;}
.hm-cta-section p{font-size:15px;color:rgba(255,255,255,0.9);margin-bottom:2rem;max-width:480px;margin-left:auto;margin-right:auto;line-height:1.75;}
.hm-cta-btn{background:#fff;color:var(--green);padding:14px 32px;border-radius:4px;font-size:15px;font-weight:700;display:inline-block;transition:background 0.2s,transform 0.15s;}
.hm-cta-btn:hover{background:var(--green-light);transform:translateY(-1px);}

/* ── BLOG ── */
.hm-blog-header{background:var(--green-pale);padding:3.5rem 2.5rem 2.5rem;border-bottom:1px solid var(--border);}
.hm-blog-header h1{font-family:var(--serif);font-size:40px;font-weight:900;}
.hm-blog-header p{color:var(--muted);margin-top:0.5rem;font-size:15px;}
.hm-blog-wrap{max-width:820px;margin:0 auto;padding:3rem 2.5rem;}
.hm-post-card{display:flex;flex-direction:column;gap:0.5rem;padding:2rem 0;border-bottom:1px solid var(--border);}
.hm-post-card:last-child{border-bottom:none;}
.hm-post-meta{font-size:12px;color:var(--muted);display:flex;gap:12px;align-items:center;}
.hm-post-meta .cat{background:var(--green-light);color:var(--green);padding:2px 10px;border-radius:20px;font-weight:700;font-size:11px;}
.hm-post-card h2{font-family:var(--serif);font-size:22px;font-weight:700;line-height:1.3;}
.hm-post-card h2 a{color:var(--text);transition:color 0.2s;}
.hm-post-card h2 a:hover{color:var(--green);}
.hm-post-card p{font-size:14px;color:var(--muted);line-height:1.75;max-width:640px;}
.hm-read-more{display:inline-block;margin-top:0.5rem;font-size:13px;font-weight:700;color:var(--green);}
.hm-read-more:hover{color:var(--green-dark);}

/* ── SINGLE POST ── */
.hm-single-header{background:var(--green-pale);padding:4rem 2.5rem 3rem;border-bottom:1px solid var(--border);}
.hm-single-header .hm-post-meta{margin-bottom:1rem;}
.hm-single-header h1{font-family:var(--serif);font-size:42px;font-weight:900;line-height:1.15;max-width:720px;}
.hm-single-body{max-width:720px;margin:0 auto;padding:3rem 2.5rem;}
.hm-single-body .hm-feat-img{border-radius:10px;margin-bottom:2.5rem;width:100%;object-fit:cover;max-height:400px;}
.hm-article-content{font-size:16px;line-height:1.85;color:#333;}
.hm-article-content h2{font-family:var(--serif);font-size:26px;font-weight:900;margin:2rem 0 0.75rem;}
.hm-article-content h3{font-family:var(--serif);font-size:20px;font-weight:700;margin:1.5rem 0 0.5rem;}
.hm-article-content p{margin-bottom:1.25rem;}
.hm-article-content ul,.hm-article-content ol{margin:0.75rem 0 1.25rem 1.5rem;}
.hm-article-content li{margin-bottom:0.4rem;}
.hm-article-content a{color:var(--green);text-decoration:underline;}
.hm-article-content blockquote{border-left:4px solid var(--green);background:var(--green-pale);padding:1rem 1.5rem;margin:1.5rem 0;border-radius:0 8px 8px 0;font-style:italic;}
.hm-article-content img{border-radius:8px;margin:1.5rem 0;}
.hm-back-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--green);margin-bottom:2.5rem;}
.hm-back-link:hover{color:var(--green-dark);}
.hm-author-box{margin-top:3rem;padding:1.75rem;background:var(--green-pale);border-radius:10px;border:1px solid var(--border);display:flex;gap:1.25rem;align-items:flex-start;}
.hm-author-avatar{width:52px;height:52px;border-radius:50%;background:var(--green-light);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}
.hm-author-name{font-size:14px;font-weight:700;}
.hm-author-bio{font-size:13px;color:var(--muted);margin-top:3px;line-height:1.6;}

/* ── ABOUT ── */
.hm-about-hero{background:var(--green-pale);padding:5rem 2.5rem 4rem;position:relative;overflow:hidden;border-bottom:1px solid var(--border);}
.hm-about-hero::before{content:'';position:absolute;right:-60px;top:-60px;width:320px;height:320px;border-radius:50%;background:var(--green-light);opacity:0.5;pointer-events:none;}
.hm-about-hero-inner{max-width:640px;position:relative;z-index:1;}
.hm-about-hero h1{font-family:var(--serif);font-size:46px;font-weight:900;line-height:1.12;margin-bottom:1.25rem;}
.hm-about-hero h1 em{font-style:normal;color:var(--green);}
.hm-about-hero p{font-size:16px;color:var(--muted);line-height:1.8;max-width:520px;}
.hm-about-story{padding:4rem 2.5rem;max-width:820px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.hm-about-story-img{border-radius:16px;background:linear-gradient(135deg,var(--green-light),var(--green-pale));min-height:280px;display:flex;align-items:center;justify-content:center;font-size:64px;border:1px solid var(--border);}
.hm-about-story-text h2{font-family:var(--serif);font-size:28px;font-weight:900;margin-bottom:1rem;}
.hm-about-story-text p{font-size:15px;color:var(--muted);line-height:1.8;margin-bottom:1rem;}
.hm-values{background:var(--green-pale);padding:4rem 2.5rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.hm-values-inner{max-width:900px;margin:0 auto;}
.hm-values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:2rem;}
.hm-value-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:1.5rem;}
.hm-value-icon{font-size:28px;margin-bottom:0.75rem;}
.hm-value-card h3{font-size:15px;font-weight:700;margin-bottom:6px;}
.hm-value-card p{font-size:13px;color:var(--muted);line-height:1.65;}
.hm-about-founder{padding:4rem 2.5rem;max-width:820px;margin:0 auto;}
.hm-founder-card{display:flex;gap:2rem;align-items:flex-start;background:var(--green-pale);border:1px solid var(--border);border-radius:14px;padding:2.5rem;}
.hm-founder-avatar{width:90px;height:90px;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--green-dark));display:flex;align-items:center;justify-content:center;font-size:36px;flex-shrink:0;}
.hm-founder-info h3{font-family:var(--serif);font-size:22px;font-weight:900;margin-bottom:4px;}
.hm-founder-role{font-size:13px;color:var(--green);font-weight:700;margin-bottom:0.75rem;}
.hm-founder-info p{font-size:14px;color:var(--muted);line-height:1.8;}

/* ── CONTACT ── */
.hm-contact-hero{background:var(--green-pale);padding:4rem 2.5rem 3rem;border-bottom:1px solid var(--border);}
.hm-contact-hero h1{font-family:var(--serif);font-size:42px;font-weight:900;margin-bottom:0.5rem;}
.hm-contact-hero h1 em{font-style:normal;color:var(--green);}
.hm-contact-hero p{font-size:15px;color:var(--muted);max-width:480px;line-height:1.75;}
.hm-contact-wrap{max-width:900px;margin:0 auto;padding:4rem 2.5rem;display:grid;grid-template-columns:1fr 1.4fr;gap:3rem;align-items:start;}
.hm-contact-info h2{font-family:var(--serif);font-size:22px;font-weight:900;margin-bottom:1.5rem;}
.hm-contact-item{display:flex;gap:14px;margin-bottom:1.5rem;align-items:flex-start;}
.hm-contact-item-icon{width:42px;height:42px;border-radius:8px;background:var(--green-light);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.hm-contact-item h4{font-size:13px;font-weight:700;margin-bottom:2px;}
.hm-contact-item p,.hm-contact-item a{font-size:13px;color:var(--muted);}
.hm-contact-item a:hover{color:var(--green);}
.hm-contact-form-box{background:var(--green-pale);border:1px solid var(--border);border-radius:14px;padding:2.25rem;}
.hm-contact-form-box h2{font-family:var(--serif);font-size:22px;font-weight:900;margin-bottom:1.5rem;}
.hm-form-group{margin-bottom:1.25rem;}
.hm-form-group label{display:block;font-size:12px;font-weight:700;color:var(--text);margin-bottom:6px;text-transform:uppercase;letter-spacing:0.5px;}
.hm-form-group input,.hm-form-group textarea,.hm-form-group select{width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:6px;font-size:14px;font-family:var(--sans);color:var(--text);background:#fff;transition:border-color 0.2s;outline:none;}
.hm-form-group input:focus,.hm-form-group textarea:focus,.hm-form-group select:focus{border-color:var(--green);}
.hm-form-group textarea{resize:vertical;min-height:120px;}
.hm-form-submit{background:var(--green);color:#fff;border:none;padding:13px 28px;border-radius:6px;font-size:14px;font-weight:700;cursor:pointer;font-family:var(--sans);width:100%;transition:background 0.2s;}
.hm-form-submit:hover{background:var(--green-dark);}

/* ── GENERIC PAGE ── */
.hm-page-hero{background:var(--green-pale);padding:3.5rem 2.5rem 2.5rem;border-bottom:1px solid var(--border);}
.hm-page-hero h1{font-family:var(--serif);font-size:38px;font-weight:900;}
.hm-page-body{max-width:760px;margin:0 auto;padding:3rem 2.5rem;font-size:16px;line-height:1.85;color:#333;}
.hm-page-body h2{font-family:var(--serif);font-size:24px;font-weight:900;margin:2rem 0 0.75rem;}
.hm-page-body p{margin-bottom:1.25rem;}
.hm-page-body a{color:var(--green);}

/* ── FOOTER ── */
.hm-footer{padding:2rem 2.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;background:#fff;}
.hm-footer-logo{font-family:var(--serif);font-size:16px;font-weight:900;color:var(--text);}
.hm-footer-logo span{color:var(--green);}
.hm-footer-tagline{font-size:11px;color:var(--muted);font-style:italic;margin-top:2px;}
.hm-footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;}
.hm-footer-links a{font-size:13px;color:var(--muted);}
.hm-footer-links a:hover{color:var(--green);}
.hm-footer-copy{font-size:12px;color:var(--muted);}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .hm-hero{grid-template-columns:1fr;}
  .hm-hero-image-panel{min-height:300px;max-height:360px;}
  .hm-hero-badges{right:1rem;gap:8px;}
  .hm-badge{min-width:110px;padding:10px 12px;}
  .hm-badge-num{font-size:22px;}
}
@media(max-width:680px){
  .hm-nav-links{display:none;}
  .hm-hero-content{padding:3rem 1.25rem;}
  .hm-hero h1{font-size:30px;}
  .hm-single-header{padding:3rem 1.25rem 2rem;}
  .hm-single-header h1{font-size:28px;}
  .hm-single-body,.hm-blog-wrap,.hm-about-founder,.hm-about-story{padding:2rem 1.25rem;}
  .hm-stats{grid-template-columns:1fr;}
  .hm-stat{border-right:none;border-bottom:1px solid rgba(255,255,255,0.2);}
  .hm-stat:last-child{border-bottom:none;}
  .hm-section,.hm-process-section,.hm-testimonial-section,.hm-cta-section,.hm-values{padding:3rem 1.25rem;}
  .hm-about-story{grid-template-columns:1fr;gap:1.5rem;}
  .hm-contact-wrap{grid-template-columns:1fr;padding:2rem 1.25rem;}
  .hm-founder-card{flex-direction:column;}
  .hm-footer{flex-direction:column;align-items:flex-start;padding:1.5rem 1.25rem;}
  .hm-section-title,.hm-cta-section h2{font-size:26px;}
  .hm-feature-bar{gap:1rem;padding:1rem 1.25rem;}
}
