@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100% !important;
}



/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('../images/theline.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

/* === HERO CONTENT === */
.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 20%;
    padding: 0 15px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.7rem;
    line-height: 1.5;
    font-weight: 600;
    text-shadow: 2px 2px 8px black;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 18%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 75%;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

}



.partner-section {
    background-color: #c7f8fc41;
    color: #1e293b;
    padding: 80px 40px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.partner-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.partner-left {
    flex: 1;
    min-width: 320px;
    z-index: 2;
}

.partner-left h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(to right, #00b894, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline {
    list-style: none;
    padding-left: 30px;
    border-left: 3px solid #00b894;
    position: relative;
}

.timeline li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #475569;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
    cursor: default;
}

.timeline li::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: #00b894;
    border-radius: 50%;
    position: absolute;
    left: -38px;
    top: 6px;
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.3);
    transition: all 0.3s ease;
}

.timeline li.active,
.timeline li:hover {
    color: #111827;
}

.timeline li.active::before,
.timeline li:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.partner-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.partner-right img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 184, 148, 0.15));
    transition: transform 0.4s ease;
}

.partner-right img:hover {
    transform: scale(1.03);
}


/* Developer Advantage Partnership */
.partnership-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem;
}

/* Section Cards */
section {
    flex: 1 1 calc(33.33% - 2rem);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image styling */
.developer-img,
.financial-img,
.broker-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Title styling */
.developer-title,
.financial-title,
.broker-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Description styling */
.developer-description,
.financial-description,
.broker-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    text-align: center;
}


/* Media Queries for responsiveness */
@media (max-width: 1024px) {
    section {
        flex: 1 1 calc(50% - 2rem);
        /* Two columns on medium screens */
    }
}

@media (max-width: 768px) {
    section {
        flex: 1 1 100%;
        /* Stacks sections vertically on small screens */
    }
}



/* Responsive */
@media (max-width: 640px) {

    .developer-partnership,
    .financial-alliance,
    .broker-collaboration {
        gap: 1rem;
        margin-bottom: 3rem;
        padding: 1rem;
    }

    .developer-img,
    .financial-img,
    .broker-img {
        width: 48px;
        height: 48px;
    }

    .developer-title,
    .financial-title,
    .broker-title {
        font-size: 1.25rem;
    }

    .developer-description,
    .financial-description,
    .broker-description {
        font-size: 1rem;
        max-width: 100%;
    }
}


/* Partner Introduction Section */
#partner-introduction {
    background-color: #c7f8fc41;
    padding: 60px 20px;
    text-align: center;
}

.partner-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.partner-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
}

.partner-info {
    font-size: 1rem;
    color: #444;
}

.partner-italic-text {
    font-style: italic;
    font-size: 1.2rem;
    color: #007bff;
}

/* Partner Form Section */
#partner-form-section {
    background: #fff;
    padding: 40px 20px;
}

.partner-info-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.form-field {
    flex: 1;
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-field textarea {
    resize: vertical;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
}

.flag-icon {
    margin-right: 10px;
}

.form-row-extended {
    margin-top: 20px;
}

.privacy-policy-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-policy-text a {
    color: #007bff;
    text-decoration: none;
}

.submit-partner-form-btn {
    width: 100%;
    padding: 15px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-partner-form-btn:hover {
    background: #0056b3;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .form-row {
        flex-wrap: wrap;
    }

    .form-field {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .partner-heading {
        font-size: 2rem;
    }

    .partner-description {
        font-size: 1rem;
        margin: 0 auto 20px;
    }

    .partner-info {
        font-size: 0.9rem;
    }

    .partner-info-form {
        padding: 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-field {
        margin-bottom: 10px;
    }

    .submit-partner-form-btn {
        padding: 12px;
    }

    .privacy-policy-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .partner-heading {
        font-size: 1.75rem;
    }

    .partner-description {
        font-size: 0.95rem;
        margin: 0 auto 15px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .submit-partner-form-btn {
        padding: 10px;
        font-size: 1rem;
    }

    .privacy-policy-text {
        font-size: 0.75rem;
    }
}



.advertise-section {
    background: linear-gradient(to right, #678EB9, #47A5A4);
    padding: 60px 20px;
}

.advertise-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.advertise-text {
    font-size: 28px;
    color: #fff;
    font-family: 'Georgia', serif;
    margin: 0;
}

.advertise-button {
    background: #fff;
    color: #011B44;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.advertise-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.overlay {
    transition: opacity 0.4s ease;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 10;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 600px;
    max-height: 88vh;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    color: #1e293b;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
    z-index: 9999;
    overflow: auto;
}

.open {
    display: block;
}

.modal-body {
    display: flex;
    gap: 30px;
    flex: 1;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 700;
    z-index: 10;
}

.modal-close:hover {
    color: #2563eb;
}

.modal>h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.calendar {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    padding-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
}

.calendar h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 12px 0;
}

.calendar h2 button {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1.6rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    padding: 0 6px;
}

.calendar h2 button:hover {
    color: #1d4ed8;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    background: #f3f4f6;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.day:hover,
.day.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 8px #2563eb;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-slots label {
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.time-slots input[type="time"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #2563eb;
    background: #ffffff;
    color: #1e293b;
    font-size: 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.time-slots input[type="time"]:focus {
    outline: none;
    background: #eff6ff;
    border-color: #1d4ed8;
}

.booking {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
}

.booking input[type="text"],
.booking input[type="email"],
.booking input[type="tel"] {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1e293b;
    font-size: 1rem;
    box-shadow: inset 0 0 5px #e5e7eb;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.booking input[type="text"]:focus,
.booking input[type="email"]:focus,
.booking input[type="tel"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 6px #60a5fa;
}

.booking button {
    padding: 14px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 10px rgba(59, 130, 246, 0.3);
    transition: background 0.3s ease;
}

.booking button:hover {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}



@media (max-width: 600px) {
    .modal {
        flex-direction: column;
        width: 95vw;
        height: 65vh;
        margin: auto;
        padding: 10px;
        gap: 6px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .modal>h2 {
        font-size: 0.8rem;
        margin-bottom: 4px;
        text-align: center;
    }

    .modal-body {
        flex-direction: column;
        gap: 6px;
    }

    .calendar,
    .booking {
        flex: none;
        padding: 4px;
        gap: 6px;
    }

    .calendar h2 {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .calendar h2 button {
        font-size: 0.9rem;
        padding: 0 3px;
    }

    .calendar-grid {
        gap: 1px;
        grid-template-columns: repeat(7, 1fr);
    }

    .day {
        padding: 3px 0;
        font-size: 0.55rem;
        border-radius: 3px;
    }

    .time-slots label {
        font-size: 0.65rem;
    }

    .time-slots input[type="time"] {
        padding: 4px 6px;
        font-size: 0.65rem;
        border-radius: 5px;
    }

    .booking input[type="text"],
    .booking input[type="email"],
    .booking input[type="tel"] {
        padding: 6px 8px;
        font-size: 0.7rem;
        border-radius: 5px;
    }

    .booking button {
        padding: 8px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .modal-close {
        top: 5px;
        right: 5px;
        font-size: 22px;
    }
}