/* 
* Main Stylesheet for Contoso Medical Travel
* This contains the core styles for the website
*/

:root {
    /* Color Variables */
    --primary-color: #F7C59F;
    --secondary-color: #FDFDFD;
    --accent-color: #A3B18A;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-light: #A3B18A;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --header-color:  #4e7779;
}

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

/* Base font size improvements for mobile readability */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden;
    font-size: 16px; /* Increased from default 14px for better mobile readability */
}

/* Ensure paragraphs meet minimum 16px requirement */
p {
    font-size: 16px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

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

/* Global image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

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

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 8px;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 12px 24px; /* Increased padding for 44px+ touch targets */
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 44px; /* Ensure minimum touch target size */
    min-width: 44px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.underline {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 15px auto 20px;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--header-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    max-height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

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

/* Global navigation link touch targets - mobile-first approach */
.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px; /* Larger base font size for better mobile experience */
    position: relative;
    padding: 16px 20px; /* Increased padding for better touch targets */
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.25;
    text-align: center;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.main-nav ul li a.btn-contact {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 18px; /* Increased padding for better touch targets */
    border-radius: 4px;
    min-height: 44px;
    min-width: 44px;
}

.main-nav ul li a.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Desktop navigation refinement - more compact for larger screens */
@media (min-width: 992px) {
    .main-nav ul li a {
        font-size: 16px;
        padding: 12px 16px;
        text-align: left;
    }
}

/* About Section */
.about-section {
    background-color: var(--background-white);
}

.feature-box {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--background-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Services Overview */
.services-overview {
    background-color: var(--background-light);
}

.service-card {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-icon i {
    font-size: 36px;
    color: var(--light-text);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.btn-learn-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 15px;
    position: relative;
}

.btn-learn-more:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.btn-learn-more:hover:after {
    margin-left: 10px;
}

/* Testimonials */
.testimonials {
    background-color: var(--background-white);
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonial-text:before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
}

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

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 24px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    resize: vertical;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.copyright p {
    color: #aaa;
    font-size: 14px;
}

.copyright p a {
    color: #ffffff; /* Changed from #ccc to white for better contrast */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.copyright p a:hover {
    color: var(--accent-color); /* Changed to yellow accent for better visibility */
    text-decoration: none;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 120, 212, 0.8), rgba(0, 164, 239, 0.8)), url('../images/hero/hospital-expertise-desktop.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--light-text);
    padding: 80px 0;
}

/* Responsive background images for page banner */
@media (max-width: 1024px) {
    .page-banner {
        background: linear-gradient(rgba(0, 120, 212, 0.8), rgba(0, 164, 239, 0.8)), url('../images/hero/hospital-expertise-tablet.jpg');
    }
}

@media (max-width: 768px) {
    .page-banner {
        background: linear-gradient(rgba(0, 120, 212, 0.8), rgba(0, 164, 239, 0.8)), url('../images/hero/hospital-expertise-mobile.jpg');
    }
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Services Page Styles */
.service-item {
    margin-bottom: 80px;
    align-items: center;
}

.service-content {
    padding: 0 20px;
}

.service-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 8px;
}

/* Process Section */
.process-section {
    background-color: var(--background-white);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 36px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Company Name Styling */
.company-name {
    color: #1a1a1a; /* Very dark color for maximum contrast - WCAG AAA compliant */
    font-weight: 600;
}

/* Medical Excellence Section Styles */
.medical-excellence-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.excellence-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.excellence-card .card-icon {
    margin-bottom: 1rem;
}

.excellence-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.excellence-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.excellence-card ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.highlight-box {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.2);
}

.highlight-box h4 {
    color: white;
    font-weight: 600;
}

/* Service Cards Enhancement */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #e9ecef;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-learn-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
    color: white;
    text-decoration: none;
}

/* Medical Credentials Section */
.medical-credentials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 15px;
}

.medical-credentials h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
}

.credential-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

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

