/* ================================
   Durable Ortho – Premium Theme
================================ */

:root {
    --primary: #0f7c82;
    --accent: #f58220;
    --dark: #1f2933;
    --light-bg: #f7f9fb;
    --white: #ffffff;
    --text: #4a5568;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section-soft {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--dark);
    margin-bottom: 10px;
}

/* HERO */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 38px;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image img {
    max-height: 420px;
    object-fit: contain;
}

/* GRID */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}

/* CARDS */

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.category-image {
    margin-bottom: 25px;
}

.category-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.category-card {
    overflow: hidden;
}

.category-card:hover img {
    transform: scale(1.05);
    transition: 0.4s ease;
}

.category-btn {
    margin-top: 20px;
}

/* BUTTONS */

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #0d6c71;
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-accent:hover {
    background: #e07010;
}

/* IMAGE WRAPPER */

.image-wrapper img {
    max-height: 380px;
    object-fit: contain;
}

/* FEATURE LIST */

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* CTA */

.cta-box {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   FOOTER FIX
================================ */

footer {
    background: var(--primary);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

footer p {
    line-height: 1.6;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}
/* ===============================
   CONTACT PAGE STYLES
================================= */

.page-header {
    padding: 60px 20px 30px;
    text-align: center;
    background: #f8fafc;
}

.page-header h1 {
    margin-bottom: 15px;
    font-size: 32px;
}

.page-header p {
    max-width: 700px;
    margin: auto;
    color: #555;
}

.contact-section {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.contact-form h2,
.contact-info-wrapper h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0e7c86;
}

.btn-primary {
    background: #0e7c86;
    color: #ffffff;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0c6a73;
}

.form-success {
    background: #e6f7ed;
    color: #1b5e20;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.form-error {
    background: #fdecea;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.contact-card p {
    margin-bottom: 15px;
}

.contact-card a {
    color: #0e7c86;
    text-decoration: none;
}

.business-hours {
    margin-top: 30px;
}

.notice-box {
    margin-top: 25px;
    background: #f3f4f6;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   QUOTE PAGE STYLES
================================= */

.quote-section {
    padding: 60px 20px;
}

.quote-form {
    max-width: 900px;
    margin: auto;
}

.form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.form-card h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0e7c86;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quote-submit {
    text-align: center;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   FOOTER BOTTOM FIX
================================= */

.footer-bottom {
    background: #0f7c82; /* or your footer dark color */
    padding: 25px 20px;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.footer-bottom-inner .copyright {
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
    color: #d0d6d9;
}
/* ===============================
   PRODUCT CARD FIXES
================================= */

/* Make product cards behave like category cards */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 100%;
}

/* Improve product image consistency */
.product-image img {
    max-height: 180px;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

/* Make sure button stays aligned at bottom */
.product-btn {
    margin-top: 20px;
}

/* Ensure grid items stretch evenly */
.grid-3 > * {
    display: flex;
}

/* Make card fill full height of grid cell */
.grid-3 > .card {
    width: 100%;
}