/* =========================================================
   EVERYDAYCALCPRO - REFACTORED STYLE.CSS
   Organized by Feature/Page
========================================================= */

/* =========================================================
   01. GLOBAL / RESET / VARIABLES
========================================================= */

/* Move reset, :root, body, container here */

/* =========================================================
   02. HEADER STYLES
========================================================= */

/* Header */
/* Logo */
/* Navigation */
/* Mobile Navigation */

/* HEADER RESPONSIVE */
/* Tablet: 992px */
/* Mobile: 768px */

/* =========================================================
   03. MAIN LAYOUT + SIDEBAR
========================================================= */

/* Main Layout */
/* Content */
/* Sidebar */
/* Search Widget */
/* Popular Tools */
/* Ads */

/* LAYOUT RESPONSIVE */

/* =========================================================
   04. SHARED COMPONENTS
========================================================= */

/* Hero */
/* Cards */
/* Tool Cards */
/* Buttons */
/* Forms */
/* Results */
/* Tables */

/* COMPONENT RESPONSIVE */

/* =========================================================
   05. HOMEPAGE STYLES
========================================================= */

/* Home Sections */
/* Hero Search */
/* Featured Grid */
/* Categories */
/* Latest Calculators */
/* Why Choose Us */
/* FAQ */
/* About */

/* HOMEPAGE RESPONSIVE */

/* =========================================================
   06. CALCULATOR PAGE STYLES
========================================================= */

/* Page Hero */
/* Calculator Forms */
/* Result Boxes */

/* CALCULATOR RESPONSIVE */

/* =========================================================
   07. MORTGAGE CALCULATOR PAGE
========================================================= */

/* Mortgage Hero */
/* Mortgage Cards */
/* Form Grid */
/* Score Circle */
/* Results */
/* Charts */
/* Sharing */
/* Alerts */
/* SEO Content */
/* Affordability */

/* MORTGAGE RESPONSIVE */

/* =========================================================
   08. BLOG STYLES
========================================================= */

/* Blog Meta */
/* SEO Content */

/* =========================================================
   09. FOOTER STYLES
========================================================= */

/* Footer */
/* Footer Grid */
/* Footer Bottom */

/* FOOTER RESPONSIVE */


/* =========================================================
   ORIGINAL CSS BELOW FOR MIGRATION
   (Use this section to move rules into the categories above)
========================================================= */

/* ===================================================
   EVERYDAYCALCPRO - COMPLETE STYLE.CSS
  =================================================== */

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   ROOT COLORS
========================= */
:root {
  --primary: #4f46e5;
  --secondary: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;

  --bg: #f4f7ff;
  --white: #ffffff;
  --dark: #1f2937;
  --text: #333333;
  --border: #e5e7eb;

  --shadow: 0 6px 18px rgba(0,0,0,0.06);
  --radius: 14px;
}

/* =========================
   BODY
========================= */
body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

/* =========================
   CONTAINER
========================= */
.container {
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding: 0 15px;
}

/* =========================
   HEADER
========================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ==========================
   HEADER
========================== */

.header{
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 15px rgba(0,0,0,.04);
}

.container{
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
}

