/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-color: #2C3E50;  /* Darker blue-grey */
    --secondary-color: #34495E; /* Complementary darker shade */
    --accent-color: #FF6B35;   /* New orange accent color */
    --text-color: #2C3E50;
    --light-bg: #f8f9fa;
    --dark-bg: #2C3E50;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, .section-heading {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Heading Accent Line */
h2, h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%,
        rgba(255, 107, 53, 0.7) 50%,
        rgba(255, 107, 53, 0.4) 100%
    );
}

/* Center alignment for centered headings with symmetrical gradient */
.text-center h2::after,
h2.text-center::after,
.text-center h3::after,
h3.text-center::after,
.specs-heading::after {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    background: linear-gradient(90deg, 
        rgba(255, 107, 53, 0.4) 0%,
        rgba(255, 107, 53, 0.7) 20%,
        var(--accent-color) 50%,
        rgba(255, 107, 53, 0.7) 80%,
        rgba(255, 107, 53, 0.4) 100%
    );
}

.product-subtitle, 
.feature-description,
body,
p {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.product-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
}

.feature-heading {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.specs-heading {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin: 4rem 0 3rem;
    letter-spacing: -0.02em;
}

.specs-table th {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    padding: 1rem;
    background-color: #f8fafc;
}

.specs-table td {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 1rem;
    line-height: 1.5;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img.logo {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img.logo {
    height: 35px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

/* Shared Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
    background-color: var(--primary-color);
    margin-top: 0;
    padding-top: 76px;
}

.hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.98), 
        rgba(52, 152, 219, 0.9));
}

.hero-section .geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section .circuit-board-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('../images/sd-100107.png');
    background-size: cover;
    background-position: center left;
    opacity: 0.2;
    mask-image: linear-gradient(to left, 
        rgba(0,0,0,1) 20%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, 
        rgba(0,0,0,1) 20%, 
        rgba(0,0,0,0) 100%);
}

.hero-section .conference-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-image: url('../images/conference-v1.png');
    background-size: cover;
    background-position: center 70%;
    opacity: 0.2;
}

.hero-section .container {
    z-index: 1;
    padding: 4rem 0;
}

.hero-section h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section .lead {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Products Hero Specific */
.products-hero {
    min-height: 30vh;
}

.products-hero .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.98), 
        rgba(44, 62, 80, 0.9));
}

.products-hero .container {
    padding: 3rem 0;
}

/* Engineering Hero Specific */
.engineering-hero {
    min-height: 30vh;
}

.engineering-hero .hero-overlay {
    background: linear-gradient(145deg, 
        rgba(44, 62, 80, 0.98), 
        rgba(52, 152, 219, 0.9));
}

.engineering-hero .container {
    padding: 3rem 0;
}

/* About Hero Specific */
.about-hero {
    min-height: 30vh;
}

.about-hero .hero-overlay {
    background: linear-gradient(145deg, 
        rgba(44, 62, 80, 0.98), 
        rgba(52, 152, 219, 0.9));
}

.about-hero .container {
    padding: 3rem 0;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 30vh;
    }
    
    .hero-section .container {
        padding: 2.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-section .circuit-board-overlay {
        width: 100%;
        opacity: 0.1;
        mask-image: linear-gradient(to left, 
            rgba(0,0,0,0.15) 0%, 
            rgba(0,0,0,0.05) 100%);
        -webkit-mask-image: linear-gradient(to left, 
            rgba(0,0,0,0.15) 0%, 
            rgba(0,0,0,0.05) 100%);
    }
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.product-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Compact Product Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    transition: box-shadow 0.3s ease;
}

.card-img-top {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 5px;
}

.card-body {
    padding: 0.5rem 0 0 0;
}

.card-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--bs-secondary);
    margin-bottom: 1rem;
}

.card .btn {
    transition: all 0.3s ease;
}

