/* Base styles */
* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fefdf8;
    color: #2c2c2c;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    min-height: calc(100vh - 80px);
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.contact-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Visual Section */
.visual-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.abstract-container {
    position: relative;
    width: 450px;
    height: 450px;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1.5s ease-out 1s forwards;
}

.abstract-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg,
    rgba(59, 180, 195, 0.1) 0%,
    rgba(44, 134, 148, 0.15) 25%,
    rgba(254, 253, 248, 0.8) 50%,
    rgba(59, 180, 195, 0.1) 75%,
    rgba(44, 134, 148, 0.05) 100%);
    border: 2px solid rgba(59, 180, 195, 0.3);
    animation: morphShape 12s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.abstract-shape::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border-radius: 50% 30% 70% 50% / 60% 40% 60% 40%;
    background: linear-gradient(45deg,
    rgba(59, 180, 195, 0.2),
    rgba(44, 134, 148, 0.1));
    animation: floatShape 8s ease-in-out infinite reverse;
}

.image-container {
    position: absolute;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(59, 180, 195, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(59, 180, 195, 0.2);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-1 {
    width: 200px;
    height: 280px;
    top: 20px;
    right: 80px;
    z-index: 3;
    opacity: 0;
    transform: translateY(50px) rotate(5deg);
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.image-2 {
    width: 160px;
    height: 220px;
    bottom: 60px;
    right: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px) rotate(-3deg);
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.subtitle-text {
    position: absolute;
    bottom: 5%;
    left: -30px;
    max-width: 300px;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    color: #666666;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #3bb4c3, #2c8694);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.floating-dot:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.floating-dot:nth-child(2) {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 4s;
}

.floating-dot:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 5s;
}

.decorative-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3bb4c3, transparent);
    opacity: 0;
    animation: slideInRight 1s ease-out 2.5s forwards;
}

/* Contact Content */
.contact-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 200;
    margin-bottom: 1rem;
    color: #2c2c2c;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out 0.5s forwards;
    letter-spacing: -0.02em;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, #3bb4c3, #2c8694);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.contact-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    color: #666666;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s ease-out 0.7s forwards;
    word-break: break-word;
}

/* Contact Info */
.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 224, 224, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.4s forwards;
    margin-top: 2rem;
}

.contact-box-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 1.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-box-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 180, 195, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-box-link:hover {
    transform: translateY(-2px);
    background: rgba(59, 180, 195, 0.05);
    box-shadow: 0 8px 25px rgba(59, 180, 195, 0.15);
}

.contact-box-link:hover::before {
    left: 100%;
}

.contact-box-link:hover .contact-icon {
    background: rgba(59, 180, 195, 0.2);
    transform: scale(1.1);
}

.contact-box-link:hover .contact-icon svg {
    stroke: #2c8694;
}

.contact-box-link:hover .contact-value {
    color: #3bb4c3 !important;
}

.contact-box-link:hover .contact-label {
    color: #2c8694;
}

.contact-box-link:active {
    transform: translateY(0);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 180, 195, 0.1);
    border-radius: 50%;
    color: #3bb4c3;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: #3bb4c3;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    color: #495057;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-value {
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    color: #666 !important;
    font-weight: 300;
    line-height: 1.3;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 1.1s; }
.form-group:nth-child(2) { animation-delay: 1.2s; }
.form-group:nth-child(3) { animation-delay: 1.3s; }

.form-input, .form-textarea {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    color: #2c2c2c;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 300;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #888888;
    font-weight: 300;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-bottom-color: #3bb4c3;
    transform: translateY(-2px);
}

