
/* Custom styles for counter alignment */
.rs-counter-one .rs-counter-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rs-counter-one .rs-counter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.rs-counter-one .rs-counter-number-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 25px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.16);
  width: 100%;
}

/* Custom styles for navbar centering */
.rs-header-five .rs-header-inner {
  justify-content: center;
  border: none;
}

.rs-header-five .rs-header-menu {
  margin: 0 auto;
}

.rs-header-five .main-menu ul {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rs-header-five .rs-header-left {
  position: absolute;
  left: 0;
}

.rs-header-five .rs-header-right {
  position: absolute;
  right: 15px;
}

.rs-header-five .rs-header-hamburger {
  padding: 0 10px;
}

/* Fix dropdown alignment */
.rs-header-five .main-menu .menu-item-has-children {
  position: relative;
}

.rs-header-five .main-menu .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background-color: #fff !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  display: block !important;
  flex-direction: column !important;
}

.rs-header-five .main-menu .menu-item-has-children:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rs-header-five .main-menu .submenu li {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.rs-header-five .main-menu .submenu li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  transition: all 0.3s ease;
  background-color: #fff !important;
}

.rs-header-five .main-menu .submenu li a:hover {
  color: var(--rs-theme-light-green);
  background-color: #f5f5f5 !important;
}

/* Ensure dropdown items stack vertically */
.rs-header-five .main-menu .submenu ul {
  display: block !important;
  flex-direction: column !important;
}

.rs-header-five .main-menu .submenu ul li {
  display: block !important;
  width: 100%;
}

/* Add black overlay to breadcrumb section */
.rs-breadcrumb-one::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.rs-breadcrumb-content-wrapper {
  position: relative;
  z-index: 2;
}

