/* Contact Page Styles - Updated to match theme system */

/* Contact Options Section styling */
.contact-options-section {
    background-color: var(--color-base-100);
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--color-base-200);
}

/* Override service card hover effect for contact form */
.contact-form-container.service-card {
    transform: none !important;
}

.contact-form-container.service-card:hover {
    transform: none !important;
    box-shadow: var(--shadow);
}

/* Form element styling */
.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.25rem var(--overlay-primary);
}

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

/* Contact form container specifics */
.contact-form-container {
    overflow: hidden;
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

/* Contact Info Section */
.contact-info-card {
    background: var(--color-base-100);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--overlay-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* Map Section */
.map-section {
    height: 450px;
    position: relative;
    overflow: hidden;
}

/* Pulse animation for map interaction */
@keyframes mapPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Trust Signals Section */
.trust-signals-section {
    background-color: var(--color-base-100);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-logos img {
    transition: opacity 0.3s ease;
}

.trusted-logos img:hover {
    opacity: 1 !important;
}

/* Brand icon styling */
.brand-icon {
    transition: all 0.3s ease;
    min-width: 100px;
}

.brand-icon i {
    color: var(--color-accent); /* Using accent color for brand icons */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-icon:hover {
    transform: translateY(-8px);
}

.brand-icon:hover i {
    opacity: 1 !important;
    transform: scale(1.2) rotate(5deg);
    text-shadow: var(--effect-text-shadow);
}

.brand-icon .small {
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.brand-icon:hover .small {
    color: var(--color-base-content);
}

/* FAQ Section styling - Consolidated to remove duplicates */
.faq-section {
    background-color: var(--color-base-200);
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--color-accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* New FAQ container with collective border */
.faq-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    background-color: var(--color-base-100);
    box-shadow: var(--shadow);
}

/* Ensure pairs of FAQ items are aligned */
.faq-section .row > div {
    display: flex;
    flex-direction: column;
}

.faq-section .row > div > div:nth-child(1),
.faq-section .row > div > div:nth-child(2),
.faq-section .row > div > div:nth-child(3),
.faq-section .row > div > div:nth-child(4) {
    height: 100%;
    margin-bottom: 30px;
}

.faq-item {
    position: relative;
    background: var(--color-base-200);
    border-radius: var(--radius-box);
    overflow: hidden;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--color-neutral);
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-fade-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item > * {
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-accent);
}

.faq-question {
    color: var(--color-base-content);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

.faq-answer {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .faq-container {
        padding: 30px;
    }
    
    .faq-item {
        padding: 20px 25px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .faq-container {
        padding: 25px;
    }
    
    .faq-item {
        padding: 20px;
        margin-bottom: 20px;
        min-height: auto;
    }
    
    .faq-question {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
        min-height: 3rem;
        height: auto;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .faq-section .row > div > div:nth-child(1),
    .faq-section .row > div > div:nth-child(2),
    .faq-section .row > div > div:nth-child(3),
    .faq-section .row > div > div:nth-child(4) {
        height: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .faq-container {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

/* Map placeholder styling */
.map-placeholder {
    color: var(--text-muted);
    background-color: var(--color-base-300) !important;
}

/* Responsive Styles for Contact Page */
@media (max-width: 991px) {
    .contact-form-container {
        margin-bottom: 30px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-options-section {
        margin-top: -30px;
    }
    
    .brand-icon {
        min-width: 80px;
        margin: 0 10px;
    }
    
    .brand-icon i {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card {
        margin-bottom: 15px;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .form-floating {
        margin-bottom: 0.75rem !important;
    }
    
    .trusted-logos {
        justify-content: space-around;
    }
    
    .brand-icon {
        min-width: 70px;
        margin: 0 8px;
    }
    
    .brand-icon i {
        font-size: 2rem;
    }
    
    .brand-icon .small {
        font-size: 0.7rem;
    }
    
    .brand-icon:hover {
        transform: translateY(-5px);
    }
}

/* Web Development Service Page Styles */

/* Process Section Styling - Updated to match screenshot */
.process-container {
    padding: 40px;
    border-radius: var(--radius-xl);
    background-color: var(--color-base-100);
    box-shadow: var(--shadow-lg);
}

.process-item {
    padding: 30px;
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    background: var(--color-base-100);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s ease;
    min-height: 270px;
}

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

.process-number {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1;
}

.process-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.process-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Case Study Styling */
.case-study-container {
    padding: 40px;
    border-radius: var(--radius-xl);
    background-color: var(--color-base-100);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.case-study-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.case-study-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.case-study-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

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

.case-study-content {
    padding: 20px 0;
}

.case-study-content h3 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 28px;
}

.case-study-stats {
    background: var(--overlay-light-gradient);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-value {
    font-family: 'Satoshi', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Responsive adjustments for process and case study sections */
@media (max-width: 991px) {
    .process-item {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .process-container {
        padding: 20px;
    }
    
    .process-item {
        padding: 20px;
        min-height: 0;
        margin-bottom: 15px;
    }
    
    .process-number {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .process-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .case-study-image {
        margin-bottom: 20px;
    }
    
    .case-study-content h3 {
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .stat-item {
        padding: 5px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* Additional styles for JavaScript interactions */

/* Process item highlight effect for mobile click interaction */
.process-highlight {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--overlay-light);
    border-left: 3px solid var(--color-accent);
}

/* Stat highlight effect */
.stat-highlight {
    transform: scale(1.1);
    color: var(--color-primary) !important;
    text-shadow: var(--effect-text-shadow);
}

/* Pulse animation for case study image */
.case-study-image.pulse {
    animation: casePulse 0.6s ease;
}

@keyframes casePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* In-view animation for elements */
.service-card, .process-item, .case-study-container {
    opacity: 0.85;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-card.in-view, .process-item.in-view, .case-study-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Animated class for elements */
.fadeInUp:not(.animated), .fadeInRight:not(.animated), .fadeInLeft:not(.animated) {
    opacity: 0;
}

.fadeInUp.animated {
    animation: fadeInUpAnim 0.8s forwards;
}

.fadeInRight.animated {
    animation: fadeInRightAnim 0.8s forwards;
}

.fadeInLeft.animated {
    animation: fadeInLeftAnim 0.8s forwards;
}

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

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

@keyframes fadeInLeftAnim {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 

/* Fix for heading colors in About page */
#about-sections h2 {
    color: var(--color-base-content) !important;
}
#about-sections p {
    color: var(--text-color);
}