
/* ====================================================
   GLOBAL TYPOGRAPHY & BUTTONS
   ==================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root { 
    --primary-teal: #1a8b9d; 
    --secondary-grey: #1a1f24; 
    --light-bg: #f5f7fa; 
    --white: #ffffff; 
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body { 
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; padding: 0; 
    color: #4a5568; 
    line-height: 1.7; 
    overflow-x: hidden; 
    background-color: var(--light-bg);
}
a { text-decoration: none; color: var(--primary-teal); transition: color var(--transition); }
h1, h2, h3, h4 { color: var(--secondary-grey); margin-top: 0; letter-spacing: -0.02em; }
.section-padding { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.text-center { text-align: center; }

/* ====================================================
   NEXT-LEVEL FINTECH STYLES
   ==================================================== */

/* Premium Mesh Background for Hero */
.page-header { 
    position: relative;
    padding: 12rem 2rem 16rem; 
    text-align: center;
    background: #0a0a0a;
    overflow: hidden;
    z-index: 1;
}

/* Glowing Orbs */
.page-header::before, .page-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 20s infinite alternate;
}
.page-header::before {
    background: rgba(26, 139, 157, 0.4);
    top: -200px;
    left: -100px;
}
.page-header::after {
    background: rgba(19, 106, 120, 0.5);
    bottom: -300px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

/* Gradient Text for H1 */
.page-header h1 { 
    font-size: 4.5rem; 
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a0d8e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px rgba(255,255,255,0.1);
}
.page-header p { 
    font-size: 1.35rem; 
    max-width: 700px; 
    margin: 0 auto; 
    color: #a0aec0; 
}

/* 3D Floating Contact Grid */
.contact-info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
    padding: 0 2rem; 
    max-width: 1300px; 
    margin: -8rem auto 6rem; /* Pulls up over the hero */
    position: relative;
    z-index: 20;
    perspective: 1400px; /* Required for 3D tilt */
}

/* Hyper-realistic Glass/White Card */
.info-card { 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center; 
    /* Massive, multi-layered shadow for 3D depth */
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.02),
        0 4px 8px rgba(0,0,0,0.02),
        0 12px 24px rgba(0,0,0,0.03),
        0 24px 48px rgba(0,0,0,0.03),
        0 0 0 1px inset rgba(255,255,255,1);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.info-card:hover { 
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg);
    box-shadow: 
        0 1px 2px rgba(26,139,157,0.02),
        0 8px 16px rgba(26,139,157,0.04),
        0 20px 40px rgba(26,139,157,0.06),
        0 40px 80px rgba(26,139,157,0.08),
        0 0 0 1px inset rgba(255,255,255,1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 139, 157, 0.1), rgba(26, 139, 157, 0.02));
    border: 1px solid rgba(26, 139, 157, 0.2);
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    /* 3D pop out of card on hover */
    transform: translateZ(30px);
}

.info-card:hover .icon-circle {
    background: var(--primary-teal);
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 139, 157, 0.3);
    transform: translateZ(50px) scale(1.1);
}

.info-card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 1rem; 
    color: var(--secondary-grey);
    transform: translateZ(20px);
}
.info-card p { 
    font-size: 1.05rem; 
    transform: translateZ(10px);
}

/* Advanced Split Engagement Section */
.engagement-split { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 4rem; 
    align-items: stretch; 
    max-width: 1400px;
    margin: 0 auto;
}

/* Hyper-Modern Form Container */
.form-container, .booking-container { 
    background: var(--white); 
    padding: 4rem 4.5rem; 
    border-radius: 24px; 
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.05), 0 10px 20px -5px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* ====================================================
   ULTRA-PREMIUM ANIMATED FORM
   ==================================================== */
.animated-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Base gap, inputs have their own margin */
    margin-top: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 2.2rem;
    width: 100%;
}

.input-group input, 
.input-group textarea, 
.input-group select {
    width: 100%;
    padding: 1rem 0 0.5rem 0;
    border: none;
    border-bottom: 1.5px solid #cbd5e1;
    background: transparent;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--secondary-grey);
    outline: none;
    transition: border-color 0.3s ease;
}

