/* Base Styles */
.cfo-body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Financial Background */
.data-visualization-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.15;
}

.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 119, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.currency-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.currency-particle {
  position: absolute;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: rgba(0, 119, 182, 0.3);
  animation: floatUp linear infinite;
}

/* Main Container */
.cfo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

/* Executive Header */
.cfo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.cfo-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, #0077b6, #00b4d8);
}

.executive-badge {
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

.executive-badge span {
  font-weight: 700;
  color: #0077b6;
  font-size: 1.2rem;
}

.executive-name {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.executive-name span {
  display: block;
  background: linear-gradient(90deg, #0077b6, #1a659e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.executive-tenure {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tenure-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0077b6;
}

.tenure-label {
  font-size: 1.2rem;
  color: #64748b;
}

.financial-metrics {
  display: flex;
  gap: 30px;
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0077b6;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Financial Dashboard */
.financial-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.dashboard-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.dashboard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #0077b6;
}

.dashboard-heading i {
  font-size: 2rem;
}

.financial-chart {
  height: 300px;
  margin-top: 30px;
}

.initiatives-list {
  display: grid;
  gap: 20px;
}

.initiative {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(0, 119, 182, 0.05);
  transition: all 0.3s ease;
}

.initiative:hover {
  background: rgba(0, 119, 182, 0.1);
  transform: translateX(10px);
}

.initiative-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.initiative-content h3 {
  color: #0077b6;
  margin-bottom: 5px;
}

/* Philosophy Section */
.philosophy-section {
  margin-bottom: 80px;
}

.philosophy-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-visual {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
}

#financialSphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h2 {
  font-size: 2rem;
  color: #0077b6;
  margin-bottom: 30px;
}

blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 5rem;
  color: rgba(0, 119, 182, 0.1);
  z-index: -1;
}

cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #0077b6;
  margin-top: 15px;
}

.signature {
  margin-top: 0px;
}

.signature img {
  height: 80px;
}

/* Footer */
.cfo-footer {
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
}

/* Animations */
@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .philosophy-card {
    grid-template-columns: 1fr;
  }
  
  .card-visual {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .cfo-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  
  .financial-dashboard {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card {
    padding: 30px;
  }
  
  .executive-name {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .executive-name {
    font-size: 2rem;
  }
  
  .financial-metrics {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .philosophy-card {
    border-radius: 15px;
  }
  
  .card-content {
    padding: 25px;
  }
  
  blockquote {
    font-size: 1.2rem;
  }
}