html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

* {
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
}

body {
    background: #222;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
    height: 100vh;
    width: 280px;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.sidebar.collapsed {
    width: 70px;
}

.logout-btn i,
.mobile-menu .logout-btn i {
    color: #ff8c00 !important;
}

.logout-btn .menu-text,
.mobile-menu .logout-btn {
    color: #ff8c00;
}

.logo {
    padding: 15px 20px;
    background-color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.sidebar.collapsed .logo {
    justify-content: center;
    padding: 15px 0;
}

.logo-text {
    color: #ff8c00;
    font-size: 30px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.sidebar.collapsed .logo-text {
    display: none;
}

.toggle-btn {
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-menu {
    padding-top: 20px;
}

.menu-item {
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    transition: 0.3s;
    white-space: nowrap;
}

.menu-item:hover,
.menu-item.active,
.mobile-menu a.active {
    background-color: #444;
}

.menu-item.active,
.sidebar.collapsed .menu-item.active,
.mobile-menu a.active {
    border-left: 4px solid #ff8c00;
}

.menu-item i {
    width: 30px;
    font-size: 20px;
    color: white;
    text-align: center;
}

.menu-text {
    margin-left: 15px;
    opacity: 1;
    transition: 0.3s;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    display: none;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #222;
    z-index: 1000;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-nav .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .logo-text {
    color: #ff8c00;
    font-size: 24px;
    font-weight: bold;
}

.mobile-nav .mobile-menu-btn {
    color: white;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #333;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #444;
}

.mobile-menu a i {
    margin-right: 15px;
}


.content {
    margin: 0; 
    transition: 0.3s;
    min-height: 110vh;
    width: 100%;

}

.content.expanded {
   margin-left: 70px;
}



.motor-description-wrapper {
  position: relative;
}

.motor-description {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
  position: relative;
  text-align: justify;
  color: #000000;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;

  overflow: hidden;
}

.motor-description strong {
  color: #d32f2f;
}

.motor-description .more-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  font-style: italic;
  color: #666;
  font-size: 13px;
  display: block;
}

.motor-description-wrapper:hover .more-description {
  opacity: 1;
  max-height: 200px; 
}


@keyframes blink {
  0%, 100% {
    border-color: #aa2d00;
  }
  50% {
    border-color: transparent;
  }
}

.about {
    margin-left: 70px;
    transition: all 0.3s ease;
    background-color: #222;
    color: white;
    position: relative;
}

.about-container {
    position: relative;
    z-index: 1;
    background-image: url('Image/AboutBackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    height: 1000px;
    transition: all 0.3s ease;
}




/* About section content positioning */
.Header1{
    position: absolute;
    display: flex;
    color: white;
    font-size: 30px;
    font-family: "Dhurjati", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-left: 50%;
    margin-top: 32%;
    transition: all 0.3s ease;
    z-index: 10;
}


.paragraph1{
    position: absolute;
    display: flex;
    color: white;
    font-size: 20px;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-left: 50%;
    margin-top: 40%;
    text-align: justify;
    margin-right: 80px;
    transition: all 0.3s ease;
    z-index: 10;
}


/* Motorcycle Styles */
.motorcycle {
    padding: 60px 0;
    margin-left: 50px;
    transition: all 0.3s ease;
    height: 60%;
    background-color: #ffffff;
}

.motorcycle.expanded {
    margin-left: 250px;
}

.title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.title h1 {
    font-size: 4rem;
    font-weight: bolder;
    letter-spacing: 2px;
    color: #000;
}

.motor-choices {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}

.motor-choice {
    text-align: center;
    width: 330px;
}

.motor-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.motor-choice img {
    max-width: 100%;
    transition: transform 0.3s ease;
    width: 100%;
    display: block;
}

/* CUSTOMIZE BUTTON - HIDDEN BY DEFAULT */
.motor-image-container .customize-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    z-index: 2;
    text-decoration: none;
    pointer-events: none !important;
}

.motor-image-container .customize-button:hover {
    background-color: white;
    color: #e67e00;
}

/* SHOW BUTTON ONLY ON HOVER */
.motor-image-container:hover .customize-button {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: auto !important;
}

.motor-image-container:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.motor-choice h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

/* Carousel style */
.carousel-section {
    padding: 2px 0;
    margin-left: 70px;
    transition: all 0.3s ease;
    background: rgb(0, 0, 0);
    position: relative;
    opacity: 1;
}

.carousel-section.expanded {
    margin-left: 280px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    margin-left: 20%;
}

.carousel-content {
    width: 90%;
    height: 500px;
    position: relative;
    overflow: visible;
}

.carousel-track {
    position: relative;
    height: 100%;
    display: flex;
    gap: 10px; 
    transition: transform 0.3s ease;
    margin-top: 20px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-card {
    width: 90%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: scale(1.03);
}

.carousel-card img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

.carousel-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: #999;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-dot.active {
    background-color: #920000;
    transform: scale(1.2);
}

/* Footer styles */
.footer {
    margin-left: 180px; 
    transition: all 0.3s ease;
    background-color: #222;
    color: white;
    position: relative;
}

.footer.expanded {
    margin-left: 300px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-company, .footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: #ff8800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer i {
    margin-right: 10px;
    width: 16px;
}

.footer-social p {
    cursor: pointer;
    transition: color 0.2s;
}

.footer-social p:hover {
    color: #ff8c00;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.email-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.9rem;
    background-color: #333;
    color: white;
}

.submit-btn {
    background-color: #ff8c00;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #e67e00;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #ff8c00;
}

/* Animation styles */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
    
.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.carousel-details {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(63, 63, 63, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 15px 10px;
    font-size: 1.2rem;
    z-index: 2;
    transition: bottom 0.5s;
}

.carousel-details.slide-up {
    animation: slideUp 0.5s forwards;
}

.carousel-details.slide-down {
    animation: slideDown 0.5s forwards;
}

@keyframes slideUp {
    from { bottom: -100%; }
    to { bottom: 0; }
}

@keyframes slideDown {
    from { bottom: 0; }
    to { bottom: -100%; }
}


@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* Header */
header {
    background: linear-gradient(90deg, #000000, #272727);
    padding: 48px 16px 64px;
    text-align: center;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}


.highlight {
    color: #c54c00e3; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-size: 30px;
    font-family: "Dhurjati", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.about.expanded .highlight {
    font-size: 28px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 2s ease-in-out, transform 1s ease-in-out;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay {
    transition-delay: 0.5s;
}

.scroll-shrink-underline {
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.scroll-shrink-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: var(--underline-width, 100%);
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: width 0.3s ease;
    will-change: width;
}

.scroll-image {
    opacity: 0;
    transform: translateX(-100px);
    transition: transform .9s ease-out;
    position: relative;
}

.scroll-image.animate {
    opacity: 1;
    transform: translateX(100px);
}

.section-line {
    position: absolute;
    top: 35%;
    left: 70%;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    width: 50%;
    height: 4px;
    background: white;
    border-radius: 2px;
    z-index: 10;
    opacity: 0.6;
    transition: transform 0.8s ease;
}

.section-line.in-view {
    transform: translateX(-50%) scaleX(0.3);
}

.about-con h2{
    position: absolute;
    margin-left: 50%;
    margin-top: 35%;
    font-size: 40px;
    transition: all 0.3s ease;
    z-index: 10;
}


/* Reviews Section Styles - Professional with Orange Theme */
.reviews-section {
    padding: 60px 0;
    margin-left: 70px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
}

.reviews-section.expanded {
    margin-left: 280px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-title {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.reviews-title p {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* Reviews Section Styles - Balanced Dark Theme to Match Other Sections */
.reviews-section {
    padding: 60px 0;
    margin-left: 70px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 30%, #333333 70%, #2a2a2a 100%);
    position: relative;
    color: white;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.reviews-section.expanded {
    margin-left: 280px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.reviews-title {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.reviews-title p {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 400;
}

/* Reviews Summary - Balanced with Lighter Tones */
.reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 140, 0, 0.05);
    border: 1px solid #666666;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.reviews-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ffa500, #ff8c00);
    z-index: 1;
}

.summary-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.stat-item p {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-item .rating {
    justify-content: center !important;
    margin: 0 auto !important;
    width: fit-content !important;
}

/* Rating Filter Styles - Black Theme with Orange Accents */
.rating-filters-summary {
    text-align: center;
    margin: 0 15px;
    flex-shrink: 0;
}

.rating-filters-summary h4 {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-buttons-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #3a3a3a;
    border: 1px solid #666666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 55px;
    font-family: inherit;
    font-size: 0.75rem;
}

.filter-btn-summary:hover {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.15);
    transform: translateY(-1px);
}

.filter-btn-summary.active {
    border-color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
    transform: translateY(-2px);
}

.filter-btn-summary .filter-label {
    font-weight: 500;
    font-size: 0.75rem;
    color: #e0e0e0;
}

.filter-btn-summary.active .filter-label {
    color: white;
}

.filter-btn-summary .filter-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.filter-btn-summary .star-number {
    font-weight: 500;
    font-size: 0.8rem;
    color: #e0e0e0;
}

.filter-btn-summary.active .star-number {
    color: white;
}

.filter-btn-summary .filter-rating i {
    color: #ffc107;
    font-size: 10px;
}

.filter-btn-summary.active .filter-rating i {
    color: #fff;
}

.filter-btn-summary .filter-count {
    font-size: 0.7rem;
    color: #b0b0b0;
    font-weight: 400;
}

.filter-btn-summary.active .filter-count {
    color: rgba(255, 255, 255, 0.8);
}

.view-all-reviews {
    text-align: center;
    flex-shrink: 0;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid #ff8c00;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #e67e00, #cc6600);
    border-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.view-all-btn i {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

/* Reviews Grid - Enhanced with Black Theme */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.review-card {
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 140, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #555555;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #e67e00, #ff8c00);
}

.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 140, 0, 0.08);
    transform: translateY(-3px);
    border-color: #ff8c00;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border: 2px solid #555555;
}

.customer-avatar .avatar-initials {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.customer-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
}

.customer-details p {
    font-size: 0.8rem;
    color: #d0d0d0;
    margin: 0;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.rating i {
    color: #ffc107;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rating .rating-text {
    margin-left: 6px;
    font-weight: 500;
    color: white;
    font-size: 0.8rem;
}

.review-content {
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.customer-order {
    background: linear-gradient(135deg, #4a4a4a 0%, #404040 100%);
    border-left: 3px solid #ff8c00;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.customer-order h4 {
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-bottom: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.customer-order h4 i {
    color: #ff8c00;
    font-size: 0.75rem;
}

.order-details {
    font-size: 0.85rem;
    color: white;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
}

.review-text {
    margin-top: 8px;
}

.review-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f0f0f0;
    margin: 0;
    font-style: italic;
}

.review-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b0b0b0;
    font-size: 0.75rem;
    position: relative;
    z-index: 2;
}

.review-date i {
    font-size: 10px;
}

/* Hidden reviews animation */
.review-card.hidden {
    display: none;
}

.no-reviews-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #d0d0d0;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
    border-radius: 12px;
    border: 1px solid #555555;
}

.no-reviews-message i {
    font-size: 2rem;
    color: #666666;
    margin-bottom: 15px;
}

.no-reviews-message h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
}

.no-reviews-message p {
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 4px;
}

.reviews-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.reviews-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-modal-content {
    background: linear-gradient(135deg, #2c2c2c 0%, #333333 50%, #2a2a2a 100%);
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 140, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
    border: 1px solid #555555;
}

.reviews-modal-header {
    padding: 18px 30px;
    border-bottom: 1px solid #555555;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.reviews-modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #e67e00, #ff8c00);
}

.reviews-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.reviews-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #666666;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-modal-close:hover {
    background: rgba(255, 140, 0, 0.2);
    border-color: #ff8c00;
    transform: rotate(90deg);
}

.reviews-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 30%, #333333 70%, #2a2a2a 100%);
}

/* Modal Stats Section - Match Main Reviews Section */
.modal-stats-section {
    padding: 30px;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    border-bottom: 1px solid #555555;
    border-top: 3px solid #ff8c00;
}

.modal-summary-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 25px;
}

.modal-stat-item {
    text-align: center;
}

.modal-stat-item h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.modal-stat-item p {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-stat-item .rating {
    justify-content: center;
}

.modal-stat-item .rating i {
    color: #ffc107;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Modal Rating Filters - Match Main Section Colors */
.modal-rating-filters {
    text-align: center;
}

.modal-rating-filters h4 {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    background: #3a3a3a;
    border: 2px solid #666666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 65px;
    font-family: inherit;
}

.modal-filter-btn:hover {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.15);
    transform: translateY(-1px);
}

.modal-filter-btn.active {
    border-color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
    transform: translateY(-2px);
}

.modal-filter-btn .filter-label {
    font-weight: 500;
    font-size: 0.8rem;
    color: #e0e0e0;
}

.modal-filter-btn.active .filter-label {
    color: white;
}

.modal-filter-btn .filter-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-filter-btn .star-number {
    font-weight: 500;
    font-size: 0.85rem;
    color: #e0e0e0;
}

.modal-filter-btn.active .star-number {
    color: white;
}

.modal-filter-btn .filter-rating i {
    color: #ffc107;
    font-size: 11px;
}

.modal-filter-btn.active .filter-rating i {
    color: white;
}

.modal-filter-btn .filter-count {
    font-size: 0.75rem;
    color: #b0b0b0;
    font-weight: 400;
}

.modal-filter-btn.active .filter-count {
    color: rgba(255, 255, 255, 0.9);
}

.modal-reviews-section {
    padding: 30px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 30%, #333333 70%, #2a2a2a 100%);
}

.modal-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-height: none;
}

.modal-review-card {
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 140, 0, 0.03);
    border: 1px solid #555555;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.modal-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #e67e00, #ff8c00);
}

.modal-review-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.modal-review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 140, 0, 0.08);
    transform: translateY(-2px);
    border-color: #ff8c00;
}

.modal-review-card.hidden {
    display: none;
}

.modal-review-card .review-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.modal-review-card .customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-review-card .customer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border: 2px solid #555555;
}

.modal-review-card .customer-avatar .avatar-initials {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.modal-review-card .customer-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
}

.modal-review-card .customer-details p {
    font-size: 0.8rem;
    color: #d0d0d0;
    margin: 0;
}

.modal-review-card .rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.modal-review-card .rating i {
    color: #ffc107;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-review-card .rating .rating-text {
    margin-left: 6px;
    font-weight: 500;
    color: white;
    font-size: 0.8rem;
}

.modal-review-card .review-content {
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.modal-review-card .customer-order {
    background: linear-gradient(135deg, #4a4a4a 0%, #404040 100%);
    border-left: 3px solid #ff8c00;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-review-card .customer-order h4 {
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-bottom: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.modal-review-card .customer-order h4 i {
    color: #ff8c00;
    font-size: 0.75rem;
}

.modal-review-card .order-details {
    font-size: 0.85rem;
    color: white;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
}

.modal-review-card .review-text {
    margin-top: 8px;
}

.modal-review-card .review-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f0f0f0;
    margin: 0;
    font-style: italic;
}

.modal-review-card .review-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b0b0b0;
    font-size: 0.75rem;
    position: relative;
    z-index: 2;
}

.modal-review-card .review-date i {
    font-size: 10px;
}

.modal-loading {
    text-align: center;
    padding: 60px 20px;
    color: #e0e0e0;
    grid-column: 1 / -1;
}

.modal-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
    color: #ff8c00;
}

.modal-no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #e0e0e0;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
    border-radius: 12px;
    border: 1px solid #555555;
}

.modal-no-reviews i {
    font-size: 3rem;
    color: #666666;
    margin-bottom: 20px;
}

.modal-no-reviews h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-no-reviews p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.about::before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}


.AboutImage{
    position: absolute;
    height: 72%;
    margin-top: 2%;
    margin-left: -13%;
    display: flex;
    transition: all 0.3s ease;
    z-index: 5;
}

.Title{
    position: absolute;
    margin-left: 5%;
    margin-top: 1.1%;
    font-size: 20px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay {
    transition-delay: 0.5s;
}


/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .reviews-modal-content {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        margin: 0;
    }

    .reviews-modal-header {
        padding: 20px;
    }

    .reviews-modal-title {
        font-size: 1.2rem;
    }

    .modal-stats-section {
        padding: 20px;
    }

    .modal-summary-stats {
        flex-direction: column;
        gap: 20px;
    }

    .modal-filter-buttons {
        gap: 8px;
    }

    .modal-filter-btn {
        min-width: 55px;
        padding: 8px 12px;
    }

    .modal-reviews-section {
        padding: 20px;
    }

    .modal-reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-review-card {
        padding: 16px;
    }

    
}

@media screen and (max-width: 480px) {

    .modal-summary-stats {
        gap: 15px;
    }

    .modal-stat-item h3 {
        font-size: 1.5rem;
    }

    .modal-filter-btn {
        min-width: 45px;
        padding: 6px 10px;
    }

    .modal-filter-btn .filter-label {
        font-size: 0.7rem;
    }

    .modal-filter-btn .star-number {
        font-size: 0.75rem;
    }

    .modal-filter-btn .filter-count {
        font-size: 0.65rem;
    }

}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .reviews-title h1 { font-size: 2.2rem; }
    .reviews-grid { 
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 18px; 
    }
    .summary-stats { gap: 30px; }
    .stat-item h3 { font-size: 1.6rem; }
    .filter-buttons-summary { gap: 6px; }
    .filter-btn-summary { min-width: 50px; padding: 7px 10px; }
}


@media screen and (min-width: 768px) and (max-width: 991px) {
    .reviews-section { padding: 50px 0; }
    .reviews-title h1 { font-size: 2rem; }
    .reviews-grid { 
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 16px; 
    }
    .review-card { padding: 20px; }
    .reviews-summary { 
        flex-direction: column; 
        gap: 20px;
        padding: 25px;
        text-align: center;
    }
    .summary-stats { 
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-item h3 { font-size: 1.4rem; }
    .rating-filters-summary { margin: 0; }
}

@media screen and (max-width: 767px) {
    .reviews-section, .reviews-section.expanded {
        margin-left: 0 !important;
        padding: 30px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .reviews-container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .reviews-title {
        margin-bottom: 25px !important;
    }
    
    .reviews-title h1 {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .reviews-title p {
        font-size: 0.9rem !important;
    }
    
    .reviews-summary {
        flex-direction: column !important;
        gap: 18px !important;
        padding: 20px 15px !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .summary-stats {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .stat-item {
        width: 100% !important;
    }
    
    .stat-item h3 {
        font-size: 1.4rem !important;
    }
    
    .stat-item p {
        font-size: 0.8rem !important;
    }
    
    .rating-filters-summary {
        margin: 0 !important;
        width: 100% !important;
    }
    
    .rating-filters-summary h4 {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .filter-buttons-summary {
        gap: 6px !important;
        justify-content: center !important;
    }
    
    .filter-btn-summary {
        min-width: 45px !important;
        padding: 6px 8px !important;
        gap: 3px !important;
        border-radius: 4px !important;
    }
    
    .filter-btn-summary .filter-label {
        font-size: 0.65rem !important;
    }
    
    .filter-btn-summary .star-number {
        font-size: 0.7rem !important;
    }
    
    .filter-btn-summary .filter-rating i {
        font-size: 8px !important;
    }
    
    .filter-btn-summary .filter-count {
        font-size: 0.6rem !important;
    }
    
    .view-all-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
    }
    
    .review-card {
        padding: 18px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .review-header {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .customer-info {
        width: 100% !important;
    }
    
    .rating {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    .customer-order {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .customer-order h4 {
        font-size: 0.75rem !important;
    }
    
    .order-details {
        font-size: 0.8rem !important;
    }
    
    .review-text p {
        font-size: 0.85rem !important;
    }
}

@media screen and (max-width: 575px) {
    .reviews-summary {
        padding: 15px 10px !important;
    }
    
    .summary-stats {
        gap: 12px !important;
    }
    
    .stat-item h3 {
        font-size: 1.2rem !important;
    }
    
    .stat-item p {
        font-size: 0.75rem !important;
    }
    
    .filter-btn-summary {
        min-width: 40px !important;
        padding: 5px 7px !important;
    }
    
    .filter-btn-summary .filter-label {
        font-size: 0.6rem !important;
    }
    
    .view-all-btn {
        padding: 7px 14px !important;
        font-size: 0.75rem !important;
    }
    
    .review-card {
        padding: 15px !important;
    }
    
    .customer-avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}


@media screen and (min-width: 1400px) {

    .title h1 { font-size: 4.5rem; }
    .Header1 { font-size: 35px; }
    .paragraph1 { font-size: 22px; }
    .about-con h2 { font-size: 45px; }
    .motor-choice { width: 360px; }
}

/* Medium-Large Screens (1200px to 1399px) */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .title h1 { font-size: 3.5rem; }
    .Header1 { 
        font-size: 28px; 
        margin-left: 58%;
    }
    .paragraph1 { 
        font-size: 18px;
        margin-left: 58%;
        
    }

    
    .customize-button { 
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
    
    .highlight{
        font-size: 20px !important;
        line-height: 1.0 !important;
        justify-content: center;
        max-width: 500px !important;
    }

    .highlight-text{
        position: relative;
        font-size: 20px !important;
        line-height: 1.0 !important;
        text-align: center;
        max-width: 500px !important;
        justify-items: center;
        margin-left: 15%;
    }

}


/* Small Mobile (576px to 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .carousel-content { height: 380px !important; }
}

/* Extra Small Devices (up to 374px) */
@media screen and (max-width: 374px) {

    .Title { font-size: 14px !important; }
    
    .title h1 { font-size: 1.8rem !important; }
    .motor-choice h3 { font-size: 1.1rem !important; }
    
    .Header1 { font-size: 15px !important; }
    .paragraph1 { font-size: 13px !important; }
    .about-con h2 { font-size: 20px !important; }
    
    .carousel-content { height: 250px !important; }
    .carousel-dot {
        width: 6px !important;
        height: 6px !important;
        margin: 0 2px !important;
    }
    
    .mobile-nav .logo-text { font-size: 18px !important; }
    .mobile-menu a { font-size: 13px !important; }

}


@media screen and (max-width: 575px) {
    .reviews-summary {
        padding: 15px 10px !important;
    }
    
    .summary-stats {
        gap: 12px !important;
    }
    
    .stat-item h3 {
        font-size: 1.2rem !important;
    }
    
    .stat-item p {
        font-size: 0.75rem !important;
    }
    
    .filter-btn-summary {
        min-width: 40px !important;
        padding: 5px 7px !important;
    }
    
    .filter-btn-summary .filter-label {
        font-size: 0.6rem !important;
    }
    
    .view-all-btn {
        padding: 7px 14px !important;
        font-size: 0.75rem !important;
    }
    
    .review-card {
        padding: 15px !important;
    }
    
    .customer-avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}

@media screen and (max-width: 575px) {
    .reviews-summary {
        padding: 15px 10px !important;
    }
    
    .summary-stats {
        gap: 15px !important;
    }
    
    .stat-item h3 {
        font-size: 1.5rem !important;
    }
    
    .stat-item p {
        font-size: 0.8rem !important;
    }
    
    .filter-btn-summary {
        min-width: 35px !important;
        padding: 4px 6px !important;
    }
    
    .filter-btn-summary .filter-label {
        font-size: 0.6rem !important;
    }
    
    .view-all-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .review-card {
        padding: 15px !important;
    }
    
    .customer-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    .Header1 { 
        font-size: 17px; 
        margin-left: 55%;
        margin-top: 30%
}
}


/* Standard Desktop (992px to 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .title h1 { font-size: 3rem; }

    /* About section adjustments */
    .Header1 { 
        font-size: 20px; 
        margin-left: 55%;
        margin-top: 30%;
    }
    .paragraph1 { 
        font-size: 17px;
        margin-left: 55%;
        margin-top: 37%;
        margin-right: 60px;
    }

.AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

    .carousel-wrapper { margin-left: 10%; }
    .carousel-content { height: 450px; }
    .motor-choice { width: 280px; }
}

/* Large Tablet (768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .title h1 { font-size: 2.8rem; }

    /* About section - responsive layout */
    .about-container { 
        height: auto; 
        min-height: 00px;
        padding: 100px 20px;
    }
    .Header1 { 
        position: relative;
        font-size: 25px; 
        margin: 20px 0;
        text-align: center;
        display: block;
        margin-top: -10px;
    }
    .paragraph1 {  /*Zenbook*/
        position: relative;
        font-size: 17px;
        margin: 20px 0;
        margin-top: -10px;
        text-align:justify;
        display: block;
    }
    .about-con h2 { 
        position: relative;
        font-size: 32px;
        margin: 0px 0;
        text-align: center;
    }
.AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

    
    .carousel-wrapper { margin-left: 5%; }
    .carousel-content { height: 400px; }
    .motor-choice { width: 100%; max-width: 300px; }
.motor-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  justify-items: center; /* centers all items horizontally */
}

.motor-choices > div:nth-child(3) {
  grid-column: 1 / span 2;
  justify-self: center;
}


}

/* MOBILE BREAKPOINT - CRITICAL FIX */
@media screen and (max-width: 767px) {
    /* Hide sidebar, show mobile nav */
    .sidebar { display: none !important; }
    .mobile-nav { display: block !important; }

    
    .content, .motorcycle, .about, .carousel-section, .footer,
    .content.expanded, .motorcycle.expanded, .about.expanded, 
    .carousel-section.expanded, .footer.expanded { 
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .content, .content.expanded { 
        padding-top: 70px !important; 
    }

    /* About section mobile layout */
    .about-container { 
        height: auto !important; 
        background-position: center  !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

     
    .paragraph1, 
    .about-con h2 { 
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 15px 0 !important;
    text-align: justify !important;  
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 25px !important;
    box-sizing: border-box !important;
}

    .Header1{
        position: relative !important;
        left: auto !important;
        right: auto !important;
        margin: 15px 0 !important;
        text-align: center !important;  /* center the text */
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 25px !important;
        box-sizing: border-box !important;
    }

    .Header1 { font-size: 15px !important; }
    .paragraph1 { font-size: 15px !important; }
    .about-con h2 { font-size: 28px !important; }
        .AboutImage {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        position: relative !important;
        width: 100% !important;
        max-width: 800px !important; /* adjust if you want smaller */
        height: auto !important;
        left: 0 !important;
        right: 0 !important;
        }

    /* Motorcycle section */
    .motorcycle, .motorcycle.expanded { 
        padding: 40px 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .title {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .title h1 { 
        font-size: 2.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    .motor-choices {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }
    .motor-choice { 
        width: 100% !important; 
        max-width: 280px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    /* Carousel section */
    .carousel-section, .carousel-section.expanded { 
        padding: 30px 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .carousel-wrapper { 
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .carousel-content { 
        width: 100% !important;
        max-width: 100% !important;
        height: 350px !important; 
        box-sizing: border-box !important;
    }
    .carousel-card { 
        width: 100% !important; 
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Footer */
    .footer, .footer.expanded { 
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .footer-container { 
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .footer-content { 
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .footer-company, .footer-contact, .footer-social {
        width: 100% !important;
        min-width: auto !important;
        max-width: 100% !important;
    }
    .newsletter-form {
        max-width: 300px !important;
        margin: 15px auto 0 !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .box-container {
        position: relative !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}



/* Mobile Portrait (up to 575px) */
@media screen and (max-width: 575px) {
    /* Mobile navigation adjustments */
    .mobile-nav { padding: 10px 15px !important; }
    .mobile-nav .logo-text { font-size: 20px !important; }
    .mobile-menu { top: 50px !important; }
    .mobile-menu a { 
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .Title { 
        margin-left: 15px !important; 
        margin-top: 2% !important;
        font-size: 16px !important; 
    }
    /* About section - full mobile layout */

   .Header1 {  
    display: flex;
    justify-content: center;  /* centers items horizontally */
    align-items: center;      /* centers items vertically if multi-line */
    font-size: 15px !important; 
    line-height: 1 !important;
    text-align: center;       /* ensures text inside spans also centers */
    width: 100%;              /* take full width of parent */
}


    .paragraph1 { 
        font-size: 14px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    .about-con h2 { 
        font-size: 20px !important;
        line-height: 1.0 !important;
        justify-content: center;
    }    .AboutImage { 
        position: relative;
        max-width: 500px !important;
        margin-left: -15% !important;
    }
    
    .customize-button { 
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
    
    .highlight{
        font-size: 15px !important;
        line-height: 1.0 !important;
        justify-content: center;
        max-width: 500px !important;
    }

    .highlight-text {
    position: relative;
    display: block;
    font-size: 16px !important;
    line-height: 1.0 !important;
    text-align: center;
    max-width: 500px !important;
    margin: 0 auto !important;
    }

    
    /* Motorcycle section */
    .motorcycle, .motorcycle.expanded { 
        padding: 30px 10px !important;
    }
    .title h1 { 
        font-size: 2.2rem !important; 
        margin-bottom: 30px !important;
    }
    
    .motor-choice { 
        max-width: 260px !important;
    }
    .motor-choice h3 { 
        font-size: 1.3rem !important; 
        margin-top: 10px !important;
    }
    .motor-choices { 
        gap: 25px !important;
        padding: 0 10px !important;
    }
  
    /* Carousel section */
    .carousel-section, .carousel-section.expanded { 
        padding: 25px 0 !important;
    }
    .carousel-wrapper { 
        padding: 0 5px !important;
    }
    .carousel-content { 
        height: 300px !important; 
    }
    .carousel-dots { margin-top: 30px !important; }
    .carousel-dot {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
    
    /* Footer */
    .footer-container { padding: 25px 10px 15px !important; }
    .footer-content { 
        gap: 20px !important;
    }
    .footer h3 { 
        font-size: 1.1rem !important; 
        margin-bottom: 15px !important;
    }
    .footer p { 
        font-size: 0.85rem !important; 
        margin-bottom: 10px !important;
    }
    .newsletter-form {
        max-width: 280px !important;
        margin: 10px auto 0 !important;
    }
    .email-input, .submit-btn {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    .footer-bottom {
        gap: 8px !important;
        padding-top: 15px !important;
    }
    .footer-bottom p { font-size: 0.8rem !important; }

}

/* Extra Small Devices (up to 374px) */
@media screen and (max-width: 374px) {
    .Title { font-size: 14px !important; }
    
    .title h1 { font-size: 1.8rem !important; }
    .motor-choice h3 { font-size: 1.1rem !important; }
    
    .Header1 { font-size: 15px !important; }
    .paragraph1 { font-size: 13px !important; }
    .about-con h2 { font-size: 20px !important; }
    
    .carousel-content { height: 250px !important; }
    .carousel-dot {
        width: 6px !important;
        height: 6px !important;
        margin: 0 2px !important;
    }
    
    .mobile-nav .logo-text { font-size: 18px !important; }
    .mobile-menu a { font-size: 13px !important; }

}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    

    .carousel-content { height: 250px !important; }
    .motorcycle, .motorcycle.expanded { padding: 20px 10px !important; }

    
}


@media (hover: none) and (pointer: coarse) {
    .motor-image-container .customize-button {
        opacity: 0.9 !important;
        visibility: visible !important;
        display: block !important;
        pointer-events: auto !important;
        background-color: rgba(255, 140, 0, 0.9) !important;
    }
    .motor-image-container img { 
        filter: brightness(0.8) !important; 
    }
    
    /* Larger touch targets */
    .mobile-menu a { padding: 18px 20px !important; }
    .carousel-dot {
        width: 12px !important;
        height: 12px !important;
        margin: 0 6px !important;
    }
   
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .AboutImage, .motor-choice img, .carousel-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-up, .scroll-image, .carousel-track,
    .motor-image-container img, .carousel-card {
        transition: opacity 0.3s ease-out !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    .email-input {
        background-color: #222 !important;
        border: 1px solid #555 !important;
        color: #fff !important;
    }
    .carousel-card { 
        background-color: #333 !important; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5) !important;
    }
    .mobile-nav {
        background-color: #111 !important;
    }
    .mobile-menu {
        background-color: #222 !important;
    }
}

@media print {
    .sidebar, .mobile-nav, .mobile-menu, .customize-button,
    .carousel-dots, .newsletter-form {
        display: none !important;
    }
    .content, .motorcycle, .about, .carousel-section, .footer {
        margin-left: 0 !important;
        padding: 20px !important;
        background: white !important;
        color: black !important;
    }
    .about-container, .footer-container {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    .about::before, .about::after { display: none !important; }
    .footer-content { flex-direction: row !important; }
    .carousel-content { height: auto !important; }
    .motor-choices { flex-direction: row !important; }
    
    .Header1, .paragraph1, .title h1, .motor-choice h3 {
        color: black !important;
        text-shadow: none !important;
    }
}

/* HOME SECTION */

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.home.expanded {
  margin-left: 280px;
  width: calc(100% - 280px);
}

.box-text {
  position: absolute;
  bottom: 15%;
  left: 12%;
  max-width: 700px;
  color: #fff;
  z-index: 1;
}

.animated-text {
  font-size: 2.0rem;
  font-weight: 700;
  border-left: 12px solid #8a0000;
  padding-left: 12px;
}

.typewriter {
  font-size: 3.0rem;
  color: #e67e00;
  border-right: 2px solid #aa2d00;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink 0.7s infinite;
  margin-bottom: 10px;
}

.description {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.85;
  text-align: justify;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.customize-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.9rem 2rem;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #fff;
  cursor: pointer;
  animation: fadeSlideUp 1.5s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.customize-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #ffffff33 0%, #ffffff55 50%, #ffffff33 100%);
  transition: left 0.4s ease;
  transform: skewX(-20deg);
  z-index: -1;
}

.customize-btn:hover::after {
  left: 100%;
}

.customize-btn:hover {
  color: #000;
  background: #fff;
  transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3), 
              0 5px 10px rgba(255, 255, 255, 0.2) inset;
}

video.background-video {
  position: absolute;
  inset: 0;
  width: 130%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: -1;
}

/* 🔹 Extra Small Devices (up to 480px general) */
@media (max-width: 480px) {
  .box-text {
    bottom: 20%;
    left: 5%;
    max-width: 90%;
    text-align: left;
    right: 1%;
  }

  .animated-text {
    font-size: 1.2rem;
    border-left: 9px solid #8a0000;
    padding-left: 6px;
    margin-top: 0.4rem;
  }

  .typewriter {
    font-size: 1.2rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.4rem;
    display: block;
    text-align: left;
  }

  .description {
    font-size: .8rem;
    margin: 0.9rem 0 0.9rem;
    text-align: justify;
    line-height: 1.2;
  }

  .customize-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin-top: 0.3rem;
    text-align: left;
  }

  video.background-video {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 111%;
    object-fit: cover;
    z-index: -1;    
  }
}

/* 🔹 iPhone XR–15 (414px–430px) */
@media (min-width: 414px) and (max-width: 430px) {
  .box-text {
    bottom: 30%;
    left: 9%;
    max-width: 100%;
    text-align: left;
    right: 10%;
  }

  .animated-text {
    font-size: 1.20rem;
    border-left: 9px solid #8a0000;
    padding-left: 10px;
    margin-top: 0.4rem;
  }

  .typewriter {
    font-size: 1.2rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.4rem;
    display: block;
    text-align: left;

  }

 .description {
    font-size: .9rem;
    margin: 0.9rem 0;
    text-align: justify; /* center the text */
    line-height: 1.2;   /* slightly increased for readability */
    letter-spacing: 2px; /* keep spacing */
}


  .customize-btn {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
    margin-top: 0.3rem;
    text-align: left;
  }

  video.background-video {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 111%;
    object-fit: cover;
    z-index: -1;    
  }
}

/* 🔹 iPhone Pro & Pro Max (431px–480px) */
@media (min-width: 431px) and (max-width: 480px) {
    .box-text {
    bottom: 32%;
    left: 9%;
    max-width: 100%;
    text-align: left;
    right: 10%;
  }

  .animated-text {
    font-size: 1.2rem;
    border-left: 9px solid #8a0000;
    padding-left: 6px;
    margin-top: 0.4rem;
  }

  .typewriter {
    font-size: 1.1rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.4rem;
    display: block;
    text-align: left;
  }

  .description {
    font-size: 1.0rem;
    margin: 0.9rem 0 0.9rem;
    text-align: justify;
    line-height: 1.2;
  }

  .customize-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin-top: 0.3rem;
    text-align: left;
  }

  video.background-video {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 111%;
    object-fit: cover;
    z-index: -1;    
  }
}

/* 🔹 Pixel 7 (approx. 412px width) */
@media (min-width: 410px) and (max-width: 413px) {
   .box-text {
    bottom: 32%;
    left: 9%;
    max-width: 100%;
    text-align: left;
    right: 10%;
  }

  .animated-text {
    font-size: 1.2rem;
    border-left: 9px solid #8a0000;
    padding-left: 6px;
    margin-top: 0.4rem;
  }

  .typewriter {
    font-size: 1.1rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.4rem;
    display: block;
    text-align: left;
  }

  .description {
    font-size: 1.0rem;
    margin: 0.9rem 0 0.9rem;
    text-align: justify;
    line-height: 1.2;
  }

  .customize-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin-top: 0.3rem;
    text-align: left;
  }

  video.background-video {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 111%;
    object-fit: cover;
    z-index: -1;    
  }
}
/* 🔹 Small Tablets & iPad Mini (600px–767px) */
@media (min-width: 600px) and (max-width: 767px) {
  .box-text {
    position: absolute;
    top: 10%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 85%;
    text-align: left;
  }

  .animated-text {
    font-size: 1.4rem; /* smaller */
    border-left: 10px solid #8a0000;
    padding-left: 12px;
  }

  .typewriter {
    font-size: 1.3rem; /* smaller */
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .description {
    font-size: 1rem; /* smaller */
    margin: 0.8rem 0;
    text-align: justify;
    line-height: 1.5;
  }

  .customize-btn {
    font-size: 0.95rem; /* smaller */
    padding: 0.7rem 1.2rem;
    margin-top: 0.4rem;
  }

  video.background-video {
    position: absolute;
    top: -200px;  /* moved higher */
    left: 0;
    width: 100%;
    height: 120%; /* taller to cover gap */
    object-fit: cover;
    z-index: -1;
  }

  
}

/* 🔹 iPad (Portrait: 768px–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .box-text {
    position: absolute;
    top: 55%;
    left: 12%;
    transform: translateY(-50%);
    max-width: 75%;
    text-align: left;
  }

  .animated-text {
    font-size: 1.3rem; /* smaller */
    border-left: 12px solid #8a0000;
    padding-left: 14px;
  }

  .typewriter {
    font-size: 1.8rem; /* smaller */
    margin-bottom: 0.7rem;
  }

  .description {
    font-size: 1.1rem; /* smaller */
    line-height: 1.4;
  }

  .customize-btn {
    font-size: 1rem;
    padding: 0.9rem 1.4rem;
  }

  video.background-video {
    top: -10%;  
    height: 100%;
  }

  .home{ margin-bottom: -200px;}

.AboutImage { 
    width: 80% !important;
    }
}

/* 🔹 iPad Pro & Large Tablets (1024px–1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
  .box-text {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    max-width: 65%;
    text-align: left;
  }

  .animated-text {
    font-size: 1.8rem; /* smaller */
    border-left: 12px solid #8a0000;
    padding-left: 16px;
  }

  .typewriter {
    font-size: 1.6rem; /* smaller */
    margin-bottom: 0.9rem;
  }

  .description {
    font-size: 1.2rem; /* smaller */
    line-height: 1.7;
  }

  .customize-btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.6rem;
  }

  video.background-video {
    top: -10%;  
    height: 80%;
  }

  .home{ 
    margin-bottom: -500px;
}

}

/* 🔹 Surface Duo Portrait (approx. 540px width) */
@media (min-width: 500px) and (max-width: 560px) {
  .box-text {
    position: absolute;
    top: 67%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 85%;
    text-align: left;
  }

  .animated-text {
    font-size: 1.3rem;
    border-left: 10px solid #8a0000;
    padding-left: 10px;
    margin-bottom: 0.5rem;
  }

  .typewriter {
    font-size: 1.2rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .description {
    font-size: 1rem;
    margin: 0.8rem 0;
    text-align: justify;
    line-height: 1.5;
  }

  .customize-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    margin-top: 0.4rem;
  }

  video.background-video {
    position: absolute;
    top: 0px; /* push video up to remove top space */
    left: 0;
    width: 100%;
    height: 110%; /* taller to cover top */
    object-fit: cover;
    z-index: -1;
  }

  .AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 500px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

}

/* 🔹 Surface Duo Landscape */
@media (min-width: 680px) and (max-width: 750px) {
  .box-text {
    position: absolute;
    top: 75%;        /* lower than center but not extreme */
    left: 8%;
    transform: translateY(-50%);
    max-width: 70%;
    text-align: left;
  }

  .animated-text {
    font-size: 1.3rem;
    border-left: 10px solid #8a0000;
    padding-left: 10px;
    margin-bottom: 0.5rem;
  }

  .typewriter {
    font-size: 1.25rem;
    border-right: 1px solid #aa2d00;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .description {
    font-size: 1rem;
    margin: 0.7rem 0;
    line-height: 1.45;
    text-align: justify;
  }

  .customize-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem;
    margin-top: 0.4rem;
  }

  video.background-video {
    position: absolute;
    top: 0px;       /* raise video */
    left: 0;
    width: 100%;
    height: 100%;      /* taller video to remove top gap */
    object-fit: cover;
  }

  .AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

}


.about-con {
    width: 100%;
    max-width: 1200px; /* optional: restrict max width */
    margin: 0 auto;    /* center container */
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}


/* 🔹 Google Nest Hub (1024x600) */
@media (min-width: 1020px) and (max-width: 1040px) and (max-height: 650px) {
  .box-text {
    bottom: 30%;
    left: 10%;
    max-width: 65%;
  }

  .animated-text {
    font-size: 1.7rem;
    border-left: 10px solid #8a0000;
    padding-left: 10px;
  }

  .typewriter {
    font-size: 2.2rem;
  }

  .description {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .customize-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  video.background-video {
    width: 120%;
    height: 100%;
    top: 0%;
  }

  .home { margin-bottom: 0px; }

  .AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

}

/* 🔹 Google Nest Hub Max (1280x800) */
@media (min-width: 1270px) and (max-width: 1290px) and (max-height: 850px) {
  .box-text {
    bottom: 45%;
    left: 14%;
    max-width: 60%;
  }

  .animated-text {
    font-size: 1.9rem;
    border-left: 12px solid #8a0000;
    padding-left: 14px;
  }

  .typewriter {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .customize-btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.7rem;
  }

  video.background-video {
    height: 130%;
    top: -10%;
  }

  .home { 
    margin-bottom: 0px; 
}

.AboutImage {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 800px !important; /* adjust if you want smaller */
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
}

.highlight-text {
  position: relative;
  display: block;
  font-size: 16px !important;
  line-height: 1.0 !important;
  text-align: center;
  max-width: 500px !important;
  margin: 0 auto !important;
}

}

/* 🔹 iPad Pro (1024px–1366px) Centered Layout */
@media (min-width: 1024px) and (max-width: 1366px) {
  .about-con h2 {
    display: flex;
    flex-direction: column;
    align-items: center;    /* center horizontally */
    justify-content: center; /* optional: center vertically if the container has height */
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .highlight-text {
    margin: 0 auto;
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    position: absolute;
  }
.Header1 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2.2rem;
  margin: 3rem auto;
  width: 100%;
}
.paragraph1 {
  display: block;
    text-align: justify;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  margin-left: 50px;
  margin-top: 130px;
}

}

/* 🔹 Google Nest Hub Max (1280x800) Centered Layout */
@media (min-width: 1270px) and (max-width: 1290px) and (max-height: 850px) {
  .about-con h2 {
    display: flex;
    flex-direction: column;
    align-items: center;     /* center horizontally */
    justify-content: center; /* keep vertically centered if space allows */
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    margin-left: 80px;
  }

  .highlight {
    font-size: 2.0rem !important;
  }

  .Header1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;         /* slightly smaller for 800px height */
    margin: 3rem auto;
    width: 100%;
    margin-left: -70px;
  }

.paragraph1 {
  text-align: justify;
  font-size: 1.rem;
  line-height: 1.55;
  max-width: 750px;
  margin: 20px auto 0 auto;
  width: 100%;
  margin-left: 14%;
  margin-top: 10%;
}

}

/* LOG OUT */

.logout-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  animation: fadeOut 0.25s ease forwards;
}

.logout-popup.show {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.logout-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  width: 360px;
  padding: 25px 25px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.logout-popup.show .logout-box {
  transform: scale(1);
  opacity: 1;
  animation: popIn 0.35s ease forwards;
}

.logout-icon {
  color: #ff8000;
  font-size: 53px;
  margin-bottom: 19px;

}

.logout-box p {
color: #ac4d00; 
background-color: #e8e8e8; 
font-size: 15px; 
font-weight: bold; 
line-height: 1.5; 
text-align: center; 
padding: 10px 15px; 
border-radius: 8px; 
display: inline-block; 
box-shadow: inset 0 1px 3px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.25);
}

.logout-actions {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers buttons horizontally */
  justify-content: center; /* centers them vertically if needed */
  margin-top: 18px;
  gap: 10px;
  
}

.yes-btn, .no-btn {
  padding: 10px 13px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  width: 70%; /* make full width for better alignment */
}

.yes-btn { background-color: #ff9500; color: white; } 
.no-btn { background-color: #ccc; } 
.yes-btn:hover { background-color: #be6c08; } 
.no-btn:hover { background-color: #aaa; }

.popup-divider {
  margin: 18px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, #ff8800, #ffaa00);
  border-radius: 2px;
}

/* Smooth animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes popIn {
  0% {
    transform: scale(0.8) translateY(15px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.terms-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.terms-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-modal-content {
    background: linear-gradient(135deg, #2c2c2c 0%, #333333 50%, #2a2a2a 100%);
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 140, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
    border: 1px solid #555555;
}

.terms-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #555555;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.terms-modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #e67e00, #ff8c00);
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.terms-modal-header i {
    color: #ff8c00;
}

.terms-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #666666;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-modal-close:hover {
    background: rgba(255, 140, 0, 0.2);
    border-color: #ff8c00;
    transform: rotate(90deg);
}

.terms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 30%, #333333 70%, #2a2a2a 100%);
}

.terms-container {
    color: white;
}

.terms-container h3 {
    color: #ff8c00;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.terms-container h4 {
    color: #ff8c00;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.terms-container p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.terms-container ul {
    color: #e0e0e0;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-container ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.terms-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #555555;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3d3d3d 100%);
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.terms-close-btn {
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
    border: 1px solid #ff8c00;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-close-btn:hover {
    background: linear-gradient(135deg, #e67e00, #cc6600);
    border-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .terms-modal-content {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        margin: 0;
    }

    .terms-modal-header {
        padding: 15px 20px;
    }

    .terms-modal-header h2 {
        font-size: 1.2rem;
    }

    .terms-modal-body {
        padding: 20px;
    }

    .terms-container h3 {
        font-size: 1.4rem;
    }

    .terms-container h4 {
        font-size: 1rem;
    }

    .terms-container p,
    .terms-container ul li {
        font-size: 0.85rem;
    }

    .terms-modal-footer {
        padding: 15px 20px;
    }

    .terms-close-btn {
        width: 100%;
        justify-content: center;
    }
}
