/* Fonts */

/* Family */
h1 { 
  font-family: 'Julius Sans One', sans-serif;
}

h2 { /* Contact, Skills, Education, About me, Work Experience */
  font-family: 'Archivo Narrow', sans-serif;
}

h3 { /* Accountant */
  font-family: 'Open Sans', sans-serif;
}

.jobPosition span, 
.projectName span {
  font-family: 'Source Sans Pro', sans-serif;
}

.upperCase {
  text-transform: uppercase; 
}

.smallText, 
.smallText span, 
.smallText p, 
.smallText a {
  font-family: 'Source Sans Pro', sans-serif;
  text-align: justify;
}

/* End Family */

/* Colors */
h1 { 
  color: #111; 
}

.leftPanel, 
.leftPanel a {
  color: #bebebe;
  text-decoration: none;
}

.leftPanel h2 {
  color: white;
}

/* End Colors */

/* Sizes */
h1 { 
  font-weight: 300; 
  font-size: 1.2cm;
  transform:scale(1,1.15); 
  margin-bottom: 0.2cm;
  margin-top: 0.2cm;
  text-transform: uppercase; 
}

h2 {
  margin-top: 0.1cm;
  margin-bottom: 0.1cm;
}

.leftPanel, 
.leftPanel a {
  font-size: 0.38cm;
}

.projectName span, 
.jobPosition span {
  font-size: 0.35cm;
}

.smallText, 
.smallText span, 
.smallText p, 
.smallText a {
  font-size: 0.35cm;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.leftPanel .smallText, 
.leftPanel .smallText, 
.leftPanel .smallText span, 
.leftPanel .smallText p, 
.smallText a {
  font-size: 0.45cm;
}

/* Responsive font sizes for mobile */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 0.9cm;
    text-align: center;
  }
  
  h2 {
    font-size: 0.7cm;
    text-align: center;
  }
  
  h3 {
    font-size: 0.6cm;
    text-align: center;
  }
  
  .leftPanel, 
  .leftPanel a,
  .projectName span, 
  .jobPosition span,
  .smallText, 
  .smallText span, 
  .smallText p, 
  .smallText a {
    font-size: 0.4cm;
  }
  
  .leftPanel img {
    width: 3cm;
    height: 3cm;
    margin-bottom: 0.5cm;
  }
}

.contactIcon {
  width: 0.5cm;
  text-align: center;
  margin-right: 0.3cm;
  display: inline-block;
  vertical-align: middle;
}

p {
  margin-top: 0.2cm;
  margin-bottom: 0.2cm;
}

/* End Sizes */

/* Layout */
body {
  background: url('./film-set.jpg') no-repeat center center;
  background-size: cover;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
}

page[size="A4"] {
  background: white;
  width: 90%; /* Increased from 70% to 90% to occupy more horizontal space */
  max-width: 1600px; /* Increased from 1200px for wider widescreen format */
  height: auto;
  min-height: 600px;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
  box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden; /* Prevent overflow to maintain rounded corners */
  max-height: 90vh; /* Limit height to 90% of viewport height */
  border-radius: 0.5cm;
}

@media print {
  body, page[size="A4"] {
    margin: 0;
    box-shadow: 0;
    background-color: white;
  }
}

.container {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%; /* Ensure full width */
  max-width: 1600px; /* Increased to match the new page max-width */
}

.leftPanel {
  width: 22%; /* Maintaining the same proportion */
  background-color: #484444;
  padding: 0.7cm;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 0.5cm;
  border-bottom-left-radius: 0.5cm;
}

.rightPanel {
  width: 78%; /* Maintaining the same proportion */
  padding: 0.7cm;
  position: relative;
  border-top-right-radius: 0.5cm;
  border-bottom-right-radius: 0.5cm;
  overflow-y: auto; /* Add scrollbar to right panel */
  max-height: 90vh; /* Match the page height */
}