.credential-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.credential-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.credential-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.medical-credentials .btn-primary {
    margin-top: 30px;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.medical-credentials .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

/* Responsive adjustments for medical credentials */
@media (max-width: 768px) {
    .medical-credentials {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .medical-credentials h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .credential-item {
        padding: 1.5rem;
        margin-bottom: 20px;
    }
    
    .credential-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .credential-item h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .credential-item {
        padding: 1.2rem;
    }
    
    .credential-item i {
        font-size: 2rem;
    }
    
    .credential-item h4 {
        font-size: 1.1rem;
    }
    
    .credential-item p {
        font-size: 0.9rem;
    }
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 60px 0;
    background-color: var(--background-white);
}

.privacy-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--background-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.privacy-section h2:first-of-type {
    margin-top: 0;
}

.privacy-section h3 {
    color: var(--text-color);
    font-size: 20px;
    margin: 30px 0 15px 0;
}

.privacy-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 16px;
}

.privacy-section ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.privacy-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.last-updated {
    font-style: italic;
    color: #666;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 8px;
}

.privacy-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.privacy-footer p {
    color: #666;
    font-size: 14px;
}

/* Unified Modal Component */
.renova-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 120, 212, 0.95) 0%, 
        rgba(0, 164, 239, 0.95) 50%,
        rgba(255, 185, 0, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: gradientShift 8s ease-in-out infinite;
}

.renova-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.renova-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.renova-modal-overlay.show .renova-modal {
    transform: scale(1) translateY(0);
}

.renova-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 24px 24px 0 0;
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    animation: modalIconFloat 3s ease-in-out infinite;
}

@keyframes modalIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.modal-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.modal-description a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-modal-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px rgba(0, 120, 212, 0.3),
        0 3px 8px rgba(0, 120, 212, 0.2);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-modal-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-modal-primary:hover::before {
    left: 100%;
}

.btn-modal-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 120, 212, 0.4),
        0 6px 15px rgba(0, 120, 212, 0.3);
}

.btn-modal-primary:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.btn-modal-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.modal-trust-indicators {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.trust-indicator i {
    color: var(--success-color);
    font-size: 16px;
}

/* Specific modal type styling */
.update-modal .modal-icon {
    color: var(--accent-color);
    animation: updatePulse 2s ease-in-out infinite;
}

@keyframes updatePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.update-modal .btn-modal-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    box-shadow: 
        0 8px 25px rgba(255, 185, 0, 0.3),
        0 3px 8px rgba(255, 185, 0, 0.2);
}

