diff --git a/assets/css/style.css b/assets/css/style.css index d1f3ab9..87072c1 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -8563,3 +8563,315 @@ body.modal-open { transition: none; } } + +/* CONTACT PAGE */ + +/* Contact hero */ +.contact-hero .breadcrumb__list { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin: 0 0 20px; + padding: 0; + list-style: none; + font-size: 14px; + color: var(--text-muted); +} + +.contact-hero .breadcrumb__item + .breadcrumb__item::before { + content: "/"; + margin-right: 8px; + color: var(--text-faint); +} + +.contact-hero .breadcrumb__item a { + color: var(--text-muted); + transition: color var(--transition-fast); +} + +.contact-hero .breadcrumb__item a:hover, +.contact-hero .breadcrumb__item a:focus-visible { + color: var(--text); +} + +.contact-hero .breadcrumb__item[aria-current="page"] { + color: var(--text); +} + +.contact-hero__grid { + display: grid; + gap: 24px; + align-items: end; +} + +.contact-hero__hotline { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 10px; +} + +.contact-hero__badge { + display: inline-flex; + align-items: center; + padding: 8px 14px; + border: 1px solid var(--border); + border-radius: var(--radius-pill); + background: var(--surface); + color: var(--text-muted); + font-size: 14px; + font-weight: 500; +} + +.contact-hero__phone { + color: var(--text); + font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); + font-weight: 700; + line-height: 1.2; + transition: color var(--transition-fast); +} + +.contact-hero__phone:hover, +.contact-hero__phone:focus-visible { + color: var(--accent); +} + +/* Department cards */ +.contact-dept__grid { + display: grid; + grid-template-columns: 1fr; + gap: 20px; +} + +.contact-dept__card { + display: flex; + flex-direction: column; + gap: 12px; + height: 100%; + padding: 28px 24px; + transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base); +} + +.contact-dept__card:hover { + transform: translateY(-4px); + border-color: var(--border-strong); + box-shadow: var(--shadow-hover); +} + +.contact-dept__icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 52px; + height: 52px; + border-radius: 50%; + background: var(--accent-soft); + color: var(--accent); + border: 1px solid var(--accent-border); +} + +.contact-dept__icon .icon { + width: 22px; + height: 22px; +} + +.contact-dept__title { + margin: 0; + color: var(--text); + font-size: 20px; + font-weight: 600; +} + +.contact-dept__text { + margin: 0; + color: var(--text-muted); + flex: 1; +} + +.contact-dept__link { + color: var(--text); + font-weight: 600; + text-decoration: underline; + text-decoration-color: var(--accent-border); + text-underline-offset: 3px; + transition: color var(--transition-fast), text-decoration-color var(--transition-fast); +} + +.contact-dept__link:hover, +.contact-dept__link:focus-visible { + color: var(--accent); + text-decoration-color: var(--accent); +} + +/* Info panels */ +.contact-info__grid { + display: grid; + grid-template-columns: 1fr; + gap: 20px; +} + +.contact-info__side { + display: grid; + gap: 20px; +} + +.contact-info__card { + padding: 28px 24px; +} + +.contact-info__title { + margin: 0 0 20px; + color: var(--text); + font-size: 22px; + font-weight: 600; +} + +.contact-info__list { + list-style: none; + margin: 0; + padding: 0; + display: grid; + gap: 16px; +} + +.contact-info__item { + display: flex; + align-items: flex-start; + gap: 14px; +} + +.contact-info__icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + flex-shrink: 0; + border-radius: 50%; + background: var(--surface-2); + color: var(--text); + border: 1px solid var(--border); +} + +.contact-info__icon .icon { + width: 18px; + height: 18px; +} + +.contact-info__body { + min-width: 0; +} + +.contact-info__label { + margin: 0 0 2px; + color: var(--text-muted); + font-size: 14px; +} + +.contact-info__value { + margin: 0; + color: var(--text); + font-weight: 500; +} + +/* Social and messaging lists */ +.contact-info__link { + color: var(--text); + font-weight: 500; + transition: color var(--transition-fast); +} + +.contact-info__link:hover, +.contact-info__link:focus-visible { + color: var(--accent); +} + +.contact-info__list--grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 14px 16px; +} + +.contact-info__list--grid .contact-info__item { + align-items: center; +} + +/* Location */ +.contact-map { + padding: 0; + overflow: hidden; +} + +.contact-map__placeholder { + aspect-ratio: 4 / 3; + min-height: 220px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 12px; + background: var(--surface); + color: var(--text-muted); + text-align: center; + padding: 24px; +} + +.contact-map__icon .icon { + width: 36px; + height: 36px; + color: var(--accent); +} + +.contact-map__text { + margin: 0; + font-size: 18px; + font-weight: 500; + color: var(--text); +} + +.contact-address { + margin-top: 20px; + padding: 28px 24px; +} + +.contact-address .contact-info__list { + grid-template-columns: 1fr; +} + +/* Responsive */ +@media (min-width: 640px) { + .contact-dept__grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .contact-address .contact-info__list { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + +@media (min-width: 768px) { + .contact-hero__grid { + grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); + gap: 32px; + } + + .contact-hero__hotline { + align-items: flex-end; + text-align: right; + justify-self: end; + } + + .contact-info__grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); + align-items: start; + } + + .contact-map__placeholder { + aspect-ratio: 16 / 7; + } +} + +@media (min-width: 1024px) { + .contact-dept__grid { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } +} diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..8c4f134 --- /dev/null +++ b/contact.php @@ -0,0 +1,167 @@ + + +
+ + + + +
+
+
+ Departments +

Reach the right department

+
+
+ +
+ +

General Inquiries

+

For any general enquiries about our services and our brand.

+ hello@aiinstitute.com +
+ + + + + + +
+
+
+ + +
+
+
+
+

Office hours

+
    +
  • + +
    +

    Sunday - Friday

    + +

    [Opening time] - [Closing time]

    +
    +
  • +
  • + +
    +

    Call us on:

    + +977 98000000 +
    +
  • +
+
+ +
+ + + +
+
+
+
+ + +
+
+
+ Location +

Visit our location

+
+
+ +
+ +

Map coming soon

+
+
+
+
    +
  • + +
    +

    AI Institute

    +
    +
  • +
  • + +
    +

    Buddhanagar, Kathmandu

    +
    +
  • +
  • + + +
  • +
  • + +
    + +

    [Website URL]

    +
    +
  • +
+
+
+
+ +
+ + diff --git a/includes/data.php b/includes/data.php index c5d5e79..c25096d 100644 --- a/includes/data.php +++ b/includes/data.php @@ -60,6 +60,10 @@ if (!function_exists('icon')) { 'linkedin' => '', 'instagram' => '', 'youtube' => '', + 'clock' => '', + 'whatsapp' => '', + 'message' => '', + 'building' => '', ]; } diff --git a/includes/footer.php b/includes/footer.php index e2c7db6..7ffb399 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -29,6 +29,7 @@
  • Home
  • About
  • Student Work
  • +
  • Contact