/*
 Theme Name: generatepressCHILD
 Template: generatepress
 Version: 1.0.0
*/
/* ===== Landing Page ===== */
:root {
    /* Primary Color */
    --main-blue: #48489e;

    /* Accent Colors */
    --azure-sky: #0078D4;
    --power-purple: #A437FF;
    --cloud-gray: #F3F2F1;
    --slate-black: #2B2B2B;

    /* Supporting Colors */
    --steel-blue: #5A5A9E;
    --teal-accent: #00B294;
    --warm-sand: #DADADA;
    --header-hover-bg: rgba(164, 55, 255, 0.08); /* same for nav and language button */
}
/* Header Style*/
.header-logo{
  width: 80px ;
  height:80px ;
  object-fit: contain;
}
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255,255,255,1);
    transition: background 0.3s, height 0.3s, box-shadow 0.3s;
    height: 100px;
    box-shadow: none;
    display: flex;
    align-items: center; /* vertical centering of direct children */

}

.custom-header.scrolled {
    height: 60px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Centered container for header content */
.page-container {
    max-width: 1200px; /* same as header container */
    margin: 0 auto;
    width: 100%;
    padding: 0 20px; /* optional, adjust if needed */
}
.header-container {
    max-width: 1200px;  /* match your page content width */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px; /* optional, adjust if needed */
}
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}


.header-title {
    font-size: 1.7em;
    font-weight: 700;
    color: #222;
    justify-self: start;
    align-items: center;;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center; /* centers nav items */
    justify-self: center;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}

.header-nav a:hover,
.lang-dropdown-btn:hover {
    background: var(--header-hover-bg);
    border-radius: 4px; /* keep same as nav */
}
.header-nav a,
.lang-dropdown-btn {
    transition: background 0.2s;
}

/* Language dropdown */
.header-lang { 
  display: flex;
  align-items: center; /* vertical centering */
  position: relative;
  margin-left: 20px; /* optional spacing */
  justify-self: end; }

.lang-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
/*.lang-dropdown-list {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 4px;
}*/


.lang-dropdown-list {
    display: none;
    position: absolute;
    top: 100%; 
    right: 0;  
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 4px;
    z-index: 1000;
    padding: 0;
    margin: 0;
    width: 100%; 
    left: 0;
}
.lang-dropdown-list li {
    list-style: none;
    padding: 8px 16px;
    cursor: pointer;
}

.lang-dropdown-list.show { display: block; }
/*.lang-dropdown-list li { padding: 8px 16px; cursor: pointer; }*/
.lang-dropdown-btn {
    background: none;   /* remove default button background */
    border: none;       /* remove border */
    color: #222;        /* set the correct text color */
    font-weight: 500;   /* optional */
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px 16px;
}

/* Push body content down for fixed header */
body { padding-top: 100px; }

/* Responsive */
@media (max-width: 900px) {
    .header-container { flex-direction: column; align-items: flex-start; }
    .header-nav { justify-content: flex-start; width: 100%; }
}

/* END OF HEADER*/
.landing-page {
  font-family: sans-serif;
  color: var(--slate-black);
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  background: --cloud-gray;/*url('assets/images/pwapps.png') no-repeat center center/cover;*/
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: --cloud-gray

  
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:  --cloud-gray
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.hero-buttons .btn {
  display: inline-block;
  margin: 0 10px;
  padding: 12px 24px;
  font-size: 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  background: var(--power-purple);
  color: #fff;
}
.hero-buttons .btn.secondary {
  background: var(--cloud-gray);
  color: var(--slate-black);
}
.hero-logo{
  width: 300px ;
  height:300px ;
  object-fit: contain;
}

/* Products */
.products {
  padding: 80px 20px;
}
.product-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.product-card {
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.logo-img{
  width: 60px ;
  height: 60px ;
  object-fit: contain;
  display: block;
}

/* Numbers */
.numbers {
  padding: 80px 20px;
  background: var(--warm-sand);
}
.numbers-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.number-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.number-card .icon {
  font-size: 2rem;
}
.number-card h3 {
  font-size: 2rem;
  margin: 0;
}
/*success stories*/

.cards-section {
 text-align: center;
 margin: 4rem 0;
}
.cards-grid {
 display: flex;
 flex-wrap: wrap;       /* wrap extra cards to new rows */
 justify-content: center;
 gap: 1.5rem;           /* spacing between cards */
}
.card {
 flex: 1 1 calc(33.333% - 1rem); /* 3 cards per row minus gap */
 max-width: 300px;                /* optional: keep cards readable */
 background: #fff;
 border-radius: 12px;
 box-shadow: 0 4px 10px rgba(0,0,0,0.08);
 padding: 1.5rem;
 text-align: center;
 display: flex;
 flex-direction: column;
}
.card h3 {
 margin-bottom: 0.5rem;
 font-size: 1.2rem;
}
.card p {
 font-size: 0.95rem;
 line-height: 1.4;
 color: #555;
}
/* Responsive: 2 per row on tablets, 1 per row on mobile */
@media screen and (max-width: 1024px) {
 .card {
   flex: 1 1 calc(50% - 1rem);  /* 2 per row */
 }
}
@media screen and (max-width: 768px) {
 .card {
   flex: 1 1 100%;  /* 1 per row */
   max-width: 100%;
 }
}
/* Hover effect */
.card:hover {
 transform: translateY(-5px);
 box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
/* Testimonials */
.testimonials {
  padding: 80px 20px;
}
blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
}
.customer-carousel {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.customer-logo {
  background: var(--warm-sand);
  padding: 20px;
  border-radius: 8px;
}
/* Force main content to center */
.landing-page,
.landing-page .container {
  max-width: 1200px;   /* or 100% if you want full-width */
  margin-left: auto;
  margin-right: auto;
  text-align: center;  /* center text */
}

/* Make hero content centered */
/* Blog Page Layout */
.blog-container {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

/* Filters */
.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-filter {
  padding: 0.3rem 0.7rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: transparent;
}

.sort-button {
  padding: 0.3rem 0.9rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid #bbb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1em;
  color: #222;
}

.sort-label {
  color: #222;
}

.sort-arrow {
  font-size: 1.1em;
  line-height: 1;
}

/* Posts */
.post-list {}

.post-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.post-link {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.post-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.thumb-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.post-content {
  flex: 1;
}

.post-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.post-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 0.95em;
  margin-top: 0.5em;
}

.post-categories {
  flex: 1;
  text-align: left;
}

.post-category {
  background: #f0f0f0;
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 5px;
  font-size: 0.92em;
}

.post-date {
  flex-shrink: 0;
  text-align: right;
  min-width: 110px;
}
/* Social Media Widget */
.social-media {
  text-align: center;
  margin: 3rem 0;
}

.social-media h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-icon.linkedin { background: #0a66c2; }
.social-icon.github { background: #333; }
.social-icon.email { background: #d93025; }

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
