/* ==========================================================================
   진주성닷컴 (Jinjusung.com) Premium Corporate Styling
   Theme: Deep Sea Blue & Secure Pearl Fortress
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Themes */
:root {
  /* Color Hues */
  --hue-ocean: 212;   /* Deep ocean blue */
  --hue-cyan: 190;    /* Electric cyan/teal */
  --hue-pearl: 45;    /* Warm pearl accent */

  /* Dark Theme Colors (Default) */
  --bg-main: hsl(var(--hue-ocean), 35%, 6%);
  --bg-section: hsl(var(--hue-ocean), 30%, 8%);
  --bg-card: hsla(var(--hue-ocean), 25%, 11%, 0.7);
  --bg-card-hover: hsla(var(--hue-ocean), 25%, 16%, 0.85);
  
  --border-color: hsla(var(--hue-ocean), 20%, 20%, 0.5);
  --border-color-glow: hsla(var(--hue-cyan), 80%, 50%, 0.3);
  
  --text-main: hsl(var(--hue-ocean), 15%, 90%);
  --text-muted: hsl(var(--hue-ocean), 10%, 65%);
  --text-inverse: hsl(var(--hue-ocean), 35%, 10%);
  
  --primary: hsl(var(--hue-ocean), 90%, 55%);
  --primary-glow: hsla(var(--hue-ocean), 90%, 55%, 0.4);
  --accent: hsl(var(--hue-cyan), 100%, 45%);
  --accent-glow: hsla(var(--hue-cyan), 100%, 45%, 0.45);
  --pearl: hsl(var(--hue-pearl), 100%, 96%);
  
  --header-bg: hsla(var(--hue-ocean), 35%, 6%, 0.75);
  --footer-bg: hsl(var(--hue-ocean), 35%, 4%);
  
  --glow-shadow: 0 0 25px hsla(var(--hue-cyan), 100%, 50%, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  /* Fonts */
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout Options */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Light Theme Colors Override */
[data-theme="light"] {
  --bg-main: hsl(var(--hue-ocean), 20%, 96%);
  --bg-section: hsl(var(--hue-ocean), 15%, 92%);
  --bg-card: hsla(var(--hue-ocean), 15%, 100%, 0.75);
  --bg-card-hover: hsla(var(--hue-ocean), 20%, 100%, 0.95);
  
  --border-color: hsla(var(--hue-ocean), 15%, 82%, 0.6);
  --border-color-glow: hsla(var(--hue-ocean), 90%, 55%, 0.2);
  
  --text-main: hsl(var(--hue-ocean), 35%, 15%);
  --text-muted: hsl(var(--hue-ocean), 20%, 45%);
  --text-inverse: hsl(var(--hue-ocean), 15%, 98%);
  
  --primary: hsl(var(--hue-ocean), 85%, 45%);
  --primary-glow: hsla(var(--hue-ocean), 85%, 45%, 0.2);
  --accent: hsl(var(--hue-ocean), 95%, 40%);
  --accent-glow: hsla(var(--hue-ocean), 95%, 40%, 0.25);
  --pearl: hsl(var(--hue-pearl), 30%, 90%);
  
  --header-bg: hsla(var(--hue-ocean), 20%, 96%, 0.8);
  --footer-bg: hsl(var(--hue-ocean), 25%, 10%);
  
  --glow-shadow: 0 0 25px hsla(var(--hue-ocean), 85%, 45%, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

/* Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #ffffff 10%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .text-gradient-primary {
  background: linear-gradient(135deg, var(--text-main) 10%, var(--primary) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 15px hsla(var(--hue-cyan), 100%, 50%, 0.3);
}

.section-padding {
  padding: 100px 0;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: hsla(var(--hue-cyan), 100%, 45%, 0.1);
  border: 1px solid hsla(var(--hue-cyan), 100%, 45%, 0.25);
  color: var(--accent);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Glassmorphism Standard */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-color-glow);
  box-shadow: var(--glass-shadow), var(--glow-shadow);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .navbar {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 15px var(--accent-glow);
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--accent);
  background: hsla(var(--hue-cyan), 100%, 45%, 0.05);
  transform: rotate(30deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}

/* CTA Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--pearl);
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--accent-glow), 0 0 15px hsla(var(--hue-cyan), 100%, 50%, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: hsla(var(--hue-ocean), 20%, 20%, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  background: hsla(var(--hue-ocean), 20%, 20%, 0.4);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Hamburger menu for Mobile */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition-fast);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(7, 14, 23, 0.4), var(--bg-main)), url('hero_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

[data-theme="light"] .hero {
  background-image: linear-gradient(to bottom, rgba(230, 238, 245, 0.6), var(--bg-main)), url('hero_banner.png');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, hsla(var(--hue-cyan), 100%, 45%, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, hsla(var(--hue-ocean), 90%, 55%, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

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

/* About Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  padding: 30px;
}

.about-card-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card-title svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}

.about-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shield Fortress Animation Mockup */
.shield-visual {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--hue-ocean), 90%, 55%, 0.1) 0%, transparent 70%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border: 1px dashed var(--border-color);
  border-radius: 50%;
  animation: rotateClockwise 30s linear infinite;
}

.ring-1 { width: 100%; height: 100%; }
.ring-2 { 
  width: 80%; 
  height: 80%; 
  border-style: solid;
  border-color: hsla(var(--hue-cyan), 100%, 45%, 0.15);
  animation: rotateCounterClockwise 20s linear infinite;
}
.ring-3 {
  width: 55%;
  height: 55%;
  border-color: var(--border-color);
}

.shield-core {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 35% 65% 55% 45% / 45% 45% 55% 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--accent-glow);
  color: white;
  animation: blobby 8s ease-in-out infinite;
}

.shield-core svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes blobby {
  0%, 100% { border-radius: 35% 65% 55% 45% / 45% 45% 55% 55%; }
  50% { border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%; }
}

/* Services Grid & Categories */
.services-section {
  background-color: var(--bg-section);
  position: relative;
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--pearl);
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

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

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: hsla(var(--hue-ocean), 90%, 55%, 0.1);
  border: 1px solid hsla(var(--hue-ocean), 90%, 55%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

[data-theme="light"] .service-icon-box {
  background: hsla(var(--hue-ocean), 90%, 55%, 0.08);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-color: transparent;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px var(--accent-glow);
}

.service-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.service-feature-item {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.service-feature-item svg {
  color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Timeline Flow Section */
.timeline-section {
  position: relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  width: 50%;
}

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

.timeline-item-left {
  left: 0;
  padding-right: 50px;
  text-align: right;
}

.timeline-item-right {
  left: 50%;
  padding-left: 50px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 4px solid var(--accent);
  z-index: 5;
  box-shadow: 0 0 15px var(--accent);
}

.timeline-item-left .timeline-dot {
  right: -10px;
}

.timeline-item-right .timeline-dot {
  left: -10px;
}

.timeline-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: hsla(var(--hue-cyan), 100%, 45%, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}

.timeline-content-card {
  padding: 30px;
}

.timeline-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Technical Competence (Tech Stack Grid) */
.tech-section {
  background-color: var(--bg-section);
  text-align: center;
}

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

.tech-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tech-card svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.tech-card:hover svg {
  color: var(--accent);
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.tech-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Us Section */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: hsla(var(--hue-cyan), 100%, 45%, 0.1);
  border: 1px solid hsla(var(--hue-cyan), 100%, 45%, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-panel {
  padding: 50px;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: hsla(var(--hue-ocean), 20%, 20%, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

[data-theme="light"] .form-input {
  background: hsla(var(--hue-ocean), 20%, 20%, 0.03);
}

.form-input:focus {
  border-color: var(--accent);
  background: hsla(var(--hue-ocean), 20%, 20%, 0.25);
  box-shadow: 0 0 12px var(--accent-glow);
}

[data-theme="light"] .form-input:focus {
  background: white;
}

.form-label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  pointer-events: none;
  font-size: 1rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 0.78rem;
  padding: 2px 8px;
  background: var(--bg-main);
  color: var(--accent);
  font-weight: 600;
  border-radius: 4px;
}

.form-checkbox-group {
  margin-bottom: 30px;
}

.form-checkbox-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.checkbox-btn {
  display: block;
  position: relative;
  cursor: pointer;
}

.checkbox-btn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  display: block;
  padding: 10px;
  text-align: center;
  background: hsla(var(--hue-ocean), 20%, 20%, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

[data-theme="light"] .checkbox-custom {
  background: hsla(var(--hue-ocean), 20%, 20%, 0.03);
}

.checkbox-btn input:checked ~ .checkbox-custom {
  background: hsla(var(--hue-cyan), 100%, 45%, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Toast/Success Modal */
.toast-success {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: hsla(var(--hue-cyan), 100%, 45%, 0.95);
  color: white;
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), var(--glow-shadow);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  font-weight: 600;
}

.toast-success.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer Section */
footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-column-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 20px;
}

/* Scroll Animation classes */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-item-left .timeline-dot, .timeline-item-right .timeline-dot {
    left: 10px;
    right: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .navbar {
    position: relative;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transition: var(--transition-smooth);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .contact-form-panel {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