.card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Certifications Section */
.certifications {
    position: relative;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background: linear-gradient(135deg, #1a4f7a 0%, #2c3e50 100%);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: none;
}

.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu .dropdown-item.active {
    color: #ffffff;
    font-weight: 600;
}

.dropdown-menu .dropdown-item.active:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Dropdown arrow color */
.dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Button Styles */
.btn.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn.btn-primary:hover, 
.btn.btn-primary:focus, 
.btn.btn-primary:active,
.btn.btn-primary.active {
    background-color: #E85A24 !important;
    border-color: #E85A24 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2) !important;
}

.btn.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    --bs-btn-focus-shadow-rgb: var(--accent-color);
    --bs-btn-focus-box-shadow: none;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active,
.btn.btn-outline-primary:focus-within,
.btn.btn-outline-primary.active {
    background-color: var(--accent-color) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2) !important;
    transform: translateY(-2px);
    outline: none !important;
    border-color: var(--accent-color) !important;
}

.btn.btn-outline-primary:focus-visible {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px;
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Accent Line */
.accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Icons */
.bi-check2-circle {
    color: var(--accent-color);
    margin-right: 0.75rem;
}

/* Check Icons */
.check-design {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Product Page Styles */
.product-hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.product-hero .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.product-hero .product-title {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.product-hero .product-subtitle {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.product-hero .product-actions {
    margin-bottom: 0.5rem;
}

.product-hero .product-image-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.product-hero img {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-hero img.no-shadow {
    box-shadow: none;
}

@media (max-width: 991px) {
    .product-hero {
        padding-top: 4rem;
        padding-bottom: 1rem;
    }
    
    .product-hero .container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .product-hero img {
        max-width: 100%;
        margin-top: 1.5rem;
    }
}

/* Feature Section */
.features {
    padding: 3rem 0 4rem;
}

.feature-column {
    background: linear-gradient(145deg, 
        rgba(248, 249, 250, 0.95), 
        rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 
        0 4px 6px rgba(44, 62, 80, 0.05),
        0 1px 3px rgba(44, 62, 80, 0.1);
}

.feature-column:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(44, 62, 80, 0.08),
        0 2px 4px rgba(44, 62, 80, 0.12);
    background: linear-gradient(145deg,
        rgba(248, 249, 250, 0.98),
        rgba(255, 255, 255, 0.95));
}

.feature-column .feature-heading {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.feature-column .feature-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-color),
        rgba(255, 107, 53, 0.5));
    border-radius: 2px;
}

.feature-column .feature-description {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .features {
        padding: 2rem 0 3rem;
    }
}

/* Specifications Section */
.specifications {
    padding: 4rem 0;
    margin-top: 1rem;
    background-color: #f8fafc;
    position: relative;
}

.specifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    box-shadow: 0 -6px 12px -6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.specs-heading {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    color: #2d3748;
}

.specs-table {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.specs-table th {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    width: 35%;
}

.specs-table td {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 1.25rem 1.5rem;
    line-height: 1.5;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-image {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .specifications {
        padding: 3rem 0;
    }
    
    .specs-table {
        margin-bottom: 2rem;
    }
}

/* Product Action Buttons */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-actions .btn {
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Home Hero Section */
.home-hero {
    position: relative;
    min-height: 75vh;
    overflow: hidden;
    background-color: var(--primary-color);
}

.random-pipe-background {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 80%; /* Reduced from 100% to make it narrower */
    transform: translateX(-50%) scaleX(-1); /* Center the element and maintain flip */
    background-image: url('../images/cryogenic-pipe-fitting.jpeg');
    background-size: cover;
    background-position: center; /* Center the background image */
    opacity: 0.3;
    /* Add gradient masks on both sides */
    mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.98), 
        rgba(52, 152, 219, 0.9));
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.circuit-board-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('../images/circuit-board.jpg');
    background-size: cover;
    background-position: center left;
    opacity: 0.15;
    mask-image: linear-gradient(to left, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,0) 100%);
}

.conference-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-image: url('../images/conference-v1.png');
    background-size: cover;
    background-position: center 20%;
    opacity: 0.2;
}

.home-hero .container {
    z-index: 1;
    padding: 3rem 0;
}

.home-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.home-hero .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: #E85A24;
    border-color: #E85A24;
}

@media (max-width: 991px) {
    .home-hero {
        min-height: auto;
    }
    
    .home-hero .container {
        padding: 4rem 0;
    }
    
    .home-hero h1 {
        font-size: 2.5rem;
    }

    .circuit-board-overlay {
        width: 100%;
        opacity: 0.1;
        mask-image: linear-gradient(to left, 
            rgba(0,0,0,0.15) 0%, 
            rgba(0,0,0,0.05) 100%);
        -webkit-mask-image: linear-gradient(to left, 
            rgba(0,0,0,0.15) 0%, 
            rgba(0,0,0,0.05) 100%);
    }
}

/* Engineering Checkmark Icons and List Items */
.check-design {
    color: #2ecc71;  /* Green */
    margin-right: 8px;
}

.check-development {
    color: #2ecc71;  /* Green */
    margin-right: 8px;
}

.check-deployment {
    color: #2ecc71;  /* Green */
    margin-right: 8px;
    font-size: 1.1em;
}

.list-unstyled li,
.list-group-item {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

/* Engineering Services Cards */
.services-section .card {
    background: linear-gradient(145deg, 
        rgba(248, 249, 250, 0.95), 
        rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 
        0 4px 6px rgba(44, 62, 80, 0.05),
        0 1px 3px rgba(44, 62, 80, 0.1);
    overflow: hidden;
}

.services-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(44, 62, 80, 0.08),
        0 2px 4px rgba(44, 62, 80, 0.12);
    background: linear-gradient(145deg,
        rgba(248, 249, 250, 0.98),
        rgba(255, 255, 255, 0.95));
}

.services-section .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

.services-section .card-body {
    padding: 2rem;
}

.services-section .card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

.services-section .card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-color),
        rgba(255, 107, 53, 0.5));
    border-radius: 2px;
}