/* Responsive layout for mobile devices */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    height: auto;
    overflow-y: auto;
  }
  
  page[size="A4"] {
    width: 100%;
    margin: 0;
    box-shadow: none;
    max-height: none;
    overflow-y: visible;
    height: auto;
  }
  
  .container {
    flex-direction: column;
    height: auto;
  }
  
  .leftPanel, .rightPanel {
    width: 100%;
    padding: 0.5cm;
    box-sizing: border-box;
    border-radius: 0;
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
  
  .leftPanel {
    border-bottom: 0.1cm solid #333;
    border-top-left-radius: 0.5cm;
    border-top-right-radius: 0.5cm;
  }
  
  .rightPanel {
    border-bottom-left-radius: 0.5cm;
    border-bottom-right-radius: 0.5cm;
  }}
  
  /* Fix text wrapping on mobile */
  .rightPanel p, 
  .rightPanel .smallText, 
  .rightPanel .job-content,
  .rightPanel .streaming-announcement,
  .rightPanel .product-review-section,
  .rightPanel .workExperience,
  .rightPanel .solutionDemos {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
}

.all-icons {
  display: flex;
  justify-content: center;
  margin: 0.5cm 0;
  width: 100%;
}

.icon-container {
  display: flex;
  gap: 0.3cm;
  padding: 0.2cm;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5cm;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.3);
  border: 0.05cm solid #ddd;
  width: auto;
  min-width: fit-content;
  max-width: max-content;
  margin-bottom: 0.5cm;
}

