/********** Template CSS **********/
:root {
    --primary: #10366e;
    --light: #F8F8F8;
    --dark: #424242;
    --gold: #B08D3E;
    --gold-light: #D9BE7C;
    --ink: #1E1E1E;
    --cream: #FAFAF8;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    background-color: #10366e;
    border-color: #10366e;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-size: 13px;
}
.dropdown-item{
    font-size: 13px;
    padding-top: 5px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}


.header-carousel .owl-dots {

    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-team {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/group.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: #e4edfb;
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 460px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 62%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 6px solid #FFFFFF;
    box-shadow: 0 22px 45px rgba(16, 54, 110, 0.20);
    top: 0;
    left: 0;
    z-index: 2;
}

.about-img img:last-child,
.feature-img img:last-child {
    width: 54%;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    margin: 0;
    z-index: 1;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 54%;
    aspect-ratio: 4 / 5;
    bottom: -18px;
    right: -18px;
    border: 3px solid var(--gold);
    border-radius: 4px;
    z-index: 0;
}

/* Practice-area pages only pass one image through the .about-img
   markup on some layouts — if a container has just one img, let it
   take the fuller frame instead of the small overlap slot. */
.about-img img:only-child {
    width: 88%;
    aspect-ratio: 5 / 6;
    top: 8%;
    left: 6%;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .5);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .8s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}


.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.footer{
     background: linear-gradient(rgba(255,255,255, 0.5), rgba(255,255,255, 0.5)), url(../img/aa.png) center center no-repeat;
    background-size: cover;
}

/* ============================================================
   2026 REFRESH — signature system additions
   Gold seal accent, Fraunces display type, motion, micro-interactions
   ============================================================ */

body {
    color: var(--dark);
    background: var(--cream);
}

h1, h2, h3, h4, .section-title,
.navbar-brand, .display-4, .display-5, .display-1, .display-3 {
    font-family: 'Fraunces', 'Montserrat', serif !important;
}

/*** Section title — gold underline sweep signature ***/
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    letter-spacing: 4px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 56px;
    background: var(--gold);
    transition: width .6s cubic-bezier(.25,.8,.25,1);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.reveal-in .section-title::after {
    width: 90px;
}

/*** Scroll reveal (progressive enhancement over wow.js) ***/
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.25,.8,.25,1), transform .7s cubic-bezier(.25,.8,.25,1);
}

.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.reveal-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/*** Navbar — condenses & gains a soft blur once scrolled ***/
.navbar {
    transition: box-shadow .4s ease, padding .4s ease, background-color .4s ease;
}

.navbar.site-scrolled {
    box-shadow: 0 8px 30px rgba(16, 54, 110, 0.10);
    background-color: rgba(255,255,255,0.96) !important;
    backdrop-filter: saturate(180%) blur(8px);
}

.navbar .navbar-nav .nav-link {
    position: relative;
}

@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 22px;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width .35s cubic-bezier(.25,.8,.25,1);
    }

    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        width: 100%;
    }
}

/*** Buttons — sliding gold fill ***/
.btn.btn-primary,
.btn.btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 2px;
}

.btn.btn-primary::before,
.btn.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.25,.8,.25,1);
    z-index: -1;
}

.btn.btn-primary:hover::before,
.btn.btn-secondary:hover::before {
    transform: scaleX(1);
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    color: #FFFFFF;
    border-color: var(--gold);
}

/*** Hero carousel — slower ken-burns drift + staggered text-in ***/
.header-carousel .owl-carousel-item img {
    animation: heroDrift 14s ease-in-out infinite alternate;
}

