/* ========================================
   HostPulse - Premium Hosting Template
   Author:
   ======================================== */

     
   @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========== ROOT VARIABLES ========== */
:root {
    /* Colors */
    --primary-gradient: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    --primary-color: #0055FF;
    --secondary-color: #00D4FF;
    --dark-bg: #0a0e27;
    --dark-card: #141b3a;
    --light-bg: #ffffff;
    --light-card: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 50px 0;
    --card-padding: 30px;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(0, 85, 255, 0.15);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ========== DARK MODE VARIABLES ========== */
body.dark-mode {
    --light-bg: #0a0e27;
    --light-card: #141b3a;
    --text-dark: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #2a3a5a;
    --glass-bg: rgba(20, 27, 58, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
    position: relative;
}
 

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.dark-mode #preloader {
    background: linear-gradient(135deg, #0a0e27 0%, #141b3a 100%);
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container i {
    font-size: 60px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.logo-container img {
    animation: pulse 2s infinite;
    display: block;
    margin: 0 auto;
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.logo-container h2 {
    font-size: 32px;
    font-family: var(--font-heading);
}

/* Logo Images */
.navbar-logo,
.offcanvas-logo,
.footer-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

.offcanvas-logo,
.footer-logo {
    height: 28px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
}

.loading-progress {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

.loading-percentage {
    font-size: 18px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== NAVBAR ========== */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--light-card);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

body.dark-mode .navbar.scrolled {
    background: var(--dark-card);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--text-dark);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

body.dark-mode .navbar-brand {
    color: var(--text-dark);
}

body.dark-mode .navbar-brand:hover {
    color: var(--text-dark);
}

.navbar-brand i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 85, 255, 0.1);
}

/* Dark mode nav links */
body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--secondary-color);
    background: rgba(0, 212, 255, 0.15);
}


.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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(0, 85, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== BUTTONS ========== */
.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
    white-space: nowrap;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 255, 0.4);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gradient:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* ========== DARK MODE TOGGLE ========== */
.dark-mode-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.dark-mode-toggle:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.dark-mode-toggle-mobile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.dark-mode-toggle-mobile:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* ========== OFFCANVAS ========== */
.offcanvas {
    background: var(--light-card);
}

body.dark-mode .offcanvas {
    background: var(--dark-card);
}

.offcanvas-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem; /* Same as h5 default size */
    display: flex;
    align-items: center;
}

.offcanvas-title img {
    transition: var(--transition);
}

.offcanvas-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offcanvas .nav-link {
    padding: 12px !important;
    margin: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Offcanvas close button */
.offcanvas .btn-close {
    filter: invert(0);
    opacity: 0.8;
}

body.dark-mode .offcanvas .btn-close {
    filter: invert(1);
    opacity: 1;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../assets/images/hero-pattern.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

body.dark-mode .hero::before {
    opacity: 0.08;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-subtitle i {
    color: var(--success-color);
}

/* Domain Search Box */
.domain-search-box {
    margin-bottom: 40px;
}

.domain-search-box .input-group {
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    overflow: hidden;
    background: var(--light-card);
}

body.dark-mode .domain-search-box .input-group {
    background: var(--dark-card);
}

.domain-search-box .form-control {
    border: none;
    padding: 18px;
    font-size: 16px;
    background: transparent;
    color: var(--text-dark);
}

.domain-search-box .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.domain-search-box .tld-select {
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    max-width: 120px; 
    width: fit-content;
    background: transparent;
    color: var(--text-dark);
    flex: unset; 
    padding: 18px !important;
}

.domain-search-box .tld-select:focus {
    box-shadow: none;
    background: transparent;
}

.domain-search-box .btn {
    padding: 18px 35px;
    /* border-radius: 0 50px 50px 0; */
}

.domain-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background: var(--light-card);
    box-shadow: var(--shadow-md);
    display: none;
}

body.dark-mode .domain-result {
    background: var(--dark-card);
}

.domain-result.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.badge-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    background: var(--light-card);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: floatCard 4s ease-in-out infinite;
}

body.dark-mode .floating-card {
    background: var(--dark-card);
}

.floating-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ========== SECTION HEADER ========== */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* ========== GLASSMORPHISM CARDS ========== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: var(--light-bg);
}

.feature-card {
    padding: var(--card-padding);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-section {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.03) 0%, rgba(0, 212, 255, 0.03) 100%);
}

