/* CSS Variables - New Color Scheme */
:root {
    --primary: #1f2937;      /* Primary color */
    --accent: #6b7280;    /* Accent, secondary color */
    --accent-hover: #4b5563;  /* Accent hover color */
    --accent-gradient: linear-gradient(135deg, #9ca3af 0%, #4b5563 100%);
    --accent-soft: rgba(75, 85, 99, 0.12);
    --accent-soft-strong: rgba(75, 85, 99, 0.18);
    --card-bg: #ffffff;      /* Card background */
    --text-dark: #111827;    /* Dark text */
    --text-muted: #4b5563;   /* Muted text */
    --border: #e5e7eb;       /* Borders */
    --bg:#ffffff;
    --shadow: 0 4px 20px rgba(31, 41, 55, 0.08);
    --shadow-sm: 0 6px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.16);
    --shadow-card-hover: 0 25px 60px rgba(0,0,0,0.18);
    --shadow-hover: 0 12px 32px rgba(31, 41, 55, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 20px;
}
  
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 10px 20px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background-color:var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.12);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--bg);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.2);
}

.text-center {
    text-align: center;
}


.decor {
    width: 86px;
    height: 10px;
    margin: 10px auto 20px;
    background: linear-gradient(90deg, var(--accent), #7fb0ff);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.decor .loader-dot {
  width: 18px;
  height: 10px;
  background: var(--bg);
  border-radius: 20px;
  position: absolute;
  left: 0;
  top: 0;
  animation: slideDot 1.8s ease-in-out infinite;
}

@keyframes slideDot {
  0%   { left: 0; }
  50%  { left: calc(100% - 18px); }
  100% { left: 0; }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.hero::before { 
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../assets/home/banner.webp");
    background-size: cover;
    background-position: center;

    filter: blur(2px);         
    transform: scale(1.1);      
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); 
  }


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff; 
}

.hero h1 {
    animation: fadeInUp 1s ease-out 0.3s both;
    color: var(--bg);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

       
.about {
  background-color: var(--bg);
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  justify-content: space-evenly;
  
}

/* Initial hidden state */
.about-text {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  max-width: 800px;

}

.about-visual {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.about-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-visual.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-visual img {
  width: 90%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}



.products {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgb(253 147 26 / 19%);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 10px;
    position: relative;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 1000px;
    margin: 0 auto;
}

/* Decorative Dots */
.dot {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.load-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.load-dot:nth-child(2) {
    animation-delay: 0.4s;
}

.load-dot:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Product Card */
.product-card {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-12px);
     box-shadow: var(--shadow-card-hover);
    border-color: #e2e8f0;
}

.product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Product Image */
.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-wrapper img {
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin: 0 40px;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--bg);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);

}

/* Product Content */
.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--bg);
    font-size: 1.2rem;
}


.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Product Features */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-card:hover .feature-tag {
    background: rgba(75, 85, 99, 0.12);
    color: var(--accent-hover);
}

/* Product Link */
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.product-link:hover {
    gap: 15px;
    color: var(--accent-hover);
    transform: translateY(-12px) scale(1.01);
}

.product-link:hover::after {
    width: 100%;
}

.products-container .btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: var(--bg);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.products-container .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    gap: 16px;
}

.products-container .btn-primary::before{
    content: "";
    position: absolute;
    inset: 0;
     border-radius: inherit;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: var(--transition);
}

.products-container .btn-primary:hover::before
 {
    opacity: 1;
}


.industries{
    background: var(--bg);
}

.industries-wrapper{
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 80px;
    align-items: center;
}

.industries-grid{
    display:flex;
    gap:40px;
    justify-content:center;
}

.industry-column{
    display:flex;
    flex-direction:column;
    gap:28px;
}

/* MAGIC LINE */
.industry-column:last-child{
    justify-content:center;
}


.industries-content h2{
    margin-bottom: 20px;
}

.industries-content .lead{
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: justify;
    font-weight: 500;
}

.industries-content p{
    margin-bottom: 18px;
}

.highlight{
    font-weight: 600;
    color: var(--primary);
}


.industry-card{
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 15px;
    width: 100%;
    max-width: 300px;
    text-align: center;
        backdrop-filter: blur(6px);

    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
     
}

.industry-card:nth-child(3){
    grid-column: 1 / -1;
    justify-self: center;
}


.industry-card:hover{
    transform: translateY(-8px) scale(1.02);
     box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}


