:root {
    --primary: #0066ff;
    --secondary: #0044cc;
    --accent: #00c2ff;
    --dark: #121212;
    --light: #f8f9fa;
    --success: #00cc88;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --enterprise-primary: #4a148c; /* Deep Purple */
    --enterprise-secondary: #7b1fa2; /* Lighter Purple */
    --enterprise-gradient-start: #ede7f6; /* Light Purple tint */
    --enterprise-gradient-end: #d1c4e9; /* Slightly darker tint */
    --enterprise-text-dark: #311b92; /* Dark Purple text */
    --enterprise-text-light: #6a1b9a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    /* Add padding-top to prevent content from hiding behind fixed header */
    padding-top: 80px; /* Adjust based on header height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
    color: white; /* Ensure text color stays white on hover */
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
    color: var(--secondary); /* Adjust hover text color if needed */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0; /* Adjust as needed */
    transition: padding 0.3s ease;
}

header.scrolled .header-container {
     padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

/* --- Dropdown Styles START --- */

.nav-links li {
    position: relative; /* Needed for absolute positioning of dropdown */
}

.nav-links li a {
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    display: flex; /* Use flex to align icon */
    align-items: center; /* Vertically center icon */
    padding: 5px 0; /* Add some padding for hover area */
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a .arrow-down {
    font-size: 0.7em; /* Make arrow smaller */
    margin-left: 6px; /* Space between text and arrow */
    transition: transform 0.3s ease;
}

.nav-links li:hover > a .arrow-down {
     transform: rotate(180deg); /* Rotate arrow on hover */
}

.dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%; /* Position below the parent li */
    left: 0;
    background-color: white;
    min-width: 220px; /* Adjust width as needed */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 10;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    opacity: 0; /* Start hidden for transition */
    visibility: hidden; /* Start hidden for transition */
    transform: translateY(10px); /* Start slightly lower for transition */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-menu li {
    /* Reset position if needed */
     position: static;
}

.dropdown-menu li a {
    color: var(--dark);
    padding: 10px 20px; /* Padding for dropdown items */
    font-size: 15px;
    display: block; /* Make the whole area clickable */
    white-space: nowrap; /* Prevent text wrapping */
    font-weight: 400;
     transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f1f5ff; /* Light blue background on hover */
    color: var(--primary);
}

/* Show dropdown on hover of parent li */
.nav-links li.has-dropdown:hover > .dropdown-menu {
    display: block; /* Or use flex/grid if needed */
     opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Dropdown Styles END --- */

.nav-links .btn {
    padding: 10px 22px;
    margin-left: 10px; /* Keep margin if needed */
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    z-index: 1001; /* Ensure toggle is clickable over potential overlaps */
}
/* Optional: Add some specific spacing or styles for this page if needed */
.integrations-grid, .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.integration-card, .use-case-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.integration-card:hover, .use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.integration-icon, .use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db; /* Primary color from index */
}
 .integration-card h3, .use-case-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #333;
 }
.integration-card p, .use-case-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.product-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Light gradient background */
    text-align: center;
}
.product-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}
 .product-hero h1 span {
    color: #3498db; /* Primary color */
 }
.product-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #555;
}
.section-padding {
    padding: 4rem 0;
}

/* Ensure product images are responsive */
.product-detail-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-detail-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Alternate layout for product details */
.product-detail-content:nth-child(odd) {
    flex-direction: row-reverse;
}

.product-detail-text {
    flex: 1;
}
 .product-detail-text h2 {
     font-size: 2rem;
     margin-bottom: 1rem;
     color: #2c3e50;
 }
.product-detail-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
 .product-detail-text ul {
     list-style: none;
     padding-left: 0;
 }
  .product-detail-text li {
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      color: #555;
  }
 .product-detail-text li i {
     color: #27ae60; /* Success color */
     margin-right: 0.7rem;
     font-size: 1.1rem;
 }

