/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.site-logo-img img {
    filter: unset !important;
    transition: all 0.2s 
linear;
}

.ast-container {
        max-width: 1300px;
    }
/* Main Card */
.hosting-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    padding: 25px 30px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    width: 100%;
    gap: 25px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s 
ease;
    border: 1px solid #D5D5D5;
}
.hosting-card:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
/* Move badge to top-left of card */
.rank-badge {
    position: absolute;
    top: 0px;
    left: 0px;

    background: #000;
    color: #fff;
    font-weight: bold;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    z-index: 10;
}
.rank-wrap {
    display: flex;
    align-items: center;   /* vertically align */
    gap: 10px;             /* space between number + badge */
    position: absolute;    /* so it stays top-left of card */
    top: 12px;
    left: 12px;
}

/* Rank box */
.rank-badge {
    background: #000;
    color: #fff;
    font-weight: bold;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    font-size: 16px;
}

/* Badge */
.top-choice-badge {
    background: #000000 !important;
    color: #fff;
	font-size: 14px;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    margin-left: 10px !important;
    font-weight: 600;
}

/* Remove badge from normal flow */
.hosting-left {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-left: 60px;
}


/* Logo */
.hosting-logo img {
    width: 120px;
    object-fit: contain;
}

/* Title + Badge */
.hosting-title {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}



/* Description */
.hosting-description p {
    margin: 10px 0 12px;
    color: #444;
    line-height: 1.5;
    max-width: 500px;
}

/* Feature list */
.hosting-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hosting-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0px;
    font-size: 15px;
}

.hosting-features li::before {
    content: "✔";
    color: #00a651;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Right side (score + button) */
.hosting-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Score section */
.score-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: #000;
}

.score-text {
    font-size: 14px;
    color: #000000;
    font-weight: 500;
}

.visit-btn {
    background: #295be2 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 60px !important;
    border-radius: 0px !important;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    transition: 0.3s 
ease;
    position: relative;
    overflow: hidden;
}

/* Hidden arrow */
.visit-btn::after {
    content: "→";
    position: absolute;
    right: -20px;          /* hide outside */
    opacity: 0;
    font-size: 18px;
    transition: 0.3s ease;
}

/* Hover reveal animation */
.visit-btn:hover {
    padding-right: 40px;  /* space for arrow */
    background: #ffb300;
}

.visit-btn:hover::after {
    right: 14px;          /* slide inside */
    opacity: 1;
}


/* Footer Menu Wrapper */
.widget_nav_menu {
  text-align: center;
  margin: 30px 0;
}

/* The UL container */
.widget_nav_menu ul.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* keeps it responsive */
  gap: 30px; /* spacing between menu items */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each menu item */
.widget_nav_menu ul.menu li {
  display: inline-block;
}

/* Menu links */
.widget_nav_menu ul.menu li a {
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover effect: underline animation */
.widget_nav_menu ul.menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #005ee9;
  transition: width 0.3s ease;
}

.widget_nav_menu ul.menu li a:hover::after {
  width: 100%;
}

.widget_nav_menu ul.menu li a:hover {
  color: #005ee9;
}
.score {
    display: flex;
    gap: 10px;
}
.star-rating {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 0px;
}

/* Base star: show empty (grey) star character */
.star {
    font-size: 22px;           /* change as needed */
    line-height: 1;
    display: inline-block;     /* important for width + overflow */
    position: relative;
    color: #ccc;               /* empty star color */
    width: 18px;               /* match font-size for consistent box */
    text-align: center;
    user-select: none;
}

/* Full star: show filled gold star character */
.star.full {
    color: #FFD800;            /* gold color */
}

/* Half star: show empty star as base (gray), overlay half gold via ::before */
.star.half {
    color: #ccc;               /* base empty star color */
    overflow: hidden;
}

/* Overlay: the gold half */
.star.half::before {
    content: "★";              /* filled star overlay */
    color: #FFD800;            /* gold */
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;                /* show half */
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

/* If you're using the same character for empty vs full, ensure base shows empty star */
.star.empty {
    color: #ccc;
}

/* Optional: adjust sizes easily */
.star-rating.small  .star { font-size: 14px; width:14px; }
.star-rating.large  .star { font-size: 22px; width:22px; }
/* ────────────────────────────────
   RESPONSIVE DESIGN
──────────────────────────────── */

/* Tablet (≤ 992px) */
@media (max-width: 992px) {

    .hosting-card {
        padding: 20px;
        gap: 20px;
    }

    .hosting-left {
        gap: 30px;
        margin-left: 50px;
    }

    .hosting-logo img {
        width: 100px;
    }

    .hosting-title {
        font-size: 20px;
    }

    .score-value {
        font-size: 34px;
    }

    .visit-btn {
        padding: 12px 40px !important;
    }
}


/* Mobile (≤ 768px) */
@media (max-width: 768px) {

    .hosting-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .rank-wrap,
    .rank-badge {
        top: 10px;
        left: 10px;
        z-index: 20;
    }

    .hosting-left {
        flex-direction: column;
        margin-left: 0;
        gap: 20px;
        width: 100%;
    }

    .hosting-logo img {
        width: 90px;
    }

    .hosting-title {
        font-size: 20px;
    }

    .hosting-description p {
        max-width: 100%;
    }

    .hosting-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }

    .score {
        gap: 6px;
        align-items: center;
    }

    .score-value {
        font-size: 32px;
    }
}


/* Small mobile (≤ 480px) */
@media (max-width: 480px) {

    .hosting-card {
        padding: 18px;
        gap: 15px;
    }

    .hosting-left {
        gap: 15px;
    }

	.hosting-logo img {
        width: 105px;
        margin-left: 30px;
    }

    .hosting-title {
        font-size: 18px;
    }

    .hosting-features li {
        font-size: 14px;
        padding-left: 20px;
    }

    .score-value {
        font-size: 28px;
    }

    .visit-btn {
        width: 100%;         /* full-width button */
        justify-content: center;
        padding: 12px !important;
    }
}