.industry-icon{
    width:70px;
    height:70px;
    margin: 0 auto 18px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;
    background:var(--primary) ;
    color:var(--light-bg);

    font-size:1.8rem;
    transition:.3s ease;
    
}

.industry-card:hover .industry-icon{
    background:var(--accent-hover);
    color:var(--bg);
    transform:scale(1.08);
}

.industry-card h3{
    font-size:1.15rem;
    margin-bottom:10px;
    color:var(--text-dark);
}

.industry-card p{
    font-size:.95rem;
    margin-bottom: 0%;
    color:var(--accent);
    line-height:1.6;
}


.industries-content a{
    text-decoration: none;
    margin-top: 25px;
}

.industries-content .btn-primary{
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: var(--bg);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.industries-content .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    gap: 16px;
}

.industries-content .btn-primary::before{
    content: "";
    position: absolute;
    inset: 0;
     border-radius: inherit;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: var(--transition);
}

.industries-content .btn-primary:hover::before {
    opacity: 1;
}


.engineering{
    background: var(--bg);
}

/* Engineering Section */
.engineering-timeline {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}

.engineering-timeline:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--primary);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 1.5rem;
    margin: 0 30px;
    z-index: 1;
    flex-shrink: 0;
}

/* WHY OPTIMAX SPLIT */
.why-optimax-split{
  background: var(--bg);

  padding-top: 0px !important;
}

.why-optimax-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* LEFT IMAGE */
.why-optimax-image{
  position: relative;
}

.why-optimax-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.image-accent{
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 18px;
}

/* RIGHT CONTENT */
.why-badge{
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.why-badge .text-highlight{
    padding: 2px 3px;
}

.why-optimax-content h2{
  line-height: 1.3  ;
  color: var(--text);
}

.why-heading{
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #0b1b2b;
}

/* Highlight wrapper */
.text-highlight{
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Asymmetric highlight block */
.text-highlight::before{
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 50%;
  height: 1.15em;
  transform: translateY(-50%);
  background: var(--accent-soft);
  border-radius: 0 14px 0 14px;
  z-index: -1;
}

.why-text{
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 35px;
}

/* FEATURES */
.why-points{
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 280px));
justify-content: center;

  gap: 28px;
}

.why-point{
  display: flex;
  gap: 15px;
}

.why-point i{
  font-size: 25px;
  color: var(--primary);
  margin: 4px 0 !important;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* underline */
.why-point i::after{
  content: "";
  display: block;
  width: 22px;
  margin-top: 6px;        /* 👈 space between icon & line */
  border-bottom: 1px solid var(--accent);
}

.why-point h4{
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.why-point p{
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}



/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--text-dark) 100%);
    color: var(--bg);
    text-align: center;
    padding: 45px 0;
}

.cta h2 {
    color: var(--bg);
}

.cta h2:after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Counter */
.stats {
    background-color: var(--bg);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

       
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}



/* Elements animate automatically when visible */