@keyframes heroDrift {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.owl-carousel-inner h1,
.owl-carousel-inner h3 {
    animation: fadeUpHero .9s cubic-bezier(.25,.8,.25,1) both;
}

.owl-carousel-inner p {
    animation: fadeUpHero .9s cubic-bezier(.25,.8,.25,1) .15s both;
}

.owl-carousel-inner .btn {
    animation: fadeUpHero .9s cubic-bezier(.25,.8,.25,1) .3s both;
}

@keyframes fadeUpHero {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/*** Service cards — lift, gold left-seal, image zoom ***/
.service-item {
    overflow: hidden;
    border-radius: 3px;
    transition: transform .45s cubic-bezier(.25,.8,.25,1), box-shadow .45s ease;
}

.service-item .bg-img {
    transition: transform .7s cubic-bezier(.25,.8,.25,1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 45px rgba(16, 54, 110, 0.22);
}

.service-item:hover .bg-img {
    transform: scale(1.08);
}

.service-item .service-text {
    position: relative;
    border-left: 0 solid var(--gold);
    transition: border-width .45s ease, background .5s ease;
}

.service-item:hover .service-text {
    border-left-width: 6px;
}

.service-item .service-text h3 {
    transition: color .4s ease;
}

/*** Counter block — gold ring pulse ***/
.border-primary {
    border-color: var(--primary) !important;
    transition: border-color .4s ease, box-shadow .4s ease;
}

.d-flex.flex-shrink-0.align-items-center.justify-content-center.border-primary:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 6px rgba(176, 141, 62, 0.12);
}

/*** About images — subtle frame lift on hover ***/
.about-img img {
    transition: transform .5s cubic-bezier(.25,.8,.25,1), box-shadow .5s ease;
}

.about-img img:hover {
    transform: translateY(-6px);
}

.about-img::before {
    transition: border-color .4s ease, inset .4s ease;
}

.about-img:hover::before {
    border-color: var(--primary);
}

/*** Team cards — gold sweep replaces flat overlay ***/
.team-item::after {
    background: linear-gradient(135deg, var(--primary) 0%, var(--ink) 100%);
}

.team-item .team-social .btn {
    transition: transform .3s cubic-bezier(.25,.8,.25,1), background .3s ease, color .3s ease;
}

.team-item:hover .team-social .btn {
    transform: translateY(-4px);
}

.team-item .team-social .btn:hover {
    background: var(--gold);
    color: #fff;
}

/*** Footer — gold hairline + link glide ***/
.footer {
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.footer .btn.btn-link {
    transition: transform .3s ease, color .3s ease;
}

.footer .btn.btn-link:hover {
    transform: translateX(6px);
}

/*** Back to top — gold ring ***/
.back-to-top {
    box-shadow: 0 6px 20px rgba(176, 141, 62, 0.35);
    transition: transform .3s ease, box-shadow .3s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(176, 141, 62, 0.45);
}

/*** Breadcrumb page header — slow gradient drift ***/
.page-header, .page-header-team {
    background-size: 110% 110%;
    animation: bgDrift 18s ease-in-out infinite alternate;
}

@keyframes bgDrift {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}

/*** Selection color, because tiny details matter ***/
::selection {
    background: var(--gold);
    color: #fff;
}


/*** Profile page — animated contact strip ***/
.contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(16, 54, 110, 0.10);
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    border: 1px solid rgba(16, 54, 110, 0.08);
    border-radius: 50px;
    padding: 10px 24px 10px 10px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 10px 25px rgba(16, 54, 110, 0.07);
    transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s ease, border-color .4s ease;
    opacity: 0;
    transform: translateY(16px);
}

.reveal-in .contact-pill {
    animation: pillIn .6s cubic-bezier(.25,.8,.25,1) forwards;
}

.reveal-in .contact-pill:nth-child(1) { animation-delay: .05s; }
.reveal-in .contact-pill:nth-child(2) { animation-delay: .18s; }
.reveal-in .contact-pill:nth-child(3) { animation-delay: .31s; }

@keyframes pillIn {
    to { opacity: 1; transform: translateY(0); }
}

.contact-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(16, 54, 110, 0.16);
    border-color: var(--gold);
}

.contact-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .4s ease;
}