body.dark-mode .why-choose-section {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);
}

.mockup-container {
    position: relative;
}

.floating-stat {
    position: absolute;
    background: var(--light-card);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: floatCard 4s ease-in-out infinite;
}

body.dark-mode .floating-stat {
    background: var(--dark-card);
}

.floating-stat h4 {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.floating-stat p {
    margin: 0;
    color: var(--text-muted);
}

.stat-1 {
    top: 10%;
    left: -5%;
}

.stat-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-list i {
    font-size: 24px;
    color: var(--success-color);
    flex-shrink: 0;
}

.feature-list h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature-list p {
    color: var(--text-muted);
    margin: 0;
}

/* ========== DOMAIN PRICING SECTION ========== */
.domain-pricing-section {
    background: var(--light-bg);
}

.domain-search-large .input-group {
    max-width: 700px;
    margin: 0 auto 50px;
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    overflow: hidden;
    background: var(--light-card);
}

body.dark-mode .domain-search-large .input-group {
    background: var(--dark-card);
}

.domain-search-large .form-control {
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    background: transparent;
    color: var(--text-dark);
}

.domain-search-large .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.domain-search-large .btn {
    padding: 20px 40px;
    border-radius: 0 50px 50px 0;
}

.domain-price-table {
    max-width: 900px;
    margin: 0 auto;
}
table{
     margin-bottom: 10px !important;
}
.domain-price-table .table-responsive {
    border-radius: 20px;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative; 
}

/* Mobile scroll indicator */
@media (max-width: 768px) {
    /* .domain-price-table .table-responsive {
        box-shadow: inset -10px 0 10px -10px rgba(0, 85, 255, 0.3);
    } */
    
    .domain-price-table .table-responsive::-webkit-scrollbar {
        height: 8px;
    }
    
    .domain-price-table .table-responsive::-webkit-scrollbar-track {
        background: var(--border-color);
        border-radius: 10px;
    }
    
    .domain-price-table .table-responsive::-webkit-scrollbar-thumb {
        background: var(--primary-gradient);
        border-radius: 10px;
    }
    
    .domain-price-table .table-responsive::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }
}

.domain-price-table .table {
    background: var(--light-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0;
    border: 2px solid var(--border-color);
    min-width: 600px;
}

body.dark-mode .domain-price-table .table {
    background: var(--dark-card);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.domain-price-table thead {
    background: var(--primary-gradient);
    color: white;
}

.domain-price-table th,
.domain-price-table td {
    padding: 20px;
    border: none;
    vertical-align: middle;
    color: var(--text-dark);
    /* white-space: nowrap; */
}

.domain-price-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.domain-price-table tbody tr:last-child {
    border-bottom: none;
}

body.dark-mode .domain-price-table tbody td {
    color: var(--text-dark);
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.03) 0%, rgba(0, 212, 255, 0.03) 100%);
}

body.dark-mode .pricing-section {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-dark);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--primary-gradient);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-card {
    padding: var(--card-padding);
    text-align: center;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 85, 255, 0.2);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 14px;
    right: -1px;
    background: var(--primary-gradient);
    color: white;
    padding: 4px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px 0 0 20px;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.price {
    margin-bottom: 15px;
}

.currency {
    font-size: 24px;
    vertical-align: top;
    color: var(--primary-color);
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
}

.period {
    font-size: 18px;
    color: var(--text-muted);
}

.plan-description {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-dark);
}

.features-list i {
    margin-right: 10px;
    font-size: 18px;
}

.features-list .fa-check-circle {
    color: var(--success-color);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    color: white;
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: white;
}

