/* =========================================================
   P.T. LEE CHENGALVARAYA NAICKER TRUST
   CONTACT PAGE
   Modern Blue + Rose Design
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.contact-page {

    --blue-dark: #082b5c;
    --blue: #075ca8;
    --blue-light: #0b86a5;

    --primary: #e2134f;
    --rose: #f467a7;

    --orange: #ff9800;
    --yellow: #ffd54f;

    --dark: #172033;
    --text: #5d6878;

    --light: #f5f7fa;
    --white: #ffffff;

    --border: #e5e9f0;

    width: 100%;
    background: var(--light);
    overflow: hidden;
}


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {

    position: relative;

    width: 100%;
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark) 0%,
            var(--blue) 55%,
            var(--blue-light) 100%
        );

    overflow: hidden;
}


/* =========================================================
   HERO DECORATIVE CIRCLES
========================================================= */

.contact-hero::before {

    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    left: -180px;
    top: -220px;

    border-radius: 50%;

    border:
        2px solid
        rgba(255,255,255,.10);

    animation:
        contactCircleOne
        9s
        ease-in-out
        infinite;
}


.contact-hero::after {

    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    right: -190px;
    bottom: -300px;

    border-radius: 50%;

    border:
        2px solid
        rgba(244,103,167,.22);

    animation:
        contactCircleTwo
        10s
        ease-in-out
        infinite;
}


.contact-decoration-one,
.contact-decoration-two {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.contact-decoration-one {

    width: 180px;
    height: 180px;

    right: 14%;
    top: -100px;

    border:
        1px solid
        rgba(255,255,255,.08);

    animation:
        contactFloatOne
        8s
        ease-in-out
        infinite;
}


.contact-decoration-two {

    width: 120px;
    height: 120px;

    left: 15%;
    bottom: -70px;

    border:
        1px solid
        rgba(226,19,79,.20);

    animation:
        contactFloatTwo
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   HERO ANIMATIONS
========================================================= */

@keyframes contactCircleOne {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 25px);
    }
}


@keyframes contactCircleTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-25px, -20px);
    }
}


@keyframes contactFloatOne {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}


@keyframes contactFloatTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}


/* =========================================================
   HERO CONTENT
========================================================= */

.contact-hero-content {

    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 900px;

    text-align: center;
}


.contact-eyebrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-bottom: 17px;

    padding:
        8px
        18px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50px;

    background:
        rgba(255,255,255,.10);

    color: var(--white);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    backdrop-filter: blur(8px);
}


.contact-eyebrow i {
    color: var(--rose);
}


/* =========================================================
   HERO TITLE
========================================================= */

.contact-hero h1 {

    margin: 0;

    color: var(--white);

    font-size:
        clamp(40px, 5vw, 62px);

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1.5px;
}


.contact-hero h1 strong {

    display: inline-block;

    background:
        linear-gradient(
            90deg,
            #f467a7,
            #e2134f,
            #ff9800,
            #356ce2,
            #f467a7
        );

    background-size: 350% auto;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation:
        contactTitleGradient
        6s
        linear
        infinite;
}


@keyframes contactTitleGradient {

    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}


.contact-hero p {

    max-width: 720px;

    margin:
        17px
        auto
        0;

    color:
        rgba(255,255,255,.82);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {

    width: 100%;

    padding:
        70px
        20px
        80px;

    box-sizing: border-box;
}


.contact-container {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================================
   INTRO
========================================================= */

.contact-intro {

    max-width: 780px;

    margin:
        0
        auto
        45px;

    text-align: center;
}


.contact-kicker {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}


.contact-kicker i {
    font-size: 12px;
}


.contact-intro h2 {

    margin: 0;

    color: var(--dark);

    font-size:
        clamp(28px, 4vw, 40px);

    font-weight: 700;

    line-height: 1.2;
}


.contact-intro h2 strong {
    color: var(--blue);
}


.contact-intro p {

    max-width: 700px;

    margin:
        14px
        auto
        0;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT INFORMATION GRID
========================================================= */

.contact-info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(250px, 360px));

    justify-content: center;

    gap: 18px;

    margin-bottom: 28px;
}


/* =========================================================
   INFORMATION CARD
========================================================= */

.contact-info-card {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    min-height: 150px;

    padding: 22px;

    box-sizing: border-box;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    box-shadow:
        0 10px 30px
        rgba(23,32,51,.06);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.contact-info-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--rose),
            var(--blue)
        );
}


