/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 0;
   
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/contactbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.contact-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--white);
}

.contact-hero .hero-subtitle {
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 2px;
}

/* Contact Cards Section */
.contact-cards-section {
    position: relative;
    z-index: 10;
    padding: 0 0 100px;
    background-color: transparent !important;
}

.contact-cards-wrapper {
    margin-top: -100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Card - Information */
.contact-info-card {
    background-color: var(--white);
    padding: 60px 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-info-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-text {
    font-size: 15px;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    font-size: 15px;
    color: var(--black);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gold);
}

.description-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 20px;
}

.description-text:last-child {
    margin-bottom: 0;
}

/* Right Card - Contact Form */
.contact-form-card {
    background-color: var(--white);
    padding: 60px 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-form {
    width: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 14px;
    color: var(--black);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 30px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-submit:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-2px);
}

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

.form-message {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===================================
   THANK YOU MODAL STYLES
   =================================== */

.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
}

.thank-you-modal.show {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* ===================================
   CONFETTI BACKGROUND (IN MODAL)
   =================================== */
.thank-you-modal .confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.thank-you-modal .confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    top: -10px;
    opacity: 0;
    animation: confettiFall 3s ease-in infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===================================
   MODAL CONTAINER
   =================================== */
.thank-you-modal .thank-you-container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 50px auto;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SUCCESS CHECKMARK
   =================================== */
.thank-you-modal .success-icon {
    margin: 0 auto 30px;
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-modal .checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--success-green, #10b981);
    stroke-miterlimit: 10;
    margin: 0 auto;
}

.thank-you-modal .checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: var(--success-green, #10b981);
    fill: none;
    animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

@keyframes checkmarkCircle {
    100% {
        stroke-dashoffset: 0;
    }
}

.thank-you-modal .checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--success-green, #10b981);
    stroke-width: 3;
    animation: checkmarkCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.9s forwards;
}

@keyframes checkmarkCheck {
    100% {
        stroke-dashoffset: 0;
    }
}

/* ===================================
   CELEBRATION ICONS
   =================================== */
.thank-you-modal .celebration-icons {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
}

.thank-you-modal .celebration-icons .icon {
    position: absolute;
    font-size: 30px;
    opacity: 0;
    animation: floatUp 2s ease-out var(--delay) infinite;
}

.thank-you-modal .celebration-icons .icon:nth-child(1) { left: 10%; }
.thank-you-modal .celebration-icons .icon:nth-child(2) { left: 25%; }
.thank-you-modal .celebration-icons .icon:nth-child(3) { left: 40%; }
.thank-you-modal .celebration-icons .icon:nth-child(4) { left: 60%; }
.thank-you-modal .celebration-icons .icon:nth-child(5) { left: 75%; }
.thank-you-modal .celebration-icons .icon:nth-child(6) { left: 90%; }

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===================================
   TEXT CONTENT
   =================================== */
.thank-you-modal .thank-you-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 25px;
    line-height: 1.3;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-modal .thank-you-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

/* ===================================
   NEXT STEPS
   =================================== */
.thank-you-modal .next-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    animation: fadeIn 0.8s ease-out 1s both;
}

.thank-you-modal .step {
    text-align: center;
    flex: 1;
    max-width: 150px;
}

.thank-you-modal .step-number {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(203, 180, 132, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(203, 180, 132, 0);
    }
}

.thank-you-modal .step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* ===================================
   BUTTON
   =================================== */
.thank-you-modal .btn-home {
    display: inline-block;
    background-color: var(--dark-green);
    color: var(--white);
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(27, 32, 28, 0.2);
    animation: fadeIn 0.8s ease-out 1.2s both;
}

.thank-you-modal .btn-home:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(203, 180, 132, 0.4);
}

.thank-you-modal .btn-home:active {
    transform: translateY(-1px);
}

/* ===================================
   SOCIAL SHARE
   =================================== */
.thank-you-modal .social-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(27, 32, 28, 0.1);
    animation: fadeIn 0.8s ease-out 1.4s both;
}

.thank-you-modal .social-share p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.thank-you-modal .share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.thank-you-modal .share-buttons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.thank-you-modal .share-buttons a:hover {
    background: var(--gold);
    color: var(--dark-green);
    transform: translateY(-3px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 40px;
    color: var(--dark-green);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .contact-hero h1 {
        font-size: 60px;
    }

    .contact-cards-wrapper {
        gap: 30px;
        margin-top: -100px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 50px 40px;
    }

    .contact-info-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .contact-hero h1 {
        font-size: 45px;
    }

    .contact-hero .hero-subtitle {
        font-size: 16px;
    }

    .contact-cards-section {
        padding: 0 0 80px;
    }

    .contact-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 40px 30px;
    }

    .contact-info-card h2 {
        font-size: 22px;
    }
    
    /* Modal responsive */
    .thank-you-modal .thank-you-container {
        margin: 20px;
        padding: 50px 30px;
    }
    
    .thank-you-modal .thank-you-title {
        font-size: 32px;
    }

    .thank-you-modal .thank-you-subtitle {
        font-size: 16px;
    }

    .thank-you-modal .next-steps {
        flex-direction: column;
        gap: 20px;
    }

    .thank-you-modal .step {
        max-width: 100%;
    }

    .thank-you-modal .celebration-icons .icon {
        font-size: 24px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 70vh;
        padding: 100px 0 40px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero .hero-subtitle {
        font-size: 14px;
    }

    .contact-cards-wrapper {
        margin-top: 20px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 35px 25px;
    }

    .contact-info-card h2 {
        font-size: 20px;
    }
    
    /* Modal mobile responsive */
    .thank-you-modal .thank-you-container {
        padding: 40px 25px;
    }

    .thank-you-modal .thank-you-title {
        font-size: 28px;
    }

    .thank-you-modal .checkmark {
        width: 80px;
        height: 80px;
    }

    .thank-you-modal .btn-home {
        padding: 14px 40px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .testimonial-card {
        display: flex !important;
        flex-direction: column !important;
    }
    .testimonial-name { order: 1 !important; }
    .testimonial-image-wrapper { order: 2 !important; }
    .testimonial-content { order: 3 !important; }
}
