/* ============================================
   PROFESSIONAL ENGINEERING PORTFOLIO
   ============================================ */

:root {
  /* Primary Colors */
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0d1b2a;
  --primary-rgba: rgba(26, 54, 93, 0.1);
  
  /* Accent Colors */
  --accent: #e63946;
  --accent-light: #ff6b6b;
  --accent-dark: #c1121f;
  --accent-rgba: rgba(230, 57, 70, 0.1);
  
  /* Neutral Colors - Light Mode */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #edf2f7;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  
  /* Functional */
  --success: #38a169;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-light: #0d1117;
  --bg-white: #161b22;
  --bg-alt: #21262d;
  --text-dark: #f0f6fc;
  --text-muted: #8b949e;
  --text-light: #6e7681;
  --border: #30363d;
  --primary-rgba: rgba(56, 139, 253, 0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header h2 {
  border: none;
  padding: 0;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-logo i {
  color: var(--accent);
}

.nav-logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-rgba);
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

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

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
  margin-right: 12px;
}

.theme-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

[data-theme="dark"] .theme-toggle {
  background: var(--bg-alt);
  color: var(--text-dark);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--accent);
  color: white;
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-right: 8px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.badge i {
  font-size: 0.9rem;
  color: var(--primary);
}

.badge-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border: none;
}

.badge-accent i {
  color: white;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 50%, #2c5282 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: white;
  bottom: -50px;
  left: -50px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-light);
  top: 40%;
  left: 30%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: white;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content .subhead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  border-left: none;
  padding-left: 0;
  background: transparent;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.highlight-icon {
  color: var(--accent-light);
  margin-right: 8px;
}

.highlight {
  color: var(--accent-light);
  font-weight: 700;
}

.badge-group {
  margin-bottom: 1.5rem;
}

.badge-group .badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.badge-group .badge i {
  color: var(--accent-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Hero Photo */
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-wrapper {
  position: relative;
  width: 200px;
  height: 300px;
}

.photo-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #2c5282, #1a365d);
}

.photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c5282, #1a365d);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

.photo-caption {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-white);
}

.section-alt {
  background: var(--bg-light);
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-card > p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--success);
  font-size: 0.85rem;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0;
}

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

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

.stat-banner-item i {
  font-size: 2.5rem;
  color: var(--accent-light);
}

.stat-banner-content {
  display: flex;
  flex-direction: column;
}

.stat-banner-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.stat-banner-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   LAYOUT
   ============================================ */
.two-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.col-main, .col-sidebar {
  min-width: 0;
}

/* Check List */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.check-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success);
}

/* CTA Box */
.cta-box {
  margin-top: 2rem;
}

/* ============================================
   CARDS
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.skill-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.25rem;
}

.skill-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.skill-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-right: 6px;
  margin-bottom: 4px;
}

/* Result Card */
.result-card {
  background: linear-gradient(135deg, #f0fff4, #c6f6d5);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #9ae6b4;
}

.result-icon {
  font-size: 2.5rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.result-list {
  list-style: none;
}

.result-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(56, 161, 105, 0.2);
  color: var(--text-muted);
}

.result-list li:last-child {
  border-bottom: none;
}

.result-list li i {
  color: var(--success);
  margin-right: 8px;
}

.result-list strong {
  color: var(--primary-dark);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  background: var(--accent-rgba);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.project-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags span {
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question i {
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 80px 0;
}

.contact-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.contact-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.contact-title i {
  color: var(--accent-light);
  margin-right: 10px;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon i {
  font-size: 1.25rem;
  color: var(--accent-light);
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-content a,
.contact-detail-content span {
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.contact-location i {
  color: var(--accent-light);
  margin-right: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--accent);
  margin-right: 8px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-services li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
  color: var(--accent-light);
  width: 20px;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.footer-credentials {
  font-size: 0.85rem;
  color: var(--accent-light);
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-study {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.case-study-alt {
  background: var(--bg-light);
}

.case-study-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.case-study-alt .case-study-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.case-study-number {
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.3;
  line-height: 1;
}

.case-study-title-wrap {
  flex: 1;
}

.case-study-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.case-study-header h3 {
  color: white;
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.4;
}

.case-study-content {
  padding: 2rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.case-study-main h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.case-study-main h4:first-child {
  margin-top: 0;
}

.case-study-main h4 i {
  color: var(--accent);
}

.case-study-main p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.case-study-list {
  list-style: none;
  margin: 1rem 0;
}

.case-study-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.case-study-list li:last-child {
  border-bottom: none;
}

.case-study-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 0.9rem;
}

.case-study-stats {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.case-study-stats h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.case-study-stats h5 i {
  color: var(--accent);
}

.case-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.case-stat:last-child {
  border-bottom: none;
}

.case-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

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

.case-study-meta {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.case-study-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.case-study-meta .meta-item i {
  color: var(--accent);
  width: 18px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-photo {
    order: -1;
  }
  
  .two-columns {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-stats {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
  }
  
  .nav-cta {
    margin: 8px 0;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .services-grid,
  .skills-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    padding: 0 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .case-study-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .case-study-number {
    font-size: 2rem;
  }
  
  .case-study-header h3 {
    font-size: 1.2rem;
  }
  
  .case-study-content {
    padding: 1.5rem;
  }
  
  .case-study-stats {
    padding: 1rem;
  }
  
  .case-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .photo-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }
  
  .badge-group .badge {
    width: 100%;
    justify-content: center;
  }
  
  section {
    padding: 60px 0;
  }
}
