:root {
    --primary: #1e40af;
    --accent: #3b82f6;
    --text: #1f2937;
    --secondary-text: #6b7280;
    --bg: #f9f9f9;
    --card-bg: #ffffff;
    --tagline-bg: #1e293b;
    --footer-bg: #111827;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
}
main {
    flex: 1;
}
.share-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 49;
}
.share-button button {
    background-color: #2c333F;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.share-button button:hover {
    background-color: #1d4ed8;
}
.share-button button svg {
    width: 1.3em;
    height: 1.3em;
    fill: currentColor;
    transform: translateY(-0.2ex);
}
/* PERFECT POPUP CSS (Exactly like your best version) */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.popup-content {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 90%;
    position: relative;
    text-align: center;
}
.popup-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}
.region-selector {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.region-selector label {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 6px 0;
    border-radius: 5px;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 196px;
    text-align: center;
}
.region-selector input[type="radio"] {
    display: none;
}
.region-selector input[type="radio"]:checked + label {
    background: #0056b3;
}
.region-selector label:hover {
    background: #0056b3;
}
.store-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}
.store-grid.active {
    display: grid;
}
.store-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: perspective(500px) translateZ(0);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px;
}
.store-card:hover {
    transform: perspective(500px) translateZ(10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 12px 24px rgba(0, 0, 0, 0.2);
}
.store-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.store-option img {
    width: 196px;
    height: 98px;
    object-fit: contain;
    display: block;
}
.store-option a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 6px 0;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s;
    width: 196px;
    text-align: center;
}
.store-option a:hover {
    background: #0056b3;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333333;
    cursor: pointer;
    background: none;
    border: none;
}
/* REST OF YOUR ORIGINAL CSS (unchanged) */
.navbar {
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
}
.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 2.0rem;
    letter-spacing: 1px;
}
.navbar-nav {
    align-items: center;
}
.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease, transform 0.2s;
}
.nav-link:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}
.navbar-toggler {
    border: none;
    background: transparent;
    width: 42px;
    height: 42px;
    position: relative;
    margin-right: 1.5rem;
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
.navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease-in-out;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-in-out;
}
.navbar-toggler-icon::before {
    top: -7px;
}
.navbar-toggler-icon::after {
    top: 7px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--primary);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--primary);
}
.mobile-nav {
    display: none;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.top-strip {
    padding: 0;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.bottom-strip {
    padding: 0;
    position: relative;
    overflow-x: hidden;
}
.menu-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding: 10px 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.menu-container::-webkit-scrollbar {
    display: none;
}
.bottom-strip .navbar-nav {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
}
.bottom-strip .nav-item {
    display: inline-block;
    margin: 0 10px;
}
.scroll-btn {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}
.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}
.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.tagline {
    background: linear-gradient(135deg, var(--tagline-bg) 0%, #334155 100%);
    color: #ffffff;
    padding: 20px 10px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.tagline h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 5px;
}
.tagline p {
    font-size: 1.2rem;
    max-width: 90%;
    margin: 0 auto 5px;
    color: #e2e8f0;
    text-align: justify;
}
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 30px;
}
.card {
    background: var(--card-bg);
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    overflow: hidden;
    width: 100%;
    position: relative;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}
.card-img-container {
    width: 100%;
    padding-bottom: 150%;
    position: relative;
    overflow: hidden;
}
.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.blog-card .card-img-container {
    padding-bottom: 56.25%;
}
.card-body {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}
.card-title a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.card-text {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin-bottom: 15px;
}
.total-cards {
    font-size: 1.2em;
    margin-top: 10px;
    color: #333;
    text-align: center;
}
footer {
    background: var(--footer-bg);
    color: #e2e8f0;
    padding: 40px 20px;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}
footer h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}
footer ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
footer ul li {
    margin-bottom: 10px;
}
footer ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}
footer ul li a:hover {
    color: var(--accent);
}
.directory-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin-bottom: 25px;
}
.directory-list li {
    margin: 5px 10px;
    display: inline-block;
    border-right: 1px solid #6b7280;
    padding-right: 10px;
    margin-right: 0;
    margin-bottom: 0;
    line-height: 1.2;
}
.directory-list li:last-child {
    border-right: none;
    padding-right: 0;
}
footer p {
    color: #e2e8f0;
}
.footer-row {
    margin-bottom: 30px;
}
.feature-container {
    padding: 0 5px;
}
.feature-container .row {
    margin: 0;
    justify-content: center;
}
.founder-strip {
    background: #1e2a44;
    color: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}
