/* Pages Specific Styles */

/* Page Header */
.page-header {
    padding: 100px 0 100px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    min-height: auto;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.page-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header .lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-header .row {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 80px !important;
        min-height: auto;
    }

    .page-header h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .page-header .lead {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 130px 0 60px;
        min-height: 45vh;
    }

    .page-header h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .page-header .lead {
        font-size: 16px;
    }
}

/* About Content */
.about-content {
    padding: 100px 0;
    background: var(--dark-color);
}

.about-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 30px;
    font-weight: bold;
}

.about-text p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Feature Cards */
/* Feature Cards */
.feature-card {
    background: var(--gray-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
}

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

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}
/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--gray-color);
}

.team-card {
    background: var(--dark-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h4 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info p {
    color: #cccccc;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--dark-color);
}

.values-section h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
    font-weight: bold;
}

.values-list {
    max-width: 500px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

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

.value-icon i {
    font-size: 24px;
    color: white;
}

.value-content h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-content p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.values-image img {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Contact Page Styles */
.contact-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contact-form-section {
    padding: 100px 0;
    background: var(--dark-color);
}

.contact-form-container {
    background: var(--gray-color);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form-container h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

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

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

.form-control {
    background: var(--dark-color);
    border: 2px solid var(--light-gray);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    background: var(--dark-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control::placeholder {
    color: #888;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-select {
    background: var(--dark-color);
    border: 2px solid var(--light-gray);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-select:focus {
    background: var(--dark-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-select option {
    background: var(--dark-color);
    color: white;
}

.form-check {
    margin-bottom: 25px;
}

.form-check-input {
    background: var(--dark-color);
    border: 2px solid var(--light-gray);
    margin-right: 10px;
}

.form-check-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: white;
    font-size: 16px;
}

.submit-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.disclaimer {
    font-size: 14px;
    color: #cccccc;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

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

.disclaimer a:hover {
    text-decoration: underline;
}

/* Contact Info Section */
.contact-info-section {
    padding: 100px 0;
    background: var(--gray-color);
}

.contact-info-card {
    background: var(--dark-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.contact-info-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-card p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--gray-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
}

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

.service-icon i {
    font-size: 32px;
    color: white;
}

/* Case Studies Page Icons */
.case-studies-overview .case-icon,
.additional-case-studies .case-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.case-studies-overview .case-icon i,
.additional-case-studies .case-icon i {
    font-size: 32px;
    color: white !important;
    display: inline-block;
    font-weight: 900 !important;
}

/* Case Card Styling for Case Studies Page */
.case-studies-overview .case-card,
.additional-case-studies .case-card {
    transition: all 0.3s ease;
}

.case-studies-overview .case-card:hover,
.additional-case-studies .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
    border-color: var(--primary-color) !important;
}

/* Ensure Font Awesome icons display properly */
.case-studies-overview .fas,
.additional-case-studies .fas,
.case-studies-overview .far,
.additional-case-studies .far,
.case-studies-overview .fab,
.additional-case-studies .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: white !important;
}

/* Additional specificity for case study icons */
.case-studies-overview .case-icon .fas,
.additional-case-studies .case-icon .fas,
.case-studies-overview .case-icon .far,
.additional-case-studies .case-icon .far,
.case-studies-overview .case-icon .fab,
.additional-case-studies .case-icon .fab {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 900 !important;
}

/* Force white color for all case study page icons */
.case-studies-overview i[class*="fa-"],
.additional-case-studies i[class*="fa-"] {
    color: #ffffff !important;
}

/* Specific icon fixes */
.case-studies-overview .case-card .case-icon i,
.additional-case-studies .case-card .case-icon i {
    color: #ffffff !important;
    background: none !important;
    text-shadow: none !important;
}

/* Ultimate fallback for case study icons */
section.case-studies-overview .case-icon i,
section.additional-case-studies .case-icon i,
.case-studies-overview .col-lg-4 .case-icon i,
.additional-case-studies .col-lg-4 .case-icon i {
    color: white !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    font-family: "Font Awesome 6 Free" !important;
}

/* Cancer Pages Styling */
.cancer-overview {
    background: #f8f9fa;
}

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

.cancer-icon i {
    font-size: 40px;
    color: white;
}

/* Improved Text Contrast for Cancer Pages */
.cancer-content h2,
.cancer-content .display-6 {
    color: #212529 !important;
    font-weight: 700;
}

.cancer-content p,
.cancer-content .lead {
    color: #495057 !important;
    font-weight: 400;
}

.cancer-content .key-facts h4 {
    color: #343a40 !important;
    font-weight: 600;
}

.cancer-content .key-facts li {
    color: #495057 !important;
}

.cancer-stats .stat-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cancer-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.2);
}

/* Statistics Section Text Contrast */
.cancer-stats .section-header h2,
.cancer-stats .display-5 {
    color: #212529 !important;
    font-weight: 700;
}

.cancer-stats .section-header p,
.cancer-stats .lead {
    color: #6c757d !important;
}

.cancer-stats .stat-label {
    color: #495057 !important;
    font-weight: 500;
}

.cancer-stats .small {
    color: #6c757d !important;
}

.legal-point-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-point-icon i {
    font-size: 20px;
    color: white;
}

.cancer-content .key-facts ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.cancer-content .key-facts ul li:last-child {
    border-bottom: none;
}

/* Legal Information Section Text Contrast */
.legal-content h2,
.legal-content .display-6 {
    color: #212529 !important;
    font-weight: 700;
}

.legal-content p,
.legal-content .lead {
    color: #495057 !important;
    font-weight: 400;
}

.legal-point h4 {
    color: #343a40 !important;
    font-weight: 600;
}

.legal-point p {
    color: #6c757d !important;
}

/* Case Studies Dark Theme */
.case-studies-overview {
    background: #1a1a1a;
    color: white;
}

.case-studies-overview .case-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.case-studies-overview .case-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.success-stats {
    background: #1a1a1a;
    color: white;
}

/* Gallery Page Styles */
.gallery-section {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}

.gallery-section .section-header h2 {
    color: white !important;
}

.gallery-section .section-header p {
    color: #f8f9fa !important;
}

.gallery-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.gallerySwiper {
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.9) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.gallery-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.gallery-content .qr-code {
    font-size: 3rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.gallery-content .website-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Gallery Categories */
.gallery-categories {
    background: #f8f9fa !important;
}

.category-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
}

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

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

/* Swiper Navigation */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: white;
    background: rgba(220, 53, 69, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
}

.gallerySwiper .swiper-button-next:after,
.gallerySwiper .swiper-button-prev:after {
    font-size: 20px;
}

.gallerySwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.gallerySwiper .swiper-pagination-bullet-active {
    background: #dc3545;
    opacity: 1;
}

.service-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header .lead {
        font-size: 18px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
    }
    
    .value-icon {
        margin: 0 auto 15px;
    }
    
    .team-image img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .contact-form-container h2 {
        font-size: 24px;
    }
    
    .about-content h2,
    .values-section h2 {
        font-size: 28px;
    }
}