.testimonial-card {
    padding: var(--card-padding);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px;
    height: 100%;
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: white;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4,
.client-info .client-name {
    font-size: 18px;
    margin: 0;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
}

.client-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Splide Customization */
.splide__arrow {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
}

.splide__arrow:hover {
    background: white;
}

.splide__arrow svg {
    fill: white;
}

.splide__arrow:hover svg {
    fill: var(--primary-color);
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
}

.splide__pagination__page.is-active {
    background: white;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: var(--light-bg);
}

.accordion-item {
    background: var(--light-card);
    border: 1px solid var(--border-color);
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

body.dark-mode .accordion-item {
    background: var(--dark-card);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button i {
    margin-right: 15px;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) i {
    transform: rotate(180deg);
}


.accordion-body {
    padding: 0 25px 20px 60px;
    color: var(--text-muted);
}

/* ========== CONTACT FORM SECTION ========== */
.contact-section {
    background: var(--light-bg);
}

.contact-card {
    padding: 50px 40px;
    text-align: center;
}

body.dark-mode .contact-card {
    background: var(--glass-bg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.contact-card h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-form {
    margin-bottom: 30px;
}

.contact-form .form-control {
    background: var(--light-card);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
}

body.dark-mode .contact-form .form-control {
    background: var(--dark-card);
    color: var(--text-dark);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
    background: var(--light-card);
}

body.dark-mode .contact-form .form-control:focus {
    background: var(--dark-card);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.2);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatElement 8s ease-in-out infinite;
}

.element-1 {
    top: -50px;
    left: -50px;
}

.element-2 {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

.element-3 {
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 30px;
}

body.dark-mode footer {
    background: #050814;
}

.footer-widget h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-widget h3 img {
    transition: var(--transition);
}

.footer-widget h3 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-widget ul.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-widget ul.contact-info i {
    color: var(--primary-color);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    justify-content: flex-end;
}

.payment-methods i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: white;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .navbar-collapse {
        display: none !important;
    }
    
    .floating-card,
    .floating-stat {
        display: none;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Hero Section - Mobile Height Fix */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero .row {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .domain-search-box .btn {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .trust-badges {
        gap: 15px;
    }
    
    .badge-item {
        font-size: 14px;
    }
    
    .badge-item i {
        font-size: 20px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
    
    .newsletter-card {
        padding: 30px 20px;
    }
    
    .newsletter-card h2 {
        font-size: 24px;
    }
    
    .newsletter-card p {
        font-size: 14px;
    }
    
    .newsletter-form .btn {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .newsletter-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .privacy-notice,
    .subscriber-count {
        font-size: 13px;
    }
    
    /* Testimonial Slider Arrows - Mobile Fix */
    .splide__arrow {
        width: 40px;
        height: 40px;
        opacity: 1;
        z-index: 10;
    }
    
    .splide__arrow--prev {
        left: 10px;
    }
    
    .splide__arrow--next {
        right: 10px;
    }
    
    .splide__arrow svg {
        width: 1em;
        height: 1em;
    }
}

/* ========== FINAL CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation: float 12s infinite ease-in-out reverse;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation: float 10s infinite ease-in-out;
    animation-delay: 2s;
}

/* ========== NEWSLETTER SECTION ========== */
.newsletter-section {
    background: var(--light-bg);
    padding: var(--section-padding);
}

body.dark-mode .newsletter-section {
    background: var(--light-bg);
}

.newsletter-card {
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    animation: pulse 2s infinite;
}

.newsletter-card h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.newsletter-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    overflow: hidden;
    background: var(--light-card);
}

body.dark-mode .newsletter-form .input-group {
    background: var(--dark-card);
}

.newsletter-form .form-control {
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    background: transparent;
    color: var(--text-dark);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.newsletter-form .btn {
    padding: 18px 35px;
    border-radius: 0 50px 50px 0;
    white-space: nowrap;
}

.newsletter-result {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.newsletter-result.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.newsletter-result.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.newsletter-result.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.newsletter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.privacy-notice,
.subscriber-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.privacy-notice i,
.subscriber-count i {
    color: var(--primary-color);
    font-size: 16px;
}

.subscriber-count strong {
    color: var(--primary-color);
}

/* ========== DARK MODE SPECIFIC ADJUSTMENTS ========== */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: var(--dark-card);
    color: var(--text-dark);
    border-color: var(--border-color);
}

body.dark-mode .form-control::placeholder {
    color: var(--text-muted);
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: var(--dark-card);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

body.dark-mode .accordion-button::after {
    filter: invert(1);
}

body.dark-mode .table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-color);
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
div.error{
    color: red;
    text-align: start;
    text-transform: capitalize;
}
.alertmsg{
    z-index: 99999;
}