/* Connect Page Specific Styles */

/* Hero Section */
.connect-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e1d4 100%);
    position: relative;
    overflow: hidden;
}

.connect-hero .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.connect-hero .hero-content {
    flex: 1;
    max-width: 600px;
}

.connect-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.connect-hero .hero-content p {
    font-size: 1.2rem;
    color: #5d6d7e;
    margin-bottom: 30px;
    line-height: 1.6;
}

.connect-hero .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.connect-hero .hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.connect-hero .hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.connect-hero .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connect-hero .floating-icon {
    position: absolute;
    font-size: 2rem;
    color: #e67e22;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.connect-hero .icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.connect-hero .icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.connect-hero .icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.connect-hero .icon-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Contact Options Section */
.contact-options {
    padding: 100px 0;
    background-color: #fff;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #f1f2f6;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-card p {
    color: #5d6d7e;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-action {
    margin-top: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

/* Creative Email Section */
.creative-email {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.email-composer {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 50px;
}

.composer-header {
    padding: 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.composer-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.composer-header p {
    opacity: 0.9;
    margin: 0;
}

.composer-steps {
    padding: 40px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #95a5a6;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #95a5a6;
    font-weight: 600;
    text-align: center;
}

.step.active .step-number {
    background: #3498db;
    color: white;
}

.step.active .step-label {
    color: #3498db;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-content h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

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

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

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

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Pets Section */
.pets-container {
    margin-bottom: 20px;
}

.pet-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pet-header h5 {
    margin: 0;
    color: #2c3e50;
}

.btn-remove-pet {
    background: #e74c3c;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove-pet:hover {
    background: #c0392b;
}

.pet-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pet-details .full-width {
    grid-column: 1 / -1;
}

/* Services Selection */
.services-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.service-option {
    position: relative;
}

.service-checkbox {
    position: absolute;
    opacity: 0;
}

.service-checkbox + label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.service-checkbox + label i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.service-checkbox + label span {
    font-weight: 600;
    color: #2c3e50;
}

.service-checkbox:checked + label {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.service-checkbox:checked + label i,
.service-checkbox:checked + label span {
    color: white;
}

/* Timing Options */
.timing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.timing-option {
    position: relative;
}

.timing-option input {
    position: absolute;
    opacity: 0;
}

.timing-option input + label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.timing-option input + label i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.timing-option input + label span {
    font-weight: 600;
    color: #2c3e50;
}

.timing-option input:checked + label {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.timing-option input:checked + label i,
.timing-option input:checked + label span {
    color: white;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0,0,0,0.2);
}

.modal-close i {
    color: #2c3e50;
    font-size: 1.2rem;
}

.modal-body {
    padding: 40px;
}

.email-preview {
    background: white;
}

.email-header {
    text-align: center;
    margin-bottom: 30px;
}

.email-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.email-content {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.email-field {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.email-field label {
    font-weight: 600;
    min-width: 80px;
    color: #2c3e50;
}

.email-body {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.email-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.email-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Team Section */
.connect-team {
    padding: 100px 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.member-photo {
    height: 250px;
    overflow: hidden;
}

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

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-role {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: #5d6d7e;
    line-height: 1.6;
}

/* FAQ Section */
.connect-faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #5d6d7e;
    line-height: 1.6;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta-logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .connect-hero .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .connect-hero .hero-content {
        max-width: 100%;
    }
    
    .connect-hero .hero-buttons {
        justify-content: center;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
    }
    
    .pet-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .connect-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .step-indicator {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .step-indicator::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        width: 100%;
    }
    
    .step-number {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .services-selection,
    .timing-options {
        grid-template-columns: 1fr;
    }
    
    .email-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .connect-hero {
        padding: 100px 0 60px;
    }
    
    .connect-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .composer-steps {
        padding: 25px 20px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}