/*
 * DEXTEROUS FACILITY SERVICES - UNIVERSAL THEME
 * Applies to ALL pages automatically
 * Logo-based colors with animations (CORRECTED COLORS)
 * Version: 3.1 - Fixed Logo Colors
 */

/* ============================================
   COLOR VARIABLES (Based on ACTUAL Logo Colors)
   ============================================ */
:root {
    /* Primary Colors (From Actual Logo - Teal/Cyan) */
    --primary-color: #00BCD4;        /* Teal/Cyan (Logo color) */
    --primary-dark: #0097A7;         /* Dark Teal */
    --primary-light: #4DD0E1;        /* Light Teal */
    --secondary-color: #00E5FF;      /* Bright Cyan */
    --accent-color: #FF6F00;         /* Orange Accent */
    
    /* Neutral Colors */
    --dark-bg: #1A1A2E;              /* Dark Background */
    --light-bg: #F8F9FA;             /* Light Background */
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* Gradient Colors (Teal/Cyan based) */
    --gradient-primary: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    --gradient-secondary: linear-gradient(135deg, #4DD0E1 0%, #00E5FF 100%);
    --gradient-accent: linear-gradient(135deg, #FF6F00 0%, #F57C00 100%);
    --gradient-dark: linear-gradient(135deg, #0097A7 0%, #00838F 100%);
    --gradient-hero: linear-gradient(135deg, #00BCD4 0%, #00838F 100%);
    
    /* Shadow Variables */
    --shadow-sm: 0 2px 4px rgba(0, 188, 212, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 188, 212, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 188, 212, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 188, 212, 0.25);
    
    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Page Wrapper */
.page-wrapper,
.boxed_wrapper {
    overflow-x: hidden;
    position: relative;
}

/* Page Title (Breadcrumb) */
.page-title {
    background: var(--gradient-dark) !important;
    padding: 150px 0 100px !important;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 232, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.page-title h1,
.page-title h2 {
    color: var(--white) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 0.8s ease;
}

.page-title .breadcrumb-list li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.page-title .breadcrumb-list li a {
    color: var(--secondary-color) !important;
    transition: var(--transition-normal);
}

.page-title .breadcrumb-list li a:hover {
    color: var(--accent-color) !important;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Section */
.about-section,
.about-style-two,
.about-style-three {
    padding: 100px 0;
    animation: fadeIn 0.8s ease;
}

.about-section .sec-title h2,
.sec-title h2 {
    color: var(--gray-900);
    position: relative;
    padding-bottom: 20px;
}

.about-section .sec-title h2::after,
.sec-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-section .sec-title h6,
.sec-title h6 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.team-block-one {
    margin-bottom: 30px;
    animation: scaleIn 0.6s ease;
}

.team-block-one .inner-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.team-block-one:hover .inner-box {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.team-block-one .image-box img {
    transition: var(--transition-slow);
}

.team-block-one:hover .image-box img {
    transform: scale(1.1);
}

.team-block-one .lower-content {
    padding: 25px;
    text-align: center;
}

.team-block-one h3 {
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-block-one .designation {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.team-block-one .social-links {
    margin-top: 15px;
}

.team-block-one .social-links li a {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.team-block-one .social-links li a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
}

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* Service Details */
.service-details {
    padding: 100px 0;
}

.service-details .content-side {
    animation: slideInRight 0.8s ease;
}

.service-details .image-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.service-details .image-box img {
    transition: var(--transition-slow);
}

.service-details .image-box:hover img {
    transform: scale(1.05);
}

.service-details h2 {
    color: var(--gray-900);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
}

.service-details .text p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-details .list-style-one li {
    color: var(--gray-800);
    padding: 12px 20px;
    margin-bottom: 10px;
    background: var(--gray-100);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.service-details .list-style-one li:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

/* Service Sidebar */
.service-sidebar {
    animation: slideInLeft 0.8s ease;
}

.service-sidebar .sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

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

.service-sidebar .category-widget li a {
    color: var(--gray-800);
    padding: 15px 20px;
    display: block;
    background: var(--gray-100);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: var(--transition-normal);
    border-left: 4px solid transparent;
}

.service-sidebar .category-widget li a:hover,
.service-sidebar .category-widget li a.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-left-color: var(--accent-color);
    transform: translateX(10px);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-info-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-info-block {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition-normal);
    animation: scaleIn 0.6s ease;
}

.contact-info-block:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.contact-info-block:hover .icon-box {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.contact-info-block h3 {
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info-block p,
.contact-info-block a {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.8;
}

.contact-info-block a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition-normal);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.contact-form button[type="submit"] {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Map Section */
.map-section {
    padding: 0;
    margin: 0;
}

.map-section iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BOOKING PAGE STYLES
   ============================================ */

/* Booking Form */
.booking-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.booking-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.8s ease;
}

.booking-form-container h2 {
    color: var(--gray-900);
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.booking-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-form label {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition-normal);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
    outline: none;
}

/* Price Summary */
.price-summary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: var(--shadow-lg);
}

.price-summary h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-summary .price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-summary .price-row.total {
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
    margin-top: 10px;
}

/* ============================================
   CAREER PAGE STYLES
   ============================================ */

/* Career Section */
.career-section {
    padding: 100px 0;
}

.job-listing {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition-normal);
    animation: fadeIn 0.6s ease;
}

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

.job-listing h3 {
    color: var(--gray-900);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.job-listing .job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-listing .job-meta span {
    color: var(--gray-600);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-listing .job-meta span i {
    color: var(--primary-color);
}

.job-listing .job-description {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-listing .apply-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.job-listing .apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Application Form */
.application-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.8s ease;
}

.application-form h2 {
    color: var(--gray-900);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

/* ============================================
   TESTIMONIAL STYLES
   ============================================ */

.testimonial-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.testimonial-block-one {
    animation: scaleIn 0.6s ease;
}

.testimonial-block-one .inner-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.testimonial-block-one:hover .inner-box {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-block-one .quote {
    color: var(--primary-color);
    font-size: 48px;
    margin-bottom: 20px;
}

.testimonial-block-one .rating li i {
    color: var(--accent-color);
}

.testimonial-block-one .text p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-block-one .author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-200);
}

.testimonial-block-one .author-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-block-one h5 {
    color: var(--gray-900);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-block-one .designation {
    color: var(--primary-color);
    font-size: 14px;
}

/* ============================================
   PRICING STYLES
   ============================================ */

.pricing-section {
    padding: 100px 0;
}

.pricing-block {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    animation: scaleIn 0.6s ease;
    position: relative;
    overflow: hidden;
}

.pricing-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.pricing-block:hover::before {
    transform: scaleX(1);
}

.pricing-block:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-block.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.pricing-block.featured h3,
.pricing-block.featured .price,
.pricing-block.featured li {
    color: var(--white);
}

.pricing-block h3 {
    color: var(--gray-900);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-block .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.pricing-block .price span {
    font-size: 18px;
    font-weight: 400;
}

.pricing-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-block ul li {
    color: var(--gray-700);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-block ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ============================================
   FAQ STYLES
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.accordion-box {
    animation: fadeIn 0.8s ease;
}

.accordion {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.accordion:hover {
    box-shadow: var(--shadow-md);
}

.accordion .acc-btn {
    background: var(--white);
    color: var(--gray-900);
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.accordion .acc-btn:hover {
    background: var(--gray-100);
}

.accordion .acc-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.accordion .acc-btn .icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.accordion .acc-btn.active .icon {
    background: var(--white);
    color: var(--primary-color);
    transform: rotate(180deg);
}

.accordion .acc-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion .acc-content.current {
    padding: 20px 30px;
    max-height: 500px;
}

.accordion .acc-content p {
    color: var(--gray-700);
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-title h1,
    .page-title h2 {
        font-size: 36px !important;
    }
    
    .service-details h2 {
        font-size: 28px;
    }
    
    .booking-form-container,
    .contact-form,
    .application-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .page-title {
        padding: 100px 0 60px !important;
    }
    
    .page-title h1,
    .page-title h2 {
        font-size: 28px !important;
    }
    
    .booking-form-container h2,
    .contact-form h2,
    .application-form h2 {
        font-size: 24px;
    }
    
    .pricing-block.featured {
        transform: scale(1);
    }
    
    .job-listing .job-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   UTILITY CLASSES FOR ALL PAGES
   ============================================ */

/* Team Section - Fix h6 visibility */
.team-section .sec-title.light h6 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.team-section .sec-title.light h6:before,
.team-section .sec-title.light h6:after {
    background: #FFFFFF !important;
    opacity: 1 !important;
}

/* Ensure all light section titles are visible */
.sec-title.light h6 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
}

.sec-title.light h6:before,
.sec-title.light h6:after {
    background: #FFFFFF !important;
    opacity: 0.8 !important;
}

.sec-title.light h2 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-secondary {
    background: var(--gradient-secondary) !important;
}

.bg-accent {
    background: var(--gradient-accent) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

.rounded-lg {
    border-radius: 20px !important;
}

.rounded-full {
    border-radius: 50% !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-left {
    animation: slideInLeft 0.6s ease;
}

.slide-right {
    animation: slideInRight 0.6s ease;
}

.scale-in {
    animation: scaleIn 0.6s ease;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}
