/* Brochure Page Styles */

/* Base Styles */
.brochure-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
}

.brochure-section {
  margin-bottom: 60px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}


/* Expertise heading styling to match Advisory */
.expertise-heading {
  font-family: 'gibson-impact', sans-serif;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  font-size: 5em;
  -webkit-text-stroke: 0.05em #111;
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0.12em rgba(0,0,0,0.9);
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
  background-image: url('../images/expertise-background.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  padding-top: 0.25em;
  padding-left: 0.25em;
}


/* Summary Section */
.summary-section {
  background-color: #f9f9f9;
}

.summary-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 10px;
}

.summary-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4ca1af;
}

.summary-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Skills & Education Section */
.skills-section {
  padding: 40px;
  background-color: #fff;
}

.skills-education-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Skills Container */
.skills-container {
  flex: 1;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.skill-category {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid #4ca1af;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

.skill-category h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4ca1af;
}

.skill-category ul {
  padding-left: 20px;
  margin-top: 15px;
}

.skill-category li {
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
}

.skill-category li:before {
  content: '•';
  color: #4ca1af;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Education Container */
.education-container {
  margin-top: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.education-content {
  margin-top: 20px;
}

.education-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.education-icon {
  flex: 0 0 50px;
  height: 50px;
  background-color: #4ca1af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
}

.education-details {
  flex: 1;
}

.education-details h3 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1.2rem;
}

.education-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}


/* Timeline Section */
.timeline-section {
  padding: 40px;
  background-color: #f9f9f9;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px;
  width: 4px;
  background: linear-gradient(to bottom, #4caf50 0%, #4caf50 33.33%, #4ca1af 33.33%, #4ca1af 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
}

.timeline-date {
  width: 120px;
  padding-right: 20px;
  text-align: right;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

/* Style for the first timeline item date (Feb 2023 - Present) */
.timeline-item:first-child .timeline-date span {
  font-weight: 800;
  color: #4caf50;
}

/* Style for the second timeline item date (May 2019) */
.timeline-item:nth-child(2) .timeline-date span {
  color: #4caf50;
}

.timeline-content {
  flex: 1;
  padding-left: 30px;
  position: relative;
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4ca1af;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(76, 161, 175, 0.2);
}

/* Style for the first timeline item (Feb 2023 - Present) */
.timeline-item:first-child .timeline-content:before {
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  animation: pulsate 2s infinite;
}

/* Style for the second timeline item (May 2019) */
.timeline-item:nth-child(2) .timeline-content:before {
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  }
}

.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #2c3e50;
  font-size: 1.3rem;
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #4ca1af;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Style for the first and second timeline item company names */
.timeline-item:first-child .timeline-content h4,
.timeline-item:nth-child(2) .timeline-content h4 {
  color: #4caf50;
}

.job-highlights {
  padding-left: 20px;
  margin-top: 15px;
}

.job-highlights li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Technology Showcase Section */
.tech-showcase-section {
  padding: 40px;
  background-color: #fff;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.tech-category {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.3rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 5px;
  /* Fixed size for all logos - doubled as requested */
  min-height: 80px;
  min-width: 80px;
  max-height: 120px;
  max-width: 120px;
  /* Ensure logos maintain their aspect ratio */
  aspect-ratio: auto;
}

/* Specific logo size adjustments */
img[src*="logo_typescript"] {
  max-height: 80px; /* Smaller */
  max-width: 80px;
}

img[src*="logo_openapi"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_fastapi"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_python"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_react"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_kafka"] {
  min-height: 160px; /* Double size */
  min-width: 160px;
  max-height: 240px;
  max-width: 240px;
}

img[src*="logo_aws"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_azure"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_postgresql"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

img[src*="logo_springboot"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_openapi"] {
  min-height: 100px; /* Larger */
  min-width: 100px;
  max-height: 150px;
  max-width: 150px;
}

/* Larger logos as requested */
img[src*="logo_oracle"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_sqlserver"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_appdynamics"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_splunk"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_sonarqube"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_redis"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_elastic"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_elk"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_kibana"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_confluence"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_dotnet"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

img[src*="logo_chatgpt"] {
  min-height: 120px; /* Larger */
  min-width: 120px;
  max-height: 180px;
  max-width: 180px;
}

.tech-name {
  display: none;
}

/* Project Showcase Section */
.project-showcase-section {
  padding: 40px;
  background-color: #f9f9f9;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  height: 180px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.project-content p {
  color: #666;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {

  .timeline:before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-date {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    margin-bottom: 10px;
  }

  .timeline-content {
    padding-left: 50px;
  }

  .timeline-content:before {
    left: 12px;
  }

  .tech-categories {
    grid-template-columns: 1fr;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }
}
