/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #212121;
    --primary-teal: #2F5755;
    --secondary-teal: #5A9690;
    --light-bg: #e6f2f1;
    --white: #ffffff;
    --dark: #432323;
    --gray: #6B6B6B;
    --footer-color: #2F5755;
    --bg-light: #E0D9D9;
    --text-light: #8B8B8B;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--secondary-teal);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(90, 150, 144, 0.5);
}

/* ============================================
   CONTACT HERO
   ============================================ */
.contact-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    background: var(--light-bg);
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/image1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
    width: 100%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
    width: 100%;
}

/* Contact Information */
.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    width: 100%;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.info-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    box-sizing: border-box;
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(47, 87, 85, 0.2);
    background: var(--white);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--primary-teal);
}

.contact-details h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    word-wrap: break-word;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 0.3rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-details a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.contact-details a:hover {
    color: var(--secondary-teal);
    text-decoration: underline;
}

.whatsapp-note {
    font-size: 0.9rem;
    color: var(--secondary-teal);
    font-style: italic;
}

/* Business Hours */
.business-hours {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    width: 100%;
    box-sizing: border-box;
}

.hours-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.hours-title i {
    color: var(--primary-teal);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(47, 87, 85, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--primary-dark);
}

.time {
    color: var(--gray);
}

/* Social Section */
.social-section {
    opacity: 0;
    transform: translateX(-50px);
}

.social-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-teal);
}

.social-icon:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
}

/* ============================================
   FIXED: CONTACT FORM STYLING
   ============================================ */

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 87, 85, 0.1);
    opacity: 0;
    transform: translateX(50px);
    width: 100%;
    box-sizing: border-box;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    word-wrap: break-word;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.form-group.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    word-wrap: break-word;
    flex-wrap: wrap;
}

.form-group label i {
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(47, 87, 85, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    color: #999;
    opacity: 0.7;
    font-size: 0.9rem;
    word-wrap: break-word;
    white-space: normal;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--primary-teal);
    color: var(--white);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--secondary-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(47, 87, 85, 0.3);
}

.btn-submit i {
    font-size: 1.2rem;
}



/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 6rem 0;
    background: var(--light-bg);
    width: 100%;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    word-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-teal);
    border-radius: 2px;
}

.map-wrapper {
    opacity: 0;
    transform: translateY(30px);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(47, 87, 85, 0.2);
    height: 450px;
    width: 100%;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(47, 87, 85, 0.4);
    animation: pinDrop 1s ease-out;
    pointer-events: none;
}

.map-pin i {
    animation: pulsePin 2s ease-in-out infinite;
}

@keyframes pinDrop {
    0% {
        transform: translate(-50%, -150%);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -40%);
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes pulsePin {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-info {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.footer .social-icon i {
    font-size: 1.5rem;
}

.footer .social-icon:hover {
    /* background: var(--secondary-teal); */
    background: white;
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--white);
}

.floating-whatsapp i {
    font-size: 2rem;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes microBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
}

.pop-up {
    animation: popUp 0.6s ease forwards;
    opacity: 0;
}

.micro-bounce {
    animation: microBounce 0.5s ease;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 0 1.5rem;
        width: 100%;
    }

    .hero-content {
        padding: 0 1.5rem;
        width: 100%;
    }

    .contact-hero {
        margin-top: 60px;
        min-height: 35vh;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .contact-section,
    .map-section {
        padding: 4rem 0;
        width: 100%;
    }

    .contact-wrapper {
        width: 100%;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .info-title {
        text-align: center;
    }

    .info-description {
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 2rem;
        width: 100%;
        margin: 0 auto;
    }

    .form-title,
    .info-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }

    .map-container {
        height: 350px;
        width: 100%;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        width: 100%;
    }

    .hero-content {
        padding: 0 1rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-wrapper {
        gap: 2.5rem;
        width: 100%;
    }

    .contact-info {
        width: 100%;
        text-align: center;
    }

    .info-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        text-align: center;
    }

    .info-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .form-title,
    .info-title {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        padding: 0 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        width: 100%;
        margin: 0 auto;
    }

    .contact-items {
        width: 100%;
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 1.25rem;
        margin: 0 auto;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .contact-details {
        width: 100%;
        text-align: center;
    }

    .contact-details h3 {
        word-wrap: break-word;
        text-align: center;
    }

    .contact-details p {
        text-align: center;
    }

    .business-hours {
        width: 100%;
        padding: 1.5rem;
        text-align: center;
    }

    .hours-title {
        justify-content: center;
        font-size: 1.3rem;
    }

    .hours-item {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .day,
    .time {
        word-wrap: break-word;
        text-align: center;
    }

    .social-section {
        text-align: center;
        width: 100%;
    }

    .social-title {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .map-container {
        height: 300px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-whatsapp {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Extra small screens - fix for very narrow widths */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
        width: 100%;
    }

    .hero-content {
        padding: 0 0.75rem;
        width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-section {
        padding: 2.5rem 0;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .form-title,
    .info-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 0.75rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .contact-details h3 {
        font-size: 1.1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .business-hours {
        padding: 1.25rem;
    }

    .hours-title {
        font-size: 1.2rem;
    }

    .floating-whatsapp {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 10px;
        right: 10px;
    }
}

/* Very small screens - fix for extremely narrow widths (195px and below) */
@media (max-width: 250px) {
    .container {
        padding: 0 0.5rem;
        width: 100%;
    }

    .hero-content {
        padding: 0 0.5rem;
        width: 100%;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .contact-wrapper {
        gap: 1.5rem;
    }

    .info-title,
    .form-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .info-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1rem;
    }

    .contact-items {
        gap: 1rem;
    }

    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon i {
        font-size: 1.3rem;
    }

    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .contact-details p {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .contact-details a {
        font-size: 0.85rem;
    }

    .business-hours {
        padding: 1rem;
    }

    .hours-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hours-item {
        padding: 0.5rem 0;
    }

    .day,
    .time {
        font-size: 0.85rem;
    }

    .form-group {
        gap: 0.4rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }

    .map-container {
        height: 250px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .floating-whatsapp {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        bottom: 8px;
        right: 8px;
    }
}