/* Russell ProCare Website Styles */
:root {
    --primary-blue: #4338ca;
    --secondary-blue: #3730a3;
    --primary-green: #10b981;
    --secondary-green: #059669;
    --light-blue: #ddd6fe;
    --light-green: #d1fae5;
    --gradient-bg: linear-gradient(135deg, #4338ca 0%, #10b981 100%);
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-dark: #1f2937;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

/* Ensure all images display properly */
img {
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: var(--gradient-bg) 1;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: sparkle 3s infinite;
}

.header::after {
    content: '✨';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.6;
    animation: twinkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: translateY(-50%) scale(0.8); }
    100% { opacity: 0.8; transform: translateY(-50%) scale(1.2); }
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%) 1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    position: relative;
    background: none;
    border-radius: 0;
    margin: 0;
    gap: 1rem;
}

.header-content::before {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px !important;
    width: auto !important;
    max-width: 250px !important;
    display: inline-block !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Desktop specific logo styling */
@media (min-width: 769px) {
    .logo img {
        display: block !important;
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    z-index: 10;
    position: relative;
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1;
    margin-left: 1rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    min-width: auto;
    text-align: center;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-blue);
    background-color: var(--light-blue);
    transform: translateY(-1px);
}

.header-phone {
    display: flex;
    align-items: center;
}

.phone-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
}

/* Floating Phone Number */
.floating-phone {
    position: fixed;
    top: 70px;
    right: 15px;
    z-index: 1002;
    display: none;
}

.floating-phone a {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(67, 56, 202, 0.3);
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.floating-phone a:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-content {
        padding: 0.25rem 0;
        margin: 0;
        background: none;
        gap: 0.25rem;
        position: relative;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .mobile-logo {
        flex: 0 0 auto;
        order: 1;
    }
    
    .mobile-logo img {
        height: 35px !important;
    }
    
    .mobile-nav {
        order: 2;
        flex: 1;
        margin: 0 0.25rem;
        overflow: hidden;
    }
    
    .mobile-nav .nav {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.15rem;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mobile-nav .nav::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-nav .nav li {
        margin: 0;
        flex: 0 0 auto;
    }
    
    .mobile-nav .nav a {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
        font-weight: 600;
        min-width: auto;
        white-space: nowrap;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav .nav .btn {
        background: var(--primary-blue);
        color: var(--white);
        padding: 0.25rem 0.45rem;
        font-size: 0.6rem;
    }
    
    .mobile-nav .nav .btn:hover {
        background: var(--secondary-green);
        color: var(--white);
        transform: none;
    }
    
    .header-phone {
        order: 3;
        flex: 0 0 auto;
        display: block !important;
    }
    
    .phone-link {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
        font-weight: 700;
        border-radius: 12px;
        white-space: nowrap;
    }
    
    .floating-phone {
        display: none !important;
    }
    
    /* Hide desktop nav on mobile */
    nav:not(.mobile-nav) {
        display: none;
    }
}

/* Mobile Hero and General Layout */
@media (max-width: 768px) {
    .hero {
        height: 70vh !important;
        min-height: 500px !important;
        padding-top: 1rem;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        width: 100%;
    }
    
    .hero-question {
        font-size: 2.5rem !important;
        margin-bottom: 0;
        line-height: 1.1;
    }
    
    .hero-solution {
        font-size: 2.5rem !important;
        margin-bottom: 2rem;
        line-height: 1.1;
    }
    
    .step-number {
        font-size: 3rem !important;
    }
    
    .step-title {
        font-size: 1.8rem !important;
    }
    
    .process-title {
        font-size: 1.8rem !important;
    }
    
    .services-title {
        font-size: 1.8rem !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .hero-content .btn {
        display: block;
        margin: 0.75rem auto;
        max-width: 280px;
        font-size: 1rem;
        padding: 1rem 1.5rem;
        border-radius: 8px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #3730a3 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--gradient-bg);
    color: var(--white);
    border-color: transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: white;
    color: black;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.video-background {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.7) 0%, rgba(16, 185, 129, 0.7) 100%);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(67, 56, 202, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-question {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.1;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-solution {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1.1;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-cta {
    margin-top: 3rem;
}

.btn-quote {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: underline;
    color: black;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: lowercase;
}

.btn-quote:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Process Section */
.process-section {
    background: white;
    padding: 6rem 0;
    text-align: center;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.process-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: black;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.process-step {
    text-align: center;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    color: black;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 3rem;
    font-weight: 800;
    color: black;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.process-cta {
    margin-top: 4rem;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 6rem 0;
    text-align: center;
}

.services-header {
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.services-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.service-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    background: rgba(67, 56, 202, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.services-cta {
    margin-top: 3rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-header {
    padding: 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.img-cover {
    object-fit: cover;
    width: 100%;
    height: 200px;
    display: block;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-blue);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* FAQ */
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--gray-50);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-answer {
    padding: 1rem;
    background: var(--white);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Pricing */
.pricing-card {
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.price-unit {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: normal;
}

/* Reviews */
.review-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 1rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Pricing Info Styling */
.pricing-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 4px;
    text-align: center;
}

.pricing-info p {
    margin: 0.25rem 0;
}

.pricing-info p:first-child {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-300);
}

/* Blog */
.blog-post {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-meta {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .card-body,
    .card-header,
    .card-footer {
        padding: 1rem;
    }
    
    .service-card {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.bg-gray-50 { background-color: var(--gray-50); }
.bg-primary { background-color: var(--primary-blue); }
.text-primary { color: var(--primary-blue); }
.text-white { color: var(--white); }
