/* ==========================================================================
   CYBERSECURITY PORTFOLIO - MODERN PROFESSIONAL STYLES
   Primary Accent Color: #c1dce6 & White Theme
   ========================================================================== */

:root {
  --primary: #c1dce6;
  --primary-dark: #97c6d9;
  --primary-deep: #4a94b3;
  --primary-light: #f0f7fa;
  --accent-blue: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.12);
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-highlight: #b2d6e5;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(74, 148, 179, 0.2);
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography & General Classes */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.sub-heading {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-deep);
  background-color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-highlight);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.heading-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-blue) 100%);
  margin: 16px auto 48px auto;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-main);
  border: 1px solid var(--primary-dark);
  box-shadow: 0 4px 14px rgba(193, 220, 230, 0.6);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(151, 198, 217, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-deep);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-main);
  border-radius: 12px;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(193, 220, 230, 0.5);
}

.logo-text .highlight {
  color: var(--primary-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-deep);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Marquee Ticker Banner (Metub Inspired) */
.marquee-ticker {
  width: 100%;
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  padding: 12px 0;
  margin-top: 80px;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-main);
  white-space: nowrap;
}

.ticker-item i {
  color: var(--primary-deep);
  margin-right: 8px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero-section {
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 20%, rgba(193, 220, 230, 0.35) 0%, rgba(255, 255, 255, 1) 70%);
}

.hero-content {
  max-width: 850px;
  margin: 60px auto 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-white);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.stat-card {
  text-align: center;
  padding: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after {
  content: '+';
}

.stat-card:nth-child(2) .stat-number::after {
  content: '%';
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  background-color: var(--bg-slate);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.profile-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 36px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.avatar-icon {
  font-size: 4rem;
  color: var(--primary-deep);
}

.profile-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065f46;
  background-color: #d1fae5;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.profile-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-slate);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--text-main);
  transform: translateY(-3px);
}

.about-heading {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-text-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.key-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  background-color: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Skills Section */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-category-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.skill-category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.skill-list li {
  margin-bottom: 18px;
}

.skill-list li:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.skill-percent {
  color: var(--primary-deep);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-slate);
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-deep) 100%);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Projects Section */
.projects-section {
  background-color: var(--bg-slate);
}

.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: var(--text-main);
  border-color: var(--primary-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-highlight);
}

.project-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background-color: var(--primary-light);
  color: var(--primary-deep);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-highlight);
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-right: 80px;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech span {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--bg-slate);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
}

.project-links {
  display: flex;
  gap: 12px;
}

/* Timeline Section */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 3px;
  background-color: var(--primary-dark);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 3px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 4px solid var(--bg-white);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-deep);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timeline-content ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-deep);
  font-weight: bold;
}

/* Certifications Section */
.cert-section {
  background-color: var(--bg-slate);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--primary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cert-details h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.cert-issuer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cert-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3, .contact-form h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.info-list {
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.cv-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--primary-light);
  border: 1px solid var(--border-highlight);
  padding: 20px;
  border-radius: var(--radius-card);
}

.pdf-big-icon {
  font-size: 2.2rem;
  color: #dc2626;
}

.cv-download-card h4 {
  font-size: 1rem;
  font-weight: 800;
}

.cv-download-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styling */
.contact-form-wrapper {
  background-color: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-slate);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-deep);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-alert {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.form-alert.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.hidden {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: #94a3b8;
  padding: 60px 0 30px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #334155;
  margin-bottom: 30px;
}

.footer-brand .nav-logo {
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background-color: var(--primary);
  color: var(--text-main);
}

.footer-bottom {
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .about-grid, .contact-grid, .projects-grid, .skills-categories, .cert-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
