From 87289d1a8eb713f47eec9bd9030148087dd1c51f Mon Sep 17 00:00:00 2001 From: Sobhan Ghosh Date: Fri, 25 Oct 2024 00:38:52 +0530 Subject: [PATCH] revamped the feedback form --- index.html | 248 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 189 insertions(+), 59 deletions(-) diff --git a/index.html b/index.html index e64fb04..81034aa 100644 --- a/index.html +++ b/index.html @@ -112,6 +112,139 @@ 50% { transform: scale(1.05); } 100% { transform: scale(1); } } + + @import url('https://fonts.googleapis.com/css2?family=Helvetica:wght@400;700&display=swap'); + + .feedback-container { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + padding: 20px; + margin:0 100px 0; + } + .contact-info, .contact-form { + background-color: #00bfa5; + padding: 20px; + color: white; + box-sizing: border-box; + margin-bottom: 20px; + } + + .contact-info { + flex: 1 1 40%; + min-width: 300px; + border-radius: 10px 0 0 10px; + } + .contact-info h2 { + color: #ffeb3b; + font-size: 36px; + margin: 0; + } + .contact-info p { + margin: 10px 0; + font-size: 18px; + } + .info-box-container { + display: flex; + flex-direction: column; + justify-content: space-between; + } + .info-box { + display: flex; + justify-content: flex-start; + align-items: center; + padding: 10px; + margin: 10px; + flex: 1; + } + .info-box i { + font-size: 40px; + flex-shrink: 0; + margin-right: 10px; + color:lightgreen; + } + .info-box p { + margin: 10px; + font-size: 16px; + } + .contact-form { + display: flex; + flex-direction: column; + justify-content: center; + flex: 1 1 50%; + min-width: 300px; + border-radius: 0 10px 10px 0; + } + .contact-form label { + display: block; + margin: 10px 0 5px; + font-size: 18px; + } + .contact-form input, .contact-form textarea { + display:block; + width: 75%; + padding: 10px; + margin: 10px auto; + border: 1px solid #00bfa5; + border-radius: 10px; + background-color: #ffffff; + color: white; + box-sizing: border-box; + font-family: Arial, Helvetica, sans-serif; + transition: all 0.3s ease; + } + + .contact-form input:focus, .contact-form textarea:focus { + border-color: #ffeb3b; + outline: none; + color: black; + } + .contact-form textarea { + resize: none; + } + .contact-form button { + background-color: #ffeb3b; + color: rgb(80, 74, 74); + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; + font-size: 18px; + display: block; + width: 20%; + box-sizing: border-box; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-align: center; + } + .contact-form button:hover { + background-color: #c4b320; + } + @media (max-width: 768px) { + .feedback-container { + flex-direction: column; + align-items: center; + margin: 20px; + } + .contact-info, .contact-form { + width: 100%; + border-radius: 10px; + padding: 20px; + } + .info-box-container { + flex-direction: row; + align-items: center; + } + .info-box{ + flex: 1; + flex-direction: column; + } + .contact-form button { + width: auto; + padding: 10px 20px; + } + } @@ -310,15 +443,9 @@

Train Tickets

Sell Train Tickets

Have train tickets to sell? Reach out to us to list your tickets and get great deals.

- - - - - + - - @@ -348,6 +475,61 @@

Our Reviews

+ +
+ +
+

Frequently Asked Questions

@@ -490,52 +672,6 @@

Frequently Asked Questions

} } - -
-
-

We Value Your Feedback!

-

Your input helps us improve our services. Please share your thoughts with us below.

-
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- -
- 0% -
-
-
- - -
-