/* 1. Global Variables & Base Config */
:root {
    --primary-color: #0c63e4;
    --primary-light: #eef4ff;
    --primary-dark: #003db3;
    --dark-bg: #0a1128;
    --dark-card: #101c42;
    --light-bg: #f5f8ff;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --accent-cyan: #00f2fe;
    --accent-orange: #f59e0b;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(12, 99, 228, 0.06);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.08);
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 2. Helper Classes */
.section-padding {
    padding: 80px 0;
}

.bg-light-section {
    background-color: var(--light-bg);
}

.text-justify {
    text-align: justify;
}

/* 3. Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* 4. Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar a:hover {
    color: var(--accent-cyan);
}

/* 5. Custom Navbar */
.navbar-custom {
    padding: 15px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar-custom.sticky {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

.nav-link-custom {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--primary-color) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link-custom:hover::after, 
.nav-link-custom.active::after {
    width: calc(100% - 32px);
}

.btn-nav-outline {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-nav-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-nav-primary {
    background-color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(12, 99, 228, 0.2);
    transition: var(--transition-smooth);
}

.btn-nav-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(12, 99, 228, 0.3);
}

/* 6. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
    padding: 100px 0 120px 0;
    position: relative;
}

.hero-tag {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-bg);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.btn-hero-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(12, 99, 228, 0.25);
    transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 99, 228, 0.35);
}

.btn-hero-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Carousel Custom Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    min-height: 700px;
    height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide-1 {
    background-image: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.8)), url('../images/hero_banner_1.png');
}

.hero-slide-2 {
    background-image: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.8)), url('../images/hero_banner_2.png');
}

.hero-slide-3 {
    background-image: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.8)), url('../images/hero_banner_3.png');
}

.hero-carousel-content {
    position: relative;
    z-index: 5;
    padding-left: 60px; /* Space for absolute social links */
}

@media (max-width: 767.98px) {
    .hero-carousel-content {
        padding-left: 0;
    }
}

.hero-carousel-social {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .hero-carousel-social {
        display: none !important;
    }
}

.hero-social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.03);
}

.hero-social-icon:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(12, 99, 228, 0.4);
    transform: scale(1.1);
}

/* Custom Play Button style for secondary action */
.btn-play-action {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-play-action:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Overriding text colors for dark slide overlays */
.hero-carousel .hero-title {
    color: var(--white);
}

.hero-carousel .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.hero-carousel .btn-hero-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-carousel .btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Customize indicators */
.hero-carousel .carousel-indicators {
    bottom: 30px;
    gap: 8px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition-smooth);
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-mockup-container {
    position: relative;
    z-index: 1;
}

.hero-mockup-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(12, 99, 228, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-mockup {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

/* 7. Live Price Checker (Domain Search-like layout) */
.checker-wrapper {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(12, 99, 228, 0.08);
}

.checker-input-group {
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    transition: var(--transition-smooth);
}

.checker-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 99, 228, 0.15);
    background: var(--white);
}

.checker-input {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    width: 100%;
}

.checker-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.btn-checker-search {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    border: none;
    transition: var(--transition-smooth);
}

.btn-checker-search:hover {
    background-color: var(--primary-dark);
}

.btn-checker-secondary {
    background-color: var(--dark-bg);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    border: none;
    transition: var(--transition-smooth);
}

.btn-checker-secondary:hover {
    background-color: #020617;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-btn {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #475569;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip-btn:hover,
.chip-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Price results container styling */
.price-results-area {
    margin-top: 25px;
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.provider-detect-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.price-table {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.price-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--border-color);
}

.price-table td {
    vertical-align: middle;
    font-size: 0.95rem;
    padding: 12px 16px;
}

.price-row-hot {
    background-color: #fffbeb;
}

.price-val-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-right: 5px;
}

.price-val-new {
    font-weight: 700;
    color: #059669;
}

/* 8. Pricing Section */
.pricing-title {
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--dark-bg);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 99, 228, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'Terpopuler';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 30px;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
}

.pricing-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-bg);
}

.pricing-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 42px;
}

.price-tag {
    margin: 20px 0;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px 0;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
}

.pricing-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

.pricing-features li.disabled {
    color: #9ca3af;
}

.pricing-features li.disabled i {
    color: #d1d5db;
}

.btn-pricing {
    width: 100%;
    border-radius: 50px;
    font-weight: 700;
    padding: 12px;
    transition: var(--transition-smooth);
}

.btn-pricing-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-pricing-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-pricing-primary {
    background-color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(12, 99, 228, 0.15);
}

.btn-pricing-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(12, 99, 228, 0.25);
}

/* CS Banner below pricing */
.cs-banner-box {
    border-top: 1.5px dashed var(--border-color);
    margin-top: 50px;
    padding-top: 30px;
}

.cs-banner-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.cs-banner-link:hover {
    text-decoration: underline;
}