.rs-breadcrumb-title,
.rs-breadcrumb-menu a,
.rs-breadcrumb-menu span {
  color: #fff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
        /* Header Styles */
        .teraxo-header {
            background: linear-gradient(135deg, #37669b 0%, #2a4d73 100%);
            color: white;
            padding: 20px 0;
            text-align: center;
        }
        
        .teraxo-title {
            font-size: 3.2rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .teraxo-subtitle {
            font-size: 1.5rem;
            font-weight: 300;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        /* Hero Section - Enhanced */
        .manufacturing-hero {
            padding: 80px 0;
            background: linear-gradient(135deg, #ffffff 0%, #f0f5fa 100%);
            position: relative;
            overflow: hidden;
        }
        
        .manufacturing-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(55, 102, 155, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }
        
        .hero-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }
        
        .hero-text {
            flex: 1;
            min-width: 300px;
            max-width: 900px;
            padding: 0 30px;
            text-align: center;
        }
        
        .hero-heading {
            font-size: 3.5rem;
            color: #37669b;
            margin-bottom: 25px;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }
        
        .hero-description {
            font-size: 2rem;
            color: #555;
            margin-bottom: 30px;
            line-height: 1.8;
            max-width: 850px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-highlight {
            background: linear-gradient(135deg, #fef0f0 0%, #ffe6e6 100%);
            padding: 35px;
            border-radius: 12px;
            border-left: 5px solid #dc3545;
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.1);
            transition: all 0.3s ease;
            margin-top: 30px;
        }
        
        .hero-highlight:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(220, 53, 69, 0.15);
        }
        
        .highlight-text {
            font-size: 1.5rem;
            color: #dc3545;
            font-weight: 600;
            line-height: 1.6;
            margin: 0;
        }
        
        /* Section Common Styles - Enhanced */
        .manufacturing-section {
            padding: 30px 0;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            font-size: 3rem;
            color: #37669b;
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 20px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
            border-radius: 2px;
        }
        
        .section-title:before {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 140px;
            height: 4px;
            background: linear-gradient(90deg, transparent 0%, rgba(220, 53, 69, 0.3) 50%, transparent 100%);
            border-radius: 2px;
        }
        
        /* What We Offer Section - Enhanced */
        .offerings-section {
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
            position: relative;
        }
        
        .offerings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 35px;
        }
        
        .offering-card {
            background-color: white;
            border-radius: 16px;
            padding: 40px 35px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(55, 102, 155, 0.08);
            position: relative;
            overflow: hidden;
        }
        
        .offering-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #37669b 0%, #dc3545 100%);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }
        
        .offering-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(55, 102, 155, 0.15);
        }
        
        .offering-card:hover::before {
            transform: scaleX(1);
        }
        
        .offering-icon {
            color: #37669b;
            font-size: 3.5rem;
            margin-bottom: 25px;
            display: inline-block;
            padding: 15px;
            background: linear-gradient(135deg, #e8f0f8 0%, #d4e4f0 100%);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .offering-card:hover .offering-icon {
            transform: scale(1.1) rotate(5deg);
            background: linear-gradient(135deg, #37669b 0%, #2a4d73 100%);
            color: white;
        }
        
        .offering-title {
            font-size: 1.8rem;
            color: #37669b;
            margin-bottom: 20px;
            font-weight: 700;
            line-height: 1.3;
        }
        
        .offering-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .offering-list-item {
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
            font-size: 1.5rem;
            line-height: 1.6;
            transition: all 0.3s ease;
        }
        
        .offering-list-item:last-child {
            border-bottom: none;
        }
        
        .offering-list-item:hover {
            color: #37669b;
            padding-left: 10px;
        }
        
        .list-check {
            color: #2ecc71;
            margin-right: 12px;
            font-size: 1.2rem;
            font-weight: bold;
        }
        
        /* Formulations Section - Enhanced */
        .formulations-section {
            background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
        }
        
        .formulations-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .formulation-item {
            background: linear-gradient(135deg, #fef0f0 0%, #ffffff 100%);
            padding: 25px 30px;
            border-radius: 12px;
            border-left: 5px solid #dc3545;
            font-size: 1.25rem;
            font-weight: 600;
            color: #37669b;
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .formulation-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            transition: left 0.5s ease;
        }
        
        .formulation-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
            border-left-color: #37669b;
            background: linear-gradient(135deg, #ffffff 0%, #fef0f0 100%);
        }
        
        .formulation-item:hover::before {
            left: 100%;
        }
        
        /* End-to-End Section - Enhanced */
        .end-to-end-section {
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
            position: relative;
        }
        
        .process-flow {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 50px;
            gap: 20px;
            position: relative;
        }
        
        .process-flow::before {
            content: '';
            position: absolute;
            top: 25px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent 0%, #37669b 20%, #37669b 80%, transparent 100%);
            z-index: 0;
            opacity: 0.3;
        }
        
        .process-step {
            flex: 1;
            min-width: 220px;
            max-width: 280px;
            text-align: center;
            padding: 30px 20px;
            position: relative;
            z-index: 1;
            background: white;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            border: 2px solid transparent;
        }
        
        .process-step:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(55, 102, 155, 0.2);
            border-color: #37669b;
        }
        
        .step-number {
            display: inline-block;
            width: 70px;
            height: 70px;
            line-height: 70px;
            background: linear-gradient(135deg, #37669b 0%, #2a4d73 100%);
            color: white;
            border-radius: 50%;
            font-weight: bold;
            font-size: 2rem;
            margin-bottom: 20px;
            box-shadow: 0 6px 20px rgba(55, 102, 155, 0.3);
            transition: all 0.3s ease;
        }
        
        .process-step:hover .step-number {
            transform: scale(1.15) rotate(360deg);
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
        }
        
        .process-step h3 {
            font-size: 1.5rem;
            color: #37669b;
            font-weight: 700;
            margin-bottom: 12px;
        }
        
        .process-step p {
            color: #666;
            line-height: 1.6;
            font-size: 1.1rem;
            margin: 0;
        }
        
        /* Industries Section - Enhanced */
        .industries-section {
            background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
        }
        
        .industries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .industry-item {
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
            padding: 25px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            border: 2px solid transparent;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .industry-item:hover {
            transform: translateY(-5px);
            border-color: #37669b;
            box-shadow: 0 8px 25px rgba(55, 102, 155, 0.15);
            background: linear-gradient(135deg, #ffffff 0%, #e8f0f8 100%);
        }
        
        .industry-icon {
            color: #37669b;
            font-size: 2.2rem;
            margin-right: 20px;
            min-width: 40px;
            text-align: center;
            padding: 12px;
            background: rgba(55, 102, 155, 0.1);
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        
        .industry-item:hover .industry-icon {
            background: linear-gradient(135deg, #37669b 0%, #2a4d73 100%);
            color: white;
            transform: scale(1.1);
        }
        
        .industry-item span {
            font-size: 1.8rem;
            font-weight: 600;
            color: #333;
            transition: color 0.3s ease;
        }
        
        .industry-item:hover span {
            color: #37669b;
        }
        
        /* Why Choose Us Section - Enhanced */
        .advantages-section {
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
        }
        
        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }
        
        .advantage-item {
            display: flex;
            align-items: flex-start;
            background: white;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            border: 1px solid rgba(220, 53, 69, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .advantage-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: linear-gradient(180deg, #dc3545 0%, #37669b 100%);
            transition: height 0.4s ease;
        }
        
        .advantage-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(220, 53, 69, 0.2);
            border-color: #dc3545;
        }
        
        .advantage-item:hover::before {
            height: 100%;
        }
        
        .advantage-icon {
            color: #dc3545;
            font-size: 2.5rem;
            margin-right: 20px;
            min-width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #fef0f0 0%, #ffe6e6 100%);
            border-radius: 12px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .advantage-item:hover .advantage-icon {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            color: white;
            transform: scale(1.1) rotate(5deg);
        }
        
        .advantage-item h3 {
            font-size: 1.5rem;
            color: #37669b;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .advantage-item p {
            color: #555;
            line-height: 1.7;
            margin: 0;
            font-size: 1.15rem;
        }
        
        /* Ideal For Section - Enhanced */
        .ideal-for-section {
            background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
        }
        
        .ideal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .ideal-item {
            background: linear-gradient(135deg, #e8f0f8 0%, #ffffff 100%);
            padding: 25px 30px;
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 1.25rem;
            color: #37669b;
            box-shadow: 0 4px 15px rgba(55, 102, 155, 0.1);
            border: 2px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .ideal-item::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(55, 102, 155, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease;
        }
        
        .ideal-item:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 10px 30px rgba(55, 102, 155, 0.2);
            border-color: #37669b;
            background: linear-gradient(135deg, #ffffff 0%, #e8f0f8 100%);
        }
        
        .ideal-item:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .ideal-item {
            position: relative;
            z-index: 1;
        }
        
        /* Footer */
        .teraxo-footer {
            background-color: #2a4d73;
            color: white;
            padding: 40px 0;
            text-align: center;
        }
        
        .footer-heading {
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .footer-text {
            max-width: 800px;
            margin: 0 auto 30px;
            opacity: 0.8;
        }
        
        .contact-button {
            display: inline-block;
            background-color: #dc3545;
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.3rem;
            transition: background-color 0.3s ease;
        }
        
        .contact-button:hover {
            background-color: #c82333;
        }
        
        /* Enhanced Section Description */
        .manufacturing-section p[style*="text-align: center"] {
            font-size: 1.8rem !important;
            color: #666 !important;
            line-height: 1.8 !important;
            font-weight: 400 !important;
        }
        
        /* Industries We Serve Section Enhancement */
        .rs-industries-area.rs-services-three {
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
            padding: 80px 0;
        }
        
        .rs-services-item {
            transition: all 0.4s ease;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        }
        
        .rs-services-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(55, 102, 155, 0.2);
        }
        
        .rs-services-thumb {
            overflow: hidden;
        }
        
        .rs-services-thumb img {
            transition: transform 0.4s ease;
        }
        
        .rs-services-item:hover .rs-services-thumb img {
            transform: scale(1.1);
        }
        
        .rs-services-title {
            color: #37669b;
            font-weight: 700;
            font-size: 1.4rem;
            transition: color 0.3s ease;
        }
        
        .rs-services-item:hover .rs-services-title {
            color: #dc3545;
        }
        
        /* Responsive Styles - Enhanced */
        @media (max-width: 768px) {
            .teraxo-title {
                font-size: 2.5rem;
            }
            
            .hero-heading {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .hero-text {
                padding: 0 20px;
                margin-bottom: 30px;
            }
            
            .process-step {
                min-width: 100%;
                margin-bottom: 25px;
                max-width: 100%;
            }
            
            .process-flow::before {
                display: none;
            }
            
            .offerings-grid,
            .advantages-grid,
            .ideal-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-highlight {
                padding: 25px;
            }
            
            .offering-card,
            .advantage-item {
                padding: 25px;
            }
        }
        
        @media (max-width: 480px) {
            .teraxo-title {
                font-size: 2rem;
            }
            
            .teraxo-subtitle {
                font-size: 1.3rem;
            }
            
            .manufacturing-section {
                padding: 50px 0;
            }
            
            .hero-heading {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .highlight-text {
                font-size: 1.3rem;
            }
            
            .offering-icon {
                font-size: 3rem;
            }
            
            .step-number {
                width: 60px;
                height: 60px;
                line-height: 60px;
                font-size: 1.8rem;
            }
        }