
/* ========================================
   PC CARE WORKS - MAIN STYLESHEET
   ======================================== */

/* 1. GLOBAL STYLES */

:root {
    --primary: #10213b;
    --secondary: #1769e0;
    --accent: #19c7a2;
    --light: #f4f7fb;
    --text: #263449;
    --muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(26px, 3vw, 35px);
    color: var(--primary);
    margin-bottom: 14px;
}

h3 {
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.section-heading p {
    color: var(--muted);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #0c50b7;
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.btn-outline:hover {
    color: var(--primary);
    background: var(--white);
}

a:focus-visible,
button:focus-visible,
.menu-icon:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* 2. HEADER AND NAVIGATION */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 3px 20px rgba(16, 33, 59, 0.08);
}

.navbar {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.logo span {
    color: var(--secondary);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navigation a {
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--secondary);
}

.navigation .nav-button {
    padding: 10px 16px;
    border-radius: 7px;
    background: var(--secondary);
    color: var(--white);
}

.navigation .nav-button:hover {
    background: #0c50b7;
}

.menu-checkbox,
.menu-icon {
    display: none;
}

/* 3. HERO SECTION */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(10, 24, 45, 0.96),
            rgba(10, 24, 45, 0.82) 48%,
            rgba(10, 24, 45, 0.28)
        ),
        url("images/bannerimage.webp")
        center / cover no-repeat;
}

.hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
    color: var(--white);
}

.hero-content h1 {
    max-width: 700px;
    color: var(--white);
}

.hero-content p {
    max-width: 620px;
    font-size: 17px;
    color: #e1e8f2;
    margin-bottom: 28px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    color: #9ef0df;
    background: rgba(255, 255, 255, 0.08);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

/* 4. SERVICES SECTION */

.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 7px 24px rgba(16, 33, 59, 0.05);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 33, 59, 0.12);
}

.service-card img {
    width: 100%;
    height: 210px;
    flex-shrink: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 24px;
}

.service-content h3 {
    width: 100%;
    margin-bottom: 15px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.service-content .btn {
    margin-top: auto;
    padding: 10px 20px;
    min-width: 120px;
    text-align: center;
}

/* 5. ABOUT SECTION
   These rules apply if an About section is added later. */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.about-image {
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 15px 15px 0 #e8f0ff;
}

.about-image img {
    border-radius: 16px;
}

.about-content p {
    color: var(--muted);
}

.check-list {
    margin: 22px 0;
}

.check-list li {
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✓";
    display: inline-flex;
    width: 23px;
    height: 23px;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    border-radius: 50%;
    background: #dff9f0;
    color: #07876d;
    font-weight: bold;
}

/* 6. FEATURES SECTION */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 30px 23px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    transition: transform 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 15px;
    background: #eaf2ff;
    font-size: 27px;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* 7. REVIEWS SECTION
   Works with the review cards in your existing JavaScript. */

.reviews-section {
    padding: 80px 0;
    overflow: hidden;
    background: var(--light);
}

.reviews-section .section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.reviews-section .section-label {
    color: #1b65b9;
    letter-spacing: 2px;
}

.reviews-section .section-heading h2 {
    color: var(--primary);
    font-size: clamp(28px, 4vw, 36px);
}

.reviews-section .section-heading h3 {
    color: #33445d;
    font-size: 20px;
}

.reviews-section .section-heading p {
    color: #657186;
    font-size: 16px;
    line-height: 1.8;
}

.review-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 850px;
    margin: 0 auto;
}

.review-track {
    flex: 1;
    min-width: 0;
    max-width: 650px;
}

.review-card {
    display: none;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(16, 33, 59, 0.08);
}

.review-card.active {
    display: block;
    animation: reviewFade 0.35s ease;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-stars {
    color: #f5a623;
    font-size: 24px;
    letter-spacing: 3px;
}

.quote-mark {
    color: #1b65b9;
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
}

.review-card p {
    color: var(--muted);
}

.review-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: background 0.2s ease,
                color 0.2s ease;
}