.contact-icon {
  color: #6495ED;
  font-size: 0.6cm;
  cursor: pointer;
  width: 0.8cm;
  height: 0.8cm;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.05cm 0.1cm rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0.1cm 0.2cm rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for icons on mobile */
@media screen and (max-width: 768px) {
  .all-icons {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0.5cm 0;
    width: auto;
  }
  
  .all-icons .icon-container {
    width: auto;
  }
}

.leftPanel img {
  width: 4cm;
  height: 4cm;
  margin-bottom: 0.7cm;
  border-radius: 50%;
  border: 0.15cm solid white;
  object-fit: cover;
  object-position: 50% 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.leftPanel img:hover {
  transform: scale(1.05);
  border-color: #6495ED;
  box-shadow: 0 0 15px rgba(100, 149, 237, 0.7);
}

.leftPanel .details {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.leftPanel .details .smallText p {
  display: flex;
  align-items: center;
  word-break: break-word; /* Break long email addresses */
  overflow-wrap: break-word;
}

.leftPanel .details .smallText a {
  word-break: break-word;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.skill {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 0.2cm;
}

.bottomLineSeparator {
  border-bottom: 0.05cm solid white;
}

/* Keeping these classes in case they're used elsewhere */
.yearsOfExperience {
  width: 1.6cm;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.alignleft {
  text-align: left !important;
  width: 1cm;
}

.alignright {
  text-align: right !important;
  width: 0.6cm;
  margin-right: 0.1cm
}

.workExperience>ul {
  list-style-type: none;
  padding-left: 0;
}

.workExperience>ul>li {
  position: relative;
  margin: 0;
  padding-bottom: 0.2cm;
  border-bottom: 1px solid #eee;
}

.workExperience .jobPosition {
  cursor: pointer;
  position: relative;
}

.workExperience .jobPosition::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  margin-left: 0.3cm;
  transition: transform 0.3s ease;
}

.workExperience .job-content.collapsed + .jobPosition::after,
.workExperience li:last-child .job-content.collapsed ~ .jobPosition::after {
  transform: rotate(-90deg);
}

/* Collapsible content styling */
.workExperience .job-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.workExperience .job-content.collapsed {
  max-height: 0;
}

/* Job title hover effect */
.workExperience .jobPosition .bolded {
  transition: color 0.3s ease;
}

.workExperience .jobPosition .bolded:hover {
  color: #6495ED;
}

/* Solution Demonstrations section */
.solutionDemos>ul {
  list-style-type: none;
  padding-left: 0;
}

.solutionDemos>ul>li {
  position: relative;
  margin: 0;
  padding-bottom: 0.2cm;
  border-bottom: 1px solid #eee;
}

.solutionDemos .jobPosition {
  cursor: pointer;
  position: relative;
}

.solutionDemos .jobPosition::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  margin-left: 0.3cm;
  transition: transform 0.3s ease;
}

.solutionDemos .job-content.collapsed + .jobPosition::after,
.solutionDemos li:last-child .job-content.collapsed ~ .jobPosition::after {
  transform: rotate(-90deg);
}

/* Collapsible content styling for Solution Demonstrations */
.solutionDemos .job-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.solutionDemos .job-content.collapsed {
  max-height: 0;
  display: none;
}

/* Job title hover effect for Solution Demonstrations */
.solutionDemos .jobPosition .bolded {
  transition: color 0.3s ease;
}

.solutionDemos .jobPosition .bolded:hover {
  color: #6495ED;
}

.jobPosition {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
  padding: 0.2cm 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.jobPosition::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  margin-left: 0.3cm;
  transition: transform 0.3s ease;
}

.item {
  padding-bottom: 0.7cm;
  padding-top: 0.7cm;
}

.item h2{
  margin-top: 0;
}

/* Skills header with projects button */
.skills-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2cm;
}

.skills-header h2 {
  margin: 0;
}

/* Adjust project icon in skills header */
.skills-header .project-icon-container {
  margin-right: 0.1cm;
}

.lastParagrafNoMarginBottom {
  margin-bottom: 0;
}

.workExperience>ul>li ul {
  padding-left: 0.5cm;
  list-style-type: disc;
  max-width: 100%;
}
/* Mobile-specific adjustments for work experience and solution demos */
@media screen and (max-width: 768px) {
  .workExperience>ul>li,
  .solutionDemos>ul>li {
    width: 100%;
    box-sizing: border-box;
  }
  
  .jobPosition {
    flex-direction: column;
    width: 100%;
  }
  
  .jobPosition span {
    margin-bottom: 0.1cm;
    width: 100%;
    display: inline-block;
    word-break: break-word;
  }
  
  /* Removed bullet points for mobile view */
  
  .item {
    padding-bottom: 0.5cm;
    padding-top: 0.5cm;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix for text wrapping in job content */
  .job-content {
    width: 100%;
    box-sizing: border-box;
  }
  
  .job-content p, 
  .job-content ul, 
  .job-content li {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/*End Layout*/

/* Popup Styles for Contact Forms */
.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.alert-content {
  background-color: white;
  border-radius: 0.3cm;
  width: 80%;
  max-width: 10cm;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 0.05cm solid #6495ED;
}

/* Responsive adjustments for alerts on mobile */
@media screen and (max-width: 768px) {
  .alert-content {
    width: 90%;
    max-width: 95%;
    margin: 0 10px;
  }
}

.alert-header {
  background-color: #6495ED;
  color: white;
  padding: 0.3cm;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-family: 'Source Sans Pro', sans-serif;
}

.alert-header i {
  margin-right: 0.3cm;
}

.alert-body {
  padding: 0.5cm;
  font-family: 'Source Sans Pro', sans-serif;
}

.close-btn {
  margin-left: auto;
  cursor: pointer;
  font-size: 0.7cm;
}

.form-group {
  margin-bottom: 0.4cm;
}

.form-group label {
  display: block;
  margin-bottom: 0.1cm;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.2cm;
  border: 1px solid #ccc;
  border-radius: 0.1cm;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
}

.form-actions {
  text-align: center;
  margin-top: 0.4cm;
}

.submit-btn {
  background-color: #6495ED;
  color: white;
  border: none;
  padding: 0.2cm 0.4cm;
  border-radius: 0.1cm;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
}

.submit-btn:hover {
  background-color: #5078c9;
}

.form-status {
  margin-top: 0.3cm;
  padding: 0.2cm;
  border-radius: 0.1cm;
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

/* Communication Buttons */
.communication-buttons {
  position: absolute;
  top: 2.0cm;
  right: 0.7cm;
  display: flex;
  gap: 0.3cm;
  z-index: 9;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.2cm 0.4cm;
  font-size: 0.35cm;
  line-height: 1.5;
  border-radius: 0.1cm;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
}

.btn-primary {
  color: #fff;
  background-color: #6495ED;
  border-color: #6495ED;
}

.btn-primary:hover {
  color: #fff;
  background-color: #5078c9;
  border-color: #5078c9;
}

.btn i {
  margin-right: 0.2cm;
}

/* Media Icons */
.media-icon {
  color: #6495ED; /* Cornflower blue */
  font-size: 0.6cm;
  cursor: pointer;
  width: 0.8cm;
  height: 0.8cm;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.05cm 0.1cm rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.media-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0.1cm 0.2cm rgba(0, 0, 0, 0.4);
}

/* Project Buttons */
.project-icon {
  color: #111;
  font-size: 0.6cm;
  cursor: pointer;
  width: 0.8cm;
  height: 0.8cm;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.2cm 0.4cm rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.project-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0.25cm 0.5cm rgba(0, 0, 0, 0.6);
}

.project-icon-container {
  position: relative;
  display: inline-block;
}

.project-links {
  display: none;
  position: absolute;
  top: 0;
  left: 1.1cm;
  z-index: 1000;
  flex-direction: row;
  gap: 0.3cm;
  align-items: center;
  width: auto;
}

@media screen and (max-width: 768px) {
  .project-links {
    position: absolute;
    top: 1.1cm;
    bottom: auto;
    left: 0;
    transform: none;
    flex-direction: column;
    align-items: center;
    width: auto;
  }
}
  
  .jobPosition {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2cm;
  }
  
  .jobPosition span {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .workExperience, .solutionDemos {
    max-width: 100%;
    overflow-x: hidden;
  }
}

.project-button {
  width: 0.8cm;
  height: 0.8cm;
  border-radius: 50%;
  background-color: white;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  position: relative;
  border: none;
  font-size: 0.4cm;
  font-weight: bold;
}

.project-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0.25cm 0.6cm rgba(0, 0, 0, 0.8);
}

.project-button .tooltip {
  visibility: hidden;
  width: auto;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 0.2cm 0.4cm;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
  right: 120%;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.3);
}

.project-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Video on Demand Modal */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.video-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Responsive adjustments for video list on mobile */
@media screen and (max-width: 768px) {
  .video-item {
    padding: 12px 8px;
  }
  
  .video-item span {
    font-size: 0.33cm;
    line-height: 1.2;
  }
}

.video-item:hover {
  background-color: #e0e0e0;
}

.video-item i {
  margin-right: 10px;
  color: #0066cc;
  font-size: 18px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 5px;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: black;
}

/* Responsive adjustments for modals on mobile */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 15px;
  }
  
  #video-player {
    max-height: 300px;
  }
}

/* Streaming Announcement */
.streaming-announcement {
  background-color: #ffffff; /* White background */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced drop shadow */
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.streaming-announcement:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.streaming-announcement h3 {
  color: #6495ED;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.45cm;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
}

.streaming-announcement p {
  margin-bottom: 0;
  font-size: 0.35cm;
  line-height: 1.5;
  color: #333;
}

/* Responsive adjustments for streaming announcement on mobile */
@media screen and (max-width: 768px) {
  .streaming-announcement {
    padding: 15px;
    margin: 15px 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .streaming-announcement h3 {
    font-size: 0.4cm;
    max-width: 100%;
  }
  
  .streaming-announcement p {
    font-size: 0.33cm;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Product Review Section */
.product-review-section {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive adjustments for product review section on mobile */
@media screen and (max-width: 768px) {
  .product-review-section {
    padding: 15px;
    margin: 15px 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .product-review-section p,
  .product-review-section h2,
  .product-review-section .form-group,
  .product-review-section label,
  .product-review-section input,
  .product-review-section textarea {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.product-review-section:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-review-section h2 {
  color: #6495ED;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 0.5cm;
  font-weight: 600;
  font-family: 'Archivo Narrow', sans-serif;
  cursor: pointer;
  position: relative;
  padding-right: 1cm;
}

.product-review-section h2::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.4cm;
  color: #6495ED;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 0.2cm;
  transform: translateY(-50%) rotate(-90deg);
  position: absolute;
  right: 0.3cm;
  top: 50%;
}

.product-review-section:not(.collapsed) h2::after {
  transform: translateY(-50%) rotate(0);
}

.product-review-section p {
  margin-bottom: 20px;
  font-size: 0.35cm;
  line-height: 1.5;
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
}

.product-review-section p.collapsed-description {
  display: none;
  margin: 10px 0 15px;
  font-style: italic;
  color: #555;
}

.product-review-section.collapsed p.collapsed-description {
  display: block;
}

.product-review-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.product-review-section.collapsed .product-review-content {
  max-height: 0;
}

.product-review-section .form-group {
  margin-bottom: 15px;
}

.product-review-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.35cm;
  font-family: 'Source Sans Pro', sans-serif;
}

.product-review-section input,
.product-review-section textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
  transition: border-color 0.3s ease;
}

.product-review-section input:focus,
.product-review-section textarea:focus {
  border-color: #6495ED;
  outline: none;
  box-shadow: 0 0 5px rgba(100, 149, 237, 0.3);
}

.product-review-section .submit-btn {
  background-color: #6495ED;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
  font-size: 0.35cm;
  transition: background-color 0.3s ease;
}

.product-review-section .submit-btn:hover {
  background-color: #5078c9;
}

.product-review-section .form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  display: none;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
}

.product-review-section .form-status.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.product-review-section .form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

.streaming-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #6495ED;
  font-size: 1.2cm;
}

#video-player {
  width: 100%;
  max-height: 450px;
  margin-top: 15px;
}
/* Media alert styles */
.media-alert-content {
  border: 0.05cm solid #6495ED !important;
}

.media-alert-header {
  background-color: #6495ED !important;
}

/* Widescreen fix for solution briefs */
@media (min-width: 1200px) {
  .custom-alert.media-alert .alert-content {
    max-width: 90% !important;
    width: 90% !important;
  }
}

.media-btn {
  background-color: #6495ED;
  color: white;
  border: none;
  padding: 0.2cm 0.4cm;
  border-radius: 0.1cm;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
}

.media-btn:hover {
  background-color: #5078c9;
}
.job-content.collapsed .tech-info,
.job-content.collapsed p:last-child,
.job-content.collapsed .projectName,
.job-content.collapsed .smallText {
  display: none !important;
}
.job-content.collapsed ~ .jobPosition::after {
  transform: rotate(-90deg);
}

.solutionDemos h2, .workExperience h2 {
  margin-bottom: 0.5cm;
}
/* Fix for collapsible sections */
.job-content.collapsed ~ .jobPosition span:nth-child(2),
.job-content.collapsed + .jobPosition span:nth-child(2) {
  display: none;
}

.jobPosition {
  position: relative;
}

.jobPosition {
  cursor: pointer;
  position: relative;
  padding-right: 1cm;
}

.jobPosition::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  position: absolute;
  right: 0.3cm;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg) !important;
  transition: transform 0.3s ease;
}

.job-content:not(.collapsed) ~ .jobPosition::after {
  transform: translateY(-50%) rotate(0) !important;
}
.bio-header {
  cursor: pointer;
  position: relative;
  padding-right: 1cm;
}

.bio-header::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  position: absolute;
  right: 0.3cm;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.bio-content.collapsed {
  display: none;
}

.bio-content.collapsed + .bio-header::after {
  transform: translateY(-50%) rotate(-90deg);
}

.bio-header h3:hover {
  color: #6495ED;
}
.section-header {
  cursor: pointer;
  position: relative;
  padding-right: 1cm;
}

.section-header::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  position: absolute;
  right: 0.3cm;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.solutionDemos.collapsed ul {
  display: none;
}

.solutionDemos.collapsed .section-header::after {
  transform: translateY(-50%) rotate(-90deg);
}
.section-header {
  cursor: pointer;
  position: relative;
  padding-right: 1cm;
}

.section-header::after {
  content: "\f078";
  font-family: 'FontAwesome';
  font-size: 0.3cm;
  color: #666;
  position: absolute;
  right: 0.3cm;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.solutionDemos.collapsed ul {
  display: none;
}

.solutionDemos.collapsed .section-header::after {
  transform: translateY(-50%) rotate(-90deg);
}
/* Fix project buttons styling */
.project-button {
  width: 0.8cm;
  height: 0.8cm;
  border-radius: 50%;
  background-color: white;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  position: relative;
  border: none;
  font-size: 0.4cm;
  font-weight: bold;
}

/* Fix tooltip positioning and styling */
.project-button .tooltip {
  visibility: hidden;
  width: auto;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 0.2cm 0.4cm;
  border-radius: 4px;
  position: fixed;
  z-index: 9999;
  margin-right: 1cm;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
  box-shadow: 0 0.1cm 0.3cm rgba(0, 0, 0, 0.5);
}

/* Blue hover effects for section headers */
.section-header:hover, .bio-header:hover {
  color: #6495ED;
}

/* Fix caret orientation */
.section-header::after {
  transform: translateY(-50%) rotate(-90deg);
}

.bio-header::after {
  transform: translateY(-50%) rotate(-90deg);
}

.solutionDemos:not(.collapsed) .section-header::after {
  transform: translateY(-50%) rotate(0);
}

.bio-content:not(.collapsed) + .bio-header::after {
  transform: translateY(-50%) rotate(0);
}

/* Fix project links positioning */
.project-links {
  z-index: 1000;
}
/* Project icon in skills list */
.smallText .project-icon-container {
  margin-top: 0.3cm;
  text-align: center;
}
/* Updated project button styles */
.project-button {
  width: 0.8cm;
  height: 0.8cm;
  border-radius: 50%;
  background-color: white;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.2cm 0.5cm rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
  position: relative;
  border: none;
  font-size: 0.35cm;
}

.project-button i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Update tooltip position for horizontal layout */
.project-button .tooltip {
  right: auto;
  left: 120%;
  top: 50%;
  transform: translateY(-50%);
}

/* Blog Posts Section */
.blog-posts-section {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.blog-posts-section:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-posts-section h2 {
  color: #6495ED;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 0.5cm;
  font-weight: 600;
  font-family: 'Archivo Narrow', sans-serif;
}

.blog-post-item {
  background-color: #f8f9fa;
  border-left: 4px solid #6495ED;
  padding: 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.blog-post-item:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
}

.blog-post-item h3 {
  color: #2c3e50;
  margin: 0 0 10px 0;
  font-size: 0.4cm;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.3;
}

.blog-post-item p.blog-excerpt {
  color: #555;
  margin: 10px 0;
  font-size: 0.35cm;
  line-height: 1.4;
  font-family: 'Source Sans Pro', sans-serif;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  font-size: 0.3cm;
  font-family: 'Source Sans Pro', sans-serif;
}

.blog-date {
  color: #6495ED;
  font-weight: 600;
}

.blog-category {
  color: #28a745;
  font-weight: 600;
}

/* Blog Modal */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-modal-content {
  background-color: white;
  width: 95%;
  height: 95%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.blog-modal-header {
  background-color: #6495ED;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-to-main-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.35cm;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-to-main-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.blog-close-btn {
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.blog-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.blog-modal-body {
  flex: 1;
  overflow: hidden;
}

.blog-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive adjustments for blog section */
@media screen and (max-width: 768px) {
  .blog-posts-section {
    padding: 15px;
    margin: 15px 0;
  }
  
  .blog-posts-section h2 {
    font-size: 0.45cm;
  }
  
  .blog-post-item h3 {
    font-size: 0.38cm;
  }
  
  .blog-post-item p.blog-excerpt {
    font-size: 0.33cm;
  }
  
  .blog-meta {
    font-size: 0.28cm;
    flex-direction: column;
    gap: 5px;
  }
  
  .blog-modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  
  .back-to-main-btn {
    font-size: 0.33cm;
    padding: 6px 12px;
  }
}