/*
Theme Name: edge Theme
Theme URI:  https://example.com/
Author:     Arif
Author URI: https://example.com/
Description: Minimal starter theme with 3-column header: logo, centered menu with dropdowns, and search icon.
Version:    1.0
License:    GNU General Public License v2 or later
Text Domain: edge-starter
Tags: starter, responsive, minimal
*/

:root{
  --accent: #CCA655;
  --text: #222;
  --muted: #666;
  --container: 1300px;
}
*{
  box-sizing:border-box
}
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Hides content that overflows the left/right edges */
}
.card-clipped {
  background: #ffffff;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%
  );
  overflow: hidden;
  margin: 10px;
  border-radius: 5px;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card-clipped:hover {
  background-color: #f4e6c8; /* light hover color */
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.min-h{
  min-height: 125px;
}

body{
  font-family: 'Inter',sans-serif;
  color:var(--text); 
  margin:0; 
  line-height:1.45;
  background:#F2F2F2;
}
a{
  color:var(--muted);
  text-decoration:none;
  transition:color 0.3s ease;
  line-height: 26px;
}
a:hover{color:var(--accent); text-decoration:none}
.site-container{max-width:var(--container); margin:0 auto; padding:0 1rem}

/* Footer social icons */
.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: fill 0.3s ease;
}

.social-icons a:hover {
  background: #000;
}

.social-icons a:hover svg {
  fill: #fff;
}



/* ------------------------------
   HEADER BASE
--------------------------------*/
.site-header {
  width: 100%;
  background: transparent;
  position: absolute;
  z-index: 1000;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: rgb(255 255 255 / 80%);
  margin-top: 32px;
  border-radius: 100px;
}

/* ------------------------------
   LEFT (LOGO)
--------------------------------*/
.header-left .site-logo img {
  max-height: 55px;
  width: auto;
}

/* ------------------------------
   CENTER (MENU)
--------------------------------*/
.header-center {
  flex: 1;
}

.main-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
}
.main-nav > li.menu-item-has-children > a{
    padding:10px 18px 10px 0;
}
.main-nav > li > a {
  text-decoration: none;
  padding: 10px 0;
  display: block;
  color: #282A2C;
  font-weight: 500;
}

/* Dropdown */
.main-nav li ul.sub-menu {
  position: absolute;
  left: 0;
  top: 120%;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border: 1px solid #fff;
  min-width: 200px;
  /* padding: 10px 0; */
  list-style: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.main-nav li:hover > ul.sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.main-nav li ul.sub-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  font-size: 14px;
}

/* ------------------------------
   RIGHT (SEARCH + HAMBURGER)
--------------------------------*/
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Search box from shortcode */
.edge-search-form {
  position: relative;
}

.edge-search-form input[type="search"] {
  padding: 8px 35px 8px 15px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: transparent;
}

.edge-search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

/* Hamburger */
.mobile-toggle {
  background: #eee;
  color: #fff;
  padding: 7px 10px 2px 10px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  display: none;
}

