:root {
    --primary-dark-blue: #1e3a8a;
    --primary-baby-blue: #93c5fd;
    --secondary-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto ;
    padding: 0 20px;
    
}

/* Header Styles */


.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark-blue);
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-blue);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-utilities {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: var(--light-gray);
}

.login-btn {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-dark-blue);
}


.bar {
    width: 25px;
    height: 3px;
    background: #2563eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:rgb(22 33 67 / 35%);
  z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dna" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dna)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgb(32 35 43 / 38%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20% 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-baby-blue);
    color: var(--primary-dark-blue);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark-blue);
}

/* Vendors Section */
.vendors-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vendor-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vendor-logo {
    height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.vendor-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark-blue);
}

.vendor-card p {
    color: var(--text-secondary);
}

/* Value Propositions Section */
.value-props-section {
    padding: 5rem 0;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.value-prop-card {
    text-align: center;
    padding: 2rem;
}

.value-prop-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-baby-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-dark-blue);
}

.value-prop-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
}

.value-prop-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Featured Products Section */
.featured-products-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark-blue);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.learn-more-btn {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more-btn:hover {
    color: var(--primary-dark-blue);
}

/* Newsroom Section */
.newsroom-section {
    padding: 5rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.featured-article {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.1);;
}

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
    color: var(--primary-dark-blue);
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.read-more-btn {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-dark-blue);
}

.recent-articles h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark-blue);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-item {
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 0.5rem;
}

.article-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.article-item h5 {
    margin-top: 0.5rem;
}

/* Media Queries */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}





/* Product Details Page Styles */
.product-details-section {
    padding: 80px 0 80px;
   background-color: #ebf2f9;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 9px solid var(--dark-gray);
}

.ontainer {
    max-height: 500px; /* Or a suitable max height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-details-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.product-info-container {
    display: flex;
    flex-direction: column;
    max-height: 600px; /* Adjust as needed */
    overflow-y: auto;
    padding-right: 15px; /* To prevent content from being hidden by scrollbar */
}

.product-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    font-family: "Lexend", sans-serif;
}

.product-details-vendor,
.product-details-category {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.product-details-vendor span,
.product-details-category span {
    font-weight: 600;
    color: var(--text-primary);
}

.product-details-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.product-details-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
}

.product-details-price span {
    color: var(--primary-dark-blue);
}

.product-features,
.product-applications {
    margin-bottom: 2rem;
}

.product-features h3,
.product-applications h3,
.product-specifications h3,
.product-documents h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
}

.product-features ul,
.product-applications ul {
    list-style: none;
    padding-left: 0;
}

.product-features li,
.product-applications li {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-features li i,
.product-applications li i {
    color: var(--secondary-blue);
    margin-right: 10px;
}

.product-specifications table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.product-specifications th,
.product-specifications td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

.product-specifications th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--primary-dark-blue);
}

.product-specifications td {
    color: var(--text-primary);
}

.product-documents ul {
    list-style: none;
    padding-left: 0;
}

.product-documents li {
    margin-bottom: 0.8rem;
}

.product-documents li a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-documents li a:hover {
    color: var(--primary-dark-blue);
}

.product-documents li i {
    margin-right: 8px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: 2px solid var(--secondary-blue);
    margin-bottom: 5px;
}

.btn-primary:hover {
    background-color: var(--primary-dark-blue);
    border-color: var(--primary-dark-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

@media (max-width: 992px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    
    
}

@media (max-width: 768px) {
    .product-details-title {
        font-size: 2rem;
    }

    .product-details-price {
        font-size: 1.2rem ;
    }
  .product-details-category{
    font-size: 0.8rem !important;
  }
  .product-details-vendor{
    font-size: 12px !important;
  }

    .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