.contact-info-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(53,108,226,.25);

    box-shadow:
        0 18px 40px
        rgba(23,32,51,.11);
}


/* =========================================================
   INFORMATION ICON
========================================================= */

.contact-card-icon {

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: var(--white);

    font-size: 16px;

    box-shadow:
        0 8px 20px
        rgba(53,108,226,.18);
}


.contact-card-content {
    min-width: 0;
}


.contact-card-content > span {

    display: block;

    margin-bottom: 4px;

    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.contact-card-content h3 {

    margin:
        0
        0
        7px;

    color: var(--dark);

    font-size: 17px;

    font-weight: 700;
}


.contact-card-content p {

    margin: 0;

    color: var(--text);

    font-size: 12px;

    line-height: 1.65;

    overflow-wrap: anywhere;
}


.contact-card-content a {

    color: var(--blue);

    text-decoration: none;

    font-weight: 600;

    transition:
        color .25s ease;
}


.contact-card-content a:hover {
    color: var(--primary);
}


.contact-card-content small {

    display: block;

    margin-top: 5px;

    color: #8b95a5;

    font-size: 10px;
}


/* =========================================================
   MAIN CONTACT GRID
   CONTACT FORM + MAP = EQUAL HEIGHT
========================================================= */

.contact-main-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, .85fr);

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   FORM CARD + MAP CARD
   SAME HEIGHT
========================================================= */

.contact-form-card,
.contact-map-card {

    position: relative;

    width: 100%;

    min-height: 620px;

    height: 100%;

    box-sizing: border-box;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    box-shadow:
        0 10px 30px
        rgba(23,32,51,.06);

    overflow: hidden;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {

    padding: 32px;

    display: flex;

    flex-direction: column;
}


/* =========================================================
   MAP CARD
========================================================= */

.contact-map-card {

    padding: 28px;

    display: flex;

    flex-direction: column;
}


/* =========================================================
   FORM / MAP HEADING
========================================================= */

.contact-form-heading,
.map-heading {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;

    flex-shrink: 0;
}


.contact-form-icon,
.map-heading-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: var(--white);

    font-size: 17px;

    box-shadow:
        0 8px 20px
        rgba(53,108,226,.18);
}


