@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8E54E9;
    --primary-light: #ece2fc;
    --secondary: #4776E6;
    --grad: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    --grad-hover: linear-gradient(135deg, #3b62c4 0%, #7641c9 100%);
    --dark: #1f1d24;
    --dark-bg: #131116;
    --light: #f8f9fd;
    --white: #ffffff;
    --text: #33313b;
    --text-muted: #6e6b7b;
    --border: #e8e6f0;
    --shadow: 0 10px 30px rgba(142, 84, 233, 0.08);
    --shadow-hover: 0 15px 35px rgba(142, 84, 233, 0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--grad-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142, 84, 233, 0.25);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #0d0c0f;
    transform: translateY(-2px);
}

/* Header & Navigation */
.top-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-family: var(--font-heading);
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    gap: 20px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header-right a:hover {
    text-decoration: underline;
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    padding: 0 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 15px;
    min-width: 240px;
    display: none;
    border: 1px solid var(--border);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 20px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(142, 84, 233, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Service Choose Block */
.choose-services {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(142, 84, 233, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.service-features-list {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.service-features-list li {
    padding: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.service-features-list li i {
    color: #4cd137;
}

/* Compare Plans Layout */
.plans-comparison-section {
    padding: 80px 0;
    background-color: var(--white);
}

.plans-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.plan-compare-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-1 { grid-template-columns: 1fr; }

.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-50 { gap: 50px; }
.gap-30 { gap: 30px; }
.gap-20 { gap: 20px; }
.gap-15 { gap: 15px; }

.plan-compare-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-tagline {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.plan-price-box {
    margin-bottom: 30px;
}

.plan-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features-header {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.plan-features-list li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.plan-features-list li i.fa-check-circle {
    color: var(--primary);
}

.plan-features-list li i.fa-times-circle {
    color: #e84118;
}

/* Compare Specifications Table */
.specs-table-container {
    overflow-x: auto;
    margin-top: 50px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.specs-table th, .specs-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    background-color: var(--light);
    font-weight: 700;
    font-family: var(--font-heading);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Data Centers Map */
.datacenters-section {
    padding: 80px 0;
    background-color: var(--white);
}

.map-container {
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.map-image {
    max-width: 100%;
    height: auto;
}

.locations-tabs { flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 25px;
}

.location-tab {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

.location-tab.active {
    background: var(--grad);
    color: var(--white);
    border-color: transparent;
}

.location-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.location-item {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 15px 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.testimonial-company {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

/* Wiki Tutorials & FAQ */
.wiki-section {
    padding: 80px 0;
    background-color: var(--white);
}

.wiki-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tutorial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tutorial-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-card-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tutorial-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tutorial-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tutorial-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.tutorial-likes {
    color: #ff4757;
    cursor: pointer;
}

/* Wiki Detail Page */
.wiki-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    padding: 60px 0;
}

.wiki-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.wiki-content h2, .wiki-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.wiki-content p {
    margin-bottom: 20px;
    color: #4a4a4a;
}

.wiki-content ul, .wiki-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.wiki-content li {
    margin-bottom: 8px;
}

.wiki-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-list-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Domain Search Section */
.domain-search-hero {
    padding: 80px 0;
    background: var(--grad);
    color: var(--white);
    text-align: center;
}

.domain-search-hero h1 {
    color: var(--white);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.domain-search-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
}

.domain-search-box {
    display: flex;
    background-color: var(--white);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.domain-search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 40px;
    outline: none;
}

.domain-search-btn {
    border-radius: 40px;
    padding: 15px 40px;
}

.tld-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.tld-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

.tld-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.tld-price {
    font-size: 16px;
    font-weight: 600;
}

/* Domain Search Results */
.domain-results-container {
    padding: 60px 0;
    background-color: var(--light);
}

.domain-result-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px 35px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.domain-result-name {
    font-size: 20px;
    font-weight: 700;
}

.domain-result-name span.available {
    font-size: 13px;
    color: #4cd137;
    background-color: rgba(76, 209, 55, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

.domain-result-name span.unavailable {
    font-size: 13px;
    color: #e84118;
    background-color: rgba(232, 65, 24, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

.domain-result-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.domain-result-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

/* Cart Styles */
.cart-section {
    padding: 80px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.cart-table-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th, .cart-table td {
    padding: 20px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cart-table th {
    font-weight: 700;
    color: var(--text-muted);
}

.cart-item-title {
    font-size: 16px;
    font-weight: 700;
}

.cart-item-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-remove-btn {
    color: #e84118;
    font-size: 13px;
    cursor: pointer;
}

.cart-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-summary-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 15px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.cart-summary-total {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    border-top: 2px solid var(--light);
    padding-top: 15px;
    margin-top: 15px;
}

.promo-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.promo-input {
    flex-grow: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 15px;
    outline: none;
}

/* User & Admin Dashboards Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 280px;
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 40px;
    padding-left: 10px;
}

.dashboard-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.dashboard-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #a5a2b5;
}

.dashboard-menu-link:hover, .dashboard-menu-link.active {
    background-color: rgba(142, 84, 233, 0.15);
    color: var(--white);
}

.dashboard-main {
    flex-grow: 1;
    background-color: var(--light);
}

.dashboard-navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
}

.dashboard-content {
    padding: 40px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Forms & Tables */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(142,84,233,0.1);
}

.text-danger {
    color: #e84118;
    font-size: 12px;
    margin-top: 5px;
}

/* Admin Layout Styles */
.admin-layout-grid {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 30px;
    align-items: start;
}

.admin-sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 25px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

/* Footer styling */
.main-footer {
    background-color: var(--dark-bg);
    color: #a5a2b5;
    padding: 80px 0 40px 0;
    border-top: 1px solid #232029;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-logo span {
    color: var(--primary);
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #232029;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-widget-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #232029;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 25px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Alert system styles */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(76, 209, 55, 0.12);
    color: #2f8c1f;
    border: 1px solid rgba(76, 209, 55, 0.2);
}

.alert-danger {
    background-color: rgba(232, 65, 24, 0.12);
    color: #b33215;
    border: 1px solid rgba(232, 65, 24, 0.2);
}

/* Badge tags in lists */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(76, 209, 55, 0.12);
    color: #4cd137;
}

.badge-danger {
    background-color: rgba(232, 65, 24, 0.12);
    color: #e84118;
}

.badge-warning {
    background-color: rgba(251, 197, 49, 0.12);
    color: #fbc531;
}

/* Mobile Menu Toggle Button styling */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s;
    outline: none;
    border-radius: 8px;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Comprehensive Responsive Styles */
@media (max-width: 1199px) {
    /* Small Desktops / Large Tablets */
    .hero-title { font-size: 40px; }
    .plans-compare-grid { gap: 20px; }
    .services-grid { gap: 20px; }

    /* Navigation Adjustments - Triggered early to prevent wrapping */
    .main-header { position: relative; z-index: 999; }
    .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1010; }
    .main-header .container { position: relative; height: 80px; justify-content: space-between; }
    .desktop-portal { display: none !important; }

    /* Professional Sidebar Mobile Menu (Right Sided) */
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 320px;
        max-width: 85vw;
        position: fixed;
        top: 0;
        right: -350px;
        bottom: 0;
        height: 100vh;
        max-height: none;
        background-color: var(--white);
        box-shadow: -5px 0 35px rgba(0,0,0,0.15);
        border: none;
        padding: 90px 25px 30px 25px;
        gap: 0;
        overflow-y: auto;
        z-index: 1000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 1;
        visibility: visible;
    }
    .nav-menu.active { right: 0; }
    .nav-item { width: 100%; align-items: flex-start; flex-direction: column; height: auto; }
    .nav-link { width: 100%; padding: 16px 5px; justify-content: flex-start; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 16px; font-weight: 600; color: var(--dark); }
    .nav-link:hover { color: var(--primary); padding-left: 10px; }
    .nav-item > .nav-link > i:last-child { margin-left: auto; }
    .nav-item.active .nav-link i.fa-chevron-down { transform: rotate(180deg); }
    
    /* Sub-menu Dropdowns */
    .dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 0 15px;
        display: none;
        opacity: 1;
        background-color: rgba(142, 84, 233, 0.02);
        border-left: 3px solid var(--primary-light);
        margin-top: 5px;
        margin-bottom: 10px;
        transition: none;
    }
    .nav-item.active .dropdown-menu { display: block; }
    .dropdown-link { padding: 12px 15px; width: 100%; font-size: 15px; color: var(--text-muted); font-weight: 500; white-space: normal; }
    .dropdown-link:hover { background-color: transparent; color: var(--primary); padding-left: 20px; font-weight: 600; }
    
    /* Mobile Client Portal Button */
    .mobile-portal-item { display: block !important; margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--border); width: 100%; }
}

@media (max-width: 991px) {
    /* Tablets */
    /* Layout Grids Stacking */
    .admin-layout-grid { grid-template-columns: 1fr; }
    .admin-sidebar-card { position: relative; top: 0; margin-bottom: 10px; }
    
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-image { text-align: center; margin-top: 10px; }
    .hero-tag { margin: 0 auto 20px auto; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .plans-compare-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .tutorials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .grid-cols-4, .grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
    .support-stats-container { flex-direction: column !important; text-align: center; gap: 30px !important; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 45px; }
    
    .dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; padding: 25px 20px; }
    .dashboard-menu { flex-direction: row; flex-wrap: wrap; gap: 15px; }
    .dashboard-menu-link { padding: 10px 15px; }
    .dashboard-navbar { justify-content: center; padding: 15px; height: auto; }
}

@media (max-width: 768px) {
    /* Mobile Phones */
    .top-header-left { display: none !important; }
    .top-header .container { justify-content: center; }
    
    .hero-title { font-size: 34px; }
    .section-title { font-size: 30px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .plans-compare-grid { grid-template-columns: 1fr; }
    .tutorials-grid { grid-template-columns: 1fr; }
    .wiki-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr !important; }
    .hero-stats { flex-direction: column !important; align-items: center !important; }
    .hero-actions { flex-direction: column !important; align-items: center !important; gap: 15px !important; width: 100%; }
    .hero-actions a { width: 100%; text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .cart-layout { grid-template-columns: 1fr; }
    
    .dashboard-stats { grid-template-columns: 1fr; gap: 20px; }
    .tld-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    
    .domain-result-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
    .domain-result-right { width: 100%; justify-content: space-between; }
    
    .cart-table th, .cart-table td { padding: 15px 10px; }
}

@media (max-width: 480px) {
    /* Small Phones */
    .hero-title { font-size: 28px; }
    .section-title { font-size: 26px; }
    .hero { padding: 60px 0; }
    
    .tld-pricing-grid { grid-template-columns: 1fr; }
    
    .cart-table { display: block; overflow-x: auto; white-space: nowrap; }
    .plan-price { font-size: 38px; }
    
    .service-card { padding: 25px; }
    .plan-compare-card { padding: 30px 20px; }
}

@media (max-width: 991px) { .location-list-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .location-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .location-list-grid { grid-template-columns: 1fr; } }