.product-detail-img {
    flex: 1;
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--enterprise-secondary); /* Theme accent */
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(74, 20, 140, 0.15); /* Themed shadow */
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--enterprise-primary); /* Use theme color */
}
 .feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--enterprise-text-dark); /* Use theme color */
 }
.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.product-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--enterprise-gradient-start) 0%, var(--enterprise-gradient-end) 100%); /* Enterprise gradient */
    text-align: center;
}
.product-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--enterprise-primary); /* Use theme color */
}
 .product-hero h1 span {
    color: var(--enterprise-text-dark); /* Use theme color */
 }
.product-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #444; /* Slightly darker text for readability on light gradient */
}
.section-padding {
    padding: 4rem 0;
}

/* Styles for product detail/benefits section */
.product-detail-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-detail-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.product-detail-content:nth-child(odd) {
    flex-direction: row-reverse;
}
.product-detail-text {
    flex: 1;
}
 .product-detail-text h2 {
     font-size: 2rem;
     margin-bottom: 1rem;
     color: var(--enterprise-primary); /* Use theme color */
 }
.product-detail-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
 .product-detail-text ul {
     list-style: none;
     padding-left: 0;
 }
  .product-detail-text li {
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      color: #555;
  }
 .product-detail-text li i {
     color: var(--enterprise-secondary); /* Use theme color */
     margin-right: 0.7rem;
     font-size: 1.1rem;
 }
.product-detail-img {
    flex: 1;
    text-align: center;
}

/* Button styling */
.btn-enterprise {
    background-color: var(--enterprise-primary);
    border-color: var(--enterprise-primary);
    color: #fff;
}
.btn-enterprise:hover {
    background-color: var(--enterprise-secondary);
    border-color: var(--enterprise-secondary);
}
.btn-secondary-enterprise {
    border-color: var(--enterprise-primary);
    color: var(--enterprise-primary);
}
.btn-secondary-enterprise:hover {
     background-color: var(--enterprise-gradient-start);
     color: var(--enterprise-text-dark);
}
.cta-enterprise {
    background-color: var(--enterprise-primary); /* Theme background for CTA */
}
 .cta-enterprise h2, .cta-enterprise p {
     color: #fff; /* White text on dark background */
 }
.cta-enterprise .cta-btn {
     background-color: #fff; /* White button */
     color: var(--enterprise-primary); /* Themed text */
     font-weight: bold;
 }
.cta-enterprise .cta-btn:hover {
     background-color: var(--enterprise-gradient-end); /* Light themed hover */
     color: var(--enterprise-text-dark);
 }
 .features-grid { /* Renamed from integrations-grid */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.feature-card { /* Renamed from integration-card */
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.feature-icon { /* Renamed from integration-icon */
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db; /* Primary color */
}
 .feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #333;
 }
.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.product-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%); /* Adjusted gradient for DataSense */
    text-align: center;
}
.product-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #00796b; /* Data/Analytics themed color */
}
 .product-hero h1 span {
    color: #004d40; /* Darker shade */
 }
.product-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #37474f; /* Dark grey text */
}
.section-padding {
    padding: 4rem 0;
}

/* Styles for product detail/benefits section */
.product-detail-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-detail-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.product-detail-content:nth-child(odd) { /* Keep alternating layout */
    flex-direction: row-reverse;
}
.product-detail-text {
    flex: 1;
}
 .product-detail-text h2 {
     font-size: 2rem;
     margin-bottom: 1rem;
     color: #00796b; /* Match hero color */
 }
.product-detail-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
 .product-detail-text ul {
     list-style: none;
     padding-left: 0;
 }
  .product-detail-text li {
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      color: #555;
  }
 .product-detail-text li i {
     color: #00796b; /* Match hero color */
     margin-right: 0.7rem;
     font-size: 1.1rem;
 }
.product-detail-img {
    flex: 1;
    text-align: center;
}

