/* Base Styles */
:root {
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --red-color: #8b3a3a;
    --interior-color: #8b3a3a; /* Updated to match image - burgundy red */
    --exterior-color: #8b5a2b; /* Brown for Exterior/Shape */
    --construction-color: #8b3a3a;
    --services-color: ##ffb800;
    --key-features-blue: #5e87b0; /* Blue for first column */
    --key-features-grey: #f0f0f0; /* Grey for middle column */
    --key-features-red: #8b3a3a; /* Red for third column */
    --services-bg: ##ffb800; /* Orange for services section */
}



.header-dots {
    text-align: center;
    color: #e67e22;
    letter-spacing: 3px;
    margin-bottom: 20px;
}



#about{ background-color:#ededed; }

.detailed div[role="tablist"] {
   
    background-color: #e67e22;
    width: 100%;
    margin: 20px 0;
}

.mage-tabs-disabled div[role="tab"] {
    flex-grow: 1;
}

.main-menu a, .tab-button {
    display: block;
    padding: 15px 20px;
    font-weight: bold;
    color: white;
    transition: background-color 0.3s;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
}
.catalog-product-view .mage-tabs-disabled div[role="tab"]:hover {    background-color: #d35400; }
.mage-tabs-disabled div[role="tab"].active {background-color: #d35400;   }
.mage-tabs-disabled div[role="tab"].active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ededed;
}

/* Tab Content Styles */
.detailed > .mage-tabs-disabled div[role="tab"] {
   /* display: none;*/
    padding: 4px !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mage-tabs-disabled div[role="tab"].active {    animation: fadeIn 0.5s;}
/* About Section */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}

.about img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin-bottom: 20px;
}

.mission-statement {
    font-style: italic;
    color: #666;
    margin: 20px 0;
}

/* About Section Styles */
.about-container,.collapseFull .card-body  {
    display: flex;
    background-color: #ededed;
    margin: 2px 0;
    max-width: 100%;
    overflow: hidden;
    
}
.collapseFull .card-body  {
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #ffb800, #373d64) 1;
    border-radius: 10px;
}

.about-image {
     justify-content: center;   
}

.about-image img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #323f6e;
}

.about-content {
    flex: 1;
    padding: 25px 30px;
    line-height: 1.5;
    text-align: justify;
}

.about-content p {
    margin-bottom: 15px;
    color: #333;
}

.about-container .mission-statement {
    font-weight: 600;
    color: #000;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0px;
}

.read-more-link {
    display: block;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
}

.read-more-link:hover {
    text-decoration: underline;
}

.cta-button {
    margin-top: 20px;
    text-align: center;
}

.user-guide-btn {
    display: inline-block;
    /* Removed fixed width for Bootstrap compatibility */
    margin: 20px auto;
    padding: 14px 20px;
    background-color: #ffb800;
    color: black;
    text-align: center;
    border-radius: 17px;
    text-decoration: none;
    font-weight: bold;
}