.contact-form-heading span,
.map-heading span {

    display: block;

    margin-bottom: 3px;

    color: var(--blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.contact-form-heading h3,
.map-heading h3 {

    margin: 0;

    color: var(--dark);

    font-size: 23px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {

    width: 100%;

    flex: 1;
}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 18px;
}


.form-group {
    width: 100%;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: var(--dark);

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   INPUT BOX
========================================================= */

.input-box {

    position: relative;

    width: 100%;
}


.input-box > i {

    position: absolute;

    left: 15px;
    top: 50%;

    transform:
        translateY(-50%);

    color: var(--blue);

    font-size: 13px;

    pointer-events: none;

    z-index: 2;
}


.input-box input,
.input-box textarea {

    width: 100%;

    box-sizing: border-box;

    border:
        1px solid
        var(--border);

    outline: none;

    background: #f9fafc;

    color: var(--dark);

    font-family:
        "Poppins",
        sans-serif;

    font-size: 12px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* =========================================================
   INPUT HEIGHT
========================================================= */

.input-box input {

    height: 58px;

    padding:
        0
        14px
        0
        42px;

    border-radius: 10px;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.input-box input::placeholder,
.input-box textarea::placeholder {

    color: #9aa3b2;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.input-box input:focus,
.input-box textarea:focus {

    border-color: var(--blue);

    background: var(--white);

    box-shadow:
        0 0 0 3px
        rgba(53,108,226,.10);
}


/* =========================================================
   TEXTAREA
========================================================= */

.textarea-box > i {

    top: 18px;

    transform: none;
}


.input-box textarea {

    min-height: 220px;

    padding:
        14px
        14px
        14px
        42px;

    border-radius: 10px;

    resize: vertical;

    line-height: 1.7;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 175px;

    margin-top: 5px;

    padding:
        13px
        23px;

    border: 0;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: var(--white);

    font-family:
        "Poppins",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(53,108,226,.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.contact-submit:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(53,108,226,.28);
}


.contact-submit i {

    transition:
        transform .3s ease;
}


.contact-submit:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   DIRECT GOOGLE MAP
========================================================= */

.map-placeholder {

    position: relative;

    width: 100%;

    height: 300px;

    min-height: 300px;

    box-sizing: border-box;

    border-radius: 16px;

    overflow: hidden;

    background: #eef4fc;

    flex-shrink: 0;
}


.map-placeholder iframe {

    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    border-radius: 16px;
}


/* =========================================================
   GOOGLE MAP BUTTON
========================================================= */

.map-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: fit-content;

    margin-top: 18px;

    padding:
        12px
        22px;

    border: 0;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: #ffffff !important;

    font-family:
        "Poppins",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(53,108,226,.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        color .3s ease;
}


/* MAP BUTTON ICON */

.map-button i {

    color: #ffffff !important;

    font-size: 13px;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* MAP BUTTON HOVER */

.map-button:hover {

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--primary)
        );

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 28px
        rgba(53,108,226,.30);
}


.map-button:hover i {

    color: #ffffff !important;

    transform:
        translateX(4px);
}


/* MAP BUTTON ACTIVE */

.map-button:active {

    transform:
        translateY(-1px);
}


/* MAP BUTTON VISITED */

.map-button:visited {

    color: #ffffff !important;
}


/* MAP BUTTON FOCUS */

.map-button:focus,
.map-button:focus-visible {

    color: #ffffff !important;

    outline:
        3px solid
        rgba(53,108,226,.22);

    outline-offset: 3px;
}


/* =========================================================
   OFFICE DETAILS
========================================================= */

.office-details {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 20px;
}


.office-detail {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding:
        12px
        0;

    border-bottom:
        1px solid
        #eef1f5;
}


.office-detail:last-child {

    border-bottom: 0;
}


.office-detail > i {

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(53,108,226,.08);

    color: var(--blue);

    font-size: 12px;
}


.office-detail span {

    display: block;

    margin-bottom: 3px;

    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.office-detail p {

    margin: 0;

    color: var(--text);

    font-size: 11px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}


.office-detail a {

    color: var(--blue);

    text-decoration: none;

    font-weight: 600;
}


.office-detail a:hover {

    color: var(--primary);
}

/* =========================================================
   CONTACT NOTE — CENTERED
========================================================= */

.contact-note {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 25px;

    padding:
        18px
        20px;

    border:
        1px solid
        rgba(53,108,226,.12);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(53,108,226,.05),
            rgba(226,19,79,.04)
        );

    text-align: center;
}


.contact-note-icon {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(53,108,226,.10);

    color: var(--blue);

    font-size: 15px;
}


.contact-note strong {

    display: block;

    margin-bottom: 4px;

    color: var(--dark);

    font-size: 13px;
}


.contact-note p {

    margin: 0;

    color: var(--text);

    font-size: 11px;

    line-height: 1.7;
}
/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: var(--white);

    text-decoration: none;

    font-size: 14px;

    box-shadow:
        0 10px 25px
        rgba(23,32,51,.20);

    z-index: 999;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.back-to-top:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px
        rgba(23,32,51,.25);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-info-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .contact-main-grid {

        grid-template-columns: 1fr;

        align-items: stretch;
    }


    .contact-form-card,
    .contact-map-card {

        min-height: auto;

        height: auto;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {

    .contact-section {

        padding:
            55px
            18px
            65px;
    }


    .contact-info-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .contact-hero {

        min-height: 270px;

        padding:
            50px
            18px;
    }


    .contact-hero h1 {

        font-size: 39px;

        letter-spacing: -1px;
    }


    .contact-hero p {

        font-size: 12px;

        line-height: 1.7;
    }


    .contact-eyebrow {

        padding:
            7px
            14px;

        font-size: 9px;

        letter-spacing: 1.2px;
    }


    .contact-section {

        padding:
            45px
            15px
            55px;
    }


    .contact-intro {

        margin-bottom: 32px;
    }


    .contact-intro h2 {

        font-size: 29px;
    }


    .contact-intro p {

        font-size: 12px;
    }


    .contact-info-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .contact-info-card {

        min-height: auto;

        padding: 20px;
    }


    .contact-form-card,
    .contact-map-card {

        min-height: auto;

        height: auto;

        padding: 22px;

        border-radius: 18px;
    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 17px;

        margin-bottom: 17px;
    }


    .contact-form-heading h3,
    .map-heading h3 {

        font-size: 20px;
    }


    .contact-map-card {

        margin-top: 0;
    }


    /* MOBILE INPUT */

    .input-box input {

        height: 55px;
    }


    .input-box textarea {

        min-height: 220px;
    }


    /* MOBILE MAP */

    .map-placeholder {

        height: 270px;

        min-height: 270px;

        border-radius: 14px;
    }


    .map-placeholder iframe {

        border-radius: 14px;
    }


    /* MOBILE MAP BUTTON */

    .map-button {

        width: 100%;

        box-sizing: border-box;

        margin-top: 16px;

        padding:
            13px
            18px;
    }


    .contact-submit {

        width: 100%;
    }


    .contact-note {

        padding: 15px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-hero {

        min-height: 250px;

        padding:
            45px
            15px;
    }


    .contact-hero h1 {

        font-size: 33px;
    }


    .contact-eyebrow {

        font-size: 8px;

        letter-spacing: 1px;
    }


    .contact-section {

        padding:
            40px
            12px
            50px;
    }


    .contact-intro h2 {

        font-size: 26px;
    }


    .contact-info-card {

        padding: 17px;
    }


    .contact-card-icon {

        width: 40px;
        height: 40px;

        font-size: 14px;
    }


    .contact-form-card,
    .contact-map-card {

        padding: 18px;
    }


    .contact-form-icon,
    .map-heading-icon {

        width: 42px;
        height: 42px;

        font-size: 15px;
    }


    .contact-form-heading,
    .map-heading {

        gap: 11px;
    }


    .map-placeholder {

        height: 250px;

        min-height: 250px;

        padding: 0;

        border-radius: 13px;
    }


    .map-placeholder iframe {

        border-radius: 13px;
    }


    .map-button {

        width: 100%;

        font-size: 11px;

        padding:
            12px
            16px;
    }


    .contact-note {

        gap: 10px;
    }


    .back-to-top {

        right: 15px;

        bottom: 15px;

        width: 40px;
        height: 40px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.contact-submit:focus-visible,
.map-button:focus-visible,
.back-to-top:focus-visible,
.contact-card-content a:focus-visible,
.office-detail a:focus-visible,
.input-box input:focus-visible,
.input-box textarea:focus-visible {

    outline:
        3px solid
        rgba(53,108,226,.22);

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-hero::before,
    .contact-hero::after,
    .contact-decoration-one,
    .contact-decoration-two,
    .contact-hero h1 strong {

        animation: none;
    }


    .contact-info-card,
    .contact-submit,
    .contact-submit i,
    .map-button,
    .map-button i,
    .back-to-top,
    .input-box input,
    .input-box textarea {

        transition: none;
    }
}

/* =========================================================
   P.T. LEE CHENGALVARAYA NAICKER TRUST
   CONTACT PAGE - SOCIAL MEDIA SECTION
   PREMIUM RECTANGULAR CARDS
========================================================= */

.contact-social-section {
    position: relative;
    width: 100%;
    margin-top: 75px;
    padding: 10px 0 20px;
}


/* =========================================================
   SOCIAL HEADING
========================================================= */

.contact-social-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 38px;
}


.contact-social-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 18px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            rgba(8, 0, 45, 0.95),
            rgba(21, 53, 115, 0.95)
        );

    color: #f7d77b;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    box-shadow:
        0 8px 25px rgba(8, 0, 45, 0.16);

}


.contact-social-kicker i {
    font-size: 14px;
}


.contact-social-heading h2 {
    margin: 15px 0 10px;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    line-height: 1.15;

    color: #08002d;

    position: relative;
}


.contact-social-heading h2::after {
    content: "";

    display: block;

    width: 75px;
    height: 4px;

    margin: 14px auto 0;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #e2134f,
            #f4c95d,
            #356ce2
        );
}


.contact-social-heading p {
    max-width: 680px;

    margin: 18px auto 0;

    color: #687080;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   SOCIAL GRID
========================================================= */

.contact-social-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    width: 100%;
}


/* =========================================================
   BASE SOCIAL CARD
========================================================= */

.contact-social-card {
    position: relative;

    min-height: 205px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 25px;

    overflow: hidden;

    text-decoration: none;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid rgba(8, 0, 45, 0.08);

    box-shadow:
        0 12px 35px rgba(8, 0, 45, 0.10);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}


/* =========================================================
   CARD SHINE EFFECT
========================================================= */

.contact-social-card::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -70%;

    width: 55%;
    height: 250%;

    transform: rotate(25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.42),
            transparent
        );

    transition:
        left 0.8s ease;
}


.contact-social-card:hover::before {
    left: 125%;
}


/* =========================================================
   TOP DECORATIVE LINE
========================================================= */

.contact-social-card::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #e2134f,
            #f4c95d,
            #356ce2
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform 0.45s ease;
}


.contact-social-card:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-social-left {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    gap: 19px;

    min-width: 0;
}


/* =========================================================
   SOCIAL ICON
========================================================= */

.contact-social-icon {
    flex: 0 0 70px;

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    color: #ffffff;

    font-size: 31px;

    box-shadow:
        0 12px 25px rgba(8, 0, 45, 0.20);

    transition:
        transform 0.45s ease,
        border-radius 0.45s ease;
}


.contact-social-card:hover
.contact-social-icon {
    transform:
        translateY(-5px)
        rotate(-4deg);

    border-radius: 22px;
}


/* =========================================================
   CONTENT
========================================================= */

.contact-social-content {
    min-width: 0;
}


.contact-social-label {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    color: #858b98;
}


.contact-social-content h3 {
    margin: 0 0 7px;

    color: #08002d;

    font-size: 24px;

    font-weight: 800;

    line-height: 1.2;
}


.contact-social-content p {
    margin: 0 0 12px;

    max-width: 270px;

    color: #697180;

    font-size: 12px;

    line-height: 1.6;
}


.contact-social-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #08002d;

    font-size: 11px;

    font-weight: 700;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}


.contact-social-card:hover
.contact-social-link {
    gap: 12px;
}


/* =========================================================
   OUTER ARROW
========================================================= */

.contact-social-arrow {
    position: relative;

    z-index: 3;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-size: 13px;

    opacity: 0.9;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}


.contact-social-card:hover
.contact-social-arrow {
    transform:
        translate(3px, -3px);

    opacity: 1;
}


/* =========================================================
   INSTAGRAM
========================================================= */

.contact-social-instagram {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff8fb 100%
        );
}


.contact-social-instagram
.contact-social-icon {
    background:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #fd1d1d 48%,
            #fcb045 100%
        );
}