/* Hero Section - (Keep existing styles) */
.hero { padding: 100px 0 100px; /* Adjusted padding considering new body padding-top */ position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 70%; height: 100%; background: linear-gradient(45deg, rgba(0, 102, 255, 0.03), rgba(0, 194, 255, 0.06)); z-index: -1; border-radius: 0 0 0 100px; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1; max-width: 600px; }
.hero-text h1 { font-size: 56px; margin-bottom: 24px; color: var(--dark); letter-spacing: -1px; }
.hero-text h1 span { color: var(--primary); position: relative; }
.hero-text h1 span::after { content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 6px; background: rgba(0, 102, 255, 0.15); z-index: -1; }
.hero-text p { font-size: 18px; margin-bottom: 32px; color: #555; line-height: 1.7; }
.hero-img { flex: 1; display: flex; justify-content: flex-end; }
.hero-img img { max-width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.hero-btns { display: flex; gap: 16px; }
.hero-metrics { display: flex; gap: 32px; margin-top: 48px; }
.metric { flex: 1; }
.metric-value { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.metric-label { font-size: 16px; color: #555; }

/* Services Section - (Keep existing styles) */
.services { padding: 100px 0; background: linear-gradient(180deg, var(--light) 0%, #f1f5ff 100%); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 40px; color: var(--dark); margin-bottom: 16px; }
.section-header p { font-size: 18px; color: #555; max-width: 700px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.service-card { background: white; border-radius: 12px; padding: 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(0, 102, 255, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon i { font-size: 28px; color: var(--primary); }
.service-card h3 { font-size: 24px; margin-bottom: 16px; color: var(--dark); }
.service-card p { color: #555; margin-bottom: 24px; }
.service-link { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.service-link i { transition: all 0.3s ease; }
.service-link:hover i { transform: translateX(5px); }

/* Products Section - (Keep existing styles) */
.products { padding: 100px 0; }
.product-item { display: flex; align-items: center; margin-bottom: 80px; gap: 60px; }
.product-item:last-child { margin-bottom: 0; }
.product-item:nth-child(even) { flex-direction: row-reverse; }
.product-img { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.product-img img { width: 100%; display: block; }
.product-content { flex: 1; }
.product-content h3 { font-size: 32px; margin-bottom: 20px; color: var(--dark); }
.product-content p { font-size: 18px; color: #555; margin-bottom: 24px; }
.product-features { margin-bottom: 32px; }
.feature-item { display: flex; align-items: flex-start; margin-bottom: 16px; }
.feature-item i { color: var(--success); margin-right: 12px; margin-top: 4px; }

/* CTA Section - (Keep existing styles) */
.cta { padding: 80px 0; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; text-align: center; border-radius: 16px; margin: 40px 20px; }
.cta h2 { font-size: 40px; margin-bottom: 20px; }
.cta p { font-size: 18px; max-width: 700px; margin: 0 auto 32px; opacity: 0.9; }
.cta-btn { background: white; color: var(--primary); border: 2px solid white; font-size: 18px; }
.cta-btn:hover { background: transparent; color: white; }

/* Footer - (Keep existing styles) */
footer { background: var(--dark); color: white; padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h3 { font-size: 20px; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.7); transition: all 0.3s ease; }
.footer-col ul li a:hover { color: white; padding-left: 5px; }
.footer-col p { color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: white; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.social-icons a:hover { background: var(--primary); transform: translateY(-5px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* Responsive Design */
@media (max-width: 992px) {
     /* Adjust body padding if header height changes */
    body { padding-top: 70px; }

    .hero-text h1 { font-size: 48px; }
    .product-item { flex-direction: column !important; gap: 40px; }
    .product-img, .product-content { width: 100%; }

     /* Hide dropdown arrow on medium screens if nav is still horizontal */
     /* (Keep it if nav collapses earlier) */
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0; /* Align to top */
        left: -100%; /* Start off-screen */
        width: 80%; /* Adjust width */
        max-width: 300px; /* Max width */
        height: 100%; /* Full height */
        background: white;
        flex-direction: column;
        align-items: flex-start; /* Align items left */
        gap: 0; /* Remove gap, use padding on items */
        padding: 100px 0 30px; /* Add padding top (below header) and bottom */
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        /* Remove transform, use left property for transition */
        transition: left 0.4s ease;
        z-index: 1000; /* Ensure menu is above content */
        overflow-y: auto; /* Allow scrolling if menu is long */
    }

    .nav-links.active {
        left: 0; /* Slide in */
    }

     /* Style individual nav items for mobile */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee; /* Separator lines */
    }
     .nav-links li:last-child {
         border-bottom: none; /* No border for last item */
     }

    .nav-links li a {
        padding: 15px 25px; /* Consistent padding */
        width: 100%; /* Make link fill li */
        justify-content: space-between; /* Push arrow to the right */
        font-weight: 500;
    }
     .nav-links li a:hover {
         background-color: #f1f5ff; /* Hover effect */
         color: var(--primary);
     }

     /* Adjust button styling within mobile menu */
     .nav-links li.nav-button-mobile {
         padding: 20px 25px;
         border-bottom: none;
     }
     .nav-links li.nav-button-mobile .btn {
          width: 100%;
          padding: 12px 20px;
          margin: 0;
     }
     .nav-links .btn {
         margin-left: 0; /* Reset desktop margin */
     }

    /* --- Mobile Dropdown Styles START --- */

    /* Keep dropdown indicator visible */
     .nav-links li a .arrow-down { display: inline-block; }

    /* Reset dropdown positioning for mobile */
    .dropdown-menu {
        position: static; /* Change from absolute */
        display: block; /* Always block level within flow */
        box-shadow: none;
        min-width: 100%;
        border-radius: 0;
        padding: 0;
        margin-top: 0; /* Reset margin */
        background-color: #f8f9fa; /* Slightly different background */
        /* Reset transitions for mobile - might not need them */
         opacity: 1;
        visibility: visible;
        transform: none;
         /* Initially hide mobile dropdown content */
         max-height: 0;
         overflow: hidden;
         transition: max-height 0.4s ease-out;
    }

    /* Style mobile dropdown items */
    .dropdown-menu li a {
         padding: 12px 25px 12px 40px; /* Indent dropdown items */
         font-size: 14px;
         font-weight: 400;
         border-top: 1px solid #eee; /* Separator */
    }
     .dropdown-menu li:first-child a {
          border-top: none; /* No top border for the first item */
     }
     .dropdown-menu li a:hover {
         background-color: #e9efff; /* Darker hover for dropdown */
     }

    /* Show mobile dropdown when parent li has 'open' class */
    .nav-links li.has-dropdown.open > .dropdown-menu {
         max-height: 500px; /* Set a max-height to allow animation */
     }
    /* Rotate arrow when mobile dropdown is open */
    .nav-links li.has-dropdown.open > a .arrow-down {
         transform: rotate(180deg);
    }

    /* --- Mobile Dropdown Styles END --- */


    .hero-content { flex-direction: column; text-align: center; }
    .hero-img { justify-content: center; margin-top: 40px; }
    .hero-btns { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .section-header h2 { font-size: 32px; }
}

@media (max-width: 576px) {
    /* Adjust body padding if header height changes */
    body { padding-top: 60px; }

     .header-container { padding: 15px 0; } /* Adjust padding for smaller header */
     header.scrolled .header-container { padding: 10px 0; }

    .hero { padding: 80px 0 60px; }
    .hero-text h1 { font-size: 36px; }
    .hero-text p { font-size: 16px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { /* Ensure button doesn't get too wide */ display: block; /* Makes it full width */ margin-bottom: 10px; }
     /* Remove the extra button li padding in mobile nav for consistency */
     .nav-links li.nav-button-mobile { padding: 15px 25px; }
     .nav-links li.nav-button-mobile .btn { margin-bottom: 0; }


    .hero-metrics { flex-direction: column; gap: 20px; }
    .service-card { padding: 24px; }
    .cta h2 { font-size: 32px; }
}