.founder-strip .tagline-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}
.founder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}
.founder-card {
    background: var(--card-bg);
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 4px solid #4a90e2;
}
.founder-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.company-text {
    max-width: 500px;
    font-size: 1rem;
    text-align: justify;
}
.company-text strong {
    color: #4a90e2;
}
.founder-info {
    text-align: center;
}
.founder-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}
.founder-info .title {
    font-weight: 600;
}
.social-bar {
    margin-top: 15px;
}
.social-bar a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-bar a:hover {
    color: var(--accent);
}
.banner-container {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 0;
    max-width: 100%;
    overflow: hidden;
}
.banner-container a {
    flex: 1 1 50%;
    width: 50%;
    display: block;
}
.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    display: block;
}
.search-input:focus + .search-icon {
    color: #4f46e5;
}
.letter-nav {
    transition: all 0.3s ease;
}
.letter-nav:hover,
.letter-nav.active {
    background-color: #4f46e5;
    color: white;
}
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.list-container {
    position: relative;
}
.list-container h2 {
    text-align: left;
}
.program-list-item {
    padding: 10px 0;
}
.program-list-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}
#no-results-message {
    text-align: center;
    color: #6b7280;
    padding: 20px 0;
    font-size: 1rem;
}
.redirect-button {
    margin-left: 8px;
    color: #4f46e5;
    transition: color 0.3s ease;
}
.redirect-button:hover {
    color: #3730a3;
}
.program-list-item h3 a {
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}
.program-list-item h3 a:hover {
    text-decoration: underline;
}
/* Banner Slider Styles */
.banner-slider {
    width: 100%;
    margin: 0;
    overflow: hidden;
}
.banner-slider .carousel-inner {
    width: 100%;
}
.banner-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-slider .carousel-indicators {
    bottom: 0.5px;
    opacity: 0;
}
.banner-slider .carousel-control-prev,
.banner-slider .carousel-control-next {
    width: 5%;
    opacity: 0.5;
}
.banner-slider:hover .carousel-control-prev,
.banner-slider:hover .carousel-control-next {
    opacity: 1;
}
@media (min-width: 992px) {
    .banner-slider {
        width: 100%;
        height: 100%;
    }
    .banner-slider .carousel-item img {
        width: 100%;
        height: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .banner-slider {
        width: 100%;
        height: 100%;
    }
    .banner-slider .carousel-item img {
        width: 80%;
        height: 100%;
    }
}
@media (max-width: 767px) {
    .banner-slider {
        width: 100%;
        height: 100%;
    }
    .banner-slider .carousel-item img {
        width: 100%;
        height: 100%;
    }
}
/* Media Queries */
@media (min-width: 992px) {
    .search-bar .form-control {
        width: 50%;
        margin: 0 auto;
    }
    .footer-row .col-lg-4 {
        text-align: center;
    }
    .footer-row .col-lg-4 ul {
        display: inline-block;
        text-align: left;
    }
    .directory-list {
        text-align: center;
    }
}
@media (min-width: 1200px) {
    .tagline h1 {
        font-size: 2.5rem;
    }
    .tagline p {
        font-size: 1.2rem;
    }
    .section h2 {
        font-size: 2rem;
    }
    .founder-strip .tagline-content {
        justify-content: space-between;
    }
    .founder-section {
        margin-left: 0;
        margin-right: 20px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .tagline h1 {
        font-size: 2.2rem;
    }
    .tagline p {
        font-size: 1.1rem;
    }
    .section h2 {
        font-size: 1.8rem;
    }
    .founder-strip .tagline-content {
        justify-content: center;
    }
    .founder-section {
        margin-left: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 991px) and (orientation: portrait) {
    .navbar-expand-lg {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
    .top-strip .navbar-brand {
        font-size: 1.6rem;
        padding: 8px 0;
    }
    .bottom-strip .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0 !important;
    }
    .navbar .container-fluid,
    .tagline,
    .section,
    footer .container {
        max-width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }
    .card {
        margin-left: 2px;
        margin-right: 2px;
        margin-bottom: 30px;
    }
    .row {
        margin-left: -2px;
        margin-right: -2px;
    }
    [class*='col-'] {
        padding-left: 2px;
        padding-right: 2px;
    }
    .tagline h1 {
        font-size: 1.6rem;
    }
    .tagline p {
        font-size: 0.9rem;
    }
    .section h2 {
        font-size: 1.4rem;
    }
    .card-title {
        font-size: 1.0925rem;
    }
    .card-text {
        font-size: 0.92rem;
    }
    footer h5 {
        font-size: 1.1rem;
    }
    footer ul li a {
        font-size: 0.9rem;
    }
    .founder-strip .tagline-content {
        flex-direction: column;
        text-align: center;
    }
    .founder-section {
        margin: 0 0 15px 0;
        order: 1;
    }
    .company-text {
        text-align: justify;
        margin: 15px 0;
        order: 2;
    }
    .founder-info {
        order: 3;
        margin-top: 15px;
    }
    .banner-container {
        flex-direction: column;
    }
    .banner-container a {
        flex: 1 1 100%;
        width: 100%;
    }
    .banner-image {
        width: 100%;
        flex: 1 1 100%;
    }
    .directory-list {
        flex-direction: column;
        align-items: center;
    }
    .directory-list li {
        border-right: none;
        padding-right: 0;
        margin: 5px 0;
    }
    .footer .row {
        display: flex !important;
        flex-wrap: wrap;
    }
    .footer .col-12 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
@media (max-width: 767px) {
    .footer .col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 991px) {
    .feature-container .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
/* PERFECT MOBILE RESPONSIVE (Exactly like your best version) */
@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }
   
    .store-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
   
    .store-card {
        padding: 8px;
    }
   
    .store-option img {
        width: 160px;
        height: 80px;
    }
   
    .store-option a {
        width: 160px;
    }
   
    .region-selector {
        justify-content: space-between;
        flex-direction: row;
    }
   
    .region-selector label {
        width: 160px;
        padding: 5px 0;
        font-size: 16px;
    }
}