.form-textarea {
    resize: none;
    min-height: clamp(80px, 10vw, 120px);
    padding-top: 1.5rem;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.submit-btn {
    width: 100%;
    padding: clamp(0.875rem, 2.5vw, 1.125rem) clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(135deg, #3bb4c3 0%, #2c8694 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: clamp(0.75rem, 2vw, 1rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 180, 195, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2c8694 0%, #1e5a63 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 180, 195, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled::before {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(-50%, -50%) rotate(5deg);
    }
    50% {
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
        transform: translate(-50%, -50%) rotate(10deg);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%;
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        border-radius: 50% 30% 70% 50% / 60% 40% 60% 40%;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        border-radius: 30% 70% 50% 50% / 40% 60% 40% 60%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

/* Responsive Breakpoints */
@media (min-width: 1200px) {
    .contact-section {
        gap: 8rem;
    }
    .abstract-container {
        width: 500px;
        height: 500px;
    }
    .abstract-shape {
        width: 360px;
        height: 360px;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .container {
        padding: 1.5rem;
    }
    .contact-section {
        gap: 5rem;
    }
    .abstract-container {
        width: 420px;
        height: 420px;
    }
    .abstract-shape {
        width: 300px;
        height: 300px;
    }
    .image-1 {
        width: 180px;
        height: 250px;
        right: 70px;
    }
    .image-2 {
        width: 140px;
        height: 190px;
        right: 15px;
    }
}

@media (max-width: 991px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
    .visual-section {
        order: 0;
    }
    .contact-content {
        order: 1;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    .contact-section {
        gap: 4rem;
    }
    .abstract-container {
        width: 380px;
        height: 380px;
    }
    .abstract-shape {
        width: 260px;
        height: 260px;
    }
    .image-1 {
        width: 160px;
        height: 220px;
        right: 60px;
    }
    .image-2 {
        width: 130px;
        height: 170px;
        right: 10px;
    }
    .contact-info {
        padding: 1.5rem;
        gap: 1.2rem;
    }
}

@media (max-width: 767px) {
    .container {
        min-height: calc(100vh - 70px);
        padding: 1rem;
    }
    .contact-section {
        gap: 3rem;
    }
    .contact-content {
        padding: 1rem;
        text-align: center;
    }
    .contact-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-subtitle {
        margin: 0 auto 2rem auto;
        max-width: 100%;
        text-align: center;
    }
    .visual-section {
        height: auto;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .abstract-container {
        width: 400px;
        height: 400px;
        margin-bottom: 2rem;
    }
    .abstract-shape {
        width: 300px;
        height: 300px;
    }
    .image-1 {
        width: 170px;
        height: 240px;
        right: 55px;
        top: 30px;
    }
    .image-2 {
        width: 140px;
        height: 190px;
        right: 20px;
        bottom: 40px;
    }
    .contact-info {
        margin: 0 auto;
        max-width: 100%;
        gap: 1rem;
        padding: 1.5rem;
        margin-top: 0;
    }
    .contact-box-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(224, 224, 224, 0.1);
        background: transparent;
        border-radius: 0;
    }
    .contact-box-link:last-child {
        border-bottom: none;
    }
    .subtitle-text {
        display: block;
        position: static;
        text-align: center;
        margin-top: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 599px) {
    .container {
        min-height: calc(100vh - 70px);
        padding: 1rem;
    }
    .contact-section {
        gap: 2.5rem;
    }
    .contact-content {
        order: 1;
        padding: 1rem;
        text-align: center;
    }
    .visual-section {
        order: 0;
        height: auto;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .abstract-container {
        width: 350px;
        height: 350px;
        margin-bottom: 2rem;
    }
    .abstract-shape {
        width: 260px;
        height: 260px;
    }
    .image-1 {
        width: 150px;
        height: 200px;
        right: 45px;
        top: 25px;
    }
    .image-2 {
        width: 120px;
        height: 160px;
        right: 15px;
        bottom: 35px;
    }
    .contact-info {
        margin: 0 auto;
        max-width: 100%;
        gap: 1rem;
        padding: 1.5rem;
        margin-top: 0;
    }
    .subtitle-text {
        display: none;
    }
    .form-textarea {
        min-height: 100px;
    }
    .recaptcha-container {
        margin: 1.5rem 0;
    }
    .recaptcha-container > div {
        transform: scale(0.95);
        transform-origin: center;
    }
}

@media (max-width: 479px) {
    .container {
        min-height: calc(100vh - 60px);
        padding: 0.75rem;
    }
    .contact-section {
        gap: 2rem;
    }
    .contact-content {
        order: 1;
        padding: 0.75rem;
        text-align: center;
    }
    .visual-section {
        order: 0;
        height: auto;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .abstract-container {
        width: 320px;
        height: 320px;
        margin-bottom: 1.5rem;
    }
    .abstract-shape {
        width: 240px;
        height: 240px;
    }
    .image-1 {
        width: 130px;
        height: 180px;
        right: 40px;
        top: 20px;
    }
    .image-2 {
        width: 110px;
        height: 150px;
        right: 10px;
        bottom: 30px;
    }
    .contact-info {
        margin: 0 auto;
        max-width: 100%;
        gap: clamp(0.75rem, 2vw, 1rem);
        padding: clamp(1rem, 3vw, 1.5rem);
        margin-top: 0;
    }
    .form-textarea {
        min-height: 90px;
    }
    .recaptcha-container {
        margin: 1rem 0;
    }
    .recaptcha-container > div {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 359px) {
    .container {
        min-height: calc(100vh - 60px);
        padding: 0.5rem;
    }
    .contact-section {
        gap: 1.5rem;
    }
    .contact-content {
        padding: 0.5rem;
        text-align: center;
    }
    .contact-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .visual-section {
        height: auto;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    .abstract-container {
        width: 280px;
        height: 280px;
        margin-bottom: 1rem;
    }
    .abstract-shape {
        width: 200px;
        height: 200px;
    }
    .image-1 {
        width: 110px;
        height: 150px;
        right: 35px;
        top: 15px;
    }
    .image-2 {
        width: 90px;
        height: 125px;
        right: 8px;
        bottom: 25px;
    }
    .contact-info {
        margin: 0 auto;
        max-width: 100%;
        gap: 0.75rem;
        padding: 1rem;
        margin-top: 0;
    }
    .contact-box-link {
        padding: 0.75rem 0;
    }
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    .contact-icon svg {
        width: 16px;
        height: 16px;
    }
    .form-textarea {
        min-height: 80px;
    }
    .recaptcha-container {
        margin: 1rem 0;
    }
    .recaptcha-container > div {
        transform: scale(0.8);
        transform-origin: center;
    }
}