/* Technologies Section */
.technologies-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tech-card {
    /* Removed fixed width for Bootstrap compatibility */
    background-color: #6383a4;
    color: white;
    text-align: center;
    padding: 20px 15px 30px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-icon {
    /* Removed fixed width/height for Bootstrap compatibility */
    background-color: white;
    border-radius: 50%;
    border: 3px solid #ffb800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    aspect-ratio: 1/1;
    max-width: 100px;
}


.tech-card h3 {
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.3;
}

.tech-card p {
    
    line-height: 1.4;
}
.technologies {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}
#technologies{ padding: 10px;}
.tech-card {
    background-color: #6383a4;
    color: white;
    padding: 15px;
    border-radius: 5px;
    /* Removed fixed width for Bootstrap compatibility */
    text-align: center;
     min-height:330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.tech-card.interior,
.tech-card.exterior,
.tech-card.construction,
.tech-card.services {
    background-color: #6383a4;
}



.tech-card h3 {
    margin-bottom: 10px;
    color: #ddd;
}


/* Capabilities Section */
.capabilities {
    margin-bottom: 40px;
}

.capability-item {
    background-color: #ededed;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #e67e22;
}

.capability-item:hover {
    background-color: var(--light-color);
    transform: scale(1.03);
}

.capability-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.capability-icon img {
    /* Removed fixed width/height for Bootstrap compatibility */
    max-width: 100%;
}

.capability-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.capability-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Key Features Section */
.key-features {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-column {
    border: none;
    padding: 0;
    /* Removed fixed width for Bootstrap compatibility */
    overflow: hidden;
}

.feature-column:nth-child(1) {
    background-color: #373d64;
    color: white;
}
.feature-column:nth-child(1) > h3 > span{  
    color: #373d64;
    font-weight: bold;
}

.feature-column:nth-child(2) {
    background-color: #6383a4;
    color: white;
}
.feature-column:nth-child(2) > h3 > span{  
    color: #6383a4;
    font-weight: bold;
}
.feature-column:nth-child(3) {
    background-color: #842b2b;
    color: white;
}
.feature-column:nth-child(3) > h3 > span{  
    color: #842b2b;
    font-weight: bold;
}
.feature-column:nth-child(1) h3,
.feature-column:nth-child(3) h3 {
    color: white;
}

.feature-column:nth-child(1) li,
.feature-column:nth-child(3) li {
    color: white;
}

.feature-column:nth-child(1) li:before,
.feature-column:nth-child(3) li:before {
    color: white;
}
/* Fixed empty ruleset */
.feature-column > h3 { 
    max-width: 90%;
    margin-bottom: 0;
}
.feature-column h3 {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #ededed;
    margin-left: 20px;
    margin-top: 20px;background:#ededed;
    color: #444;
    border-radius: 20px 0px 0px 20px;
    border-bottom: 1px solid #ddd;
    text-transform: lowercase;
}

.feature-column h3 img {
    /* Removed fixed width/height for Bootstrap compatibility */
    margin-right: 10px;
    background-color: #f0f0f0;
    border-radius: 50%;
    border: 2px solid #000;
    width: 60px;
    padding: 5px;
}
.section-header{ text-align: center; /* Removed fixed width for Bootstrap compatibility */}
.feature-column ul {
    list-style-type: none;
    padding: 15px;
    margin: 0;
}

.feature-column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.feature-column ul li ul {
    padding: 5px 0 0 0;
    margin-top: 5px;
}

.feature-column ul li ul li {
    margin-bottom: 5px;
    padding-left: 15px;
}

.feature-column ul li ul li:before {
    content: "○";
}

.feature-column ul li:before {
    content: "•";
    color: white;
    position: absolute;
    left: 0;
}

/* Services Section */
.cans-highlights {
    margin: 30px 0;
}

.cans-grid {
    margin: 30px 0;
    position: relative;
}

.can-card {
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.can-image-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.can-card img {
    border-radius: 50%;
    border: 3px solid #ffb800;
    padding: 5px;
    background-color: white;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.can-card p {
    font-size: 13px;
    color: #000;
    max-width: 120px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Dotted line for desktop only */
@media (min-width: 768px) {
    .cans-grid::before {
        content: '';
        position: absolute;
        top: 54px;
        left: 10%;
        right: 10%;
        height: 2px;
        border-top: 4px dotted #000;
        z-index: 1;
    }
}

/* Hide dotted line for last item on mobile */
@media (max-width: 767px) {
    .can-card:last-child::before {
        display: none;
    }
    
    /* Add dotted line between items on mobile */
    .can-card {
        position: relative;
    }
    
    .can-card:nth-child(1)::after,
    .can-card:nth-child(2)::after,
    .can-card:nth-child(3)::after,
    .can-card:nth-child(4)::after {
        content: '';
        position: absolute;
        top: 43px;
        right: -45px;
        width: 91px;
        height: 2px;
        border-top: 3px dotted #000;
        z-index: 1;
    }
    
    /* Remove dotted line after even items (end of row) */
    .can-card:nth-child(2)::after,
    .can-card:nth-child(4)::after {
        display: none;
    }
}

/* Dan's Note Section */
.dans-note-container {
    display: flex;
    background-color: #ededed;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.dans-note-content {
    flex: 1;
    padding: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dans-note-content p {
    margin-bottom: 15px;
    color: #333;
}

.dans-note-image {
    /* Bootstrap will handle this with col-md-4 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.dans-note-image img {
    /* Removed fixed width/height for Bootstrap compatibility */
    padding-top: 20px;
    object-fit: cover;
    max-width: 90%;
}

.dans-signature {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.signature-text {
    font-style: italic;
    margin-right: 15px;
}

.signature-text .title {
    font-size: 0.8rem;
    color: #666;
}

.signature-photo {
    /* Removed fixed width/height for Bootstrap compatibility */
    border-radius: 50%;
    object-fit: cover;
    max-width: 60px;
}

/* Press Section */
.press-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.press-card {
    width: calc(50% - 20px);
    min-width: 280px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
}

.press-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.press-content {
    padding: 15px;
}

.press-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.press-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Page Footer */
.page-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Page navigation dots */
.page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    gap: 10px;
}

.page-title {
    color: #666;
    font-size: 0.9rem;
    margin-right: 10px;
}

.page-dots {
    display: flex;
    gap: 5px;
}

.page-dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.page-dot.active {
    background-color: #e67e22;
}

.page-controls {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.page-control {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Construction Section */
.construction-section {
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
}

.sections-container {
    display: flex;
    justify-content: space-between;
   
}

.sections-container .construction-section {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sections-container .driver-features {
    flex-direction: column;
    flex-wrap: nowrap;
}

.sections-container .feature-card {
    min-width: 0;
    flex: none;
    border-top: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    background-color:#ededed;;
    
    border-bottom: 0;
}

.sections-container .feature-card:last-child {
    border-bottom: 0;
}

.section-title {
    background-color: var(--red-color);
    color: white;
    padding: 15px;
    text-align: center;
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 7px;
    
    letter-spacing: 1px;
}

.section-title.interior {
    background-color: var(--interior-color);
}

.section-title.exterior {
    background-color: var(--interior-color);
}

.section-title.services {
    background-color: #d37340;
    text-transform: uppercase;
    padding: 15px;
    text-align: center;
}

.driver-features {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 0;
    margin-left: 12px;
    margin-right: 12px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #ededed;
    flex: 1;
}

.feature-card {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    background-color: white;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.feature-image-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card img {
    border-radius: 50%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    border: 3px solid #ffb800;
    width: 80px;
    height: 80px;
}

.feature-content {
    flex: 1;
    margin-left: 1rem;
    min-width: 0; /* Prevents text overflow issues */
}

.feature-content h3 {
    margin-bottom: 10px;
  
    color: #000;
    word-wrap: break-word;
}

.feature-content p {
   
    color: #000;
}

/* Dan's Note Section */
.dans-note {
    margin: 40px 0;
}

.note-content {
    background-color: #f9f9f9;
    border-left: 4px solid #d37340;
    padding: 20px;
    margin: 20px 0;
}

.author-signature {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-signature img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 10px;
}

/* Tab Navigation */
.detailed div[role="tablist"] {
    background-color: #d37340;
    margin: 20px 0;
}

.mage-tabs-disabled div[role="tab"] a {
    background: none !important;
    border: none;
    padding: 0px 20px !important;
    color: white !important;
    font-weight: bold;
    border-bottom:none !important;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
    text-align: center;
}

.mage-tabs-disabled div[role="tab"]:hover {
    background-color: #d35400;
}

.mage-tabs-disabled div[role="tab"][aria-selected="true"], .product.data.items > .item.title.active > .switch{
    background-color: #d35400 !important;
   }

.mage-tabs-disabled div[role="tab"][aria-selected="true"]::after {
    content: '';
    position: absolute;
     display:none;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ededed;
}

/* Responsive Adjustments */


@media screen and (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .top-nav a {
        margin: 5px 0;
    }
    
    .mage-tabs-disabled div[role="tab"] {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .key-features {
        display: flex;
        flex-wrap:wrap;
    }
    
    .can-card {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 576px) {
    .tab-navigation {
        flex-direction: column;
    }
    .key-features {
        display: flex;
        flex-wrap:wrap;
    }
   .mage-tabs-disabled div[role="tab"] {
        width: 100%;
    }
    
    div[role="tab"][aria-selected="true"]::after {
        display: none;
    }
    
    .tech-card {
        width: 100%;
    }
    
    .can-card {
        width: calc(50% - 10px);
    }
    
    .press-card {
        width: 100%;
    }
}

.last-tech{ max-width: 85%;    padding-bottom: 22px; }
    .carousel-wrapper {
      max-width: 900px;
      margin: auto;
      position: relative;
    }

    .carousel {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
    }

    .thumbnail:first-child {
      margin-right: -30px;
    }

    .thumbnail:last-child {
      margin-left: -30px;
    }

    .thumbnail {
      width: 80px;
      height: 240px;
      opacity: 0.5;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      position: relative;
      z-index: 1;
      margin-top: 10px;
    }

    .thumbnail:hover {
      opacity: 0.9;
      transform: scale(1.05);
      z-index: 2;
    }

    .thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
      filter: brightness(70%);
      transition: all 0.3s ease;
    }

    .thumbnail:hover img {
      filter: brightness(100%);
    }

    .fade-container {
      width: 100%;
      height: 100%;
      position: relative;
    }

    .fade-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }

    .fade-container img.active {
      opacity: 1;
      position: relative;
    }

   .main-slide {
      width: 100%;
      max-width: 100%;
      aspect-ratio: 5 / 3; /* Keeps same 500x300 ratio */
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
      z-index: 5;
      touch-action: pan-y;

    }


    .main-slide img {
      width: 100%;
      height: 100%;
      object-fit: contain; /* Changed from cover to contain to avoid cutting */
      display: block;
    }

    .nav-arrow {
      position: absolute;
      top: 45%;
      background: #fff;
      border-radius: 50%;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
      z-index: 2;
    }

    .nav-arrow.left {
      left: 10px;
    }

    .nav-arrow.right {
      right: 10px;
    }

    .review-text {
      margin-top: 15px;
      text-align: center;
      margin-inline: auto;
    }

    .review-text h4 {
      margin: 0 0 5px;
      font-weight: bold;
    }

    .review-text p {
      font-style: italic;
      font-size: 15px;
    }

    @media (max-width: 768px) {
      .carousel {
        flex-direction: column;
      }

      .main-slide {
        width: 90%;
        height: auto;
      }

      .thumbnail {
        display: none;
      }
    }
    .carousel-inner {
        margin-left: 41px;
        width: 90%;
        overflow: hidden;
      }
  
      .carousel-item {
      display: none;
    }

    .carousel-item.active {
      display: flex !important;
      justify-content: space-evenly;
    }
  
      .carousel-item > div {
        flex: 0 0 32%; /* About 3 items per row with spacing */
      }
  
      .carousel-item img {
        
        height: auto;
        border-radius: 10px;
      }
      
      /* Mobile: Show only middle image */
@media (max-width: 767.98px) {
   
    .carousel-inner{ margin-left: 0px;}
    .carousel-item > div {
      display: none;
    }
  
    .carousel-item > div:nth-child(2) {
      display: block;
      flex: 0 0 100%;
      max-width: 100%;
      padding: 0;
    }
  }
  
  /* Tablet: Show middle and right image */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-inner{ margin-left: 0px;}
    .carousel-item > div {
      display: none;
    }
  
    .carousel-item > div:nth-child(2),
    .carousel-item > div:nth-child(3) {
      display: block;
      flex: 0 0 50%;
      padding: 0 5px;
    }
  }
  
      .carousel-control-prev,
      .carousel-control-next {
        width: 5%;
      }
  
      .carousel-control-prev-icon,
      .carousel-control-next-icon {
        background-color: #000;
        border-radius: 50%;
      }
  
      .read-more-link {
        text-decoration: none;
        color: #007bff;
        font-weight: bold;
      }
  
      .read-more-link:hover {
        text-decoration: underline;
      } 