/* =========================================================
   PMC Company Profile – Main Stylesheet
   Palette: Soft Blue-Teal (professional, trustworthy)
   ========================================================= */

:root {
  --primary:        #2657eb;   /* deep trust blue */
  --primary-light:  #63B3ED;   /* soft sky blue */
  --primary-pale:   #EBF8FF;   /* very light blue */
  --secondary:      #de6161;   /* teal accent */
  --secondary-light:#ff9c9c;
  --accent:         #D69E2E;   /* warm gold highlight */
  --bg:             #F8FBFF;
  --bg-light:       #EEF4FF;
  --white:          #FFFFFF;
  --text:           #1A202C;
  --text-muted:     #718096;
  --border:         #E2E8F0;
  --shadow-sm:      0 2px 8px rgba(43,108,176,.08);
  --shadow-md:      0 4px 20px rgba(43,108,176,.13);
  --shadow-lg:      0 8px 40px rgba(43,108,176,.16);
  --radius:         12px;
  --radius-sm:      8px;
  --transition:     0.25s ease;
}

/* RESET & BASE */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:16px;}
body{font-family:'Inter',sans-serif;color:var(--text);background:var(--bg);line-height:1.6;}
img{max-width:100%;height:auto;display:block;}
a{color:var(--primary);text-decoration:none;}
ul{list-style:none;}

/* CONTAINER */
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 1.5rem;}

/* ── NAVBAR ────────────────────────────────────────────── */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(255,255,255,0.97);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);transition:box-shadow var(--transition);}
.navbar.scrolled{box-shadow:var(--shadow-md);}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:68px;}
.nav-brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;}
/* .brand-logo{display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--secondary));
  font-family:'Poppins',sans-serif;font-weight:700;font-size:1.1rem;color:#fff;} */

.brand-logo.large img {width:auto;height:60px;font-size:1.3rem;}
.brand-logo img { width: auto; height: 35px;}
.logo-p{color:#fff;}.logo-mc{color:var(--secondary-light);}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-main{font-family:'Poppins',sans-serif;font-weight:700;font-size:.95rem;color:var(--primary);}
.brand-sub{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;}
.nav-menu{display:flex;align-items:center;gap:.25rem;}
.nav-link{padding:.5rem .85rem;border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;
  color:var(--text-muted);transition:all var(--transition);}
.nav-link:hover,.nav-link.active{color:var(--primary);background:var(--primary-pale);}
.nav-toggle{display:none;background:none;border:none;font-size:1.3rem;color:var(--primary);cursor:pointer;padding:.4rem;}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.5rem;
  border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;
  border:2px solid transparent;transition:all var(--transition);text-decoration:none;}
