/* ============================ */
/* CONTACT HERO SECTION STYLING */
/* ============================ */
.contact-hero {
position: relative;
text-align: center;
padding: 80px 20px;
color: white;
background: linear-gradient(135deg, #1e3c72, #2a5298);
overflow: hidden;
}

/* Optional pattern overlay */
.contact-hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('[https://www.transparenttextures.com/patterns/diamond-upholstery.png](https://www.transparenttextures.com/patterns/diamond-upholstery.png)');
opacity: 0.2;
pointer-events: none;
}

/* Entrance animation */
.contact-hero h1,
.contact-hero p {
position: relative;
opacity: 0;
transform: translateY(30px);
animation: fadeUp 1s ease-out forwards;
}

.contact-hero h1 {
animation-delay: 0.3s;
font-size: 3rem;
margin-bottom: 20px;
}

.contact-hero p {
animation-delay: 0.6s;
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto;
}

/* Keyframes */
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}

/* Responsive adjustments */
@media (max-width: 768px) {
.contact-hero h1 {
font-size: 2.2rem;
}


.contact-hero p {
    font-size: 1rem;
}


}




/* ============================ */
/* GENERAL STYLING & RESET      */
/* ============================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

/* ============================ */
/* CONTACT CONTAINER            */
/* ============================ */
.contact-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 50px;
padding: 60px 20px;
background: #f5f7fa;
}

/* Contact info */
.contact-info {
flex: 1;
max-width: 600px;
}

/* Section titles */
.section-title {
font-size: 2.5rem;
text-align: center;
margin-bottom: 40px;
color: #1e3c72;
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: #2a5298;
margin: 10px auto 0;
border-radius: 2px;
}

/* ============================ */
/* INFO BOXES                   */
/* ============================ */
.info-box {
display: flex;
align-items: flex-start;
gap: 15px;
background: #ffffff;
padding: 20px 25px;
margin-bottom: 25px;
border-radius: 12px;
box-shadow: 0 8px 18px rgba(0,0,0,0.1);
opacity: 0;
transform: translateY(30px);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box i {
font-size: 2rem;
color: #1e3c72;
flex-shrink: 0;
}

.info-box h4 {
font-size: 1.2rem;
margin-bottom: 6px;
color: #1e3c72;
}

.info-box p {
margin: 2px 0;
font-size: 1rem;
color: #555;
}

.info-box a {
color: #2a5298;
text-decoration: none;
}

.info-box a:hover {
text-decoration: underline;
}

.info-box:hover {
transform: translateY(-5px);
box-shadow: 0 12px 22px rgba(0,0,0,0.15);
}

/* ============================ */
/* CONTACT FORM                 */
/* ============================ */
.contact-form {
flex: 1;
max-width: 600px;
margin: 0 auto;
padding: 60px 20px;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 12px 24px rgba(0,0,0,0.1);
opacity: 0;
transform: translateY(30px);
animation: fadeUp 1s ease forwards;
animation-delay: 0.3s;
}

.contact-form .form-group {
margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 14px 18px;
border: 2px solid #ccc;
border-radius: 8px;
font-size: 1rem;
transition: all 0.3s ease;
outline: none;
resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
border-color: #1e3c72;
box-shadow: 0 0 8px rgba(30,60,114,0.2);
}

.contact-form textarea {
min-height: 120px;
}

.btn-submit {
display: inline-block;
padding: 14px 30px;
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: #fff;
font-size: 1rem;
font-weight: 600;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}

.btn-submit:hover {
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(30,60,114,0.3);
}

/* ============================ */
/* ANIMATIONS                   */
/* ============================ */
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Staggered fade-in for info boxes */
.fadeIn {
animation: fadeUp 0.8s ease forwards;
}

.fadeIn:nth-child(1) { animation-delay: 0.2s; }
.fadeIn:nth-child(2) { animation-delay: 0.4s; }
.fadeIn:nth-child(3) { animation-delay: 0.6s; }

/* ============================ */
/* RESPONSIVE STYLING           */
/* ============================ */
@media (max-width: 768px) {
.contact-container {
flex-direction: column;
padding: 40px 15px;
}


.section-title {
    font-size: 2rem;
}

.info-box {
    flex-direction: column;
    align-items: flex-start;
}

.info-box i {
    margin-bottom: 10px;
}

.contact-form {
    padding: 40px 15px;
}

.contact-form .section-title {
    font-size: 1.8rem;
}


}