.contact-social-instagram
.contact-social-arrow {
    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
}


.contact-social-instagram:hover {
    border-color: rgba(225, 48, 108, 0.35);

    box-shadow:
        0 20px 45px rgba(225, 48, 108, 0.18);
}


/* =========================================================
   FACEBOOK
========================================================= */

.contact-social-facebook {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f8ff 100%
        );
}


.contact-social-facebook
.contact-social-icon {
    background:
        linear-gradient(
            135deg,
            #1877f2,
            #0756c9
        );
}


.contact-social-facebook
.contact-social-arrow {
    background:
        linear-gradient(
            135deg,
            #1877f2,
            #0756c9
        );
}


.contact-social-facebook:hover {
    border-color: rgba(24, 119, 242, 0.35);

    box-shadow:
        0 20px 45px rgba(24, 119, 242, 0.18);
}


/* =========================================================
   YOUTUBE
========================================================= */

.contact-social-youtube {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff7f7 100%
        );
}


.contact-social-youtube
.contact-social-icon {
    background:
        linear-gradient(
            135deg,
            #ff0000,
            #c90000
        );
}


.contact-social-youtube
.contact-social-arrow {
    background:
        linear-gradient(
            135deg,
            #ff0000,
            #c90000
        );
}


.contact-social-youtube:hover {
    border-color: rgba(255, 0, 0, 0.30);

    box-shadow:
        0 20px 45px rgba(255, 0, 0, 0.16);
}


