* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4f8;
    color: #1a1a2e;
    position: relative;
}

/* Background overlay for user uploaded images */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('Gaming.jpg'), url('GPU.jpg'), url('Nas.jpg');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.logo-text {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: #bbb;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,20,40,0.8)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1400');
    background-size: cover;
    background-position: center;
}

.hero-content {
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero h1 span {
    color: #00d4ff;
}

.hero p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 30px;
    max-width: 550px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,212,255,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    margin-left: 10px;
}

.btn-outline:hover {
    background: #00d4ff;
    color: #000;
}

/* Network Animation */
.network-animation {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.network-title h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

.data-flow {
    position: relative;
    height: 120px;
    margin: 30px 0;
}

.cable-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0066ff, #00d4ff);
    border-radius: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.data-packet {
    position: absolute;
    top: 35%;
    background: #00d4ff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    white-space: nowrap;
    animation: moveData 3s infinite;
}

.packet1 { left: 10%; animation-delay: 0s; }
.packet2 { left: 10%; animation-delay: 1s; }
.packet3 { left: 10%; animation-delay: 2s; }

@keyframes moveData {
    0% { left: 10%; opacity: 1; transform: translateX(0); }
    90% { left: 80%; opacity: 1; transform: translateX(0); }
    100% { left: 80%; opacity: 0; transform: translateX(0); }
}

.server-left {
    position: absolute;
    left: 5%;
    top: 60%;
    font-size: 14px;
    color: #1a1a2e;
}

.server-right {
    position: absolute;
    right: 5%;
    top: 60%;
    font-size: 14px;
    color: #1a1a2e;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 60px 0 15px;
    color: #1a1a2e;
}

.section-title span {
    color: #00d4ff;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Brand Strip */
.brand-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    padding: 35px 0;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    margin: 40px 0;
}

.brand-item {
    text-align: center;
    transition: all 0.3s;
}

.brand-item:hover {
    transform: translateY(-3px);
}

.brand-item .brand-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.brand-item .brand-sub {
    display: block;
    font-size: 0.7rem;
    color: #666;
}

/* NAS Section */
.nas-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nas-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nas-text {
    flex: 1;
}

.nas-text ul {
    list-style: none;
    margin: 20px 0;
}

.nas-text ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nas-text ul li i {
    color: #00d4ff;
}

.nas-image {
    flex: 1;
}

.nas-image img {
    width: 100%;
    border-radius: 16px;
}

.nas-btn {
    margin-top: 20px;
}

/* Safety Warning - Compact & Centered */
.safety-warning-center {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
}

.safety-warning-center i {
    color: #ffc107;
    font-size: 1.2rem;
}

.safety-warning-center span {
    color: #856404;
    font-size: 0.85rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.video-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.video-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    position: absolute;
    font-size: 48px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 0.8;
    transition: all 0.3s;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    color: #1a1a2e;
    margin-bottom: 5px;
}

.video-info p {
    color: #666;
    font-size: 0.8rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #00d4ff;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.service-card p {
    font-size: 0.75rem;
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #111;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 15px 12px;
    font-size: 0.85rem;
    color: #00d4ff;
    font-weight: 500;
}

/* Hardware Grid */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hardware-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.hardware-card:hover {
    transform: translateY(-3px);
    border-color: #00d4ff;
}

.hardware-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.hardware-card h4 {
    font-size: 0.9rem;
    color: #1a1a2e;
}

/* RAM Details */
.ram-details {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0 40px;
    text-align: center;
}

.ram-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.ram-btn {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.ram-btn:hover {
    transform: scale(1.05);
}

.ram-info {
    margin-top: 20px;
    padding: 15px;
    background: #f0f4f8;
    border-radius: 12px;
    text-align: left;
}

/* Laptops Grid */
.laptops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.laptop-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.laptop-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.laptop-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.laptop-info {
    padding: 15px;
}

.laptop-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.laptop-specs {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 6px;
}

.laptop-price {
    font-size: 0.8rem;
    color: #00d4ff;
    margin-top: 10px;
    font-weight: 500;
}

/* Software */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.software-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.software-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.software-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-card h4 {
    font-size: 0.85rem;
    color: #1a1a2e;
}

.software-card p {
    font-size: 0.65rem;
    color: #888;
    margin-top: 5px;
}

/* Chat Widget */
.techdoctor-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,212,255,0.4);
}

.techdoctor-chat-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    height: 550px;
    background: #0a0a0f;
    border-radius: 16px;
    z-index: 9999;
    flex-direction: column;
    border: 1px solid rgba(0,212,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.techdoctor-chat-header {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.techdoctor-chat-close {
    cursor: pointer;
    font-size: 20px;
}

.techdoctor-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #0f0f14;
}

.techdoctor-message-user {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    padding: 10px 14px;
    border-radius: 18px 18px 4px 18px;
    margin-bottom: 12px;
    max-width: 80%;
    margin-left: auto;
    word-wrap: break-word;
}

.techdoctor-message-bot {
    background: #1a1a24;
    color: #e0e0e0;
    padding: 10px 14px;
    border-radius: 18px 18px 18px 4px;
    margin-bottom: 12px;
    max-width: 80%;
    border: 1px solid rgba(0,212,255,0.1);
    word-wrap: break-word;
}

.whatsapp-link {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 8px;
    font-size: 12px;
    cursor: pointer;
}

.techdoctor-chat-input-area {
    padding: 12px;
    background: #0a0a0f;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.techdoctor-chat-input {
    flex: 1;
    padding: 10px 14px;
    background: #1a1a24;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    color: white;
    outline: none;
}

.techdoctor-chat-input:focus {
    border-color: #00d4ff;
}

.techdoctor-chat-send {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 8px 0;
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .techdoctor-chat-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        height: 70vh;
        bottom: 80px;
    }
    .nas-content {
        flex-direction: column;
    }
    .data-packet {
        font-size: 8px;
    }
    .safety-warning-center {
        margin: 20px;
        padding: 10px 15px;
    }
}