/* ------------------------------
   MOBILE RESPONSIVE
--------------------------------*/
/* Close button for mobile menu */
.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    }
.dropdown-toggle {
    position: absolute;
    right: -10px;
    top: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
 .dropdown-toggle::before {
    content: "";
    width: 12px;
    height: 8px;
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M5.43277 6.96079L0.189201 1.71722C0.063067 1.59109 0 1.43793 0 1.25774C0 1.07754 0.063067 0.924382 0.189201 0.798248L0.783832 0.203616C0.909966 0.0774822 1.06313 0.00991058 1.24332 0.000901222C1.42351 -0.00810862 1.57667 0.0504537 1.70281 0.176588L5.89226 4.36604L10.0817 0.176588C10.2078 0.0504537 10.361 -0.00810862 10.5412 0.000901222C10.7214 0.00991058 10.8745 0.0774822 11.0007 0.203616L11.5953 0.798248C11.7214 0.924382 11.7845 1.07754 11.7845 1.43793C11.7845 1.43793 11.7214 1.59109 11.5953 1.71722L6.35174 6.96079C6.22561 7.10494 6.07245 7.17702 5.89226 7.17702C5.71206 7.17702 5.5589 7.10494 5.43277 6.96079Z" fill="%23121212"/></svg>');
    background-repeat: no-repeat;
    background-size: 12px 8px;
    transition: transform 0.25s ease;
    margin-top: 5px;
}

.main-nav li:hover > .dropdown-toggle::before {
    transform: rotate(180deg);  
}


@media (max-width: 991px) {
    .mobile-close {
        display: block;
    }  
    .dropdown-toggle {
        position: absolute;
        right: 15px;
        top: 14px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
    }

    .dropdown-toggle::before {
        content: "";
        width: 12px;
        height: 8px;
        display: block;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M5.43277 6.96079L0.189201 1.71722C0.063067 1.59109 0 1.43793 0 1.25774C0 1.07754 0.063067 0.924382 0.189201 0.798248L0.783832 0.203616C0.909966 0.0774822 1.06313 0.00991058 1.24332 0.000901222C1.42351 -0.00810862 1.57667 0.0504537 1.70281 0.176588L5.89226 4.36604L10.0817 0.176588C10.2078 0.0504537 10.361 -0.00810862 10.5412 0.000901222C10.7214 0.00991058 10.8745 0.0774822 11.0007 0.203616L11.5953 0.798248C11.7214 0.924382 11.7845 1.07754 11.7845 1.43793C11.7845 1.43793 11.7214 1.59109 11.5953 1.71722L6.35174 6.96079C6.22561 7.10494 6.07245 7.17702 5.89226 7.17702C5.71206 7.17702 5.5589 7.10494 5.43277 6.96079Z" fill="%23121212"/></svg>');
        background-repeat: no-repeat;
        background-size: 12px 8px;
        transition: transform 0.25s ease;
        margin-top: 5px;
    }

    .main-nav li.open > .dropdown-toggle::before {
        transform: rotate(180deg);  
    }



  .header-inner {
    padding: 10px 15px;
  }

  .header-center {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding-top: 80px;
    transition: 0.35s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    z-index: 9999;
  }

  .header-center.active {
    right: 0;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 20px !important;
  }

  .main-nav > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .main-nav li a {
    padding: 12px 0;
    width: 100%;
    display: block;
  }

  /* Mobile dropdown */
  .main-nav li ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: #f8f8f8;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav li.open > ul.sub-menu {
    max-height: 500px;
    padding-left: 5px;
  }

  /* Hamburger visible */
  .mobile-toggle {
    display: block;
  }
}





/* Logo */
.site-logo img{max-height:56px; width:auto; display:block}
.site-title{font-weight:700}