.review-arrow:hover {
    background: var(--secondary);
    color: var(--white);
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.review-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.review-dot.active {
    background: var(--secondary);
}

/* 8. CONTACT SECTION */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-card {
    padding: 35px;
    border-radius: 14px;
    background: var(--light);
}

.contact-card > p {
    color: var(--muted);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 24px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #e2edff;
    color: var(--secondary);
    font-size: 21px;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 3px;
}

.contact-item a {
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-button {
    margin-top: 28px;
}

.contact-image {
    min-height: 400px;
    overflow: hidden;
    border-radius: 14px;
}

.contact-image img {
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.contact-image:hover img {
    transform: scale(1.03);
}

/* 9. FOOTER */

.footer {
    padding: 20px 0;
    background: #09172b;
    color: #c8d4e4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.5fr 1.3fr;
    gap: 35px;
    padding: 30px 0 35px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo span {
    color: #6fafff;
}

.footer-about p {
    max-width: 380px;
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

.footer-grid h3 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links li {
    min-width: 0;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #7ce6ce;
}

.footer-links p {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #b7c5d9;
    font-size: 14px;
}

/* 10. TABLET RESPONSIVE */

@media (max-width: 950px) {
    .navigation {
        gap: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

/* 11. MOBILE RESPONSIVE */

@media (max-width: 760px) {
    html {
        scroll-padding-top: 75px;
    }

    .navbar {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 21px;
    }

    .menu-icon {
        display: block;
        padding: 6px 12px;
        border: 1px solid var(--border);
        border-radius: 6px;
        cursor: pointer;
        color: var(--primary);
        font-size: 25px;
        line-height: 1.4;
    }

    .navigation {
        display: none;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 10px 0 18px;
    }

    .menu-checkbox:checked ~ .navigation {
        display: flex;
    }

    .navigation a {
        display: block;
        padding: 11px 8px;
    }

    .navigation .nav-button {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: 500px;
        background-position: 60% center;
    }

    .hero-content {
        padding: 65px 0;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-label {
        font-size: 13px;
    }

    .section {
        padding: 55px 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
        margin-bottom: 10px;
    }

    .services-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 230px;
    }

    .service-content {
        padding: 22px;
    }

    .service-content .btn {
        width: 100%;
        margin-top: 8px;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-image {
        min-height: 280px;
        height: 280px;
    }

    .review-carousel {
        gap: 8px;
    }

    .review-card {
        padding: 24px;
    }

    .review-arrow {
        width: 34px;
        height: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px 0 25px;
    }
}

/* 12. SMALL MOBILE DEVICES */

@media (max-width: 380px) {
    .container {
        width: 94%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .service-content {
        padding: 19px;
    }

    .review-stars {
        font-size: 19px;
        letter-spacing: 2px;
    }
}

/* 13. ANIMATIONS */

@keyframes reviewFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 14. REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}






/* =========================
   BASE SECTION
========================= */

.beautiful-why,
.beautiful-why * {
  box-sizing: border-box;
}

.beautiful-why {
  width: 100%;
  padding: 45px 20px 50px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
}

.beautiful-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   MAIN HEADING
========================= */

.beautiful-why h2 {
  margin: 0 0 35px;
  text-align: center;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: #111111;
}

/* =========================
   STATISTICS
========================= */

.beautiful-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.beautiful-stat strong {
  display: block;
  color: #1769E0;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.15;
}

.beautiful-stat p {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: #4b5563;
}

/* =========================
   BLUE FEATURE CARDS
========================= */

.beautiful-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.beautiful-card {
  min-height: 170px;
  padding: 25px 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #1769E0;
  border-radius: 12px;
  color: #ffffff;
  text-align: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.beautiful-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(23,105,224,0.20);
}

/* ICONS */

.beautiful-card svg {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;

  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* CARD HEADING */

.beautiful-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}

/* =========================
   CALL BUTTON
========================= */

.beautiful-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 55px;
}

.beautiful-cta a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  padding: 14px 25px;
  background: #1769E0;
  border-radius: 5px;

  color: #ffffff !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.beautiful-cta a:hover {
  background: #1154b8;
  color: #ffffff;
  transform: translateY(-2px);
}

.beautiful-cta a svg {
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 991px) {

  .beautiful-why {
    padding: 40px 18px;
  }

  .beautiful-why h2 {
    font-size: 30px;
  }

  .beautiful-stat strong {
    font-size: 48px;
  }

  .beautiful-stat p {
    font-size: 16px;
  }

  .beautiful-cards {
    gap: 16px;
  }

  .beautiful-card {
    min-height: 155px;
    padding: 20px 14px;
  }

  .beautiful-card h3 {
    font-size: 18px;
  }

  .beautiful-card svg {
    width: 40px;
    height: 40px;
  }

}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {

  .beautiful-why {
    padding: 35px 12px 40px;
  }

  .beautiful-why h2 {
    margin-bottom: 28px;
    font-size: 27px;
  }

  /* Keep statistics in 3 columns */

  .beautiful-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 28px;
  }

  .beautiful-stat strong {
    font-size: clamp(29px, 8vw, 42px);
  }

  .beautiful-stat p {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
  }

  /* Stack cards vertically */

  .beautiful-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .beautiful-card {
    min-height: 135px;
    padding: 20px 15px;
    border-radius: 10px;
  }

  .beautiful-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .beautiful-card h3 {
    font-size: 19px;
    line-height: 1.4;
  }

  .beautiful-cta {
    margin-top: 35px;
  }

  .beautiful-cta a {
    padding: 13px 22px;
    font-size: 17px;
    gap: 10px;
  }

  .beautiful-cta a svg {
    width: 22px;
    height: 22px;
  }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 360px) {

  .beautiful-stat strong {
    font-size: 27px;
  }

  .beautiful-stat p {
    font-size: 10px;
  }

  .beautiful-card h3 {
    font-size: 18px;
  }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .beautiful-card,
  .beautiful-cta a {
    transition: none;
  }
}