.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary);}
.btn-primary:hover{background:#072c99;border-color:#072c99;transform:translateY(-1px);box-shadow:var(--shadow-md);}
.btn-outline{background:transparent;color:var(--primary);border-color:var(--primary);}
.btn-outline:hover{background:var(--primary); color: #FFFFFF;}
.btn-white{background:#fff;color:var(--primary);border-color:#fff;}
.btn-white:hover{background:var(--primary-pale);color:var(--primary);}
.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.7);}
.btn-outline-white:hover{background:rgba(255,255,255,.15);}
.btn-sm{padding:.45rem 1rem;font-size:.82rem;}

/* ── FLASH ─────────────────────────────────────────────── */
.flash-container{position:fixed;top:78px;right:1.5rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;max-width:380px;}
.flash{display:flex;align-items:center;gap:.6rem;padding:.8rem 1rem;border-radius:var(--radius-sm);
  font-size:.88rem;font-weight:500;box-shadow:var(--shadow-md);animation:slideIn .3s ease;}
.flash-success{background:#F0FFF4;color:#276749;border-left:4px solid #48BB78;}
.flash-danger{background:#FFF5F5;color:#9B2C2C;border-left:4px solid #FC8181;}
.flash-close{background:none;border:none;font-size:1.1rem;cursor:pointer;margin-left:auto;color:inherit;opacity:.6;}
@keyframes slideIn{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}

/* ── SECTION ────────────────────────────────────────────── */
.section{padding:5rem 0;}
.bg-light{background:var(--bg-light);}
.bg-gradient{background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);}
.section-header{text-align:center;margin-bottom:3rem;}
.section-header.light h2,.section-header.light p{color:#fff;}
.section-badge{display:inline-block;padding:.3rem .9rem;background:var(--primary-pale);
  color:var(--primary);border-radius:20px;font-size:.78rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:.75rem;}
.section-badge.light{background:rgba(255,255,255,.2);color:#fff;}
.section-header h2{font-family:'Poppins',sans-serif;font-size:clamp(1.6rem,3vw,2.2rem);
  font-weight:700;color:var(--primary);margin-bottom:.75rem;}
.section-header p{color:var(--text-muted);max-width:600px;margin:0 auto;}
.section-cta{text-align:center;margin-top:2.5rem;}

/* ── HERO ───────────────────────────────────────────────── */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;padding-top:68px;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background:var(--bg-light);z-index:0;}
.hero-bg::before{content:'';position:absolute;top:-20%;right:-10%;width:600px;height:600px;
  border-radius:50%;background:radial-gradient(circle,rgba(99,179,237,.2) 0%,transparent 70%);}
.hero-bg::after{content:'';position:absolute;bottom:-15%;left:-5%;width:400px;height:400px;
  border-radius:50%;background:radial-gradient(circle,rgba(44,122,123,.15) 0%,transparent 70%);}
.hero-content{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;gap:3rem;align-items:center;width:100%;padding:4rem 0;}
.hero-text{max-width:600px;}
.hero-badge{display:inline-block;padding:.35rem .9rem;background:var(--primary-pale);
  color:var(--primary);border-radius:20px;font-size:.78rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.25rem;}
.hero-title{font-family:'Poppins',sans-serif;font-size:clamp(2rem,4.5vw,3.2rem);
  font-weight:700;color:var(--text);line-height:1.15;margin-bottom:1.25rem;}
.hero-title .highlight{color:var(--primary);}
.hero-desc{font-size:1rem;color:var(--text-muted);line-height:1.7;margin-bottom:2rem;max-width:520px;}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;}
.hero-wave{position:absolute;bottom:0;left:0;right:0;}
.hero-wave svg{width:100%;height:60px;}
.hero-card-wrap{display:flex;flex-direction:column;gap:1rem;}
.stat-card{background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-radius:var(--radius);
  padding:1.2rem 1.6rem;box-shadow:var(--shadow-md);min-width:160px;text-align:center;
  border:1px solid rgba(255,255,255,.8);}
.stat-card.accent{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;}
.stat-num{display:block;font-family:'Poppins',sans-serif;font-size:2rem;font-weight:700;
  color:var(--primary);line-height:1;}
.stat-card.accent .stat-num{color:#fff;}
.stat-label{font-size:.8rem;color:var(--text-muted);font-weight:500;}
.stat-card.accent .stat-label{color:rgba(255,255,255,.85);}

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start;margin-bottom:3rem;}
.about-text p{color:var(--text-muted);line-height:1.8;margin-bottom:1rem;font-size:.97rem;}
.visi-misi-grid{display:grid;gap:1rem;}
.vm-card{background:#fff;border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-sm);
  border-top:3px solid var(--secondary);}
.vm-card.misi{border-top-color:var(--secondary);}
.vm-icon{width:40px;height:40px;border-radius:50%;background:var(--primary-pale);
  display:flex;align-items:center;justify-content:center;color:var(--primary);
  font-size:1.1rem;margin-bottom:.75rem;}
.vm-card h3{font-family:'Poppins',sans-serif;font-size:1rem;font-weight:700;color:var(--primary);margin-bottom:.5rem;}
.vm-card p{font-size:.88rem;color:var(--text-muted);line-height:1.6;}
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;}
.value-item{text-align:center;padding:1.5rem 1rem;background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow-sm);transition:transform var(--transition);}
.value-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.value-icon{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--primary-pale),#E6FFFA);
  display:flex;align-items:center;justify-content:center;color:var(--primary);
  font-size:1.3rem;margin:0 auto .75rem;}
.value-item h4{font-family:'Poppins',sans-serif;font-size:.9rem;font-weight:700;color:var(--primary);margin-bottom:.4rem;}
.value-item p{font-size:.8rem;color:var(--text-muted);}