.services-section .card p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-section .list-unstyled li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-section .list-unstyled i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.services-section .check-design,
.services-section .check-development,
.services-section .check-deployment {
    opacity: 0.9;
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.featured-products h2 {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    color: #2d3748;
}

.featured-products .product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.featured-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.featured-products .product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.featured-products .product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.featured-products .product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-products .product-card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.featured-products .product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

/* News Items */
.news-section {
    background-color: var(--light-bg);
}

.news-item {
    background: #fff;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.05);
}

.news-item .object-fit-cover {
    height: 350px;
    object-fit: cover;
    background: none;
}

.news-item .image-overlay {
    display: none;
}

.news-item .card-body,
.news-item .news-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
}

.news-item .btn {
    margin-top: auto;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-item .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.news-item .btn-primary:hover {
    background: darken(var(--accent-color), 10%);
    border-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
}

.news-item .btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.news-item .btn-outline-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Bubble Background Styles */
.bubble-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.bubble {
    position: absolute;
    border-radius: 50%;
}

.bubble-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #ff6b35, transparent);
    top: -100px;
    left: -50px;
    animation: float 8s ease-in-out infinite;
}

.bubble-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 70% 70%, #4ecdc4, transparent);
    top: 50%;
    right: -50px;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #4ecdc4, transparent);
    bottom: -50px;
    left: 20%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.bubble-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 70% 70%, #ff6b35, transparent);
    top: 20%;
    left: 60%;
    animation: float 9s ease-in-out infinite;
    animation-delay: 3s;
}

.bubble-5 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 40% 40%, #4ecdc4, transparent);
    top: 45%;
    left: 30%;
    animation: float 7.5s ease-in-out infinite;
    animation-delay: 2.5s;
}

.bubble-6 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 60% 60%, #ff6b35, transparent);
    bottom: 15%;
    right: 25%;
    animation: float 6.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bubble-7 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 50% 50%, #4ecdc4, transparent);
    top: 10%;
    right: 15%;
    animation: float 8.5s ease-in-out infinite;
    animation-delay: 3.5s;
}

.bubble-8 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 45% 45%, #ff6b35, transparent);
    top: 65%;
    left: 45%;
    animation: float 7.8s ease-in-out infinite;
    animation-delay: 2.8s;
}

.bubble-9 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 55% 55%, #4ecdc4, transparent);
    top: 25%;
    left: 15%;
    animation: float 6.8s ease-in-out infinite;
    animation-delay: 1.8s;
}

.bubble-10 {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle at 35% 65%, #ff6b35, transparent);
    bottom: 10%;
    right: 40%;
    animation: float 8.8s ease-in-out infinite;
    animation-delay: 4.2s;
}

