diff --git a/assets/css/contact.css b/assets/css/contact.css index 926032a..bafcc68 100644 --- a/assets/css/contact.css +++ b/assets/css/contact.css @@ -6,29 +6,40 @@ body { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; - background-color: #f4f4f4; + background: linear-gradient(to bottom, #e9f5e9, #cce8cc); /* Soft gradient */ color: #333; } + .getback { top: 20px; left: 20px; position: absolute; - background-color: #28a745; + background: linear-gradient(90deg, #28a745, #218838); color: white; - padding: 10px 20px; + padding: 12px 22px; border-radius: 8px; text-align: center; text-decoration: none; font-family: "Arial", sans-serif; font-weight: bold; - font-size: 16px; - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); - transition: background-color 0.3s ease, box-shadow 0.3s ease; + font-size: 18px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); + transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; } .getback:hover { - background-color: #218838; - box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); + transform: translateY(-2px); + animation: pulse 0.5s infinite alternate; /* Add pulse animation */ +} + +@keyframes pulse { + 0% { + transform: scale(1); + } + 100% { + transform: scale(1.05); + } } .container2 { @@ -40,12 +51,14 @@ body { .header { text-align: center; padding: 30px 20px; + position: relative; } .header h1 { font-size: 36px; - color: green; + color: #28a745; margin-bottom: 10px; + text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); } .header p { @@ -64,15 +77,17 @@ body { flex: 1 1 500px; background-color: #fff; padding: 30px; - border-radius: 8px; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); + border-radius: 12px; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); margin-bottom: 20px; + position: relative; } .contact-form h2 { font-size: 28px; color: #333; margin-bottom: 20px; + border-bottom: 2px solid #28a745; /* Underline */ } .contact-form label { @@ -87,9 +102,16 @@ body { width: 100%; padding: 12px; margin-bottom: 20px; - border: 1px solid #ddd; - border-radius: 4px; + border: 2px solid #ddd; + border-radius: 6px; font-size: 16px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + transition: border 0.3s ease; +} + +.contact-form input:focus, +.contact-form textarea:focus { + border-color: #28a745; /* Green focus border */ } .contact-form textarea { @@ -98,18 +120,20 @@ body { } .contact-form .submit-btn { - background-color: green; + background: linear-gradient(90deg, #28a745, #218838); color: white; padding: 12px 24px; border: none; - border-radius: 4px; + border-radius: 6px; font-size: 18px; cursor: pointer; - transition: background-color 0.3s ease; + transition: background 0.3s ease, transform 0.2s ease; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .contact-form .submit-btn:hover { - background-color: rgb(35, 144, 35); + background: linear-gradient(90deg, #218838, #1e7e34); /* Darker green */ + transform: translateY(-1px); } /* Contact Information Styling */ @@ -117,18 +141,19 @@ body { flex: 1 1 400px; background-color: #282c34; padding: 30px; - border-radius: 8px; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); + border-radius: 12px; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); color: white; margin-bottom: 20px; + position: relative; } .contact-info h2 { font-size: 28px; - color: green; + color: #28a745; margin-bottom: 20px; text-align: center; - border-bottom: 2px solid green; + border-bottom: 2px solid #28a745; padding-bottom: 10px; } @@ -138,12 +163,6 @@ body { align-items: center; } -.contact-info .info-icon { - font-size: 30px; - margin-right: 15px; - color: green; -} - .contact-info .info h3 { font-size: 20px; color: #fff; @@ -156,9 +175,10 @@ body { margin-top: 0; } -.info-icon svg { - width: 30px; - height: 30px; +.contact-info .info-icon { + width: 24px; /* Adjust icon width */ + height: 24px; /* Adjust icon height */ + margin-right: 15px; /* Space between icon and text */ } /* Map Section */ @@ -167,8 +187,31 @@ body { width: 100%; height: 400px; background-color: #ddd; - border-radius: 8px; + border-radius: 12px; overflow: hidden; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); +} + +/* Add tree texture as a background */ +.contact-form::before, +.contact-info::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: url('tree-texture.png') no-repeat center center; + opacity: 0.05; /* Subtle texture effect */ + z-index: 0; + border-radius: 12px; +} + +.contact-form h2, +.contact-info h2, +.getback { + position: relative; /* To bring text above the background */ + z-index: 1; } /* Media queries for responsive design */ diff --git a/contact.html b/contact.html index 21888ca..ce07e36 100644 --- a/contact.html +++ b/contact.html @@ -1,164 +1,88 @@ - - - - Contact Us - - - - ← Back -
- -
-

Contact Us

-

- We're here to help! Get in touch with us through the form or - details below. -

-
+ + + + Contact Us + + + + + ← Back +
+ +
+

Contact Us

+

We're here to help! Get in touch with us through the form or details below.

+
- -
- -
-

Send Us a Message

-
- - + +
+ +
+

Send Us a Message

+ + + - - + + - - + + - - -
+ + +
- -
-

Our Contact Information

-
- - - - - -
-

Phone

-

+1 234 567 890

-
+ +
+

Our Contact Information

+
+ + + +
+

Phone

+

+1 234 567 890

-
- - - - - -
-

Email

-

support@yourcompany.com

-
+
+
+ + + +
+

Email

+

support@yourcompany.com

-
- - - - - -
-

Office Address

-

1234 Example St, City, Country

-
+
+
+ + + +
+

Office Address

+

1234 Example St, City, Country

-
- - - - - -
-

Business Hours

-

Mon - Fri, 9:00 AM - 6:00 PM

-
+
+
+ + + +
+

Business Hours

+

Mon - Fri, 9:00 AM - 6:00 PM

+ +
- -
- -
+ +
+
- +
+ diff --git a/index.html b/index.html index f19a0e6..93b967c 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,7 @@ rel="stylesheet" /> + Tree2Hope