/* ==== Project Card Thumbnail Adjustments ==== */

/* Desktop: make thumbnail bigger */
@media (min-width: 992px) {
    .sg-projects .featured__card--list__thumbnail {
        flex: 0 0 45%;   /* image area takes 45% of card */
        max-width: 45%;
    }
    .sg-projects .featured__card--list__content {
        flex: 0 0 55%;   /* content area takes 55% */
        max-width: 55%;
    }
}

/* Ensure image fills its box neatly */
.sg-projects .featured__thumbnail--img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* crop nicely instead of stretching */
    border-radius: 6px;   /* soft corner for elegance */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* subtle depth */
}

/* Extra polish for hover effect */
.sg-projects .featured__thumbnail--link:hover .featured__thumbnail--img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* ==== Card Shadow ==== */
.sg-projects .featured__card--list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(236, 157, 113, 0.25),
    0 3px 8px rgba(236, 157, 113, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sg-projects .featured__card--list:hover {
    box-shadow: 0 12px 28px rgba(236, 157, 113, 0.35),
    0 6px 14px rgba(236, 157, 113, 0.22);
    transform: translateY(-4px);
}

/* ==== One-line property list ==== */
.sg-onecol {
    list-style: none;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(0,0,0,.10);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sg-onecol li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sg-onecol .sg-ico {
    width: 18px;
    height: 18px;
    line-height: 0;
    margin-top: 2px;
    color: #1E3A8A;; /* consistent elegant brand color */
    opacity: 1;
}
.sg-onecol .sg-txt {
    font-size: 14px;
    line-height: 1.35;
    color: #4b4b4b;
}

/* ==== Animation for reveal ==== */
.sg-project-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.sg-project-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==== Contact left redesign ==== */
.sg-contact-left {
    max-width: 540px;
}
.sg-contact-subtitle {
    color: #ec9d71;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sg-contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}
.sg-contact-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.sg-contact-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.sg-contact-highlights li {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.sg-icon {
    color: #ec9d71;
    font-size: 18px;
    margin-right: 10px;
}

/* Contact Images */
.sg-contact-images {
    position: relative;
}

.sg-img-main img {
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(236, 157, 113, 0.28),
    0 6px 12px rgba(236, 157, 113, 0.18);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-img-main img:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(236, 157, 113, 0.38),
    0 8px 18px rgba(236, 157, 113, 0.25);
}

.sg-img-overlay {
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 55%;
}

.sg-img-overlay img {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(236, 157, 113, 0.32),
    0 6px 14px rgba(236, 157, 113, 0.2);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-img-overlay img:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(236, 157, 113, 0.42),
    0 8px 18px rgba(236, 157, 113, 0.28);
}

.about__content--info__icon svg { width: 44px; height: 44px; display: block; }
/* Elegant circular badges for feature icons – ADDITIVE ONLY */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;           /* comfy tap size, still mobile-friendly */
    height: 56px;
    border-radius: 9999px; /* perfect circle */
    background: #fff;
    border: 2px solid rgba(0,0,0,0.06);            /* subtle ring */
    box-shadow:
            0 10px 24px rgba(0,0,0,0.08),
            0 2px 6px rgba(0,0,0,0.06);
    color: #1e1e1e;        /* svg uses currentColor */
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.icon-badge svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: #ec9d71;   /* peach accent */
    color: #ec9d71;    /* in case of fill="currentColor" usage */
}

/* brand accent (peach glow) without overriding base tokens */
.icon-badge--accent {
    border-color: rgba(236,157,113,0.35);          /* #ec9d71 */
    box-shadow:
            0 14px 28px rgba(236,157,113,0.18),
            0 4px 10px rgba(236,157,113,0.12);
}

/* hover/active micro-interaction */
.about__content--info__list:hover .icon-badge {
    transform: translateY(-2px);
    box-shadow:
            0 16px 32px rgba(0,0,0,0.10),
            0 6px 14px rgba(0,0,0,0.08);
    border-color: rgba(236,157,113,0.5);
}

/* tidy spacing if needed (non-destructive) */
.about__content--info__list { gap: 12px; }
.about__content--info__icon { line-height: 0; } /* removes stray inline gap */
/* Elegant peach drop shadow for gallery images */
.sg-peach-shadow img {
    border-radius: 12px; /* smooth edges */
    box-shadow: 0 10px 25px rgba(236, 157, 113, 0.35),
    0 6px 12px rgba(236, 157, 113, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-peach-shadow img:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(236, 157, 113, 0.45),
    0 8px 16px rgba(236, 157, 113, 0.25);
}
/* Elegant peach drop shadow for buttons */
.sg-peach-shadow-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--color-hover); /* use project main button color */
    color: #fff;
    box-shadow: 0 10px 25px rgba(236, 157, 113, 0.35),
    0 6px 12px rgba(236, 157, 113, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.sg-peach-shadow-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(236, 157, 113, 0.45),
    0 8px 16px rgba(236, 157, 113, 0.25);
    background-color: #162d63; /* darker navy on hover */
}

/* About thumbnail with peach shadow */
.sg-peach-thumbnail img {
    border-radius: 14px; /* smooth elegant corners */
    box-shadow: 0 12px 28px rgba(236, 157, 113, 0.28),
    0 6px 12px rgba(236, 157, 113, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-peach-thumbnail img:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(236, 157, 113, 0.38),
    0 8px 16px rgba(236, 157, 113, 0.25);
}
/* ==== Slider controls (SVG) ==== */
.sg-project-swiper { position: relative; border-radius: 12px; overflow: hidden; }
.sg-project-swiper .featured__thumbnail--img { width:100%; height:260px; object-fit:cover; }

/* buttons */
.sg-project-swiper .sg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px; height: 36px;
    border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9999px;
    background: rgba(30,58,138,0.92); /* brand cobalt */
    color: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    opacity: 1 !important; visibility: visible !important;
}
.sg-project-swiper .swiper-button-prev.sg-nav { left: 8px; }
.sg-project-swiper .swiper-button-next.sg-nav { right: 8px; }
.sg-project-swiper .sg-nav:hover { background: rgba(236,157,113,0.95); } /* peach glow */
.sg-project-swiper .sg-nav::after { display:none; } /* kill Swiper's default arrow */

/* svg icon sizing */
.sg-project-swiper .sg-arrow { display:block; }

/* dots overlay — prevent layout shift/gap */
.sg-project-swiper .sg-dots.swiper-pagination {
    position: absolute !important;
    left: 0; right: 0; bottom: 8px;
    margin: 0; padding: 0;
    text-align: center;
    z-index: 2;
    pointer-events: none; /* clicks pass through; bullets themselves stay clickable */
}
.sg-project-swiper .sg-dots .swiper-pagination-bullet {
    pointer-events: auto; /* re-enable on bullets */
    background: rgba(255,255,255,0.85);
    opacity: 1;
}
.sg-project-swiper .sg-dots .swiper-pagination-bullet-active {
    background: #1E3A8A;
}

/* mobile tweaks */
@media (max-width: 767px) {
    .sg-project-swiper .featured__thumbnail--img { height: 200px; }
    .sg-project-swiper .sg-nav { width: 30px; height: 30px; }
}

.sg-contact-info {
    margin-top: 30px;
}
.sg-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sg-contact-info li {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.sg-contact-ico {
    color: #ec9d71; /* peach accent */
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.sg-contact-ico svg {
    width: 18px;
    height: 18px;
    display: block;
}
.sg-contact-info a {
    color: #1E3A8A;
    text-decoration: none;
}
.sg-contact-info a:hover {
    text-decoration: underline;
}
.btn-footer{padding:12px 24px; border-radius:8px; display:inline-block; font-weight:600;font-size: 16px}
/* ==== Image Modal (Lightbox) ==== */
.sg-img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.sg-modal-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: sgFadeIn .4s ease;
}

.sg-modal-close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
}
.sg-modal-close:hover { color: #ec9d71; }

.sg-modal-caption {
    color: #fff;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    max-width: 90%;
    line-height: 1.4;
}

@keyframes sgFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .sg-modal-img { max-width: 95%; max-height: 70vh; }
    .sg-modal-close { top: 10px; right: 15px; font-size: 28px; }
}
/* ==== FAQ Section (with smooth accordion transition) ==== */
.sg-faq {
    background-color: #fffaf7;
}

.sg-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.sg-faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(236,157,113,0.25),
    0 3px 8px rgba(236,157,113,0.15);
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sg-faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(236,157,113,0.35),
    0 6px 14px rgba(236,157,113,0.22);
}

.sg-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 17px;
    color: #1E3A8A;
}

.sg-faq-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ec9d71;
    flex-shrink: 0;
}

/* Smooth transition for open/close */
.sg-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px 0 54px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.sg-faq-item.active .sg-faq-answer {
    max-height: 400px; /* enough height for typical content */
    padding: 0 24px 18px 54px;
}

/* Mobile-friendly spacing */
@media (max-width: 600px) {
    .sg-faq-question {
        padding: 16px 18px;
        font-size: 16px;
    }
    .sg-faq-answer {
        padding: 0 18px 0 46px;
    }
    .sg-faq-item.active .sg-faq-answer {
        padding: 0 18px 16px 46px;
    }
}