.update-modal .btn-modal-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    box-shadow: 
        0 12px 35px rgba(255, 185, 0, 0.4),
        0 6px 15px rgba(255, 185, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .renova-modal {
        padding: 40px 30px;
        margin: 20px;
        border-radius: 20px;
        max-width: none;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-description {
        font-size: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .modal-trust-indicators {
        gap: 15px;
    }
    
    .trust-indicator {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .renova-modal {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .modal-icon {
        font-size: 2.5rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
}

/* Legacy Cookie Consent Overlay (for backward compatibility) */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 120, 212, 0.95) 0%, 
        rgba(0, 164, 239, 0.95) 50%,
        rgba(255, 185, 0, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(
            135deg, 
            rgba(0, 120, 212, 0.95) 0%, 
            rgba(0, 164, 239, 0.95) 50%,
            rgba(255, 185, 0, 0.95) 100%
        );
    }
    50% {
        background: linear-gradient(
            135deg, 
            rgba(255, 185, 0, 0.95) 0%,
            rgba(0, 164, 239, 0.95) 50%,
            rgba(0, 120, 212, 0.95) 100%
        );
    }
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.cookie-consent-overlay.show .cookie-consent-modal {
    transform: scale(1) translateY(0);
}

.cookie-consent-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 24px 24px 0 0;
}

.cookie-modal-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
    animation: cookieFloat 3s ease-in-out infinite;
}

@keyframes cookieFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.cookie-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-modal-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-modal-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.cookie-modal-description a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.cookie-modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px rgba(0, 120, 212, 0.3),
        0 3px 8px rgba(0, 120, 212, 0.2);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-cookie-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-cookie-accept:hover::before {
    left: 100%;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 120, 212, 0.4),
        0 6px 15px rgba(0, 120, 212, 0.3);
}

.btn-cookie-accept:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.btn-cookie-learn-more {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cookie-learn-more:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.cookie-trust-indicators {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.trust-indicator i {
    color: var(--success-color);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-modal {
        padding: 40px 30px;
        margin: 20px;
        border-radius: 20px;
        max-width: none;
    }
    
    .cookie-modal-title {
        font-size: 1.6rem;
    }
    
    .cookie-modal-description {
        font-size: 15px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cookie-accept,
    .btn-cookie-learn-more {
        width: 100%;
        max-width: 280px;
    }
    
    .cookie-trust-indicators {
        gap: 15px;
    }
    
    .trust-indicator {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-modal {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .cookie-modal-icon {
        font-size: 2.5rem;
    }
    
    .cookie-modal-title {
        font-size: 1.4rem;
    }
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Desktop navigation - ensure it's visible on larger screens */
@media screen and (min-width: 992px) {
    .main-nav {
        display: block !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    .col-md-6, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        margin: 0;
        padding: 0;
    }
    
    .main-nav ul li {
        text-align: center;
        margin-left: 0;
    }
    
    .main-nav ul li a {
        padding: 16px 20px; /* Increased padding for 44px+ touch targets */
        display: block;
        border-bottom: 1px solid var(--background-light);
        min-height: 44px;
        font-size: 18px; /* Larger font for better mobile readability */
        line-height: 1.2;
    }
    
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-content {
        padding: 20px 0;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .feature-box, .service-card, .testimonial-card {
        padding: 20px;
    }
}

/* Touch Target and Mobile Accessibility Improvements */
@media (max-width: 768px) {    /* Ensure all interactive elements meet minimum 44px touch target size */
    .btn, 
    .navbar-toggler,
    .carousel-control,
    .carousel-indicators button,
    .social-links a,
    .footer-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        font-size: 16px;
    }
    
    /* Footer navigation links need special touch target treatment */
    .footer-links ul li a {
        padding: 12px 16px !important;
        min-height: 44px;
        min-width: 44px;
        display: block;
        font-size: 16px;
        line-height: 1.25;
    }
      /* Navigation links get special treatment for mobile */
    .main-nav ul li a {
        min-height: 44px;
        padding: 16px 20px;
        font-size: 18px;
        line-height: 1.2;
        text-align: center;
    }
    
    /* Ensure minimum font sizes for mobile readability */
    p, .text-muted, span, div {
        font-size: 16px !important;
        line-height: 1.5;
    }
    
    /* Section titles and headers mobile sizing */
    h2 { font-size: 28px !important; }
    h3 { font-size: 24px !important; }
    h4 { font-size: 20px !important; }
    
    /* Skip link improvements */
    .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: #000;
        color: #fff;
        padding: 8px;
        z-index: 9999;
        text-decoration: none;
        border-radius: 4px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
    }
    
    .skip-link:focus {
        top: 6px;
    }
      /* Mobile navigation toggle improvements */
    .navbar-toggler {
        border: 2px solid #2c3e50;
        background: transparent;
        padding: 12px 16px; /* Increased padding for better touch targets */
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-toggler:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    /* Social media link improvements */
    .social-links a {
        margin: 4px;
        border: 1px solid transparent;
        border-radius: 4px;
    }
    
    .social-links a:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    /* Form input improvements */
    .form-control,
    .btn {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Carousel control improvements */
    .carousel-control {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid transparent;
    }
    
    .carousel-control:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .company-name {
        color: #000000 !important;
        font-weight: 700;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .feature-box,
    .btn,
    .main-nav ul li a:after {
        transition: none;
    }
    
    .carousel {
        scroll-behavior: auto;
    }
}

/* WCAG 2.1 AA Color Contrast Fixes */
.company-name {
    color: #1a1a1a !important; /* Very dark color for maximum contrast - WCAG AAA compliant */
    background-color: transparent !important;
    font-weight: 600;
}

/* Ensure all text meets contrast requirements */
.text-muted {
    color: #495057 !important; /* Darker muted text */
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
}

/* Footer text contrast */
.footer {
    color: #f8f9fa !important;
    background-color: #212529 !important;
}

.footer a {
    color: #ffffff !important;
}

.footer a:hover {
    color: #e9ecef !important;
}

/* Navigation link contrast */
.nav-link {
    color: #2c3e50 !important;
}

.nav-link:hover {
    color: #1a252f !important;
}

/* Testimonial text contrast */
.testimonial {
    color: #2c3e50 !important;
}

.testimonial .author {
    color: #495057 !important;
}
/* Touch Target Size Improvements */
@media (max-width: 768px) {
    .btn, button, a.btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .carousel-control, .carousel-indicators button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    /* Improve paragraph readability */
    p {
        font-size: 16px !important;
        line-height: 1.6;
    }
}