/* ================= NAVBAR ================= */
.custom-navbar {
    background: #e25102;
}

.navbar-brand img {
    height: 45px;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 17px;
    color: #fff !important;
    transition: 0.3s ease;
    padding: 6px 10px;
    border-radius: 6px;
}

.navbar .nav-link:hover {
    color: #fff !important;
    background: #ff8800;
}

/* Toggler button */
.custom-navbar .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.8);
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #e25102;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
    }
}

/* ================= FOOTER ================= */
.footer-section {
    background: #212529;
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text {
    color: #d4d4d4;
    line-height: 1.6;
}

.footer-link {
    color: #d4d4d4;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #ffbe0b;
    transform: translateX(6px);
}

.footer-line {
    border-color: #444;
}

.footer-bottom {
    color: #bbb;
    font-size: 14px;
    margin-top: 15px;
}

/* ================= BLOG CARD EFFECTS ================= */
.blog-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.blog-card .card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(18, 38, 63, 0.18);
    z-index: 2;
}

.card-img-wrap {
    height: 220px;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card .card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.blog-card .card:hover .card-overlay {
    opacity: 1;
}

.overlay-actions .btn {
    transform: translateY(10px);
    transition: 0.3s ease;
}

.blog-card .card:hover .overlay-actions .btn {
    transform: translateY(0);
}

/* ================= STYLISH CARD ================= */
.stylish-card {
    border-radius: 18px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.35s ease;
}

.stylish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.stylish-card img {
    transition: 0.4s ease;
}

.stylish-card:hover img {
    transform: scale(1.08);
}

.stylish-card .btn-primary {
    background: #ff6600;
    border-color: #ff6600;
}

.stylish-card .btn-primary:hover {
    background: #e65c00;
    border-color: #e65c00;
}

/* Navbar background */
.bg-custom {
    background-color: #e25102 !important;
}

/* Navbar toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 10000;
}

/* Anchor full height */
.tool-card-link {
  display: block;
  height: 100%;
}

/* Card base */
.tool-card {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

/* 🔥 MAIN MAGIC: hover on LINK, effect on CARD */
.tool-card-link:hover .tool-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

/* Title color change */
.tool-card-link:hover .tool-card h5 {
  color: #0d6efd;
}

/* Icon animation */
.tool-card i {
  transition: transform 0.25s ease;
}

.tool-card-link:hover .tool-card i {
  transform: scale(1.15);
}

/* Button visual hover */
.tool-card-link:hover .btn {
  background-color: #0b5ed7;
}

/* Card hover zoom effect */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.07);   /* zoom level */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transform: translateY(-6px) scale(1.08);
}

.tool-card-img {
    width: 50px;        /* fixed size */
    height: 50px;       /* equal height */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}




/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .nav-link {
        font-size: 16px;
        padding: 8px 10px;
    }
    .footer-title {
        font-size: 20px;
    }
    .footer-text,
    .footer-link {
        font-size: 15px;
    }
    .card-img-wrap {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .navbar-brand h4 {
        font-size: 18px;
    }
    .card-img-wrap {
        height: 180px;
    }
    .nav-link {
        padding: 6px 8px;
        font-size: 15px;
    }
}

/* Mobile collapse menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #e25102;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        z-index: 9999;
    }
    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
}