/* ================== Contact Section ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  font-family: "Times", "Times New Roman", serif;
}

body.contact-page {
    background: #123E2C;
    color: #333;
    font-family: "Times", "Times New Roman", serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    height: 100%;
}

.contact {
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    background: #123E2C;
}

.contact-info {
    background: linear-gradient(135deg, rgba(18, 62, 44, 0.95), rgba(18, 62, 44, 0.95)),
                url("images/pattern.png") center/cover no-repeat;
    color: #FCFBC5;
    text-align: center;
    padding: 70px 10% 80px;
    position: relative;
}

.contact-info h2 {
    position: relative;
    display: inline-block;
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 1;
    color: white;
}

.contact-info p {
    margin-bottom: 15px;
}

@keyframes glowline {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 217, 160, 0.7);
    }

    50% {
        box-shadow: 0 0 15px rgba(253, 244, 236, 0.9);
    }
}

/* Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.contact-item {
    background: #295141;
    padding: 35px 25px;
    border-radius: 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
    opacity: 0;
    transform: translateY(40px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.contact.in-view .contact-item {
    opacity: 1;
    transform: translateY(0);
}

.contact.in-view .contact-item:nth-child(1) {
    transition-delay: 0.2s;
}

.contact.in-view .contact-item:nth-child(2) {
    transition-delay: 0.4s;
}

.contact.in-view .contact-item:nth-child(3) {
    transition-delay: 0.6s;
}

.contact-item p {
    margin-top: 18px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #FDF4EC;
    
}

.icon-circle {
    width: 85px;
    height: 85px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #FCFBC5, #fff4e7);
    color: #162E1A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: inset 2px 2px 6px rgba(255, 255, 255, 0.6), inset -3px -3px 8px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.icon-circle:hover {
    background: linear-gradient(145deg, #fff4e7, #FCFBC5);
    transform: scale(1.12);
    box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.6), inset -2px -2px 6px rgba(0, 0, 0, 0.15), 0 10px 18px rgba(0, 0, 0, 0.3);
}

/* ================== Contact Form ================== */
.contact-form {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: #162E1A;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: #FCFBC5;
    letter-spacing: 1px;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-form form .full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: #123E2C;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FCFBC5;
    box-shadow: 0 0 8px rgba(255, 217, 160, 0.8);
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(135deg, #FCFBC5, #FDF4EC);
    color: #123E2C;
    transition: all 0.3s ease;
    font-family: "Times", "Times New Roman", serif;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #FDF4EC, #FCFBC5);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.contact-form textarea::placeholder {
    font-family: "Times", "Times New Roman", serif;
}


@media (max-width: 992px) {
  .contact-form {
    max-width: 90%;
    padding: 35px 25px;
  }

  .contact-form form {
    grid-template-columns: 1fr;
  }

  .contact-form h3 {
    font-size: 1.6rem;
  }

  .contact-form button {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .contact-form {
    max-width: 95%;
    padding: 25px 15px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .contact-form h3 {
    font-size: 1.4rem;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 12px 18px;
  }
}

.contact-item a {
    color: #FCFBC5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FCFBC5;
}
/* ================== Hero Section ================== */
.contact-hero {
    position: relative;
    height: 60vh; 
    background: url("images/contact-hero.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FCFBC5;
    overflow: hidden;
}

.contact-hero .hero-overlay {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.contact-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
}

.contact-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FCFBC5; 
}
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  section {
    padding: 50px 6%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  section {
    padding: 250px 5%;
  }
}