diff --git a/contactus.html b/contactus.html index 410fb86..76f78c4 100644 --- a/contactus.html +++ b/contactus.html @@ -21,10 +21,23 @@ } .container { - max-width: 1200px; - margin: 0 auto; - padding: 20px; + width: 100%; + max-width: 800px; + margin: 2rem auto; + padding: 2rem; + background: linear-gradient(135deg, #ead6ee, #a0f1ea); + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } + .container h1 { + text-align: center; + font-size: 2.5rem; + /* Bigger typography */ + font-weight: bold; + margin-bottom: 30px; + color: #ff4d4d; + cursor: default; + } /* Navbar */ nav { @@ -123,8 +136,92 @@ font-weight: bold; } + /*new form-cont css*/ + .form-cont { + display: flex; + width: 100%; + align-items: center; + text-align: left; + } + .form-cont textarea { + width: 100%; + padding: 16px 12px; + font-size: 16px; + color: #3a506b; + background: #e6f0fa; + border: 1px solid #b3c7d6; + border-radius: 5px; + outline: none; + transition: 0.3s border-color ease-in-out; + } + form label { + font-weight: 600; + color: #333; + width: 100%; + } + + form input, + form select { + width: 100%; + align-self: center; + + border: 1px solid #ccc; + border-radius: 0px; + border: none; + border-bottom: 2px solid #ccc; + font-size: 1rem; + background-color: transparent; + transition: all 0.3s ease-in-out; + } + + form input[type="text"]:focus, + form input[type="date"]:focus, + form input[type="time"]:focus, + form input[type="email"]:focus, + form select:focus { + outline: none; + background-color: transparent; + border-bottom: 2px solid #ff4d4d; + /* White bottom border on focus */ + } + + form .btn { + background-color: #ff4d4d; + border: 2px solid #ff4d4d; + color: white; + display: flex; + justify-content: center; + align-items: center; + font-weight: bold; + padding: 25px; + width: 100%; + border-radius: 4px; + cursor: pointer; + font-size: 1.25rem; + margin-top: 30px; + } + + + form .btn:hover { + background-color: transparent; + color: #ff4d4d; + } + /* Floating label effect */ + .form-group input:focus + label, + .form-group textarea:focus + label, + .form-group input:not(:placeholder-shown) + label, + .form-group textarea:not(:placeholder-shown) + label { + top: -8px; + left: 8px; + font-size: 12px; + background-color: #f0f4f8; + color: #5c91ad; + padding: 0 5px; + border-radius: 3px; + } + /* Form Group and Floating Label */ - .form-group { + /*.form-group { position: relative; margin-bottom: 25px; } @@ -156,8 +253,9 @@ transition: 0.3s ease-in-out; pointer-events: none; } - +*/ /* Floating label effect */ + /* .form-group input:focus + label, .form-group textarea:focus + label, .form-group input:not(:placeholder-shown) + label, @@ -172,6 +270,7 @@ } /* Submit Button */ + /* .submit-btn { background-color: #ff8c00; color: #fff; @@ -189,7 +288,7 @@ background-color: #2e3b4e; color: #ff8c00; } - +*/ /* Footer */ /* footer { background-color: #2e3b4e; @@ -267,32 +366,121 @@ - - Contact Us - - - - Full Name - - - - Email Address - - - - Subject - - + + Contact Us + + + Your Name: + + + + Email Address: + + + + Subject: + + + + Message: - Your Message - - Send Message + + Submit Ticket - +