/* Main Styles for Injector Care Website */

/* Base Styles and Variables */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #0056b3;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-color: #212529;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.testing .container {
    padding-top: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    position: relative;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--dark-gray);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #62bb46 0%, #39b4e5 100%);
}

.hero-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

.hero-section .section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.hero-section .section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-row:last-child {
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    min-width: 300px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
    min-width: 300px;
    color: #fff;
    text-align: left;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.before-after-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-weight: 700;
    border-radius: 3px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }
    
    .hero-section .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }

    .hero-section .section-header h2 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    header {
        height: 70px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        top: 70px;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Page Header */
.page-header {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    background-color: var(--dark-gray);
    color: var(--white);
    padding-top: 150px;
}

.services .section-header h2 {
    color: var(--white);
}

.services .section-header p {
    color: var(--white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
    color: var(--text-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Testing Process Section */
.testing {
    background-color: var(--light-gray);
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.test-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.test-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.test-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.test-item h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

/* Replacement Section */
.replacement {
    background-color: var(--white);
}

.replacement-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.replacement-image {
    flex: 1 1 400px;
    text-align: center;
}

.replacement-list {
    flex: 1 1 500px;
}

.replacement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.replacement-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.replacement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Guarantee Section */
.guarantee {
    background-color: var(--light-gray);
}

.guarantee-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.guarantee-text {
    flex: 1 1 600px;
}

.guarantee-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.guarantee-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.guarantee-text ul li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.guarantee-text ul li ul {
    margin: 10px 0;
}

.guarantee-badge {
    flex: 0 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: relative;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.badge:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--white);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.badge-content {
    text-align: center;
}

.badge-text {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.badge-subtext {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.badge-maintext {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.disclaimer {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
}

.disclaimer h4 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1 1 500px;
}

.contact-info {
    flex: 1 1 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* CTA Section */
.cta-section {
    background: #0056b3;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    padding: 20px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage Options Section */
.homepage-options {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.homepage-options .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.homepage-options .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.homepage-options .section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
}

.options-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.option-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.option-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.option-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.option-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.option-card .btn {
    margin-top: 10px;
    display: inline-block;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
    background-color: #e05f00;
    transform: translateY(-2px);
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .options-content {
        flex-direction: column;
    }
    
    .option-card {
        margin-bottom: 20px;
    }
}

/* Service Card Section */
.service-card-section {
    padding: 120px 0 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    display: flex;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #39b4e5 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-image {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    flex: 1.5;
    padding: 40px;
    color: #fff;
}

.service-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.before-after-container {
    background-color: transparent;
    width: 100%;
    padding: 0;
    box-shadow: none;
}

.image-container {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-weight: 700;
    border-radius: 3px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 992px) {
    .service-card {
        flex-direction: column;
    }
    
    .service-image {
        max-width: 100%;
        padding: 20px 20px 0 20px;
    }
    
    .service-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .service-content h2 {
        font-size: 1.8rem;
    }
}

/* Guarantee Header */
.guarantee-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

.guarantee-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    display: inline-block;
}

.guarantee-header h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: white;
    margin: 10px auto 0;
}

.guarantee-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3:after, .footer-social h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-social {
    flex: 1 1 200px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .badge {
        width: 200px;
        height: 200px;
    }
    
    .badge-text {
        font-size: 4rem;
    }
    
    .badge-maintext {
        font-size: 1.5rem;
    }
}

/* Contact Footer */
.contact-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 25px 0;
    margin-top: 40px;
}

.contact-footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-footer .contact-info {
    display: flex;
    justify-content: center;
}

.contact-footer .contact-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.contact-footer .contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
}

.contact-footer .contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.contact-footer .contact-item p {
    margin-bottom: 0;
    color: #ccc;
}

@media (max-width: 576px) {
    .contact-footer .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-footer .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Testimonials */
