/* ===== GLOBAL SECTION STYLES ===== */
.section-grid { position: relative; overflow: hidden; }
.section-grid::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}
.section-grid::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.section-grid > .container { position: relative; z-index: 1; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  color: var(--success); margin-bottom: 24px;
}
.hero-badge .pulse { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.hero h1 { font-size: clamp(36px,5vw,52px); font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.hero .subtitle { font-size: 22px; font-weight: 300; color: var(--accent-cyan); margin-bottom: 20px; }
.hero p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 800; color: var(--accent); display: block; }
.hero-stat .lbl { font-size: 12px; color: var(--text-muted); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-terminal {
  background: rgba(10,22,40,0.8); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; width: 100%; max-width: 400px;
  font-family: 'Courier New', monospace; font-size: 13px; box-shadow: var(--shadow-glow);
  text-align: left;
}
.terminal-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--glass-border); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot:nth-child(1) { background: #EF4444; }
.terminal-dot:nth-child(2) { background: #F59E0B; }
.terminal-dot:nth-child(3) { background: #10B981; }
.terminal-line { margin-bottom: 6px; color: var(--text-secondary); line-height: 1.5; }
.terminal-line .prompt { color: var(--success); }
.terminal-line .cmd { color: var(--text); }
.terminal-line .output { color: var(--accent-cyan); }
.terminal-line .comment { color: var(--text-muted); }
.terminal-cursor { display: inline-block; width: 8px; height: 16px; background: var(--accent); animation: blink 1s infinite; vertical-align: middle; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ===== ABOUT (NETWORK ANIMATION) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.network-anim-container {
  position: relative; width: 320px; height: 320px; margin: 0 auto;
  border-radius: 50%; border: 1px dashed rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
}
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.net-core {
  width: 80px; height: 80px; background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: white; z-index: 10; box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}
.net-node {
  position: absolute; width: 44px; height: 44px; background: var(--primary);
  border: 1px solid var(--glass-border); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 5; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: var(--transition);
}
.net-node:hover { border-color: var(--accent); box-shadow: 0 0 15px rgba(59,130,246,0.3); transform: scale(1.1); }
.net-node .icon { font-size: 16px; }
.net-node .label { position: absolute; bottom: -22px; font-size: 11px; color: var(--text-secondary); white-space: nowrap; font-weight: 500; }

.n1 { top: -22px; left: 138px; }
.n2 { top: 43px; left: 273px; }
.n3 { top: 233px; left: 273px; }
.n4 { top: 298px; left: 138px; }
.n5 { top: 233px; left: 3px; }
.n6 { top: 43px; left: 3px; }

.packet { position: absolute; width: 6px; height: 6px; border-radius: 50%; z-index: 8; opacity: 0; }
@keyframes pMove1 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: -3px; left: 157px; opacity: 0; } }
@keyframes pMove2 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: 62px; left: 292px; opacity: 0; } }
@keyframes pMove3 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: 252px; left: 292px; opacity: 0; } }
@keyframes pMove4 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: 317px; left: 157px; opacity: 0; } }
@keyframes pMove5 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: 252px; left: 22px; opacity: 0; } }
@keyframes pMove6 { 0% { top: 157px; left: 157px; opacity: 1; } 100% { top: 62px; left: 22px; opacity: 0; } }
@keyframes pMove7 { 0% { top: -3px; left: 157px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from Cloud */
@keyframes pMove8 { 0% { top: 62px; left: 292px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from VPN */
@keyframes pMove9 { 0% { top: 252px; left: 292px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from Servers */
@keyframes pMove10 { 0% { top: 317px; left: 157px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from CCTV */
@keyframes pMove11 { 0% { top: 252px; left: 22px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from IoT */
@keyframes pMove12 { 0% { top: 62px; left: 22px; opacity: 1; } 100% { top: 157px; left: 157px; opacity: 0; } } /* Incoming from Smart */

.p1 { animation: pMove1 1.5s infinite linear; background: var(--success); box-shadow: 0 0 10px var(--success); }
.p2 { animation: pMove2 2.2s infinite linear 0.4s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.p3 { animation: pMove3 1.8s infinite linear 0.8s; background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.p4 { animation: pMove4 2s infinite linear 0.2s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.p5 { animation: pMove5 1.7s infinite linear 0.6s; background: var(--success); box-shadow: 0 0 10px var(--success); }
.p6 { animation: pMove6 2.5s infinite linear 0.1s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.p7 { animation: pMove7 1.4s infinite linear 0.9s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.p8 { animation: pMove8 2.1s infinite linear 1.2s; background: var(--success); box-shadow: 0 0 10px var(--success); }
.p9 { animation: pMove9 1.9s infinite linear 0.3s; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.p10 { animation: pMove10 2.4s infinite linear 1.5s; background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.p11 { animation: pMove11 1.6s infinite linear 0.7s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.p12 { animation: pMove12 2.3s infinite linear 1.1s; background: var(--success); box-shadow: 0 0 10px var(--success); }
.about-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.about-highlights { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* ===== EXPERTISE ===== */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.expertise-card { position: relative; overflow: hidden; }
.expertise-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
  opacity: 0; transition: var(--transition);
}
.expertise-card:hover::before { opacity: 1; }
.expertise-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(59,130,246,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}
.expertise-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.expertise-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.expertise-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.project-card .project-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.project-number { font-size: 36px; font-weight: 800; color: rgba(59,130,246,0.2); }
.project-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.project-metrics { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--glass-border); }
.metric { text-align: center; }
.metric .val { font-size: 18px; font-weight: 700; color: var(--accent); display: block; }
.metric .lbl { font-size: 11px; color: var(--text-muted); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { cursor: pointer; }
.blog-date { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; transition: var(--transition); }
.blog-card:hover h3 { color: var(--accent); }
.blog-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.blog-card .read-more { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ===== CERTIFICATIONS ===== */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cert-card { text-align: center; }
.cert-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.cert-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cert-card .cert-org { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.cert-card p { font-size: 13px; color: var(--text-secondary); }
.progress-bar { height: 6px; background: rgba(59,130,246,0.1); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-cyan)); border-radius: 3px; transition: width 1s ease; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(59,130,246,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.contact-form {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 36px; backdrop-filter: blur(20px);
}
