:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --text-primary: #1e1e2a;
  --text-secondary: #4a4a5a;
  --gold: #c6a15b;
  --gold-light: #e6c78b;
  --gold-dark: #a8863e;
  --border: #e9e4d9;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --card-bg: #ffffff;
  --footer-bg: #1a1a24;
  --footer-text: #d1d1db;
  --transition: all 0.3s ease;
}

body.dark-mode {
  --bg: #121218;
  --surface: #1e1e28;
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c0;
  --gold: #d9b87a;
  --gold-light: #f0d6a8;
  --gold-dark: #b89a5a;
  --border: #2d2d3a;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-bg: #1e1e28;
  --footer-bg: #0b0b10;
  --footer-text: #a0a0b0;
}

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

body {
  font-family: 'Actor', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.2s;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Actor', sans-serif;
  font-weight: 400;
  letter-spacing: 0; 
}

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

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--surface);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 40px;
  padding: 10px 16px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  backdrop-filter: blur(8px);
}

.theme-toggle i { font-size: 1.2rem; }
.theme-toggle span { font-size: 0.85rem; letter-spacing: 0.3px; color: var(--text-primary); }
.theme-toggle:hover { background: var(--gold); color: #1a1a2e; border-color: var(--gold); }
.theme-toggle:hover span { color: #1a1a2e; }

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 600px;
  overflow: hidden;
  background: #0f0f1a;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  padding-left: 8vw;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-1 { background-image: url('img/slider/image001.jpg'); }
.slide-2 { background-image: url('img/slider/image002.jpg'); }
.slide-3 { background-image: url('img/slider/image003.jpg'); }
.slide-4 { background-image: url('img/slider/image004.jpg'); }
.slide-5 { background-image: url('img/slider/image005.jpg'); }

.slide-content {
  text-align: left;
  color: white;
  width: 100%;
  max-width: 60%;
  z-index: 3;
}

.slide-content .badge {
  display: inline-block;
  background: var(--gold);
  color: #0b1a2e;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.slide-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.9), 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide-content h1 .gold-text { color: var(--gold-light); }

.slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  max-width: 90%;
  margin: 0 0 30px 0;
  color: #f0f4fa;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.9), 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-btn {
  display: inline-block;
  background: var(--gold);
  color: #0b1a2e;
  font-weight: 400;
  padding: 12px 36px;
  border-radius: 60px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 10px 25px -5px rgba(198, 161, 91, 0.4);
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,255,255,0.2);
}

.slide-btn:hover {
  background: var(--gold-light);
  transform: scale(1.05);
  box-shadow: 0 14px 30px -5px rgba(198, 161, 91, 0.6);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  border: 1px solid rgba(198, 161, 91, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: var(--gold);
  color: #0b1a2e;
  border-color: var(--gold);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
  border-color: var(--gold);
}

/* Stats */
.impact-stats {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 40px;
  margin-top: -50px;
  position: relative;
  z-index: 20;
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  transition: background 0.3s, border 0.3s;
}

.stat-item { text-align: center; flex: 1 1 140px; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  display: inline-block;
}

.stat-symbol {
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Titles */
.section-title {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--gold);
  border-radius: 10px;
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .profile-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
}

.profile-card {
  background: var(--card-bg);
  padding: 32px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: background 0.3s, border 0.3s, transform 0.3s;
}

.profile-card:hover { transform: translateY(-5px); }

.profile-card h3 {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.profile-card .subhead {
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 20px;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.profile-card p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.profile-list-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.profile-list-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 15px -5px rgba(198, 161, 91, 0.2);
  transform: translateX(5px);
}

.profile-list-item .icon-box {
  background: var(--surface);
  color: var(--gold);
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.profile-list-item .text-box h5 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 400;
}

.profile-list-item .text-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.competency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.competency-tags span {
  background: var(--bg);
  color: var(--text-primary);
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  transition: 0.2s;
  border: 1px solid var(--border);
}

.competency-tags span:hover {
  background: var(--gold);
  color: #1a1a2e;
  border-color: var(--gold);
}

/* Metrics */
.it-metrics-section { margin: 60px 0; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.metric-box {
  background: var(--card-bg);
  padding: 30px 24px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metric-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.15);
}

.metric-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.highlight-gold::before { background: #f1c40f; }
.highlight-green::before { background: #2ecc71; }
.highlight-blue::before { background: #3498db; }
.highlight-red::before { background: #e74c3c; }

.metric-box i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 15px;
  opacity: 0.9;
}

.metric-box .m-val {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.metric-box .m-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Achievements */
.achievement-showcase {
  background: var(--surface);
  border-radius: 40px;
  padding: 48px 40px;
  margin: 50px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: background 0.3s, border 0.3s;
}

.achieve-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.achieve-text { flex: 1 1 500px; }

.achieve-text h2 {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.achieve-text h2 i {
  color: var(--gold);
  margin-right: 10px;
}

.achieve-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 10px;
}

.savings-badge i { color: var(--gold); }

.testimonial-mini {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--gold);
  flex: 0 1 420px;
  border: 1px solid var(--border);
  border-left-width: 6px;
  transition: background 0.3s, border 0.3s;
}

.testimonial-mini i {
  color: var(--gold);
  font-size: 2rem;
  opacity: 0.5;
  margin-bottom: 12px;
}

.testimonial-mini p {
  font-style: italic;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-mini h4 {
  font-weight: 400;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.testimonial-mini span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Key Contributions */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px 0 60px;
}

@media (min-width: 640px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .exp-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.exp-card {
  background: var(--card-bg);
  padding: 30px 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.metric-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gold);
  color: #1a1a2e;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(198, 161, 91, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exp-card i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 18px;
  transition: transform 0.3s;
  margin-top: 10px;
}

.exp-card:hover i { transform: scale(1.1) rotate(5deg); }

.exp-card h4 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.exp-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Numbers Strip */
.numbers-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  background: var(--bg);
  border-radius: 36px;
  padding: 40px 36px;
  margin: 40px 0;
  border: 1px solid var(--border);
  transition: background 0.3s, border 0.3s;
}

.numbers-strip > div { flex: 1; min-width: 160px; }

.numbers-strip .big-num {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold);
  display: inline-block;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 32px;
  margin-top: 80px;
  border-radius: 40px 40px 0 0;
  transition: background 0.3s;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-links { 
    flex-direction: row; 
    justify-content: space-between; 
    gap: 20px; 
    flex-wrap: wrap; 
  }
  .footer-col {
    flex: 1 1 200px; /* Adjusts to fit 4 columns */
  }
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 22px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 16px; }

.footer-col ul li a {
  color: var(--footer-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  transition: 0.2s;
}

.footer-col ul li a i {
  color: var(--gold);
  font-size: 0.9rem;
  width: 18px;
}

.footer-col ul li a:hover { color: var(--gold-light); transform: translateX(3px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--footer-text);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .slide { padding-left: 24px; padding-right: 24px; }
  .slide-content { max-width: 90%; }
  .slide-content p { max-width: 100%; }
  .slider-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .metric-badge { font-size: 0.75rem; padding: 3px 10px; }
}

@media (max-width: 500px) {
  .slide-content h1 { font-size: 2.2rem; }
  .section-title { font-size: 2.2rem; }
  .achieve-text h2 { font-size: 2.2rem; }
  .exp-card h4 { font-size: 1.3rem; }
  .footer-col h4 { font-size: 1.2rem; }
  .stat-number { font-size: 2.2rem; }
  .stat-symbol { font-size: 1.6rem; }
  .theme-toggle { top: 12px; right: 12px; padding: 8px 12px; font-size: 1rem; }
  .theme-toggle span { font-size: 0.75rem; }
  .achievement-showcase { padding: 32px 20px; }
  .numbers-strip { padding: 30px 20px; }
  .container { padding: 0 16px; }
  .metric-box .m-val { font-size: 1.8rem; }
}