/* 9. Advanced Features (Two Column Layout) */
.features-header-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-title {
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--dark-bg);
}

.btn-features-more {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.btn-features-more:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.features-real-img {
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.features-dark-card {
    background-color: var(--dark-bg);
    border-radius: 20px;
    padding: 50px 40px;
    height: 100%;
}

.feature-dark-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.feature-dark-item:last-child {
    margin-bottom: 0;
}

.feature-dark-icon {
    background-color: var(--dark-card);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.6rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-dark-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-dark-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 10. Platform Integration Grid */
.platform-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 99, 228, 0.15);
    box-shadow: var(--shadow-md);
}

.platform-icon-box {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 54px;
    height: 54px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    font-size: 1.4rem;
}

.platform-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-bg);
}

/* 11. Double Promo Banner */
.promo-col-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px 0 0 20px;
    padding: 60px 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.promo-col-light {
    background-color: #f8fafc;
    border-radius: 0 20px 20px 0;
    padding: 60px 50px;
    border: 1px solid var(--border-color);
    border-left: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .promo-col-blue {
        border-radius: 20px 20px 0 0;
    }
    .promo-col-light {
        border-radius: 0 0 20px 20px;
        border-left: 1px solid var(--border-color);
        border-top: none;
    }
}

.btn-promo-white {
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-promo-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-promo-dark {
    background-color: var(--dark-bg);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-promo-dark:hover {
    background-color: #020617;
    transform: translateY(-2px);
}

/* 12. Why Us Section */
.why-us-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0 0;
}

.why-us-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.why-us-icon {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.why-us-item-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-bg);
    margin-bottom: 4px;
}

.why-us-item-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 13. Trust Badges Section */
.trust-badge-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    height: 100%;
}

.trust-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12, 99, 228, 0.15);
}

.trust-badge-icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.trust-badge-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.trust-badge-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* 14. FAQ Accordion Custom styling */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.accordion-custom .accordion-item:hover {
    border-color: rgba(12, 99, 228, 0.2);
}

.accordion-custom .accordion-button {
    font-weight: 700;
    color: var(--dark-bg);
    padding: 20px;
    font-size: 1.05rem;
    border: none;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.accordion-custom .accordion-body {
    padding: 20px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

/* 15. Latest Blog / News */
.blog-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 99, 228, 0.15);
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-card-body {
    padding: 25px;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-bg);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.blog-link:hover {
    color: var(--primary-dark);
}

/* 16. Operator Carousel / Logo Grid */
.partner-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 70px;
}

.partner-logo-item img {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.partner-logo-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* 17. Footer CSS */
.footer-custom {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--primary-color);
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-custom a:hover {
    color: var(--primary-color);
    padding-left: 3px;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    padding-top: 30px;
    font-size: 0.82rem;
}

/* Floating back to top button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    border: none;
    transition: var(--transition-smooth);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Mobile & Responsive Adjustments
   ========================================================================== */

/* Anti-Overflow Body Fix */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* 1. Global Viewport Adjustments (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .hero-carousel-content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* 2. Mobile & Tablet Adjustments (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 520px;
        height: auto;
        padding: 60px 0;
    }

    .hero-carousel-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
    }

    .hero-carousel-content .d-flex {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .hero-carousel .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }

    .hero-carousel .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
    }

    /* Footer Centering & Cleanup */
    .footer-custom {
        text-align: center !important;
    }

    .footer-title {
        margin-bottom: 18px !important;
    }

    .footer-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-social-links {
        justify-content: center !important;
        margin-top: 15px !important;
        margin-bottom: 30px !important;
    }

    .footer-custom ul {
        padding: 0 !important;
        margin-bottom: 30px !important;
    }

    .footer-custom ul li a {
        display: inline-block !important;
    }

    /* Center-align footer contact list items and icons inline on mobile */
    .footer-custom ul li {
        display: block !important;
        text-align: center !important;
    }

    .footer-custom ul li i {
        margin-right: 8px !important;
        display: inline-block !important;
    }

    .footer-custom .input-group {
        justify-content: center !important;
        max-width: 290px;
        margin: 0 auto 30px auto;
    }
    
    .footer-copyright {
        margin-top: 30px !important;
        padding-top: 20px !important;
        text-align: center !important;
    }
    
    .footer-copyright .text-md-start,
    .footer-copyright .text-md-end {
        text-align: center !important;
    }
}

/* 3. Mobile Portrait Adjustments (max-width: 575.98px) */
@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 460px;
    }

    .hero-carousel .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-carousel .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .hero-carousel .hero-tag {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }
    
    /* Padding Reductions for Cards & Banners to Prevent Overflow */
    .features-dark-card {
        padding: 30px 20px !important;
    }
    
    .promo-col-blue, .promo-col-light {
        padding: 40px 20px !important;
    }
    
    .checker-wrapper {
        padding: 25px 15px !important;
    }
}
