

:root {
    --primary-color: #ff7043;
    --text-dark: #333333;
    --text-light: #666666;
    --background-color: #f8f9fa;
    --white: #ffffff;
}

body {
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}

/* =========================
   LINKS
========================= */

a,
.back-button,
.view-details-btn {
    text-decoration: none;
}

/* =========================
   TOP NAV
========================= */

.top-nav {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}

/* =========================
   NAV CONTAINER
========================= */

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

/* =========================
   LEFT SIDE
========================= */

.nav-left {
    flex: 1;
    min-width: 0;
}

.back-button {
    color: var(--text-dark);
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.profile-header {
    width: 100%;
    display: inline-block;
    align-items: center;
}

.top-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.back-icon {
    font-size: 18px;
    color: #1f2937;
    display: none;
}

/* =========================
   SCHOOL INFO
========================= */

.school-info {
    min-width: 0;
}

.profile-name {
    margin: 0;
    padding: 0 84px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    font-family: Arial,sans-serif;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.rating-badge {
    background: #16a34a;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 5px;
    line-height: 1.4;
}

.rating-text {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.location {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin: 0;
}

/* =========================
   RIGHT SIDE
========================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.view-details-btn,
.view-offers-btn {
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.view-offers-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

    .view-offers-btn i {
        font-size: 14px;
    }

.view-details-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    animation: softButtonBlink 2.2s infinite;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}


    .view-details-btn i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        background: rgba(255,255,255,0.85);
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: 0.3s;
    }


    /* BUTTON TEXT */
    .view-details-btn span {
        position: relative;
        z-index: 2;
    }

    /* SHINE EFFECT */
    .view-details-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100% );
        transform: skewX(-20deg);
        transition: 0.8s;
    }

    /* SHINE MOVE */
    .view-details-btn:hover::before {
        left: 150%;
    }

    /* HOVER EFFECT */
    .view-details-btn:hover {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 14px 30px rgba(0,0,0,0.14), 0 0 18px rgba(255,255,255,0.5);
    }

        /* ICON POP */
        .view-details-btn:hover i {
            transform: scale(1.08);
        }

    /* =========================
   PROFILE BUTTON
========================= */

    .view-details-btn:first-child {
        background: #eef4ff;
        color: #2563eb;
    }

        .view-details-btn:first-child i {
            color: #2563eb;
        }

/* =========================
   WEBSITE BUTTON
========================= */

#viewwebsitebtn {
    background: #eafaf3;
    color: #16a34a;
}

    #viewwebsitebtn i {
        color: #16a34a;
    }

/* =========================
   SOFT BLINK EFFECT
========================= */

@keyframes softButtonBlink {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.94;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   BLOG LOGO
========================= */

.blogdetailslogo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid #eee;
    float: left;
    margin-right: 10px;
}

/* =========================
   ICON BUTTONS
========================= */

.icon-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-light);
}

    .icon-btn i {
        font-size: 25px;
    }

    .icon-btn:hover {
        background: rgba(255,255,255,0.18);
        color: #fff;
        backdrop-filter: blur(6px);
    }

/* =========================
   ACTION ICONS
========================= */
.action-icons {
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}

    /* COMMON BUTTON STYLE */
    .action-icons .icon-btn {
        width: 220px;
        height: 58px;
        border: none;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 22px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        transition: all 0.35s ease;
        box-shadow: 0 8px 22px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
        animation: softBlink 2.2s infinite;
    }

        /* ICON STYLE */
        .action-icons .icon-btn i {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 14px !important;
            font-size: 17px;
            background: rgba(255,255,255,0.75);
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        /* HOVER EFFECT */
        .action-icons .icon-btn:hover {
            transform: translateX(-8px) scale(1.03);
            box-shadow: 0 12px 28px rgba(0,0,0,0.15), 0 0 18px rgba(255,255,255,0.4);
        }

        /* GLOSS EFFECT */
        .action-icons .icon-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -120%;
            width: 80%;
            height: 100%;
            background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100% );
            transform: skewX(-20deg);
            transition: 0.8s;
        }

        .action-icons .icon-btn:hover::before {
            left: 150%;
        }

        /* =========================
   INDIVIDUAL LIGHT COLORS
========================= */

        /* CALL */
        .action-icons .icon-btn:nth-child(1) {
            background: #e7f8ef;
            color: #16a34a;
        }

        /* DIRECTION */
        .action-icons .icon-btn:nth-child(2) {
            background: #eef2ff;
            color: #4f46e5;
        }

        /* SAVE CONTACT */
        .action-icons .icon-btn:nth-child(3) {
            background: #fdeef5;
            color: #db2777;
        }

        /* SHARE */
        .action-icons .icon-btn:nth-child(4) {
            background: #eafaf9;
            color: #0891b2;
        }

        /* SERVICES */
        .action-icons .icon-btn:nth-child(5) {
            background: #fff4e8;
            color: #ea580c;
        }

/* =========================
   SOFT BLINK ANIMATION
========================= */