.contact-pill:hover .contact-icon {
    background: var(--gold);
}

.contact-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .4s ease, transform .4s ease;
}

.contact-pill:hover .contact-icon::after {
    opacity: 1;
    transform: scale(1);
}

.contact-pill-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.contact-pill-text small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 576px) {
    .contact-pill {
        width: 100%;
    }
}


/*** Contact Page ***/
.contact-info-list {
    margin-top: 26px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
    opacity: 0;
    transform: translateY(16px);
}

.reveal-in .contact-info-item {
    animation: pillIn .6s cubic-bezier(.25,.8,.25,1) forwards;
}

.reveal-in .contact-info-item:nth-child(1) { animation-delay: .05s; }
.reveal-in .contact-info-item:nth-child(2) { animation-delay: .18s; }
.reveal-in .contact-info-item:nth-child(3) { animation-delay: .31s; }
.reveal-in .contact-info-item:nth-child(4) { animation-delay: .44s; }

.contact-info-item h6 {
    margin-bottom: 4px;
    font-family: 'Fraunces', serif;
    letter-spacing: .5px;
    color: var(--primary);
}

.contact-info-item p {
    margin-bottom: 0;
    color: var(--dark);
}

.contact-info-item a {
    color: var(--dark);
    text-decoration: none;
    transition: color .3s ease;
}

.contact-info-item a:hover {
    color: var(--gold);
}

.contact-info-item .contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: #FFFFFF;
    padding: 45px;
    border-radius: 4px;
    box-shadow: 0 25px 55px rgba(16, 54, 110, 0.10);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.contact-form-wrap .section-title {
    margin-bottom: 25px;
}

.contact-form-wrap .form-floating .form-control {
    border: none;
    border-bottom: 2px solid rgba(16, 54, 110, 0.15);
    border-radius: 0;
    background: transparent;
    padding-left: 4px;
    transition: border-color .35s ease;
}

.contact-form-wrap .form-floating .form-control:focus {
    border-color: var(--gold);
    box-shadow: none;
}

.contact-form-wrap .form-floating label {
    padding-left: 4px;
    color: #8a8a8a;
}

.contact-form-wrap .btn-primary {
    letter-spacing: 1px;
}

/* Map */
.map-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(16, 54, 110, 0.16);
}

.map-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(176, 141, 62, 0.35);
    border-radius: 6px;
    pointer-events: none;
}

.map-frame iframe {
    display: block;
    filter: grayscale(12%) contrast(1.02);
}


/*** Contact Page — info cards (form-free layout) ***/
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    .contact-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 40px 26px;
    text-align: center;
    box-shadow: 0 16px 35px rgba(16, 54, 110, 0.08);
    border-bottom: 3px solid transparent;
    transition: transform .45s cubic-bezier(.25,.8,.25,1), box-shadow .45s ease, border-color .45s ease;
    opacity: 0;
    transform: translateY(18px);
}

.reveal-in .contact-card {
    animation: pillIn .6s cubic-bezier(.25,.8,.25,1) forwards;
}

.reveal-in .contact-card:nth-child(1) { animation-delay: .05s; }
.reveal-in .contact-card:nth-child(2) { animation-delay: .18s; }
.reveal-in .contact-card:nth-child(3) { animation-delay: .31s; }
.reveal-in .contact-card:nth-child(4) { animation-delay: .44s; }

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(16, 54, 110, 0.16);
    border-color: var(--gold);
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
    margin: 0 auto 18px;
}

.contact-card:hover .contact-icon {
    background: var(--gold);
}

.contact-card h6 {
    font-family: 'Fraunces', serif;
    color: var(--primary);
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.contact-card p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--dark);
}

.contact-card a {
    color: var(--dark);
    text-decoration: none;
    transition: color .3s ease;
}

.contact-card a:hover {
    color: var(--gold);
}
