/* Base Styles and Variables */
:root {
    /* New Primary color palette - Teal/Turquoise theme */
    --primary-color: #2ec4b6;
    --primary-light: #5edbcd;
    --primary-dark: #23a399;
    
    /* Secondary colors - Coral accent */
    --accent-color: #ff9a8b;
    --accent-light: #ffbcb1;
    --accent-dark: #e88070;
    
    /* Tertiary color - soft yellow */
    --tertiary-color: #ffdc7c;
    
    /* Neutral colors */
    --text-dark: #343a40;
    --text-medium: #6c757d;
    --text-light: #adb5bd;
    --background-white: #ffffff;
    --background-light: #f8f9fa;
    --background-gray: #e9ecef;
    --background-off-white: #f9fbf9;
    
    /* Box shadows */
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    
    /* Border radius */
    --border-radius-sm: 6px;
    --border-radius: 10px;
    --border-radius-lg: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    position: relative;
}

.subtitle:before, .subtitle:after {
    content: "";
    height: 1px;
    width: 30px;
    background: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 25px;
}

/* Button Styles */
button, .submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button:hover, .submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.9), rgba(255, 154, 139, 0.85)), url("/api/placeholder/1600/800") center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

.hero-content .subtitle {
    color: white;
    margin-bottom: 15px;
}

.hero-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: white;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
}

/* Contact Info Section */
.contact-info {
    background-color: var(--background-off-white);
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--background-gray);
    position: relative;
    overflow: hidden;
}

.info-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-light);
}

.info-card:hover:before {
    width: 100%;
    opacity: 0.05;
}

.info-card .icon {
    background-color: rgba(46, 196, 182, 0.1);
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    transition: all 0.3s ease;
    border: 2px dashed var(--primary-light);
}

.info-card:hover .icon {
    background-color: var(--primary-color);
    color: white;
    border-style: solid;
    transform: rotateY(180deg);
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-card:hover h3 {
    color: var(--primary-color);
}

.info-card p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Contact Form & Map Section */
.form-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-form-container {
    flex: 1;
    min-width: 320px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.contact-form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.05), rgba(255, 154, 139, 0.05));
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.textarea-icon i {
    top: 20px;
    transform: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--background-gray);
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--background-white);
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.input-with-icon input:focus + i,
.input-with-icon select:focus + i,
.input-with-icon textarea:focus + i {
    color: var(--primary-color);
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.map-overlay h3 {
    color: white;
    margin-bottom: 5px;
}

.map-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Services Quick Links */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--background-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-light);
}

.service-icon {
    height: 90px;
    width: 90px;
    background-color: rgba(46, 196, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-color);
}

.service-link i {
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    background-color: var(--background-white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.faq-question:hover {
    background-color: rgba(46, 196, 182, 0.03);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    transition: all 0.3s ease;
    flex: 1;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    margin: 0;
}

.faq-item.active .faq-question {
    border-left-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-white);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    max-width: 380px;
    box-shadow: var(--box-shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--background-gray);
    position: relative;
}

.testimonial-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.testimonial-card:hover:before {
    width: 100%;
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 30px;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.8;
}

.rating {
    color: var(--tertiary-color);
    font-size: 16px;
    margin-top: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--background-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--primary-light);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 0;
}

.newsletter-text .subtitle {
    color: white;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.input-with-button {
    display: flex;
    max-width: 500px;
}

.input-with-button input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.input-with-button button {
    background-color: var(--tertiary-color);
    color: var(--text-dark);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 30px;
    font-weight: 600;
}

.input-with-button button:hover {
    background-color: #f0c050;
}

.form-agreement {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
}

.newsletter-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.newsletter-decoration .decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-decoration .decoration-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
}

.newsletter-decoration .decoration-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 5%;
}

/* Social Media Section */
.social-media-section {
    background-color: var(--background-white);
    padding: 80px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-icon i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.social-icon.facebook i { background-color: #3b5998; }
.social-icon.instagram i { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-icon.twitter i { background-color: #1DA1F2; }
.social-icon.linkedin i { background-color: #0077B5; }
.social-icon.youtube i { background-color: #FF0000; }

.social-icon .icon-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon:hover .icon-name {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero {
        padding: 100px 0 80px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .input-with-button {
        flex-direction: column;
    }
    
    .input-with-button input {
        border-radius: var(--border-radius);
        margin-bottom: 15px;
    }
    
    .input-with-button button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .social-icon i {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .info-card, .contact-form-container, .testimonial-card {
        padding: 25px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 12px;
    }
    
    .subtitle:before, .subtitle:after {
        width: 20px;
    }
    
    .contact-form-container, .map-container {
        min-width: 100%;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon i {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .info-card .icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
}