@keyframes softBlink {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.92;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   BLOG CONTENT
========================= */

.blog-content {
    max-width: 800px;
    margin: 15px auto 2rem;
    padding: 0 1rem;
}

.blog-post {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-title {
    font-size: 28px;
    margin: 0;
    padding: 24px 24px 20px;
    line-height: 1.35;
    color: var(--text-dark);
    font-weight: 600;
}

.blog-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.blog-text {
    padding: 9px 24px 24px;
}

    .blog-text p {
        line-height: 1.6;
        margin-bottom: 20px;
        color: var(--text-light);
        font-size: 25px;
    }

    .blog-text h2 {
        font-size: 22px;
        margin: 28px 0 16px;
        color: var(--text-dark);
        font-weight: 600;
    }

/* =========================
   SHARE SECTION
========================= */

.share-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

    .share-section h3 {
        color: var(--text-light);
        font-size: 13px;
        margin-bottom: 12px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

.share-buttons {
    display: flex;
    gap: 12px;
    position: relative;
}

.share-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: 0.2s;
}

    .share-btn i {
        font-size: 25px;
    }

    .share-btn:hover {
        transform: translateY(-2px);
    }

    .share-btn.linkedin {
        background-color: #0077b5;
    }

    .share-btn.facebook {
        background-color: #1877f2;
    }

    .share-btn.twitter {
        background-color: #1da1f2;
    }

    .share-btn.email {
        background-color: #ea4335;
    }

/* =========================
   CONTACT
========================= */

/* =========================
   MODERN CONTACT SECTION
========================= */

.contact-us {
    margin-top: 40px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: stretch;
}

/* LEFT SIDE */

.contact-left {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.contact-heading {
    margin-bottom: 24px;
}

.contact-tag {
    display: inline-block;
    background: #fff3ed;
    color: #ff7043;
    padding: 8px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.contact-heading h2 {
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 14px;
    color: #1f2937;
    font-weight: 800;
}

.contact-heading p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* RIGHT SIDE */

.contact-right {
    height: 100%;
}

.contact-banner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 100%;
    min-height: 650px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

    .contact-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .contact-banner:hover img {
        transform: scale(1.06);
    }

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.82), rgba(0,0,0,0.18) );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
}

.banner-badge {
    display: inline-block;
    width: max-content;
    background: rgba(255,255,255,0.16);
    color: #fff;
    padding: 8px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    margin-bottom: 18px;
}

.banner-overlay h3 {
    color: #fff;
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 14px;
    font-weight: 800;
}

.banner-overlay p {
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 24px;
}

.banner-btn {
    width: max-content;
    background: #ff7043;
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

    .banner-btn:hover {
        background: #ff5722;
        transform: translateY(-3px);
    }

/* FORM STYLING */

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

    .contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus {
        border-color: #ff7043;
        box-shadow: 0 0 0 4px rgba(255,112,67,0.12);
    }

.submit-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg,#ff7043,#ff5722);
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255,112,67,0.28);
    }

/* MOBILE */

@media(max-width:991px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-banner {
        min-height: 420px;
    }

    .contact-heading h2,
    .banner-overlay h3 {
        font-size: 28px;
    }
}

@media(max-width:768px) {

    .contact-left {
        padding: 22px;
    }

    .banner-overlay {
        padding: 24px;
    }

        .contact-heading h2,
        .banner-overlay h3 {
            font-size: 24px;
        }
}

.lastupdated-date {
    display: inline-block;
    margin-bottom: 12px;
}

/* hide mobile call button on desktop */
.mobile-call-btn {
    display: none;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px) {

    .top-nav {
        height: auto;
        padding: 10px 0;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        gap: 14px;
    }

    .nav-left,
    .nav-right {
        width: 100%;
    }

    .nav-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .profile-name {
        font-size: 18px;
    }

    .rating-section {
        gap: 8px;
    }

    .rating-badge,
    .rating-text,
    .location {
        font-size: 12px;
    }

    .view-details-btn {
        width: 100%;
        padding: 12px 10px;
        font-size: 13px;
        border-radius: 10px;
    }

        /* BUTTON TEXT */
        .view-details-btn span {
            position: relative;
            z-index: 2;
        }


    .blog-content {
        padding: 1rem;
        margin-top: 140px;
    }

    .blog-text,
    .blog-title {
        padding: 1.5rem 1rem;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .blog-image {
        height: 250px;
    }

    .blog-text p {
        font-size: 1rem;
    }

    .action-icons {
        display: none !important;
    }
}
/* =========================
   MOBILE FLOATING CALL BUTTON
========================= */

@media(max-width:768px) {
    .mobile-call-btn {
        position: fixed;
        bottom: 22px;
        right: 20px;
        width: 72px;
        height: 72px;
        border: none;
        border-radius: 50%;
        background: #e7f8ef;
        color: #16a34a;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        cursor: pointer;
        z-index: 999999;
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 30px rgba(34,197,94,0.22), inset 0 1px 0 rgba(255,255,255,0.9);
        transition: all 0.35s ease;
        animation: softPulse 2s infinite;
    }

        /* inner icon circle */
        .mobile-call-btn i {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg,#16a34a,#22c55e);
            color: #fff;
            box-shadow: 0 6px 18px rgba(34,197,94,0.35);
            animation: shakePhone 1.4s infinite;
        }
}

@media(max-width:480px) {

    .nav-right {
        grid-template-columns: 1fr;
    }

    .view-details-btn {
        font-size: 13px;
        padding: 12px;
    }

    .blog-content {
        margin-top: 0;
    }
}