/* ── SERVICES GRID ──────────────────────────────────────── */
.services-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;}
.service-card{background:#fff;border-radius:var(--radius);padding:1.75rem;
  box-shadow:var(--shadow-sm);border:1px solid var(--border);
  transition:all var(--transition);position:relative;overflow:hidden;}
.service-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.service-icon{width:48px;height:48px;border-radius:var(--radius-sm);
  background:var(--primary-pale);display:flex;align-items:center;justify-content:center;
  color:var(--primary);font-size:1.2rem;margin-bottom:1rem;}
.service-card h3{font-family:'Poppins',sans-serif;font-size:.95rem;font-weight:700;
  color:var(--text);margin-bottom:.6rem;}
.service-card p{font-size:.85rem;color:var(--text-muted);line-height:1.6;margin-bottom:.75rem;}
.service-clients{font-size:.78rem;color:var(--secondary);display:flex;align-items:center;gap:.4rem;}

/* ── PRODUCTS GRID ──────────────────────────────────────── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem;}
.product-card{background:#fff;border-radius:var(--radius);padding:1.5rem;
  box-shadow:var(--shadow-sm);border:1px solid var(--border);
  position:relative;transition:all var(--transition);}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.product-badge{position:absolute;top:.75rem;right:.75rem;background:var(--primary-pale);
  color:var(--primary);font-size:.7rem;font-weight:700;padding:.2rem .6rem;border-radius:20px;
  text-transform:uppercase;}
.product-card h3{font-family:'Poppins',sans-serif;font-size:.88rem;font-weight:700;
  color:var(--text);margin-bottom:.5rem;margin-top:.25rem;padding-right:60px;}
.product-card p{font-size:.82rem;color:var(--text-muted);line-height:1.6;margin-bottom:.75rem;}
.product-link{font-size:.8rem;color:var(--secondary);font-weight:600;display:flex;align-items:center;gap:.35rem;}

/* ── CLIENTS ────────────────────────────────────────────── */
.clients-grid{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;}
.client-chip{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;
  background:#fff;border:1px solid var(--border);border-radius:20px;
  font-size:.8rem;font-weight:500;color:var(--text-muted);
  box-shadow:var(--shadow-sm);transition:all var(--transition);}
.client-chip:hover{border-color:var(--primary-light);color:var(--primary);background:var(--primary-pale);}
.client-chip i{color:var(--primary);font-size:.8rem;}

/* ── ARTICLES ───────────────────────────────────────────── */
.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;}
.article-card{background:#fff;border-radius:var(--radius);padding:1.75rem;
  box-shadow:var(--shadow-sm);border:1px solid var(--border);transition:all var(--transition);}
.article-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.article-meta{display:flex;gap:1rem;font-size:.78rem;color:var(--text-muted);margin-bottom:.75rem;flex-wrap:wrap;}
.article-meta span{display:flex;align-items:center;gap:.3rem;}
.article-card h3{font-family:'Poppins',sans-serif;font-size:1rem;font-weight:700;
  color:var(--text);margin-bottom:.6rem;line-height:1.4;}