/* Nav */
.main-nav{list-style:none; margin:0; padding:0; display:flex; gap:1.2rem; align-items:center}
.main-nav > li{position:relative}
.main-nav a{padding:0.5rem 0.6rem; display:block}
/* Dropdown */
.main-nav li ul{position:absolute; left:0; top:100%; min-width:180px; list-style:none; margin:0; background:#fff; border:1px solid #eee; display:none; box-shadow:0 6px 20px rgba(0,0,0,0.06); z-index:1000;}
.main-nav li:hover > ul{display:block;padding-left: 5px;}
.main-nav li ul li a{padding:0.4rem 0.8rem; white-space:nowrap}

/* Search */
.search-toggle{cursor:pointer; display:inline-flex; align-items:center; gap:0.5rem}
.search-box{display:none; position:absolute; right:1rem; top:100%; background:#fff; padding:0.5rem; border:1px solid #eee; box-shadow:0 6px 20px rgba(0,0,0,0.06)}
.search-box input{border:1px solid #ddd; padding:0.5rem 0.6rem; border-radius:6px; width:220px}
.search-box.active{display:block}


input#edge-s-rounded,input#edge-s-rounded:focus,input#edge-s-rounded:active {
    height: 40px;
    border: none;
    background: transparent;
    outline: none;
}

button.edge-search-btn {
    background: var(--accent);
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
}

button.edge-search-btn svg {
    width: 17px;
    height: 17px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Basic content */
.content-area{padding:2rem 0 0 0}
footer.site-footer{padding:3.5rem 0; background: #282A2C; color:var(--muted)}
/* .footer-widgets{margin-bottom:1.5rem; border-bottom: 1px solid #eee;} */
/* FOOTER WIDGETS WRAPPER */
.footer-widgets {
    display: flex;
    gap: 0px;
    padding-bottom: 40px;
    padding-top: 40px;
    width: 100%;
}
h3.footer-widget-title {
    margin: 0 0 20px;
}
.first_col p {
    max-width: 300px;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    color: #fff;
}
h3.footer-widget-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
/* EACH ROW OF WIDGET AREAS */
.footer-widget-area {
    gap: 30px;
}

footer.site-footer figure {
    margin: 0 0 15px 0;
}

.footer-widget p {
    margin: 0 0 25px;
}
/* stay connected style */
.contact-card {
  max-width: 360px;
  color: #fff;
}
.img_height>div{
    height: 315px;
    align-content: center;
    transition: all 0.3s ease !important;
}
.img_height > div:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.img_height_big>div{
  height: 400px;
  align-content: center;
    transition: all 0.3s ease !important;
}
.img_height_big > div:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.about_aim {
  border-left: 4px solid var(--accent);
}
.about_aim h3 {
    margin-top: 0;
}

.about_aim span.title {
    color: var(--accent);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
}
.contact-card h3 {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* REMOVE DEFAULT UL/LI STYLE */
.footer-widget ul,
.footer-widget li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-widget ul li {
    margin-bottom: 15px;
}
.footer-widget ul li a {
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    color: #D1D5DB;
}
.footer-widget ul li a:hover {
    color: var(--accent);
}
/* SOCIAL ICON RESET */
.footer-widget .wp-block-social-links {
    gap: 12px;
}

/* —— DESKTOP LAYOUT —— */
/* First row: 40% + 20% + 20% + 20% */
.footer-widget-area:first-child {
    flex: 0 0 40%;
}
.footer-widget-area {
    flex: 0 0 20%;
}

/* —— RESPONSIVE —— */

/* Tablet */
@media (max-width: 991px) {
    
    .footer-widget-area {
        flex: 0 0 100% !important;
    }
    .footer-widgets {
        flex-wrap: wrap;
    }
  
}

/* Mobile */
@media (max-width: 600px) {
    .footer-widgets {
        flex-wrap: wrap;
    }
    .footer-widget-area .footer-widget {
        flex: 0 0 100% !important;
    }

    .footer-widget-area {
        gap: 20px;
    }
}

/* ------------------------------
   theme common css here 
   */
.hover_effect > div {
    background: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hover_effect > div:hover {
    background-color: #eee !important;
    transform: translateY(-2px);
}

/* --------------------
    style for blog page
---------------------- */
/* =============================
   GLOBAL
============================= */
.container{
    max-width: var(--container);
    margin:auto;
    padding:0 15px;
    font-family: 'Inter', sans-serif;
}

/* =============================
   FEATURED ARTICLE
============================= */
span.cat {
    background: #eee;
    padding: 10px;
    border-radius: 50px;
    margin-right: 10px;
}

span.cat a {
    color: #282A2C;
    font-weight: 600;
}

.featured-article-section{
    padding:60px 0;
}

.featured-article{
    display:grid;
    grid-template-columns: 1fr 1.2fr;
    background:#f7f7f7;
    border-radius:14px;
    overflow:hidden;
    align-items: center;
    justify-content: center;
}

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

.featured-content{
    padding:40px;
}

.featured-content .meta{
    gap:12px;
    font-size:13px;
    color:#777;
    margin-bottom:12px;
}

.featured-content .title{
    font-size: clamp(1.375rem, 0.4375rem + 3vw, 2.125rem);
    font-weight:700;
    margin-bottom:15px;
}

.featured-content .excerpt {
    color: #3C4449;
    line-height: 30px;
    max-width: 498px;
}

.btn-read{
    display:inline-block;
    margin-top:20px;
    background:#cfa44a;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-read:hover{
    background:#b08c3a;
}

/* =============================
   LATEST ARTICLES
============================= */
.section-title{
    position: relative;
    padding-left: 14px;
    color: #282A2C;
    font-size: clamp(1.375rem, -0.0313rem + 4.5vw, 2.5rem);
    font-weight: 700;
    font-family: "IBM Plex Sans", sans-serif;
    margin: 0 0 30px 0;
}

.section-title::before{
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: var(--accent);
    border-radius: 10px;
}
.latest-articles-section{
    padding:0 0 60px 0;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.section-header .count{
    color:#777;
    font-size:14px;
}

.articles-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:25px;
}

.article-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.3s;
}

.article-card:hover{
    transform:translateY(-6px);
}

.card-image{
    position:relative;
}

.card-image img{
    width:100%;
    height:220px;
    object-fit:cover;
}
.card-body .meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 20px;
}
.badge{
    position:absolute;
    top:12px;
    left:12px;
    background: #fff;
    color: #000;
    font-size:12px;
    padding:6px 10px;
    border-radius:20px;
}

.card-body{
    padding:18px;
}

.card-body .meta{
    font-size:12px;
    color:#777;
    display:flex;
    gap:6px;
    margin-bottom:8px;
}

.card-title{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title a {
    text-decoration: none;
    color: #282A2C;
    font-family: 'IBM Plex Sans', sans-serif;
}
.card-title a:hover{
    color: var(--accent);
}
.card-excerpt{
    font-size:14px;
    color:#555;
    line-height:1.6;
}

.read-more{
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    font-weight:600;
    color:#282A2C;
}

/* =============================
   RESPONSIVE
============================= */
@media(max-width:992px){
    .featured-article{
        grid-template-columns:1fr;
    }
    .articles-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px){
    .articles-grid{
        grid-template-columns: 1fr;
    }
} 

   .hero-section {
    position: relative;
    width: 100%;
    min-height: 434px;
    background-image: url('https://edgeindustrialsupply.ca/wp-content/uploads/2026/03/Group-1171274848-2.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    }



    /* Content */
    .hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 20px;
    color: #ffffff;
    }

    .hero-content h1 {
        font-family: 'IBM Plex Sans', sans-serif;
        font-size: clamp(1.8rem, 5vw, 3rem);
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
		color: #fff;
    }

    /* Button */
    .hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    }

    .hero-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    }

    .pagination-wrap{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-wrap .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 6px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.pagination-wrap .page-numbers:hover{
    background: #111827;
    color: #ffffff;
}

.pagination-wrap .page-numbers.current{
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
}

.pagination-wrap .page-numbers.dots{
    background: transparent;
    cursor: default;
}
@media (min-width: 767px) {
    .tech_box div .elementor-icon-box-icon {
        width: 12%;
    }
    .tech_box>div.elementor-icon-box-wrapper {
        height: 100%;
    }
    
}
@media (max-width: 767px) {
    .p_point {
        display: grid;
        gap: 10px;
    }
}

.tech_box div .elementor-icon-box-icon {
    background: #CCA655;
    border-radius: 12px;
    height: stretch;
    display: flex;      
    align-items: center;
    justify-content: center;
}
.tech_box {
    min-height: 200px;
}


.tech_box div .elementor-icon-box-icon span{
    font-size: 32px;
}
.p_point span {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 50px;
}

.p_point {
    margin-top: 15px;
}