/* Fix dropdown arrow padding */
.input-group select {
    padding-right: 2rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/* Custom Dropdown Icon */
.select-icon {
    position: absolute;
    right: 0;
    top: 1.2rem;
    color: #94a3b8;
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.input-group select:focus ~ .select-icon {
    transform: rotate(180deg);
    color: var(--primary-teal);
}

.input-group textarea {
    resize: none;
}

/* Floating Label Animation */
.input-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

/* When focused OR has valid input, float the label up */
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -0.8rem;
    font-size: 0.8rem;
    color: var(--primary-teal);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Keeps label floating if it's filled but loses focus */
.input-group input:valid ~ label,
.input-group textarea:valid ~ label,
.input-group select:valid ~ label {
    color: #64748b;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group select:focus ~ label {
    color: var(--primary-teal); /* Highlight teal only on active focus */
}


/* Center Expanding Focus Border */
.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.input-group input:focus ~ .focus-border,
.input-group textarea:focus ~ .focus-border,
.input-group select:focus ~ .focus-border {
    width: 100%;
}

/* Submit Button Animation */
.submit-btn {
    position: relative;
    margin-top: 1.5rem;
    padding: 1.2rem 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px; /* Pill shape */
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px -5px rgba(26,139,157,0.4);
    align-self: flex-start; /* Align left */
    width: auto;
    min-width: 200px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(26,139,157,0.6);
    background: #136a78;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.submit-btn:hover i {
    transform: translateX(6px) scale(1.1);
}
/* End of Animated Form */
form .btn {
    position: relative;
    margin-top: 1.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px -5px rgba(26,139,157,0.4);
}

form .btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(26,139,157,0.6);
    background: #15798a;
}

form .btn:hover::before {
    left: 100%;
}

form .btn i {
    transition: transform 0.3s ease;
}
form .btn:hover i {
    transform: translateX(6px);
}


/* Next-Level Timeline */
.next-steps { 
    margin-top: 4rem; 
    padding-top: 3rem; 
    position: relative;
}
.next-steps::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(26,139,157,0.1), rgba(26,139,157,0.5), rgba(26,139,157,0.1));
}

.timeline { 
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 10px; bottom: 10px;
    left: 19px;
    width: 2px;
    background: #edf2f7;
    z-index: 1;
}

.timeline-item { 
    display: flex; 
    gap: 25px; 
    align-items: flex-start; 
    position: relative;
    z-index: 2;
}

.timeline-icon { 
    width: 40px; 
    height: 40px; 
    background: var(--white);
    border: 3px solid var(--primary-teal);
    color: var(--primary-teal); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(26,139,157,0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(26,139,157,0.2);
    transform: scale(1.1);
}

.timeline-content {
    color: #718096;
    line-height: 1.7;
    font-size: 1.05rem;
    padding-top: 6px;
}
.timeline-content strong {
    color: var(--secondary-grey);
    display: block;
    margin-bottom: 4px;
    font-size: 1.2rem;
}

/* Booking Widget Card */
.booking-container {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}
.tidycal-wrapper { 
    width: 100%; 
    flex: 1;
    background: transparent; 
}

/* Map Section */
.map-section { margin: 8rem 0 6rem; position: relative; padding: 0 2rem; max-width: 1400px; margin-left: auto; margin-right: auto; }

.map-container { 
    width: 100%; 
    height: 500px; 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.map-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(26,139,157,0.15), 0 0 0 1px rgba(26,139,157,0.1);
}

.map-container iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    filter: grayscale(20%) contrast(1.1);
}

/* Scroll Reveal Animations (Kept from previous) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Float */
.whatsapp-float { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25d366; 
    color: white; 
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 2.4rem; 
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); 
    z-index: 1000; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.whatsapp-float:hover { 
    transform: translateY(-8px) scale(1.1); 
}

/* Mobile Overrides */
@media (max-width: 1024px) {
    .page-header h1 { font-size: 3.5rem; }
    .engagement-split { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .page-header { padding: 8rem 1.5rem 12rem; }
    .page-header h1 { font-size: 2.8rem; }
    .contact-info-grid { margin-top: -8rem; grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem; }
    .form-container, .booking-container { padding: 2.5rem 1.5rem; border-radius: 16px; }
    
    .input-group input, 
    .input-group textarea, 
    .input-group select {
        font-size: 16px; /* Prevents iOS auto-zoom */
        padding-top: 1.2rem;
    }
    .submit-btn { width: 100%; justify-content: center; padding: 1.2rem; }
    form .btn { width: 100%; padding: 1.2rem; }
    
    .map-container { 
        width: 100%; 
        height: 500px; 
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.06);
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .map-container:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(26,139,157,0.15), 0 0 0 1px rgba(26,139,157,0.1);
    }
}
