/* =========================
   BANNER
========================= */
.page-banner {
    position: relative;
    height: 400px;
    background: url('../image/17.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

/* Overlay */

.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(39, 52, 90, 0.95) 0%,
        rgba(39, 52, 90, 0.82) 45%,
        rgba(39, 52, 90, 0.45) 100%
    );
}
.static-card {
    padding: 30px 25px;
    text-align: center;
}

.static-card-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gradient-main);

    color: #fff;

    font-size: 26px;

    box-shadow: var(--shadow-primary);
}

.static-card h4 {
    margin-bottom: 12px;

    color: var(--primary);

    font-size: 22px;

    font-weight: 600;
}

.static-card p {
    margin-bottom: 20px;

    color: var(--text-dark);

    font-size: 13px;

    line-height: 1.7;
}

.static-card-details {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-bottom: 22px;

    text-align: left;
}

.static-detail {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 12px;

    border-radius: 8px;

    background: var(--primary-light);

    color: var(--text-dark);

    font-size: 13px;
}

.static-detail i {
    width: 20px;

    color: var(--primary);

    text-align: center;
}

.static-card .appoint-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 12px 20px;

    border-radius: 30px;

    background: var(--gradient-main);

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.static-card .appoint-btn:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow-primary);
}

.static-card .appoint-btn i {
    transition: transform 0.3s ease;
}

.static-card .appoint-btn:hover i {
    transform: translateX(4px);
}
/* CONTENT */
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* TITLE */
.banner-content h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    opacity: 0.9;
}

/* =========================
   BACK BUTTON (FIXED)
========================= */
.back-btn {
    position: absolute;
    top: 90px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 3;
    transition: 0.3s;
}

.back-btn i {
    font-size: 16px;
}

/* HOVER */
.back-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px) scale(1.05);
}

/* =========================
   LAYOUT
========================= */
.service-detail {
    padding: 60px;
    background: #f8fafa;
}

.detail-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.call-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-green);
}

.call-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.call-card p {
    font-size: 18px;
    font-weight: 600;
}

/* FORM */
.form-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.form-card h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.form-card textarea {
    min-height: 80px;
    resize: none;
}

.form-card button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.form-card button:hover {
    background: var(--primary-dark);
}

/* =========================
   CONTENT
========================= */
.main-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.main-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.main-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================
   FEATURES
========================= */
.features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: #f1f5f5;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-light);
}

.feature i {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature h4 {
    margin-bottom: 5px;
}

.feature p {
    font-size: 13px;
}

/* =========================
   THEORY
========================= */
.theory {
    margin-top: 40px;
}

.theory h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.theory ul {
    padding-left: 20px;
}

.theory li {
    margin-bottom: 8px;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media(max-width:1024px){
    .detail-container {
        grid-template-columns: 240px 1fr;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media(max-width:900px){
    .detail-container {
        grid-template-columns: 1fr;
    }

    .service-detail {
        padding: 40px 20px;
    }

    .sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 220px;
        padding: 0 20px;
    }

    .banner-content h1 {
        font-size: 28px;
    }
}

/* SMALL MOBILE */
@media(max-width:480px){
    .banner-content h1 {
        font-size: 22px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .back-btn {
        width: 34px;
        height: 34px;
        top:150px;
    }
}


.error{
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}
.success-message{
    display: none;
    background: #e6fff2;
    color: #0a8f5c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    border-left: 4px solid #0a8f5c;
}
.appoint-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}
/* BUTTON LOADER */
.appoint-btn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* TEXT */
.btn-text{
    transition: 0.3s;
}

/* LOADER */
.btn-loader{
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: none;
    animation: spin 0.6s linear infinite;
}

/* SHOW LOADER */
.appoint-btn.loading .btn-loader{
    display: inline-block;
}

/* HIDE TEXT WHEN LOADING */
.appoint-btn.loading .btn-text{
    opacity: 0.7;
}

/* SPIN ANIMATION */
@keyframes spin{
    100%{
        transform: rotate(360deg);
    }
}