/* Home page css */
.button-like-background-white .w-text-h {
    background-color: #ffffff1a;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

.button-like-background-grey .w-text-h {
    background-color: #c2c2c268;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

/* additional button css */
.fixed-widht-button-270 {
  width: 270px;
}

/* title animation homepage start */
/* Initial state */
.my-main-title, .my-main-sub-title {
  opacity: 0;
  position: relative;
  animation-fill-mode: forwards;
}

/* Title: from right */
.my-main-title {
  animation: flyInRight 1s ease-out forwards;
  animation-delay: 0.2s;
}

/* Subtitle: from left */
.my-main-sub-title {
  animation: flyInLeft 1s ease-out forwards;
  animation-delay: 0.4s;
}

/* Keyframes */
@keyframes flyInRight {
  0% {
    opacity: 0;
    left: 100px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes flyInLeft {
  0% {
    opacity: 0;
    left: -100px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
/* title animation homepage end */
/* icon boxes homepage */
/* main figures */
.my-main-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: start;
  width: 100%;
}

@media (max-width: 1024px) {
  .my-main-figures {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem; /* or adjust as needed */
  }
}

.my-main-figures .w-iconbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.my-main-figures .w-iconbox-icon {
  background: var(--color-anti-flash-white);
  box-shadow: unset!important;
}

.my-main-figures .w-iconbox-title {
  font-weight: 700;
}
/* === MAIN GRID WRAPPER === */
.my-larmag-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1199px) {
  .my-larmag-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .my-larmag-group {
    grid-template-columns: 1fr;
  }
}

/* === ICON BOX STYLING (GRID ITEM) === */
.my-larmag-group > .w-iconbox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #0b223f;
  height: 100%;
  align-self: stretch;
  background-color: #f4f9fc;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* === ICON === */
.my-larmag-group .w-iconbox-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: inherit;
  align-self: flex-start;
}

/* === TITLE, LINK, ARROW: BASE TRANSITION === */
.my-larmag-group .w-iconbox-title,
.my-larmag-group .learn-more,
.my-larmag-group i.fa-arrow-right {
  transition: color 0.3s ease;
}

/* === TYPOGRAPHY === */
.my-larmag-group .w-iconbox-title {
  font-weight: 700;
  font-size: var(--h5-font-size); /* Adjust with your fluid system */
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.my-larmag-group .w-iconbox-text {
  font-size: var(--font-size); /* Adjust if using fluid system */
  line-height: 1.5;
}

.my-larmag-group .learn-more {
  font-size: 0.85rem;
  font-weight: 600;
}

/* === ODD BOXES === */
.my-larmag-group > .w-iconbox:nth-child(odd) .w-iconbox-title,
.my-larmag-group > .w-iconbox:nth-child(odd) .learn-more,
.my-larmag-group > .w-iconbox:nth-child(odd) i.fa-arrow-right {
  color: var(--color-oxford-blue);
}

.my-larmag-group > .w-iconbox:nth-child(odd):hover .w-iconbox-title,
.my-larmag-group > .w-iconbox:nth-child(odd):hover .learn-more,
.my-larmag-group > .w-iconbox:nth-child(odd):hover i.fa-arrow-right {
  color: var(--color-falu-red);
}

/* === EVEN BOXES === */
.my-larmag-group > .w-iconbox:nth-child(even) .w-iconbox-title,
.my-larmag-group > .w-iconbox:nth-child(even) .learn-more,
.my-larmag-group > .w-iconbox:nth-child(even) i.fa-arrow-right {
  color: var(--color-falu-red);
}

.my-larmag-group > .w-iconbox:nth-child(even):hover .w-iconbox-title,
.my-larmag-group > .w-iconbox:nth-child(even):hover .learn-more,
.my-larmag-group > .w-iconbox:nth-child(even):hover i.fa-arrow-right {
  color: var(--color-oxford-blue);
}

/* icon boxes end */

/* tabs homepage */
.my-vision-tabs {
  color: var(--color-oxford-blue)
}

.my-vision-tabs .w-tabs-section-content {
    padding-top: 1.2rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-size: 80%;
    text-align: center;
}

@media (max-width: 1024px) {
  .my-vision-tabs .w-tabs-section-content {
    padding-top: 0.8rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 100%;
    text-align: center;
  }
}
/* tabs homepage end */
/* benefit vision homepage */
.my-benefit-vision {
  display: grid;
  grid-template-columns: repeat(3, auto); /* 3 items, natural width */
  gap: 1.5rem; /* adjust spacing between them */
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .my-benefit-vision {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
}
/* benefit vision homepage end */
/* footer css start */
.my-larmag-group {
  font-weight: 300;
  color: var(--color-columbia-blue);
}
.my-footer-logo {
  margin-bottom: 0!important;
  margin-right: 0!important;
}

/* Team Grid Styles start */
.team-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Responsive breakpoints */
@media (min-width: 1380px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1379px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Member Card */
.team-member {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name and Role Overlay */
.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    color: white;
    padding: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.team-member-overlay:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
}

.team-member-name {
    font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1.1rem);
    font-weight: bold;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.team-member-role {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 0rem;
}

.expand-icon {
    float: right;
    margin-top: -30px;
    transition: transform 0.3s ease;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

/* Expanded Details Panel */
.team-details {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e1e1;
    margin-top: 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-details.expanded {
    max-height: none;
    opacity: 1;
    padding: 30px;
}

.team-details-content {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .team-details-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

.team-details-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .team-details-image {
        margin: 0 auto;
    }
}

.team-details-info h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.team-details-info .role {
    font-size: 1.1rem;
    color: #007cba;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-details-info .description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* WordPress Content Formatting */
.team-details-info .description p {
    margin-bottom: 15px;
}

.team-details-info .description p:last-child {
    margin-bottom: 0;
}

.team-details-info .description h1,
.team-details-info .description h2,
.team-details-info .description h3,
.team-details-info .description h4,
.team-details-info .description h5,
.team-details-info .description h6 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.team-details-info .description h1 { font-size: 1.6rem; }
.team-details-info .description h2 { font-size: 1.4rem; }
.team-details-info .description h3 { font-size: 1.2rem; }
.team-details-info .description h4 { font-size: 1.1rem; }
.team-details-info .description h5 { font-size: 1rem; }
.team-details-info .description h6 { font-size: 0.9rem; }

.team-details-info .description ul,
.team-details-info .description ol {
    margin: 15px 0;
    padding-left: 25px;
}

.team-details-info .description li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.team-details-info .description blockquote {
    border-left: 4px solid #007cba;
    margin: 20px 0;
    padding: 10px 15px;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

.team-details-info .description strong,
.team-details-info .description b {
    font-weight: bold;
    color: #333;
}

.team-details-info .description em,
.team-details-info .description i {
    font-style: italic;
}

.team-details-info .description a {
    color: #007cba;
    text-decoration: underline;
}

.team-details-info .description a:hover {
    color: #005885;
}

.team-details-info .description img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.team-details-info .description code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.team-details-info .description pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 15px 0;
}

.team-details-info .description hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .contact-buttons {
        justify-content: center;
    }
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn.phone {
    background: #e8f5e8;
    color: #2d7d32;
}

.contact-btn.phone:hover {
    background: #c8e6c9;
}

.contact-btn.email {
    background: #e3f2fd;
    color: #1976d2;
}

.contact-btn.email:hover {
    background: #bbdefb;
}

.contact-btn.linkedin {
    background: #0077b5;
    color: white;
}

.contact-btn.linkedin:hover {
    background: #005885;
}

/* Close Button */
.close-btn {
    width: 100%;
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 20px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.close-btn:hover {
    background: #e0e0e0;
}

/* Icons */
.team-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.team-chevron-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
/* Team Grid Styles start */


.vt-timeline-content figure {
  padding-bottom: 0.8rem;
}
.vt-timeline-content figure.wp-caption {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.vt-timeline-content figure.wp-caption img {
  width: 100%;
  height: auto;
  display: block;
  padding: 0rem;
}

.vt-timeline-content .wp-caption-text {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0.8rem 0 0 0;

}

/* inner row css */
.inner-row-with-shadow {
    border-radius: 0.75rem !important;
    padding: 3.5rem !important;
    margin: 0 !important;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.20) !important;
}

/* about us page css */
.values-section .value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.values-section .value-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.values-section .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.values-section .icon-wrapper i {
    font-size: 24px;
}

.values-section .innovation .icon-wrapper {
    background-color: #e3f2fd;
    color: #1976d2;
}

.values-section .sustainability .icon-wrapper {
    background-color: #e8f5e9;
    color: #388e3c;
}

.values-section .global .icon-wrapper {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.values-section .ethics .icon-wrapper {
    background-color: #fff3e0;
    color: #f57c00;
}

.values-section .content {
    flex: 1;
}

.values-section .content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.values-section .content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}
/* end of about us page css */

/* responsive table */
.privacy-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd; 
}

.privacy-data-table th, .privacy-data-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.privacy-data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    border-right: 1px solid #ddd;
}
        
@media screen and (max-width: 600px) {
    .privacy-data-table,
    .privacy-data-table thead,
    .privacy-data-table tbody,
    .privacy-data-table th,
    .privacy-data-table td,
    .privacy-data-table tr { 
      display: block; 
    }
            
    .privacy-data-table thead tr { 
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
            
            /* Add border to simulate card-like row grouping */
            .privacy-data-table tr { 
                border: 1px solid #ccc;
                margin-bottom: 10px;
            }
            
            /* Make table cells act like list items */
            .privacy-data-table td { 
                border: none;
                border-bottom: 1px solid #eee; 
                position: relative;
                padding-left: 50%; /* Make room for the data-label */
                text-align: right;
            }
            
            /* Apply custom formatting for the header label */
            .privacy-data-table td:before { 
                /* The data-label attribute is used here to display the header */
                content: attr(data-label);
                position: absolute;
                top: 0;
                left: 0;
                width: 45%; 
                padding-left: 5px; 
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
                background-color: #f9f9f9;
                padding-top: 10px;
                padding-bottom: 10px;
            }
}







