/* Custom CSS for Demo Co. Cleaning Service Website */

:root {
    --primary-color: #008A69; /* Teal-green */
    --primary-dark: #00664D;
    --secondary-color: #34C0CD;
    --accent-color: #F2B705;
    --text-color: #334155;
    --text-light: #64748b;
    --background-light: #f8fafc;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: clip;
}

/* Custom Button Styles */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(0, 138, 105, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    box-shadow: 0 10px 25px rgba(0, 138, 105, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    display: inline-block;
    padding: 12px 24px;
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-white:hover {
    background-color: #f3f4f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: white;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-align: center;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.logo {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.nav-link {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    right: 25%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Feature Icon Styles */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
}

/* Service Card Styles */
.service-card {
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

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

.service-icon i {
    font-size: 28px;
}

.service-features {
    margin: 24px 0;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    color: #64748b;
    margin-bottom: 8px;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 14px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link i {
    margin-left: 4px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* About Section Styles */
.about-image-container {
    position: relative;
}

.experience-badge {
    position: absolute;
    right: -24px;
    bottom: -24px;
    background-color: var(--primary-color);
    color: white;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 138, 105, 0.3);
    width: 100px;
    height: 100px;
    justify-content: center;
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 4px;
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 138, 105, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Counter Styles */
.counter {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
}

/* Process Styles */
.process-step {
    position: relative;
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 16px;
}

/* Team Card Styles - FIXED */
.team-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100%;
    flex-shrink: 0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.team-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.team-info .text-primary {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 500;
}

.team-info p {
    color: #64748b;
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.6;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Testimonial Styles */
.testimonial-card {
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 18px;
    margin-right: 4px;
}

.testimonial-text {
    color: #64748b;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
    line-height: 1.7;
}

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

.testimonial-author img {
    margin-right: 16px;
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.testimonial-author p {
    color: #64748b;
    margin: 0;
}

/* Quote Form Styles */
.quote-features {
    margin-bottom: 32px;
}

.quote-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.quote-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 138, 105, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.quote-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.quote-feature p {
    color: #64748b;
    margin: 0;
}

.quote-form {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 138, 105, 0.1);
    transform: translateY(-2px);
}

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

/* Contact Styles */
.contact-card {
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
}

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

.contact-icon i {
    font-size: 24px;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-card p {
    color: #64748b;
    line-height: 1.6;
}

.contact-card a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.map-container {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

/* Footer Styles */
.logo-container-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
}

.logo-footer {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a::before {
    content: '→';
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-links li a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-contact li span {
    color: #9ca3af;
}

.footer-contact li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: white;
}

.social-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-footer:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Back to Top Button Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

#back-to-top:hover {
    animation: bounce 1s infinite;
}

/* Tailwind Custom Colors */
.bg-primary {
    background-color: var(--primary-color);
}

.bg-primary-dark {
    background-color: var(--primary-dark);
}

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

.border-primary {
    border-color: var(--primary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

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

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Hero Slider Pagination Customization */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: white;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* AOS Animation Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Floating Contact Button Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 138, 105, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 138, 105, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 138, 105, 0);
    }
}

.fixed.bottom-8.right-8 > a {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (min-width: 640px) {
    .team-swiper .swiper-slide,
    .testimonials-swiper .swiper-slide {
        width: calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .team-swiper .swiper-slide,
    .testimonials-swiper .swiper-slide {
        width: calc(33.333% - 20px);
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .experience-badge {
        right: -12px;
        bottom: -12px;
        width: 80px;
        height: 80px;
    }

    .experience-badge .number {
        font-size: 1.5rem;
    }

    .quote-form {
        padding: 24px;
    }
}
