/* ============================
   Home Page Styles - Enhanced & Optimized
============================ */

/* ============================
   Hero Section
============================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e9ecf6;
}

.hero-img {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2;
    background: rgba(76, 89, 134, 0.10);
}

.hero-overlay h1 {
    font-family: var(--font-heading-family);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-medium);
    letter-spacing: 1px;
    color: var(--color-primary-blue);
}

.hero-tagline {
    font-family: var(--font-body-family);
    font-size: var(--font-size-body);
    margin-bottom: var(--space-large);
    color: #e0e6f6;
}

.btn.btn-primary {
    background: var(--color-primary-blue);
    color: var(--color-on-primary);
    border: none;
    border-radius: 8px;
    padding: 0.85em 2.2em;
    font-size: var(--font-size-button);
    font-family: var(--font-heading-family);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76, 89, 134, 0.12);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    text-decoration: none;
}

.btn.btn-primary:focus {
    outline: 2px solid var(--color-primary-blue);
    outline-offset: 2px;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: #2d3557;
    color: var(--color-on-primary);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(76, 89, 134, 0.18);
}

/* ============================
   Intro / Features Section
============================ */
.intro-summary {
    background: #fff;
    padding: var(--space-extra-large) 0 var(--space-large) 0;
    text-align: center;
}

.intro-summary h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #4C5986;
    margin-bottom: var(--space-medium);
}

.intro-summary p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #333;
    margin-bottom: var(--space-large);
}

.features-list {
    display: flex;
    justify-content: center;
    gap: var(--space-large);
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.features-list li {
    background: #f5f7fa;
    border-radius: 8px;
    padding: var(--space-medium) var(--space-large);
    flex: 1 1 0;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(76, 89, 134, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.features-list li:focus-within,
.features-list li:hover {
    box-shadow: 0 6px 24px rgba(76, 89, 134, 0.14);
    transform: translateY(-2px) scale(1.02);
}

.features-list i {
    font-size: 2.2rem;
    color: #4C5986;
    margin-bottom: var(--space-small);
}

.features-list h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #4C5986;
    margin-bottom: var(--space-extra-small);
}

.features-list p {
    font-size: 1rem;
    color: #444;
}

/* ============================
   Products Grid
============================ */
.products-section {
    background: #f5f5f5;
    padding: var(--space-extra-large) 0;
}

.products-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    color: #4C5986;
    font-size: 2rem;
    margin-bottom: var(--space-large);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-large);
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(76, 89, 134, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.18s, box-shadow 0.18s;
}

.product-card:focus-within,
.product-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 24px rgba(76, 89, 134, 0.16);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e9ecf6;
    transition: filter 0.2s;
}
.product-card img:focus,
.product-card img:hover {
    filter: brightness(0.85) contrast(1.15);
}

.product-content {
    padding: var(--space-medium);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #4C5986;
    margin-bottom: var(--space-small);
}

.product-content p {
    font-size: 1rem;
    color: #444;
    margin-bottom: var(--space-medium);
}

.btn.btn-secondary {
    background: #fff;
    color: #4C5986;
    border: 2px solid #4C5986;
    border-radius: 6px;
    padding: 0.5em 1.5em;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semi-bold);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(76, 89, 134, 0.08);
}

.btn.btn-secondary:focus {
    outline: 2px solid #4C5986;
    outline-offset: 2px;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
    background: #4C5986;
    color: #fff;
    box-shadow: 0 4px 16px rgba(76, 89, 134, 0.14);
}

/* ============================
   CTA Strip
============================ */
.cta-strip {
    background: #A1AAC9;
    color: #222;
    padding: var(--space-extra-large) 0 var(--space-large) 0;
    text-align: center;
    box-shadow: 0 4px 24px rgba(76, 89, 134, 0.10);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-large);
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-small);
    align-items: flex-start;
    font-family: var(--font-heading);
    color: #222;
    text-shadow: 0 2px 8px rgba(255,255,255,0.08);
}

.cta-text i {
    color: #4C5986;
    margin-right: 8px;
    font-size: 1.3em;
}

.cta-text .contact-list {
    list-style: none;
    padding: 0;
    margin: 0.5em 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}
.cta-text .contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.08em;
}
.cta-text .contact-list i {
    color: #4C5986;
    font-size: 1.2em;
    min-width: 1.5em;
    text-align: center;
}
.cta-text .contact-list a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}
.cta-text .contact-list a:hover,
.cta-text .contact-list a:focus {
    color: #4C5986;
    text-decoration: underline;
}