.header .container{
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

.logo img{
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text{
    display: flex;
    flex-direction: column;
}

.logo-main{
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.logo-tagline{
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

/* NAVIGATION */

.nav{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left:auto;
}

.nav a{
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: .25s;
    position: relative;
    white-space: nowrap;
}

.nav a:hover{
    color: #2563eb;
}

.nav a::after{
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: .3s;
}

.nav a:hover::after{
    width: 100%;
}

/* HAMBURGER */

.menu-toggle{
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span{
    width: 28px;
    height: 3px;
    background: #0f172a;
    border-radius: 20px;
    transition: .3s;
}

/* MOBILE */

@media (max-width: 992px){

    .menu-toggle{
        display: flex;
    }

    .nav{
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 25px;
        gap: 0;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 10px 25px rgba(0,0,0,.08);

        max-height: 0;
        overflow: hidden;
        transition: .35s ease;
    }

    .nav.active{
        max-height: 600px;
    }

    .nav a{
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .logo-main{
        font-size: 18px;
    }

    .logo-tagline{
        display: none;
    }
}
/* =========================
   MAIN LAYOUT
========================= */

.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

/* =========================
   MAIN CONTENT
========================= */

.content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-width: 0;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 35px;
  border-radius: var(--radius);
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 16px;
  opacity: 0.95;
}

/* HERO BUTTONS */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-buttons a {
  background: white;
  color: var(--dark);
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.2s;
}

.hero-buttons a:hover {
  transform: translateY(-2px);
}

/* =========================
   CATEGORY / TOOL GRID
========================= */
.grid,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* =========================
   CARDS
========================= */
.card,
.tool-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
  text-decoration: none;
  color: var(--text);
  border-left: 5px solid transparent;
}

.card:hover,
.tool-card:hover {
  transform: translateY(-4px);
}

/* CATEGORY COLORS */
.finance {
    border-left: 5px solid #10b981;
}

.business {
    border-left: 5px solid #4f46e5;
}

.health {
    border-left: 5px solid #ec4899;
}
.math {
    border-left: 5px solid #6366f1;
}
.home {
    border-left: 5px solid #f59e0b;
}
.converters {
    border-left: 5px solid #06b6d4;
}

.card h2,
.tool-card h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card h3,
.tool-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.card p {
  margin-bottom: 10px;
}

.card a,
.tool-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* SIDEBAR BOX */
.box {
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.box h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

/* =========================
   SEARCH FORM
========================= */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.search-form button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

.search-form button:hover {
  opacity: 0.95;
}

/* =========================
   POPULAR TOOLS
========================= */
.tool-list {
  list-style: none;
}

.tool-list li {
  margin-bottom: 8px;
}

.tool-list a {
  text-decoration: none;
  color: var(--dark);
}

.tool-list a:hover {
  color: var(--primary);
}

/* =========================
   AD BOXES
========================= */
.ad-box {
  background: linear-gradient(135deg, #e0e7ff, #fce7f3);
}

.ad-placeholder {
  height: 250px;
  background: #f1f1f1;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
  text-align: center;
  font-size: 14px;
}

/* =========================
   TIP BOX
========================= */
.tip-box {
  background: #fff7e6;
  border: 1px solid #ffe0a3;
}

/* =========================
   CALCULATOR FORM
========================= */
.calc-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 15px;
}

.calc-form button,
.contact-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 11px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.calc-form button:hover,
.contact-form button:hover {
  opacity: 0.95;
}

/* RESULT BOX */
.result,
.success-box {
  margin-top: 15px;
  padding: 14px;
  border-radius: 10px;
}

.result {
  background: #e0f2fe;
}

.success-box {
  background: #dcfce7;
  color: #166534;
}

/* =========================
   BLOG
========================= */
.blog-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #111827;
  color: white;
  margin-top: 40px;
}

/* FOOTER GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 12px;
}

.footer-grid p {
  color: #d1d5db;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  text-decoration: none;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: white;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid #374151;
  text-align: center;
  padding: 18px;
  font-size: 14px;
  color: #d1d5db;
}

/* =========================
   TABLES
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

table th,
table td {
  padding: 10px;
  border: 1px solid var(--border);
  text-align: left;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {

  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 100%;
  }

}

@media (max-width: 768px) {

  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    width: 100%;
  }

  .grid,
  .tool-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 25px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    text-align: center;
  }

}

@media (max-width: 480px) {

  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 22px;
  }

  nav a {
    margin-left: 0;
    margin-right: 8px;
    margin-bottom: 8px;
  }

}




/* ==========================================
   MORTGAGE CALCULATOR 2.0
   EverydayCalcPro
========================================== */

/* HERO */
.mortgage-hero{
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    padding:40px;
    border-radius:16px;
    margin-bottom:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.mortgage-hero h1{
    font-size:2rem;
    margin-bottom:10px;
}

.mortgage-hero p{
    opacity:.95;
    max-width:700px;
}

/* MAIN SECTIONS */
.mortgage-form-card,
.mortgage-score-card,
.mortgage-result-card{
    background:#fff;
    border-radius:16px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    border:1px solid #eef2f7;
}

/* SECTION HEADINGS */
.mortgage-form-card h2,
.mortgage-score-card h2,
.mortgage-result-card h2{
    color:#111827;
    margin-bottom:20px;
    font-size:1.4rem;
}

/* FORM GRID */
.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.form-grid div{
    display:flex;
    flex-direction:column;
}

.form-grid label{
    font-size:.9rem;
    font-weight:600;
    margin-bottom:6px;
    color:#374151;
}

.form-grid input,
.form-grid select{
    padding:12px 14px;
    border:1px solid #dbe2ea;
    border-radius:10px;
    font-size:15px;
    background:#fff;
    transition:.2s;
}

.form-grid input:focus,
.form-grid select:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* CALCULATE BUTTON */
.mortgage-btn{
    margin-top:25px;
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.mortgage-btn:hover{
    transform:translateY(-2px);
}

/* HEALTH SCORE */
.mortgage-score-card{
    text-align:center;
}

.score-circle{
    width:150px;
    height:150px;
    margin:20px auto;
    border-radius:50%;
    background:linear-gradient(135deg,#10b981,#34d399);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:2rem;
    font-weight:700;
    box-shadow:0 10px 25px rgba(16,185,129,.25);
}

.score-status{
    font-size:1.1rem;
    font-weight:600;
}

/* MONTHLY PAYMENT */
.result-highlight{
    text-align:center;
    background:linear-gradient(135deg,#eff6ff,#f5f3ff);
    border-radius:14px;
    padding:25px;
    margin-bottom:20px;
}

.result-highlight{
    font-size:2.4rem;
    font-weight:700;
    color:#111827;
}

.result-highlight span{
    display:block;
    font-size:1rem;
    color:#6b7280;
    margin-top:5px;
}

/* RESULT ITEMS */
.result-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.result-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    border-radius:10px;
    background:#f8fafc;
}

.result-item span{
    color:#4b5563;
}

.result-item strong{
    color:#111827;
}

/* RECOMMENDATIONS */
.recommendation-list{
    padding-left:20px;
}

.recommendation-list li{
    margin-bottom:12px;
    line-height:1.7;
}

/* CHART AREA */
#paymentChart{
    width:100%;
    min-height:350px;
}
#paymentChart{
    width:100%;
    height:350px !important;
}

.chart-card{
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    position:relative;

    width:100%;
    height:420px;

    display:flex;
    align-items:center;
    justify-content:center;
}

#balanceChart{
    width:100% !important;
    height:100% !important;
    display:block;
}

.chart-toggle{
    display:flex;
    gap:10px;
    margin-bottom:15px;
    flex-wrap:wrap;
}

.chart-btn{
    padding:8px 14px;
    border-radius:10px;
    border:1px solid #ddd;
    background:#f9fafb;
    cursor:pointer;
    font-size:14px;
    transition:0.2s;
}
.chart-btn:hover{
    transform: translateY(-1px);
}

.chart-btn.active{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.chart-card{
    background:#fff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    height:420px;
    position:relative;
}


/* SOCIAL MEDIA SHARE BUTTONS */
.share-box{
    margin-top:20px;
    padding:20px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.share-box h3{
    margin-bottom:10px;
}

.share-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.share-buttons a{
    padding:10px 14px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    color:#fff;
    cursor:pointer;
}


/* Colors */
#shareFb{ background:#1877F2; }
#shareTw{ background:#000000; }
#shareLi{ background:#0A66C2; }
#shareEmail{ background:#6b7280; }
#shareWa{ background:#25D366; }



/* TABLE */
.table-responsive{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#2563eb;
    color:#fff;
    padding:12px;
    text-align:left;
}

table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
}

table tr:nth-child(even){
    background:#f9fafb;
}

/* FAQ */
.mortgage-result-card h3{
    margin-top:20px;
    margin-bottom:8px;
    color:#111827;
}

/* SEO CONTENT */
.seo-content p{
    margin-bottom:16px;
    line-height:1.8;
}

.seo-content ul{
    padding-left:20px;
}

.seo-content li{
    margin-bottom:10px;
}

/* AFFORDABILITY DASHBOARD */
.affordability-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.affordability-card{
    background:#f8fafc;
    border-radius:12px;
    padding:20px;
    text-align:center;
}

.affordability-card h3{
    font-size:.9rem;
    color:#6b7280;
    margin-bottom:10px;
}

.affordability-card strong{
    display:block;
    font-size:1.4rem;
    color:#111827;
}

/* EXTRA PAYMENT SAVINGS */
.savings-highlight{
    background:linear-gradient(135deg,#ecfdf5,#d1fae5);
    padding:20px;
    border-radius:12px;
    text-align:center;
    margin-top:15px;
}

.savings-highlight strong{
    font-size:1.8rem;
    color:#065f46;
}

/* INFO ALERTS */
.alert-success{
    background:#ecfdf5;
    border-left:4px solid #10b981;
    padding:15px;
    border-radius:8px;
    margin-top:15px;
}

.alert-warning{
    background:#fffbeb;
    border-left:4px solid #f59e0b;
    padding:15px;
    border-radius:8px;
    margin-top:15px;
}

.alert-danger{
    background:#fef2f2;
    border-left:4px solid #ef4444;
    padding:15px;
    border-radius:8px;
    margin-top:15px;
}

/* TOOLTIP STYLE */
.help-text{
    display:block;
    font-size:.8rem;
    color:#6b7280;
    margin-top:5px;
}

/* MOBILE */
@media(max-width:992px){

    .form-grid{
        grid-template-columns:1fr;
    }

    .affordability-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .mortgage-hero{
        padding:25px;
    }

    .mortgage-hero h1{
        font-size:1.7rem;
    }

    .score-circle{
        width:120px;
        height:120px;
        font-size:1.7rem;
    }

    .result-highlight{
        font-size:2rem;
    }

    .mortgage-form-card,
    .mortgage-score-card,
    .mortgage-result-card{
        padding:18px;
    }

}

@media(max-width:480px){

    .mortgage-hero h1{
        font-size:1.4rem;
    }

    .result-highlight{
        font-size:1.7rem;
    }

    .result-item{
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }

}




/* ===================================================
   HOMEPAGE ONLY STYLES
   Add at END of style.css
=================================================== */

/* SECTION SPACING */

.faq-list,
.why-grid,
.featured-grid,
.category-grid {
  width: 100%;
}

.home-section {
  width: 100%;
  display: block;
  position: relative;
  clear: both;
}

/* HOME SECTION HEADINGS */
.home-section-title{
    font-size:28px;
    font-weight:700;
    color:var(--dark);
    margin-bottom:20px;
    position:relative;
}

.home-section-title::after{
    content:"";
    display:block;
    width:70px;
    height:4px;
    background:var(--primary);
    margin-top:8px;
    border-radius:10px;
}

/* HERO SEARCH BAR */

.hero-search{
    margin-top:25px;
    max-width:650px;
}

.hero-search form{
    display:flex;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.hero-search input{
    flex:1;
    border:none;
    padding:14px 16px;
    font-size:15px;
    outline:none;
}

.hero-search button{
    border:none;
    background:var(--dark);
    color:#fff;
    padding:0 22px;
    cursor:pointer;
    font-weight:600;
}

/* FEATURED CALCULATORS */

.featured-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.featured-card{
    background:#fff;
    padding:22px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.25s;
    border:1px solid var(--border);
}

.featured-card:hover{
    transform:translateY(-4px);
}

.featured-card h3{
    margin-bottom:10px;
    color:var(--dark);
}

.featured-card p{
    color:#666;
    font-size:14px;
}

/* POPULAR CATEGORIES */

.category-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.category-box{
    background:#fff;
    padding:22px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    text-align:center;
    transition:.25s;
}

.category-box:hover{
    transform:translateY(-4px);
}

.category-box span{
    font-size:30px;
    display:block;
    margin-bottom:10px;
}

.category-box h3{
    font-size:18px;
}

/* LATEST CALCULATORS */

.latest-list{
    display:grid;
    gap:15px;
}

.latest-item{
    background:#fff;
    border-radius:var(--radius);
    padding:18px 20px;
    box-shadow:var(--shadow);
    border-left:5px solid var(--primary);
}

.latest-item h3{
    margin-bottom:6px;
}

/* WHY CHOOSE US */

.why-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  width:100%;
}

.why-card{
    background:#fff;
    padding:25px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    text-align:center;
    min-width: 0;
    overflow-wrap: break-word;
}

.why-card span{
    font-size:34px;
    display:block;
    margin-bottom:12px;
}

/* FAQ */

.faq-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.faq-item{
    background:#fff;
    border-radius:var(--radius);
    padding:18px;
    box-shadow:var(--shadow);
}

.faq-item h3{
    margin-bottom:10px;
    color:var(--dark);
}

/* ABOUT SECTION */

.about-home{
    background:#fff;
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.about-home p{
    margin-bottom:15px;
}

/* SEARCH BOX IN HEADER */

.header-search{
    width:260px;
}

.header-search form{
    display:flex;
}

.header-search input{
    width:100%;
    padding:9px 12px;
    border:1px solid var(--border);
    border-radius:8px;
    outline:none;
}

/* =================================
   MOBILE RESPONSIVE
================================= */

@media(max-width:992px){

    .featured-grid,
    .category-grid,
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .header-search{
        display:none;
    }

}

@media(max-width:768px){

    .featured-grid,
    .category-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero-search form{
        flex-direction:column;
    }

    .hero-search button{
        padding:14px;
    }

    .home-section-title{
        font-size:24px;
    }

}

@media(max-width:480px){

    .featured-card,
    .category-box,
    .why-card,
    .about-home,
    .faq-item{
        padding:18px;
    }

}