Files
landing-page/resources/views/landing/index.blade.php

1034 lines
28 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<link rel="icon" type="image/x-icon" href="{{ asset($setting->favicon) }}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css"
integrity="sha512-vKMx8UnXk60zUwyUnUPM3HbQo8QfmNx7+ltw8Pm5zLusl1XIfwcxo8DbWCqMGKaWeNxWA8yrx5v3SaVpMvR3CA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<style>
:root {
--primary-color: #0093ba;
--secondary-color: #f8d210;
--accent-color: #1a4480;
--light-bg: #f8f9fa;
--dark-text: #2c3e50;
}
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--dark-text);
}
.hero-section {
/* background: url({{ asset('trust/assets/images/background/sweden.png') }}) no-repeat center top/cover; */
color: var(--dark-text);
/* padding: 100px 0; */
}
.container {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
}
/*
@media (min-width: 992px) {
.container {
max-width: 960px;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
} */
.section-padding {
padding: 80px 0;
}
.card-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.process-step {
position: relative;
padding: 30px;
margin-bottom: 30px;
background: white;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.process-number {
position: absolute;
top: -15px;
left: 30px;
background: var(--secondary-color);
color: var(--dark-text);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 18px;
}
.benefit-icon {
width: 180px;
height: 180px;
background: linear-gradient(to right, #e8171a 60%, #ffa21c 100%);
;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 20px;
}
.university-card {
width: 200px;
height: 200px;
background: white;
border-radius: 50%;
text-align: center;
margin-bottom: 30px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
}
.university-logo {
width: 100px;
height: 100px;
background-color: var(--primary-color);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.visa-post {
background: var(--light-bg);
border-radius: 10px;
margin: 10px;
text-align: center;
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
}
.cta-section {
background: linear-gradient(135deg,
var(--accent-color) 0%,
var(--primary-color) 100%);
color: white;
}
.btn-primary-custom {
background: var(--secondary-color);
border: none;
color: var(--dark-text);
font-weight: 600;
padding: 12px 30px;
border-radius: 25px;
transition: all 0.3s ease;
}
.btn-primary-custom:hover {
background: #e6c009;
transform: translateY(-2px);
color: var(--dark-text);
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 50px;
color: var(--dark-text);
}
@media (max-width: 768px) {
.section-title {
font-size: 2rem;
margin-bottom: 40px;
}
}
@media (max-width: 576px) {
.section-title {
font-size: 1.5rem;
margin-bottom: 30px;
}
}
.text-primary-custom {
color: #e8171a !important;
}
.flowchart-container {
max-width: 1200px;
margin: 0 auto;
background: white;
border: 3px solid #333;
padding: 40px;
border-radius: 8px;
}
.flowchart {
display: flex;
flex-direction: column;
gap: 60px;
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.step {
width: 180px;
height: 180px;
border: 3px solid #333;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: white;
font-size: 16px;
font-weight: bold;
line-height: 1.3;
padding: 20px;
position: relative;
z-index: 2;
}
.arrow {
position: absolute;
z-index: 1;
}
/* Horizontal arrows for top row */
.row.top .arrow {
width: 60px;
height: 3px;
background: #333;
top: 50%;
transform: translateY(-50%);
}
.row.top .arrow::after {
content: "";
position: absolute;
right: -8px;
top: -5px;
width: 0;
height: 0;
border-left: 12px solid #333;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
}
.row.top .arrow:nth-of-type(1) {
left: 200px;
}
.row.top .arrow:nth-of-type(2) {
left: 380px;
}
.row.top .arrow:nth-of-type(3) {
left: 560px;
}
.row.top .arrow:nth-of-type(4) {
left: 740px;
}
/* Vertical arrow connecting rows */
.vertical-arrow {
position: absolute;
right: 90px;
top: 240px;
width: 3px;
height: 60px;
background: #333;
z-index: 1;
}
.vertical-arrow::after {
content: "";
position: absolute;
bottom: -8px;
left: -5px;
width: 0;
height: 0;
border-top: 12px solid #333;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
}
/* Horizontal arrows for bottom row (reversed) */
.row.bottom {
flex-direction: row-reverse;
}
.row.bottom .arrow {
width: 60px;
height: 3px;
background: #333;
top: 50%;
transform: translateY(-50%);
}
.row.bottom .arrow::after {
content: "";
position: absolute;
left: -8px;
top: -5px;
width: 0;
height: 0;
border-right: 12px solid #333;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
}
.row.bottom .arrow:nth-of-type(1) {
right: 200px;
}
.row.bottom .arrow:nth-of-type(2) {
right: 380px;
}
.row.bottom .arrow:nth-of-type(3) {
right: 560px;
}
.row.bottom .arrow:nth-of-type(4) {
right: 740px;
}
/* Responsive design */
@media (max-width: 1024px) {
.flowchart-container {
padding: 20px;
}
.step {
width: 140px;
height: 140px;
font-size: 14px;
padding: 15px;
}
.row.top .arrow:nth-of-type(1) {
left: 160px;
}
.row.top .arrow:nth-of-type(2) {
left: 300px;
}
.row.top .arrow:nth-of-type(3) {
left: 440px;
}
.row.top .arrow:nth-of-type(4) {
left: 580px;
}
.row.bottom .arrow:nth-of-type(1) {
right: 160px;
}
.row.bottom .arrow:nth-of-type(2) {
right: 300px;
}
.row.bottom .arrow:nth-of-type(3) {
right: 440px;
}
.row.bottom .arrow:nth-of-type(4) {
right: 580px;
}
.vertical-arrow {
right: 70px;
top: 200px;
}
}
@media (max-width: 768px) {
.flowchart {
flex-direction: column;
gap: 30px;
}
.row {
flex-direction: column;
gap: 40px;
}
.row.bottom {
flex-direction: column;
}
.step {
width: 160px;
height: 160px;
font-size: 15px;
}
.arrow {
display: none;
}
.vertical-arrow {
display: none;
}
/* Mobile arrows */
.step:not(:last-child)::after {
content: "";
position: absolute;
bottom: -25px;
left: 50%;
transform: translateX(-50%);
width: 3px;
height: 20px;
background: #333;
}
.step:not(:last-child)::before {
content: "";
position: absolute;
bottom: -33px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-top: 8px solid #333;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
}
}
.header {
text-align: center;
margin-bottom: 40px;
}
.header h1 {
font-size: 2.5rem;
color: #333;
margin-bottom: 20px;
font-weight: 700;
}
.header p {
font-size: 1.1rem;
color: #666;
max-width: 600px;
margin: 0 auto;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}
.get-in-touch {
color: #007bff;
font-size: 0.9rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 20px;
}
.office {
margin-bottom: 40px;
}
.office h2 {
color: #333;
font-size: 1.8rem;
margin-bottom: 20px;
font-weight: 600;
}
.office-detail {
margin-bottom: 15px;
}
.office-detail h3 {
color: #ff6b35;
font-size: 1rem;
margin-bottom: 5px;
font-weight: 600;
}
.office-detail p {
color: #666;
font-size: 0.95rem;
}
.office-detail a {
color: #007bff;
text-decoration: none;
}
.office-detail a:hover {
text-decoration: underline;
}
.form-section {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
position: relative;
}
.form-header {
display: flex;
align-items: center;
margin-bottom: 30px;
}
.form-header h2 {
color: #333;
font-size: 1.8rem;
margin-right: 15px;
}
.arrow {
width: 40px;
height: 20px;
background: #ffd700;
clip-path: polygon(0 0,
70% 0,
100% 50%,
70% 100%,
0 100%,
30% 50%);
}
@media (max-width: 768px) {
.header h1 {
font-size: 2rem;
}
.content {
grid-template-columns: 1fr;
gap: 30px;
}
.form-row {
grid-template-columns: 1fr;
}
.form-buttons {
flex-direction: column;
}
.container {
padding: 20px 15px;
}
}
@media (max-width: 480px) {
.header h1 {
font-size: 1.8rem;
}
.office h2,
.form-header h2 {
font-size: 1.5rem;
}
}
h4.card-title {
font-size: 16px;
}
.card.h-100.card-hover.border-0.shadow-sm {
margin-bottom: 10px;
}
.timeline-container {
padding: 50px 15px;
position: relative;
}
.timeline {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.timeline-left,
.timeline-right {
width: 48%;
}
.timeline-item {
background: #fff;
border-radius: 20px;
padding: 20px;
margin-bottom: 30px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
}
.timeline-item::before {
content: '';
position: absolute;
top: 25px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #0d6efd;
}
.timeline-left .timeline-item::before {
right: -10px;
}
.timeline-right .timeline-item::before {
left: -10px;
}
.timeline-icon {
font-size: 30px;
margin-bottom: 10px;
}
.timeline-center {
text-align: center;
padding: 20px;
}
.timeline-center h4 {
font-weight: bold;
font-size: 1.5rem;
}
/* Form Container */
.form-container {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 1.5rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
margin-bottom: 2rem;
}
.form-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}
/* Form Title */
.form-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 0.5rem;
text-align: center;
}
/* Form Subtitle */
.form-subtitle {
color: var(--gray-600);
margin-bottom: 1.5rem;
font-size: 0.9rem;
text-align: center;
line-height: 1.5;
}
/* Form Group */
.form-group {
margin-bottom: 1.25rem;
}
/* Form Label */
.form-label {
display: block;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 0.5rem;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Form Control */
.form-control {
width: 100%;
padding: 1rem;
border: 2px solid var(--gray-200);
border-radius: 12px;
font-size: 1rem;
transition: all 0.3s ease;
background: white;
font-family: inherit;
appearance: none;
}
.form-control:focus {
outline: none;
border-color: var(--primary-red);
box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
transform: translateY(-1px);
}
.form-control::placeholder {
color: var(--gray-400);
}
select.form-control {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.75rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
}
/* Button */
.btn-primary {
width: 100%;
background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
border: none;
padding: 1.25rem 2rem;
font-weight: 600;
font-size: 1.1rem;
border-radius: 12px;
color: green;
transition: all 0.3s ease;
text-transform: none;
letter-spacing: 0.025em;
position: relative;
overflow: hidden;
min-height: 56px;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.btn-primary::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;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:active {
transform: translateY(1px);
}
/* Security Note */
.security-note {
display: flex;
align-items: center;
justify-content: center;
margin-top: 1rem;
color: var(--gray-500);
font-size: 0.8rem;
text-align: center;
}
</style>
<section class="hero-section">
<div class="container-fluid">
<div class="row min-vh-100" style="background: #e1e9ec ; align-items:star; ">
<div class="col-lg-6 d-flex flex-column p-4" style="background: #e1e9ec; margin-top:-30px">
<h1 style="font-size:42px; padding-bottom:5px; color:#EC2E23;">Think NewZealand, Think Rohini</h1>
<p style="font-size:18px; padding-bottom:40px; color:gray;">Register today to know more about going
Abroad</p>
@foreach ($banners as $banner)
<img src="{{ asset($banner->cover) }}" alt="Landing Image" class="img-fluid w-100"
style="object-fit: cover; ">
@endforeach
</div>
<div class="col-lg-6 d-flex align-items-center justify-content-center p-4" style="background: #e1e9ec;">
<div class="w-100" style="max-width: 500px;">
<div class="form-container animate-fade-in-up p-4 rounded-4 shadow"
style="background: #c9c6c6; color: #333; border: 1px solid #ddd; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);">
<h3 class="form-title text-center mb-4" style="color: #222;">Registration Form</h3>
<form id="enquiry-form" action="{{ route('form.submit-enquiry') }}" method="POST">
@csrf
<div class="form-group mb-3">
<label for="name" class="form-label">Full Name <span
class="text-danger">*</span></label>
<input type="text" class="form-control border border-light-subtle" id="name"
name="name" placeholder="Enter your full name" required>
</div>
<div class="form-group mb-3">
<label for="email" class="form-label">Email Address <span
class="text-danger">*</span></label>
<input type="email" class="form-control border border-light-subtle" id="email"
name="email" placeholder="Enter your email" required>
</div>
<div class="form-group mb-3">
<label for="phone" class="form-label">Phone Number <span
class="text-danger">*</span></label>
<input type="tel" class="form-control border border-light-subtle" id="phone"
name="phone" placeholder="Enter your phone number" required>
</div>
<div class="form-group mb-3">
<label for="qualification" class="form-label">Highest Qualification <span
class="text-danger">*</span></label>
<select class="form-control border border-light-subtle" id="qualification"
name="qualification" required>
<option value="">-Select Qualification-</option>
<option value="10">+2 or Equivalent</option>
<option value="20">Bachelors (3 year) or Equivalent</option>
<option value="30">Bachelors (4 year) or Equivalent</option>
<option value="40">Masters or Equivalent</option>
</select>
</div>
<div class="form-group mb-3">
<label for="score" class="form-label">Score <span
class="text-danger">*</span></label>
<input type="text" class="form-control border border-light-subtle" id="score"
name="score" placeholder="Enter Score" required>
</div>
<div class="form-group mb-3">
<label for="passed_year" class="form-label">Passed Year <span
class="text-danger">*</span></label>
<input type="text" class="form-control border border-light-subtle"
id="passed_year" name="passed_year" placeholder="Enter Passed Year" required>
</div>
@if ($setting->recaptcha_site_key)
<div class="form-group mb-3">
<div id="g-recaptcha-response" class="g-recaptcha mb-2"
data-sitekey="{{ $setting->recaptcha_site_key }}"></div>
</div>
@endif
<button type="submit" class="btn btn-dark w-100" id="submit">
Register
</button>
<div id="message-notification" class="text-success mt-3 text-center"></div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Successful Visa Grants -->
<section class="section-padding" style="background-color: #ffff">
<div class="container">
<h2 class="section-title text-center" style="color: #fc4e24">
Trusted by Many Testimonials
</h2>
<div class="row g-3">
@foreach ($videos as $video)
@php
$videoId = $video['id']['videoId'];
$embedUrl = "https://www.youtube.com/embed/{$videoId}";
@endphp
<div class="col-xl-3 col-lg-4 col-md-6 col-12">
<div class="visa-post">
<iframe width="100%" height="350" src="{{ $embedUrl }}" title="YouTube video"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
</div>
@endforeach
</div>
</div>
</section>
<!-- Benefits of choosing TEF -->
<section class="section-padding bg-light">
<div class="container">
<h2 class="section-title text-center" style="color: #fc4e24">
Benefits of Choosing Us
</h2>
<div class="row g-4">
<!-- Benefit 1 -->
@foreach ($benefits as $tef)
@foreach (json_decode($tef->extra_content) as $content)
<div class="col-lg-3 col-md-6">
<div class="text-center">
<div class="benefit-icon mb-3"
style="font-size: 2.5rem; color: linear-gradient(to right, #e8171a 60%, #ffa21c 100%);">
{{ $content->fieldHeader }}
</div>
<h5 class="text-primary-custom">{{ $tef->title }}</h5>
<p>
{!! $tef->text !!}
</p>
</div>
</div>
@endforeach
@endforeach
</div>
</div>
</section>
<section class="section-padding" style="background-color: #fffff">
<div class="container">
<h2 class="section-title text-center" style="color: #fc4e24">
Our Success Stories
</h2>
<div class="row g-3">
@foreach ($visa_grants as $visas)
<div class="col-xl-3 col-lg-4 col-md-6 col-12">
<div class="visa-post">
<img src="{{ asset($visas->cover) }}" width="400px" height="400px" />
</div>
</div>
@endforeach
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"
integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
$(document).on("submit", "#enquiry-form", function(event) {
event.preventDefault();
const action = $(this).attr("action");
const url = new URL(window.location.href);
const isRecaptchaEnabled = !!"{{ $setting->recaptcha_site_key }}";
let formData = $(this).serializeArray();
if (isRecaptchaEnabled) {
formData.push({
name: 'g-recaptcha-response',
value: grecaptcha.getResponse()
});
}
$("#submit")
.html(`Submitting...`)
.attr("disabled", true);
$.ajax({
url: action,
type: "POST",
dataType: "json",
data: formData,
headers: {
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content"),
},
success: function(response) {
if (response.status == 200) {
toastr.success(response.message);
document.getElementById("message-notification").innerHTML = response.message;
$("#enquiry-form")[0].reset();
}
},
error: function(xhr) {
if (xhr.status === 422 || xhr.status === 500) {
let errors = xhr.responseJSON.errors;
for (let key in errors) {
const errorMessage = errors[key][0];
toastr.error(errorMessage);
}
} else {
console.log(xhr.responseText);
}
},
complete: function() {
// grecaptcha.reset();
$("#submit").html(`<span>Register</span>`)
.attr("disabled", false);
form.reset();
}
});
});
</script>
</body>
</html>