.cta-strip .btn.btn-primary {
    font-size: 1.15rem;
    padding: 0.9em 2.5em;
    border-radius: 12px;
    margin-top: var(--space-small);
    background: #4C5986;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(76, 89, 134, 0.18);
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-strip .btn.btn-primary:focus {
    outline: 2px solid #2d3557;
    outline-offset: 2px;
}

.cta-strip .btn.btn-primary:hover,
.cta-strip .btn.btn-primary:focus {
    background: #2d3557;
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 24px rgba(76, 89, 134, 0.22);
}

/* ============================
   Featured Product Card Redesign
============================ */
.featured-card {
    position: relative;
    border: 2px solid #e0e6f6;
    box-shadow: 0 6px 32px rgba(76, 89, 134, 0.13);
    overflow: visible;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}
.featured-card:hover, .featured-card:focus-within {
    border-color: #4C5986;
    box-shadow: 0 12px 36px rgba(76, 89, 134, 0.18);
    transform: translateY(-6px) scale(1.025);
}
.product-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa;
    padding: 1.2rem 0 0.5rem 0;
}
.product-img-wrap img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(76, 89, 134, 0.10);
    border: 3px solid #fff;
    background: #e9ecf6;
    margin-bottom: 0.5rem;
}
.badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(90deg, #4C5986 60%, #A1AAC9 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3em 0.9em;
    border-radius: 1em;
    box-shadow: 0 2px 8px rgba(76, 89, 134, 0.10);
    letter-spacing: 0.5px;
    z-index: 2;
}
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
}
.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3557;
    background: #e9ecf6;
    padding: 0.25em 0.8em;
    border-radius: 1em;
    letter-spacing: 0.5px;
}
.btn-details {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 6px;
    background: #4C5986;
    color: #fff;
    border: none;
    box-shadow: 0 1px 4px rgba(76, 89, 134, 0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-details i {
    font-size: 1.1em;
}
.btn-details:hover, .btn-details:focus {
    background: #2d3557;
    color: #fff;
}

/* ============================
   Responsive Design
============================ */
@media (max-width: 900px) {
    .features-list {
        flex-direction: column;
        gap: var(--space-medium);
    }
    .cta-content {
        flex-direction: column;
        align-items: center;
        gap: var(--space-medium);
    }
}

@media (max-width: 600px) {
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card img {
        height: 140px;
    }
    .cta-strip {
        padding: var(--space-large) 0;
    }
}

/* ============================
   Responsive Design: Custom Breakpoints
============================ */

/* Mobile Devices: 320px — 480px */
@media (max-width: 480px) {
  .hero-section {
    min-height: 40vh;
    padding: 0;
  }
  .hero-img {
    height: 40vh;
  }
  .hero-overlay h1 {
    font-size: 1.2rem;
  }
  .hero-tagline {
    font-size: 0.95rem;
  }
  .btn.btn-primary, .btn.btn-secondary {
    font-size: 0.95rem;
    padding: 0.7em 1.2em;
  }
  .intro-summary h2, .products-section h2 {
    font-size: 1.2rem;
  }
  .features-list {
    flex-direction: column;
    gap: var(--space-small);
  }
  .features-list li {
    min-width: 120px;
    padding: var(--space-small);
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-small);
  }
  .product-card img {
    height: 100px;
  }
  .cta-content {
    flex-direction: column;
    gap: var(--space-small);
  }
  .cta-text {
    font-size: 1rem;
  }
  .cta-strip .btn.btn-primary {
    font-size: 1rem;
    padding: 0.7em 1.2em;
  }
}

/* iPads and Tablets: 481px — 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
  }
  .hero-img {
    height: 50vh;
  }
  .hero-overlay h1 {
    font-size: 1.5rem;
  }
  .features-list {
    flex-direction: column;
    gap: var(--space-medium);
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card img {
    height: 120px;
  }
  .cta-content {
    flex-direction: column;
    gap: var(--space-medium);
  }
}

/* Laptops and small screens: 769px — 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    min-height: 55vh;
  }
  .hero-img {
    height: 55vh;
  }
  .hero-overlay h1 {
    font-size: 1.8rem;
  }
  .features-list {
    flex-direction: row;
    gap: var(--space-medium);
  }
  .products-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .product-card img {
    height: 150px;
  }
  .cta-content {
    flex-direction: row;
    gap: var(--space-large);
  }
}

/* Large screens and Desktops: 1025px — 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
  .hero-section {
    min-height: 60vh;
  }
  .hero-img {
    height: 60vh;
  }
  .hero-overlay h1 {
    font-size: 2.2rem;
  }
  .features-list {
    flex-direction: row;
    gap: var(--space-large);
  }
  .products-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .product-card img {
    height: 180px;
  }
  .cta-content {
    flex-direction: row;
    gap: var(--space-large);
  }
}

/* TV and Extra Large Screens: 1201px and more */
@media (min-width: 1201px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-img {
    height: 70vh;
  }
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  .features-list {
    max-width: 1200px;
    gap: var(--space-extra-large);
  }
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-extra-large);
  }
  .product-card img {
    height: 220px;
  }
  .cta-content {
    max-width: 1200px;
    gap: var(--space-extra-large);
  }
}

/* End of custom responsive breakpoints */

/* Utility */
/* .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
} */