/*
Theme Name: Amanah Host
Theme URI: https://amanahhost.com
Author: Amanah Host
Author URI: https://amanahhost.com
Description: Amanah Host - ব্যবসার জন্য পেশাদার ওয়েব হোস্টিং থিম
Version: 1.0.0
License: GPL v2 or later
Text Domain: amanahhost
*/

/* ============================================
   রিসেট ও বেসিক স্টাইল
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   টপ বার
   ============================================ */
#top-bar {
    background: #0f172a;
    color: #f8fafc;
    padding: 10px 0;
    font-size: 14px;
}

#top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left span i {
    margin-right: 8px;
    color: #059669;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-right a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: #059669;
}

.top-btn {
    background: #059669;
    padding: 5px 15px;
    border-radius: 20px;
}

.top-btn:hover {
    background: #047857;
    color: white !important;
}

/* ============================================
   নেভিগেশন
   ============================================ */
#main-nav {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #059669;
}

.nav-cta {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-outline, .btn-primary {
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-outline {
    border: 2px solid #059669;
    color: #059669;
    background: transparent;
}

.btn-outline:hover {
    background: #059669;
    color: white;
}

.btn-primary {
    background: #059669;
    color: white;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #0f172a;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ============================================
   হিরো সেকশন
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5,150,105,0.1);
    padding: 8px 20px;
    border-radius: 40px;
    color: #059669;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #059669, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-outline {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hero-primary {
    background: #059669;
    color: white;
}

.btn-hero-primary:hover {
    background: #047857;
    transform: translateY(-2px);
}

.btn-hero-outline {
    border: 2px solid #059669;
    color: #059669;
    background: transparent;
}

.btn-hero-outline:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

.server-card-3d {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 30px;
    padding: 30px;
    position: relative;
}

.server-top {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.server-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.server-light.green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.server-light.yellow {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.server-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.server-unit {
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.server-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}

.server-status.active {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.server-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.server-bar-fill {
    height: 100%;
    background: #059669;
    border-radius: 3px;
}

.float-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.float-card i {
    font-size: 24px;
    color: #059669;
}

.float-card strong {
    display: block;
    font-size: 14px;
}

.float-card span {
    font-size: 11px;
    color: #64748b;
}

.card-1 { top: -20px; right: -20px; }
.card-2 { bottom: 80px; left: -30px; }
.card-3 { bottom: -20px; right: 30px; }

/* ============================================
   স্ট্যাটস বার
   ============================================ */
.stats-bar {
    background: white;
    padding: 40px 0;
    margin-top: 60px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(5,150,105,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #059669;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
}

/* ============================================
   সার্ভিস সেকশন
   ============================================ */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(5,150,105,0.1);
    color: #059669;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(5,150,105,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #059669;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-service {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.btn-service:hover {
    gap: 12px;
}

/* ============================================
   হোয়াই চুজ সেকশন
   ============================================ */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    text-align: center;
    padding: 35px 25px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(5,150,105,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i {
    font-size: 32px;
    color: #059669;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.why-card p {
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   ফুটার
   ============================================ */
.main-footer {
    background: #020617;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

/* ============================================
   রেসপন্সিভ ডিজাইন
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .btn-hero-primary, .btn-hero-outline {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .float-card {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-bar-left, .top-bar-right {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
}

/* প্রিন্ট স্টাইল */
@media print {
    .hero-btns, .nav-cta, .mobile-toggle, .footer-bottom-links {
        display: none;
    }
}

/* সুপার কমপ্যাক্ট ভার্সন - সবকিছু ছোট */
.nav-logo img,
.custom-logo-link img {
    max-height: 35px !important;
}

.nav-menu > li > a {
    font-size: 13px !important;
}

.hero-text h1 {
    font-size: 36px !important;
}

.section-header h2 {
    font-size: 28px !important;
}

.service-card h3 {
    font-size: 18px !important;
}

.stat-number {
    font-size: 24px !important;
}

.stat-icon {
    width: 45px !important;
    height: 45px !important;
}

@media (max-width: 768px) {
    .nav-logo img,
    .custom-logo-link img {
        max-height: 28px !important;
    }
    
    .hero-text h1 {
        font-size: 24px !important;
    }
    
    .section-header h2 {
        font-size: 22px !important;
    }
}

/* ============================================
   লোগো এবং মেনু ঠিক করা - স্ক্রল সমস্যা সমাধান
   ============================================ */

/* নেভিগেশন ঠিক করা */
#main-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    width: 100% !important;
}

/* লোগো সাইজ ঠিক করা */
.nav-logo img,
.custom-logo-link img {
    max-height: 35px !important;
    width: auto !important;
    margin: 0 !important;
}

.nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

/* মেনু আইটেম */
.nav-menu {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu > li > a {
    font-size: 13px !important;
    padding: 8px 0 !important;
}

/* CTA বাটন */
.nav-cta {
    display: flex !important;
    gap: 10px !important;
}

/* মোবাইলে CTA বাটন লুকান */
@media (max-width: 768px) {
    .nav-cta {
        display: none !important;
    }
    
    .nav-logo img {
        max-height: 30px !important;
    }
}

/* টপ বার ঠিক করা */
#top-bar {
    position: relative;
    z-index: 1001;
}

/* স্ক্রল হলে মেনু ঠিক থাকবে */
body {
    padding-top: 0 !important;
}

.admin-bar #main-nav {
    top: 32px !important;
}

@media (max-width: 782px) {
    .admin-bar #main-nav {
        top: 46px !important;
    }
}