.product-card,
.industry-card,
.timeline-item,
.benefit-card {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        /* ===== CSS ONLY SCROLL ANIMATIONS ===== */
@keyframes fadeUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {

  .container,
  .products-container,
  .why-optimax-wrapper {
    max-width: 1200px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .hero-content {
    max-width: 700px;
  }

  .about-text{
    max-width: 60%;
  }

  .about-text p{
    text-align: justify;
  }

  .about-visual{
    max-width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-wrapper {
    gap: 60px;
  }

  .why-heading {
    font-size: 34px;
  }
}


@media (min-width: 769px) and (max-width: 1024px) {

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    max-height: 70vh;
    padding: 120px 0 80px;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .stats-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .about-text {
    max-width:55%;
    text-align: justify;
  }

  .about-visual img {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .industries-content {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }


  .industries-content .lead{
    text-align: justify;
  }

  .industries-content .btn-primary{
    display: none;
  }

  .industries-grid {
    order: 2;
  }
  
  .industries-grid {
    justify-content: center;
  }
  
  .engineering-timeline {
    max-width: 700px;
  }

  .engineering-timeline::before {
    left: 50%; 
  }

  .timeline-content {
    width: 44%; 
    padding: 26px;
  }

  .timeline-icon {
    margin: 0 24px;
  }

  .timeline-item {
    flex-direction: 70px;
  }

  .why-optimax-wrapper{
    grid-template-columns: 1fr 0fr;
  }

  .why-optimax-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10%;
  }

   .why-optimax-image{
    display: none;
  }


  .why-heading {
    font-size: 32px;
  }

  .cta h2{
    font-size: 1.9rem !important;
  }

  .cta p{
    font-size: 1.1rem;
  }


}


@media (min-width: 601px) and (max-width: 768px) {

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero{
    height: 75vh;
  }

  .hero h1{
    font-size: 1.8rem;
  }

  .hero p{
    font-size: 1.1rem;
  }

  .hero-content{
    max-width: 500px;
  }

  .hero-btns {
    flex-direction: row;
  }
  
  .stats-grid{
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
  }

  .stats{
    padding: 60px 0 25px;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-number{
    font-size: 2.5rem;
  }

  .stat-label{
    font-size: 1rem;
  }

  .about-content{
    gap: 0;
  }

  .about-visual img {
    display: none;
  }

  .about-text p{
    text-align: justify;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

   .industries-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

    .industries-content {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }


  .industries-content .lead{
    text-align: justify;
  }

  .industries-content .btn-primary{
    display: none;
  }

  .industries-grid {
    order: 2;
  }

  .industry-card {
    max-width: 360px;
  }

  .timeline-content{
    padding: 15px;
  }


  .timeline-icon{
    width: 50px;
    height: 50px;
    margin: 0 20px;
  }

  .why-optimax-wrapper{
      grid-template-columns: 1fr 0fr;
      margin-left: 2%;
      gap: 0;
  }
  .why-optimax-image {
    display: none;
  }

  .why-points {
    grid-template-columns: 1fr;
  }
}



@media (min-width: 481px) and (max-width: 600px) {

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero{
    height: 70vh;
  }

  .btn {
    padding: 10px;
  }

  .hero-content {
    max-width: 500px;
  }

  .hero-content h1{
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 60px 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .stats{
    padding: 20px 0px;
  }

  .stats-grid{
    gap: 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-content{
    gap: 0 !important;
  }

  .about-text p{
    text-align: justify;
  }

  .about-visual img{
    display: none;
  }

  .section-title{
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

   .industries-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

    .industries-content {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }


  .industries-content .lead{
    text-align: justify;
  }

  .industries-content .btn-primary{
    display: none;
  }

  .industries-grid {
    order: 2;
  }

  .industry-card {
    max-width: 360px;
  }

  .industry-card p {
    display: none;
  }

  .engineering-timeline{
    display: flex;
    flex-direction: column;
  }

  .timeline-content{
    width: 100%;
  }

  .engineering-timeline:before{
    display: none;
  }

  .timeline-icon{
    display: none;
  }

  .btn {
    width: 100%;
    text-align: center;
  }


  .why-optimax-wrapper{
      grid-template-columns: 1fr 0fr;
      margin-left: 2%;
      gap: 0;
  }

  .why-optimax-content{
    max-width: 480px;
  }

  .why-optimax-content h2{
    font-size: 24px;
  }

  .why-points{
    grid-template-columns: repeat(2, minmax(180px, 280px));

  }

  .why-optimax-image{
    display: none;
  }
}


@media (max-width: 480px) {

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .btn{
    padding: 10px;
    font-size: 16px;
  }

  .hero {
    padding: 90px 0 50px;
    height: 65vh;
  }

  .hero p {
    font-size: 1.0rem;
  }

  .stats {
    padding: 20px 0;
  }

  .stat-item {
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-padding {
    padding: 50px 14px;
  }

  .about-content{
    gap: 0;
  }

  .about-text p{
    text-align: justify;
  }

  .about-visual {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }
  .section-description{
    font-size: 1rem;
  }

  
  .products-grid {
    grid-template-columns: 1fr;
  }

   .industries-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .industries-content {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }

  .industries-grid{
    order: 2;
  }

  .industry-card {
    padding: 18px;
  }

  .industry-card p{
    display: none;
  }

  .industries-content .lead {
    font-size: 1rem;
    text-align: left;
  } 

  .industries-content .btn-primary{
    display: none;
  }


  .engineering-timeline{
    display: flex;
    flex-direction: column;
  }

  .timeline-content{
    width: 100%;
  }

  .engineering-timeline:before{
    display: none;
  }

  .timeline-icon{
    display: none;
  }

  .why-optimax-wrapper{
      grid-template-columns: 1fr 0fr;
      margin-left: 2%;
      gap: 0;
      padding: 0;
  }

  .why-optimax-content{
    max-width: 480px;
  }

  .why-optimax-content h2{
    font-size: 24px;
  }

  .why-points{
    grid-template-columns: repeat(2, minmax(180px, 280px));

  }

  .why-optimax-image{
    display: none;
  }
  .cta p {
    font-size: 1rem;
  }


}

