/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ee4a62;
    --primary-hover: #d83a50;
    --secondary-color: #1ab69d;
    --secondary-hover: #0f9d85;
    --dark-color: #2c3e50;
    --light-color: #f5f5f7;
    --text-color: #333;
    --text-light: #666;
    --border-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --header-height: 70px;
    --primary: #ee4a62;
    --primary-dark: #d73a50;
    --secondary: #1EB980;
    --secondary-dark: #18a26f;
    --dark: #333;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-heading h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.underline {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    max-width: 1120px;
    width: 90%;
    margin: 20px auto;
    position: relative;
    z-index: 100;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-item i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.nav-item:hover, .nav-item.active {
    background-color: #ffdddd;
    color: var(--primary);
}

.cta-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--white);
}

/* Media queries for responsive navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: var(--shadow);
        display: none;
        margin-top: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        padding: 12px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        flex-wrap: wrap;
        gap: 10px;
        border-radius: 20px;
        width: 95%;
        margin: 15px auto;
    }
    
    .cta-button {
        margin-left: auto;
    }
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #f17a8c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.contact-wrapper {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    min-height: 550px;
    margin-top: -80px;
}

.contact-form-container {
    flex: 1;
    padding: 40px;
    background-color: white;
}

.form-header {
    margin-bottom: 25px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.alert {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.success-message {
    background-color: rgba(26, 182, 157, 0.1);
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

.error-message {
    background-color: rgba(238, 74, 98, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.alert i {
    margin-right: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.textarea-container i {
    top: 20px;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

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

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    padding-top: 15px;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 182, 157, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: transform var(--transition-speed) ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Map Container */
.map-container {
    flex: 1;
    min-height: 550px;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity var(--transition-speed) ease;
}

.map-loading {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.map-loading i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.info-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

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

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.info-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(26, 182, 157, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-card h3 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-card p {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
}

.info-card a {
    color: var(--text-color);
    transition: color var(--transition-speed);
}

.info-card a:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.faq-question h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    color: var(--dark-color);
}

.faq-question i {
    color: var(--secondary-color);
    font-size: 14px;
    transition: transform var(--transition-speed) ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-item.active .faq-answer {
    padding: 15px 20px 20px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--secondary-color);
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background: #222;
    color: #f5f5f5;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #f1c40f, #e74c3c);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-info {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo h2 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.footer-logo h2 span {
    color: var(--primary-color);
}

.footer-logo h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ffffff;
    margin-top: 5px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #fbfbfb;
}

.footer p {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 0.8rem;
    background: rgba(52, 152, 219, 0.2);
    color: #e7e1e2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text {
    font-size: 14px;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.newsletter {
    width: 100%;
    margin-top: 1.5rem;
}

.newsletter form {
    display: flex;
    max-width: 100%;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0 1.2rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.newsletter button:hover {
    background: #e3e3e3;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Media Queries for Responsiveness */

/* Large devices (desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }

    .navbar {
        width: 95%;
        padding: 10px 15px;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        gap: 20px;
    }
}

/* Small devices (landscape phones) */
@media (max-width: 768px) {
    .container {
        max-width: 576px;
    }
    
    .page-title {
        font-size: 2.3rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        margin-top: -50px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .section-heading h2 {
        font-size: 1.6rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-info, 
    .footer-contact, 
    .footer-social {
        width: 100%;
        min-width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}