.bubble-11 {
    width: 130px;
    height: 130px;
    background: radial-gradient(circle at 65% 35%, #4ecdc4, transparent);
    top: 45%;
    right: 10%;
    animation: float 7.2s ease-in-out infinite;
    animation-delay: 3.2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* CTA Button Styling */
.btn.cta-button,
a.btn.cta-button,
.btn.btn-primary.cta-button {
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.btn.cta-button:hover,
a.btn.cta-button:hover,
.btn.btn-primary.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Core Values Section Shadow */
.core-values {
    position: relative;
}

.core-values::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* Exclude accent line from Core Values card headings */
.core-values .card h3 {
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.core-values .card h3::after {
    display: none;
}

/* Advantage Comparison Matrix Styles */
.advantage-comparison {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.advantage-comparison::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, rgba(255,107,53,0) 70%);
    transform: rotate(-15deg);
    z-index: 0;
}

/* Scoped styles for the comparison table only */
.advantage-comparison .comparison-table {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.advantage-comparison .comparison-table thead {
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.advantage-comparison .comparison-table thead th {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.25rem 1rem;
    font-weight: 600;
    vertical-align: middle;
    border-bottom: none;
}

.advantage-comparison .comparison-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border-color: rgba(0,0,0,0.05);
}

.advantage-comparison .comparison-table tr:last-child td {
    border-bottom: none;
}

/* Override all hover effects for the comparison table only */
.advantage-comparison .comparison-table tr:hover,
.advantage-comparison .comparison-table tr:hover td,
.advantage-comparison .comparison-table tbody tr:hover,
.advantage-comparison .comparison-table tbody tr:hover td,
.advantage-comparison .comparison-table tr:hover .feature-column,
.table-hover .advantage-comparison .comparison-table tbody tr:hover {
    background-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Scoped feature column styles */
.advantage-comparison .feature-column {
    width: 18%;
    min-width: 180px;
    border-right: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

/* Ensure the feature column in the header has the same background */
.advantage-comparison .comparison-table thead th.feature-column {
    background-color: var(--secondary-color);
    color: white;
}

.advantage-comparison .advantage-column {
    width: 40%;
    min-width: 300px;
    background-color: rgba(255,255,255,0.5);
}

.advantage-comparison .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), rgba(255,107,53,0.8));
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.advantage-comparison .feature-column h5 {
    color: var(--primary-color);
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.1rem;
}

.advantage-comparison .feature-column h5::after {
    display: none;
}

.advantage-comparison .favicon-badge {
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: white;
    padding: 2px;
}

.advantage-comparison .comparison-table p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.advantage-comparison .comparison-table .small {
    font-size: 0.85rem;
    color: #6c757d;
}

.advantage-comparison .comparison-table .fs-5 {
    font-size: 1.25rem !important;
}

.advantage-comparison .comparison-table .fw-bold {
    font-weight: 600 !important;
}

.advantage-comparison .advantage-column i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.advantage-comparison .badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.advantage-comparison .legacy-badge {
    font-size: 1rem;
    padding: 0.6rem 0.85rem;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .advantage-comparison .feature-column, 
    .advantage-comparison .advantage-column {
        width: auto;
        min-width: auto;
    }
    
    .advantage-comparison .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .advantage-comparison .comparison-table td, 
    .advantage-comparison .comparison-table th {
        padding: 1rem 0.75rem;
    }
}

/* Company Overview Section */
.company-overview p {
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #4a5568;
    max-width: 90ch;
}

.company-overview h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Contact Page Card Headings */
.bg-white h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Product Gallery */
.product-gallery {
    background-color: var(--light-bg);
}

.gallery-item {
    transition: transform 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Certification Badge Hover Effect */
.cert-badge-container {
    position: relative;
    display: inline-flex; /* Use inline-flex to wrap the image tightly */
    vertical-align: middle;
    line-height: 0; /* Prevent extra space */
}

.cert-badge-container img {
    border-radius: .25rem; /* Apply border-radius to the image */
}

.cert-badge-container .cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: .25rem; /* Match image border-radius */
}

.cert-badge-container:hover .cert-overlay {
    opacity: 1;
}

.cert-badge-container .cert-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