.article-card h3 a{color:inherit;}
.article-card h3 a:hover{color:var(--primary);}
.article-card p{font-size:.85rem;color:var(--text-muted);line-height:1.6;margin-bottom:1rem;}
.read-more{font-size:.85rem;color:var(--primary);font-weight:600;display:inline-flex;align-items:center;gap:.4rem;}
.read-more:hover{color:var(--secondary);}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.contact-info{display:flex;flex-direction:column;gap:1.5rem;}
.contact-item{display:flex;gap:1rem;align-items:flex-start;}
.contact-icon{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;flex-shrink:0;}
.contact-item h4{color:#fff;font-size:.9rem;font-weight:600;margin-bottom:.2rem;}
.contact-item p{color:rgba(255,255,255,.85);font-size:.88rem;line-height:1.5;}
.contact-cta-box{background:rgba(255,255,255,.12);backdrop-filter:blur(10px);
  border-radius:var(--radius);padding:2.5rem;text-align:center;border:1px solid rgba(255,255,255,.2);}
.cta-icon{width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;margin:0 auto 1rem;}
.contact-cta-box h3{color:#fff;font-size:1.3rem;font-weight:700;margin-bottom:.75rem;}
.contact-cta-box p{color:rgba(255,255,255,.85);font-size:.9rem;margin-bottom:1.5rem;line-height:1.6;}
.contact-cta-box .btn{margin:.35rem;justify-content:center;}

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero{background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);
  color:#fff;padding:5rem 0 2.5rem;margin-top:68px;}
.page-hero.compact{padding:3rem 0 1.5rem;}
.page-hero h1{font-family:'Poppins',sans-serif;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:700;margin-bottom:.5rem;}
.page-hero p{color:rgba(255,255,255,.85);font-size:1rem;}
.breadcrumb{display:flex;gap:0.25rem;margin-top:.75rem;font-size:.85rem;}
.breadcrumb li{color:rgba(255,255,255,.7);}
.breadcrumb li::after{content:' / ';color:rgba(255,255,255,.4);}
.breadcrumb li:last-child::after{display:none;}
.breadcrumb li.active{color:rgba(255,255,255,.95);}
.breadcrumb a{color:rgba(255,255,255,.8);}
.breadcrumb a:hover{color:#fff;}

/* ── ITEMS DETAIL ───────────────────────────────────────── */
.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;}
.item-detail-card{background:#fff;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);border:1px solid var(--border);display: inline;
  grid-template-columns:240px 1fr;gap:0;}
.item-img{background:var(--bg-light); padding: 1rem; }
.item-img img{width: 330px;height:auto;object-fit: cover; border-radius: var(--radius);}
.item-body{ width:361.33px; height: auto; padding:2rem;}
.item-type-badge{display:inline-block;padding:.25rem .7rem;border-radius:20px;
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.75rem;}
.item-type-badge.jasa{background:#EBF8FF;color:var(--primary);}
.item-type-badge.produk{background:#ffe4e4;color:var(--secondary);}
.item-body h2{font-family:'Poppins',sans-serif;font-size:1.3rem;font-weight:700;
  color:var(--text);margin-bottom:1.25rem;}
.item-section{margin-bottom:1.25rem;}
.item-section h4{font-size:.85rem;font-weight:700;color:var(--primary);
  display:flex;align-items:center;gap:.4rem;margin-bottom:.5rem;}
.item-section p{font-size:.88rem;color:var(--text-muted);line-height:1.7;}
.item-method{font-size:.88rem;color:var(--text-muted);line-height:1.8;}

/* ── ARTICLES PAGE ──────────────────────────────────────── */
.articles-list{display:grid;gap:1.75rem;max-width:800px;margin:0 auto;}
.article-list-card{background:#fff;border-radius:var(--radius);padding:2rem;
  box-shadow:var(--shadow-sm);border:1px solid var(--border);}
.article-list-card h2{font-family:'Poppins',sans-serif;font-size:1.2rem;font-weight:700;
  color:var(--text);margin:0.5rem 0 .75rem;}
.article-list-card h2 a{color:inherit;}
.article-list-card h2 a:hover{color:var(--primary);}
.article-list-card p{font-size:.9rem;color:var(--text-muted);line-height:1.7;margin-bottom:1rem;}
.art-author,.art-date{display:inline-flex;align-items:center;gap:.35rem;
  font-size:.8rem;color:var(--text-muted);margin-right:1rem;}

/* ── ARTICLE FULL ───────────────────────────────────────── */
.article-container{max-width:780px;}
.article-full{background:#fff;border-radius:var(--radius);padding:2.5rem;box-shadow:var(--shadow-sm);}
.article-header{margin-bottom:2rem;border-bottom:2px solid var(--border);padding-bottom:1.5rem;}
.article-header h1{font-family:'Poppins',sans-serif;font-size:clamp(1.4rem,3vw,2rem);
  font-weight:700;color:var(--text);line-height:1.3;margin-bottom:.75rem;}
.article-meta-full{display:flex;gap:1.5rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-muted);}
.article-meta-full span{display:flex;align-items:center;gap:.4rem;}
.article-content p{font-size:.97rem;color:var(--text-muted);line-height:1.85;margin-bottom:1.25rem;}
.article-references{margin-top:2rem;padding:1.5rem;background:var(--bg-light);
  border-radius:var(--radius-sm);border-left:3px solid var(--primary);}
.article-references h4{font-size:.9rem;font-weight:700;color:var(--primary);
  display:flex;align-items:center;gap:.4rem;margin-bottom:.75rem;}
.references-list p{font-size:.83rem;color:var(--text-muted);margin-bottom:.4rem;font-style:italic;}
.article-back{margin-top:1.5rem;}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer{background: #072c99 ;color:#fff;padding:3.5rem 0 0;}
.footer-inner{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:3rem;padding-bottom:3rem;}
.footer-brand{display:flex;flex-direction:column;gap:1rem;}
.footer-tagline{font-size:.88rem;color:rgba(255,255,255,.7);line-height:1.6;}
.footer h4{font-size:.88rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:rgba(255,255,255,.6);margin-bottom:1rem;}
.footer-links ul,.footer-contact ul{display:flex;flex-direction:column;gap:.6rem;}
.footer-links a{font-size:.88rem;color:var(--secondary);transition:color var(--transition);}
.footer-links a:hover{color:#fff;}
.footer-contact li{display:flex;align-items:flex-start;gap:.6rem;font-size:.85rem;color:rgba(255,255,255,.8);}
.footer-contact i{color:var(--secondary);margin-top:.15rem;flex-shrink:0;width:14px;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1rem 0;text-align:center;}
.footer-bottom p{font-size:.82rem;color:rgba(255,255,255,.5);}

/* ── EMPTY STATE ────────────────────────────────────────── */
.empty-state{text-align:center;padding:4rem 1rem;color:var(--text-muted);}
.empty-state i{font-size:3rem;margin-bottom:1rem;opacity:.3;}
.empty-state p{font-size:1rem;}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:900px){
  .hero-content{grid-template-columns:1fr ;padding:3rem 0 5rem; }
  .hero-card-wrap{flex-direction:row;}
  .about-grid{grid-template-columns:1fr;}
  .values-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr 1fr;}
  .item-detail-card{grid-template-columns:1fr;}
  .item-img{height:200px;}

  .hero-text{text-align:center; max-width: 100%; width: auto;}
  .hero-desc{max-width: 100%; padding-left: 1rem; padding-right: 1rem;}
  .hero-actions{display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center;}
  .hero-visual{display: flex;flex-direction: row; flex-wrap: wrap; justify-content: center;}

  .items-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;}
  .item-img{width: auto; height: auto;}
  .item-body{width: auto; height: auto; padding: 1.5rem;}
  
  
}
@media(max-width:600px){
  .nav-menu{display:none;position:fixed;top:68px;left:0;right:0;
    background:#fff;flex-direction:column;padding:1rem;border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-lg);}
  .nav-menu.open{display:flex;}
  .nav-toggle{display:block;}
  .hero-card-wrap{flex-direction:column;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .footer-inner{grid-template-columns:1fr;}
  .hero-content{grid-template-columns:1fr ;padding:3rem 0 5rem; }
  .hero-actions{display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center;}
  .hero-text{text-align: center; width: auto;}
  .hero-desc{max-width: 100%; padding-left: 1rem; padding-right: 1rem;}
  .hero-card-wrap{ display: flex; flex-direction: row; gap: 1rem; justify-content: center;}

  .services-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;}

  .items-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;}

}

@media(max-width:400px){
  .hero-content{grid-template-columns:1fr ;padding:2rem 0 4rem; }
  .hero-text{max-width: 400px; padding: 1rem; width: auto;}
  .hero-title{font-size: 28px;}
  .hero-desc{max-width: 400px; padding: 0 1rem;}
  .hero-actions{display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center;}
  .hero-card-wrap{flex-direction: column; gap: 1rem; justify-content: center;}

  .about-text{text-align: center;}

  .services-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;}
}

@media(max-width:300px){
  .hero-content{grid-template-columns:1fr ;padding:2rem 0 4rem; }
  .hero-title{font-size: 28px;}
  .hero-desc{max-width: 300px; padding: 0 1rem;}
  .hero-card-wrap{flex-direction: column; gap: 1rem; justify-content: center;}

  .about-text{text-align: center;}

  .articles-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;}

}