/* =========================================================
   HOVER CARD LIFT
========================================================= */

.contact-social-card:hover {
    transform:
        translateY(-8px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-social-grid {
        grid-template-columns:
            1fr;
    }


    .contact-social-card {
        min-height: 175px;
    }


    .contact-social-content p {
        max-width: 600px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-social-section {
        margin-top: 55px;
    }


    .contact-social-heading {
        margin-bottom: 28px;
    }


    .contact-social-heading h2 {
        font-size: 30px;
    }


    .contact-social-heading p {
        padding: 0 8px;

        font-size: 13px;
    }


    .contact-social-card {
        min-height: auto;

        padding: 21px 17px;

        border-radius: 17px;
    }


    .contact-social-left {
        gap: 13px;
    }


    .contact-social-icon {
        flex: 0 0 55px;

        width: 55px;
        height: 55px;

        border-radius: 15px;

        font-size: 24px;
    }


    .contact-social-content h3 {
        font-size: 19px;
    }


    .contact-social-content p {
        font-size: 11px;

        margin-bottom: 8px;
    }


    .contact-social-link {
        font-size: 10px;
    }


    .contact-social-arrow {
        flex: 0 0 32px;

        width: 32px;
        height: 32px;

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .contact-social-card {
        padding: 18px 13px;
    }


    .contact-social-left {
        gap: 10px;
    }


    .contact-social-icon {
        flex: 0 0 48px;

        width: 48px;
        height: 48px;

        font-size: 21px;
    }


    .contact-social-content h3 {
        font-size: 17px;
    }


    .contact-social-content p {
        font-size: 10px;
    }


    .contact-social-arrow {
        display: none;
    }

}

/* =========================================================
PRINCIPAL / INSTITUTION CONTACT SECTION
========================================================= */

.principal-contact-section {


position: relative;

padding: 80px 20px 90px;

background:
    linear-gradient(
        135deg,
        #f5eee4 0%,
        #eee5d8 45%,
        #f8f3ec 100%
    );

overflow: hidden;


}

/* Decorative background */

.principal-contact-section::before {


content: "";

position: absolute;

width: 380px;
height: 380px;

top: -180px;
left: -180px;

border-radius: 50%;

background:
    radial-gradient(
        circle,
        rgba(226,19,79,.10),
        transparent 70%
    );

pointer-events: none;


}

.principal-contact-section::after {


content: "";

position: absolute;

width: 420px;
height: 420px;

right: -220px;
bottom: -220px;

border-radius: 50%;

background:
    radial-gradient(
        circle,
        rgba(53,108,226,.12),
        transparent 70%
    );

pointer-events: none;


}

/* =========================================================
WRAPPER
========================================================= */

.principal-contact-wrapper {


position: relative;

z-index: 2;

width: min(1400px, 100%);

margin: 0 auto;


}

/* =========================================================
HEADING
========================================================= */

.principal-contact-heading {


max-width: 850px;

margin: 0 auto 48px;

text-align: center;


}

.principal-contact-kicker {


display: inline-flex;

align-items: center;

gap: 9px;

margin-bottom: 12px;

padding: 8px 16px;

border-radius: 30px;

color: #d39b35;

background: rgba(4,20,47,.07);

border: 1px solid rgba(211,155,53,.35);

font-size: 12px;

font-weight: 700;

letter-spacing: 1.5px;


}

.principal-contact-heading h2 {


margin: 0;

color: #04142f;

font-size: clamp(30px, 4vw, 46px);

line-height: 1.15;

font-weight: 700;


}

.principal-contact-heading h2 strong {


display: inline-block;

margin-left: 7px;

background:
    linear-gradient(
        90deg,
        #e2134f,
        #d39b35,
        #356ce2,
        #e2134f
    );

background-size: 300% auto;

-webkit-background-clip: text;

background-clip: text;

color: transparent;

animation: principalGradient 6s linear infinite;


}

@keyframes principalGradient {


0% {
    background-position: 0% center;
}

100% {
    background-position: 300% center;
}


}

.principal-contact-heading p {


max-width: 720px;

margin: 18px auto 0;

color: #596273;

font-size: 15px;

line-height: 1.8;


}

/* =========================================================
GRID
========================================================= */

.principal-contact-grid {


display: grid;

grid-template-columns:
    repeat(4, minmax(0, 1fr));

gap: 24px;


}

/* =========================================================
CARD
========================================================= */

.principal-contact-card {


position: relative;

display: flex;

flex-direction: column;

min-width: 0;

overflow: hidden;

background: #ffffff;

border-radius: 22px;

border: 1px solid rgba(4,20,47,.10);

box-shadow:
    0 15px 40px rgba(4,20,47,.10);

transition:
    transform .35s ease,
    box-shadow .35s ease;


}

.principal-contact-card:hover {


transform: translateY(-9px);

box-shadow:
    0 25px 55px rgba(4,20,47,.18);


}

/* =========================================================
TOP COLOUR LINE
========================================================= */

.principal-contact-card::before {


content: "";

position: absolute;

top: 0;
left: 0;
right: 0;

height: 5px;


}

.principal-engineering::before {


background:
    linear-gradient(
        90deg,
        #356ce2,
        #071c4a
    );


}

.principal-arts::before {


background:
    linear-gradient(
        90deg,
        #e2134f,
        #9c1645
    );


}

.principal-polytechnic::before {


background:
    linear-gradient(
        90deg,
        #d39b35,
        #8d641d
    );


}

.principal-ias::before {


background:
    linear-gradient(
        90deg,
        #10a879,
        #056b52
    );


}

/* =========================================================
PHOTO
========================================================= */

.principal-photo-wrap {


position: relative;

height: 270px;

padding: 15px;

background:
    linear-gradient(
        145deg,
        #04142f,
        #102d5d
    );


}

.principal-photo {


width: 100%;
height: 100%;

display: block;

object-fit: cover;

object-position: center top;

border-radius: 15px;

border: 3px solid rgba(211,155,53,.65);

box-shadow:
    0 8px 25px rgba(0,0,0,.28);


}

/* =========================================================
STATUS
========================================================= */

.principal-status {


position: absolute;

left: 25px;
bottom: 25px;

display: inline-flex;

align-items: center;

gap: 7px;

padding: 7px 12px;

border-radius: 20px;

color: #ffffff;

background: rgba(4,20,47,.88);

border: 1px solid rgba(255,255,255,.20);

font-size: 11px;

font-weight: 600;

backdrop-filter: blur(8px);


}

.principal-status i {


font-size: 7px;

color: #35d49b;


}

/* =========================================================
CARD CONTENT
========================================================= */

.principal-card-content {


display: flex;

flex-direction: column;

flex: 1;

padding: 24px 22px 22px;


}

.principal-institution {


display: block;

margin-bottom: 9px;

color: #d39b35;

font-size: 10px;

font-weight: 800;

letter-spacing: 1.2px;


}

.principal-card-content h3 {


min-height: 68px;

margin: 0 0 20px;

color: #071a3b;

font-size: 17px;

line-height: 1.45;

font-weight: 700;


}

/* =========================================================
PRINCIPAL NAME
========================================================= */

.principal-name,
.principal-phone {


display: flex;

align-items: center;

gap: 12px;

padding: 13px 0;

border-top: 1px solid rgba(4,20,47,.08);


}

.principal-name > i,
.principal-phone > i {


flex: 0 0 36px;

width: 36px;
height: 36px;

display: grid;

place-items: center;

border-radius: 10px;

color: #356ce2;

background: rgba(53,108,226,.09);


}

.principal-name span,
.principal-phone span {


display: block;

margin-bottom: 3px;

color: #7a8290;

font-size: 10px;

font-weight: 600;

text-transform: uppercase;

letter-spacing: .7px;


}

.principal-name strong {


display: block;

color: #17243b;

font-size: 13px;

line-height: 1.4;


}

.principal-phone a {


color: #071a3b;

font-size: 13px;

font-weight: 700;

text-decoration: none;

transition: color .25s ease;


}

.principal-phone a:hover {


color: #e2134f;


}

/* =========================================================
ACTION
========================================================= */

.principal-actions {


margin-top: auto;

padding-top: 18px;


}

.principal-call-btn {


display: flex;

align-items: center;

justify-content: center;

gap: 9px;

width: 100%;

padding: 12px 15px;

border-radius: 12px;

color: #ffffff;

background:
    linear-gradient(
        135deg,
        #071a3b,
        #0b3675
    );

font-size: 12px;

font-weight: 700;

text-decoration: none;

box-shadow:
    0 7px 18px rgba(4,20,47,.16);

transition:
    transform .25s ease,
    box-shadow .25s ease;


}

.principal-call-btn:hover {


transform: translateY(-2px);

box-shadow:
    0 10px 24px rgba(4,20,47,.25);


}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1100px) {


.principal-contact-grid {

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

}


}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 650px) {


.principal-contact-section {

    padding:
        60px
        16px
        70px;

}


.principal-contact-heading {

    margin-bottom: 35px;

}


.principal-contact-heading h2 {

    font-size: 30px;

}


.principal-contact-heading h2 strong {

    display: block;

    margin: 3px 0 0;

}


.principal-contact-grid {

    grid-template-columns: 1fr;

    gap: 20px;

}


.principal-photo-wrap {

    height: 300px;

}


.principal-card-content h3 {

    min-height: auto;

}

}
