/* Contact page (loaded after pages.css). Prefix ct- */

.ct-policy { max-width: 26rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--m); border-radius: 0 1.2rem 1.2rem 0; background: #fff; box-shadow: 0 20px 40px -32px rgba(116, 21, 143, 0.5); }
.ct-policy span { display: block; margin-bottom: 0.4rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--m); }
.ct-policy p { margin: 0; font-size: 0.85rem; line-height: 1.65; color: rgba(32, 26, 32, 0.7); }

.ct-cards { display: grid; gap: 1rem; }
.ct-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem 1.6rem; border: 1px solid var(--lav); border-radius: 1.5rem; background: #fff; transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s; }
.ct-card:hover { transform: translateY(-5px); border-color: var(--p); box-shadow: 0 26px 46px -30px rgba(116, 21, 143, 0.6); }
.ct-card__ico { flex: 0 0 auto; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: linear-gradient(135deg, var(--m), var(--p)); color: #fff; }
.ct-card > div { flex: 1; min-width: 0; }
.ct-card__label { display: block; margin-bottom: 0.4rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--m); }
.ct-card__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; margin: 0; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 700; font-style: normal; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.ct-card__row a { color: inherit; text-decoration: none; transition: color 0.3s; }
.ct-card__row a:hover { color: var(--p); }
.ct-card__row i { font-style: normal; font-weight: 300; color: rgba(32, 26, 32, 0.3); }
address.ct-card__row { font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 500; }
.ct-card__go { flex: 0 0 auto; color: rgba(32, 26, 32, 0.35); transition: transform 0.4s var(--ease), color 0.3s; }
.ct-card:hover .ct-card__go { transform: translate(3px, -3px); color: var(--m); }

.ct-intro { margin-bottom: 3rem; }
.ct-alumni-photo { max-width: 26rem; width: 100%; margin: 0 auto; }
.ct-note { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; border: 1px solid var(--lav); border-radius: 1.2rem; background: #fff; }
.ct-note span { display: grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, var(--m), var(--p)); color: #fff; }
.ct-note p { margin: 0; font-size: 0.92rem; font-weight: 500; color: var(--ink); }

/* form panels */
.ct-panel { padding: 2rem; border-radius: 1.8rem; }
@media (min-width: 900px) { .ct-panel { padding: 3rem; } }
.ct-panel--dark { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(12px); }
.ct-panel--light { border: 1px solid var(--lav); background: #fff; box-shadow: 0 30px 60px -40px rgba(116, 21, 143, 0.5); }
.ct-panel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 2rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(116, 21, 143, 0.14); }
.ct-panel--dark .ct-panel__bar { border-color: rgba(255, 255, 255, 0.16); }
.ct-panel__bar span { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.ct-panel--dark .ct-panel__bar span { color: var(--tint); }
.ct-panel__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--m); box-shadow: 0 0 0 0 rgba(194, 24, 115, 0.6); animation: ctPulse 2s infinite; }
@keyframes ctPulse { 70% { box-shadow: 0 0 0 10px rgba(194, 24, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 24, 115, 0); } }
.ct-panel__bar small { padding: 0.4rem 0.9rem; border: 1px solid rgba(116, 21, 143, 0.2); border-radius: 999px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--p); }
.ct-panel--dark .ct-panel__bar small { border-color: rgba(255, 255, 255, 0.25); color: rgba(232, 217, 234, 0.85); }

/* Gravity Forms output inside the panels (overrides the base .itihaas-gf rules from main.css) */
.ct-form .itihaas-gf .gform_fields { gap: 1.3rem; }
.ct-form .itihaas-gf .gfield_label { margin-bottom: 0.5rem; font-size: 0.68rem; letter-spacing: 0.16em; }
.ct-form .itihaas-gf input[type=text], .ct-form .itihaas-gf input[type=email], .ct-form .itihaas-gf input[type=tel], .ct-form .itihaas-gf textarea { box-sizing: border-box; padding: 0.95rem 1.1rem; border-radius: 0.95rem; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.ct-form .itihaas-gf--light input[type=text], .ct-form .itihaas-gf--light input[type=email], .ct-form .itihaas-gf--light input[type=tel], .ct-form .itihaas-gf--light textarea { background: #fff; border-color: var(--lav); color: var(--ink); }
.ct-form .itihaas-gf--light .gfield_label { color: rgba(32, 26, 32, 0.75); }
.ct-form .itihaas-gf--light input:focus, .ct-form .itihaas-gf--light textarea:focus { border-color: var(--p); box-shadow: 0 0 0 4px rgba(116, 21, 143, 0.12); }
.ct-form .itihaas-gf--dark .gfield_label { color: var(--tint); }
.ct-form .itihaas-gf--dark input[type=text], .ct-form .itihaas-gf--dark input[type=email], .ct-form .itihaas-gf--dark input[type=tel], .ct-form .itihaas-gf--dark textarea { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.ct-form .itihaas-gf--dark input:focus, .ct-form .itihaas-gf--dark textarea:focus { border-color: var(--pk); background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 4px rgba(254, 79, 161, 0.18); }
.ct-form .itihaas-gf .gform_footer, .ct-form .itihaas-gf .gform_page_footer { margin-top: 1.8rem; }
.ct-form .itihaas-gf-submit, .ct-form .itihaas-gf input[type=submit] { box-sizing: border-box; min-height: 3rem; padding: 0 1.8rem; border: 0; border-radius: 999px; background: linear-gradient(110deg, var(--m), var(--p) 70%); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1; box-shadow: 0 10px 30px -10px rgba(194, 24, 115, 0.7); transition: transform 0.35s var(--ease), box-shadow 0.3s; }
.ct-form .itihaas-gf-submit:hover, .ct-form .itihaas-gf input[type=submit]:hover { background: linear-gradient(110deg, var(--m), var(--p) 70%); transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(194, 24, 115, 0.9); }
.ct-form .itihaas-gf .gform_confirmation_message, .ct-form .itihaas-gf .gform_validation_errors { border-radius: 1rem; }

@media (max-width: 639px) {
  .ct-panel { padding: 1.3rem; border-radius: 1.4rem; }
  .ct-card { padding: 1.1rem; gap: 0.9rem; }
  .ct-card__go { display: none; }
  .ct-intro { margin-bottom: 2rem; }
  .ct-form .itihaas-gf .gform_fields { grid-template-columns: minmax(0, 1fr); }
  .ct-form .itihaas-gf-submit { width: 100%; justify-content: center; }
}

.ct-form > p { margin: 0; font-size: 0.9rem; color: rgba(232, 217, 234, 0.8); }
.ct-panel--light .ct-form > p { color: rgba(32, 26, 32, 0.65); }
