/* PrimeEHS Color Scheme - Professional EHS Colors */
:root {
    /* Primary Colors - Professional Blue */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    
    /* Secondary Colors - Safety Green */
    --secondary-color: #059669;
    --secondary-dark: #047857;
    --secondary-light: #10b981;
    
    /* Accent Colors */
    --accent-color: #0891b2;
    --accent-light: #0ea5e9;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-muted: #f3f4f6;
    --bg-dark: #111827;
    
    /* Border Colors */
    --border-light: #e5e7eb;
    --border-muted: #d1d5db;
    
    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: #237abf;
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #8cc440;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: #237abf;
    border: 2px solid #237abf;
}

.btn-outline:hover {
    background-color: #237abf   ;
    color: var(--text-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-icon {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color:#444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-mobile {
    display: none;
}
.nav-mobile_anchor{
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 10px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    color: var(--text-white);
}

.hero-headline {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: 10px;
}

.emoji {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* Form Styles */
.form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 0px;
}

.form-header h3 {
    color: #237abf;
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
    margin-bottom: 0px;
}

.form-header p {
    color:#444;
    font-size: 0.875rem;
    margin-bottom: 0px;
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    margin-top: 15px;
    font-size: 14px;
}

.form-group input,
.form-group select {
 width: 100%;
    padding: 0.60rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Mobile Form */
.mobile-form {
    display: none;
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-muted);
}

/* About Section */
.about {
    padding: var(--spacing-2xl) 0;
}

.about-text {
    font-size: 1rem;
    color:#444;
    /* max-width: 800px; */
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background-color: #237abf;
}

#features h2{
    color: #fff;
    margin-bottom: 5px;
}
#features p{
    color: #fff;
}
.section-header {
    margin-bottom: var(--spacing-1xl);
}

.section-subtitle {
    font-size: 1rem;
    color:#444;
    margin: 0 auto var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    /* background-color: rgba(30, 64, 175, 0.1); */
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}
.feature-icon img{
    width: 65px;
    height: 65px;
}

/* Why PrimeEHS Section */
.why-prime {
    padding: var(--spacing-2xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.why-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.why-icon {
   background-color: #f3ffe3;
    color: #8cc440;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.why-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.why-content p {
    color:#444;
}

/* Industries Section */
.industries {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-muted);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.industry-card {
    background-color: var(--bg-white);
    padding: 20px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.industry-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Final CTA Section */
.final-cta {
    padding: var(--spacing-2xl) 0;
}

.cta-button {
    margin-bottom: var(--spacing-xl);
}

.final-form {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #032744;
    padding: 3rem 0rem 1.5rem 0rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-links h5 {
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    color:#444;
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links li:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: var(--spacing-lg);
    text-align: center;
    color:#444;
}
.footer-content p{
    color: #fff;
}
.footer-content h5{
    color: #fff;
}
.footer-links li{
    color: #fff !important;
}
.footer-bottom p{
    color: #fff;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-form {
        display: none;
    }
    
    .mobile-form {
        display: block;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    .nav-mobile_anchor{
        display: inline-block;
    }
    .nav-mobile {
        display: inline-block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-headline {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .hero-subtext {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.50rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .form-card {
        padding: var(--spacing-md);
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .logo-prime-ehs{
        max-width: 150px !important;
    }
    .nav-mobile{
        font-size: 0.8rem !important ;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
/* .btn:focus,
input:focus,
select:focus {
    outline: 2px solid #237abf;
    outline-offset: 2px;
} */

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation for Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.6s ease-out;
}

.hero-form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.logo-prime-ehs{
    width: 100%;
    max-width: 200px;
}
.industry-card img{
    height: 65px;
    width: 65px;
}
.industry-card h4{
    font-size: 16px;
    font-weight: 500;
}
.footer-brand .logo .logo-prime-ehs{
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
}
.form-card .btn-full{
    margin-top: 10px;
}

.smarter-safety{
    color: #237abf;
}
.compliance-mgt{
    color: #8cc440;
}
.hero-headline h1{
    margin-bottom: 5px;
}


@media (min-width: 1150px) and (max-width: 1400px) {
.industries-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
}


.RegisterOffice {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 20px;
}
.companyName{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.footerAddressdiv {
   display: flex;
    align-items: flex-start;
    color: #fff;
    font-size: 16px;
    width: 250px;
    font-weight: 600;
    margin-bottom: 10px;
}   
.footerAddressdiv p{
    margin: 0px;
    font-weight: 500;
}
.displayFlex{
    display: flex;
    align-items: center;
    color: #fff;
}
.Icon_phoneHW{
    height: 30px;
    width: 30px;
}
.Icon_phone{
    margin-right: 10px;
}
.phone-number{
    font-size: 1rem;
    font-weight: 500;
}
.why-grid-copy{
    margin-top: 20px;
}
.text-center-btn{
    text-align: center;
    margin-top: 20px;
}
.section-subtitle-rm{
   margin-bottom: 0px; 
}
#cta-form h2{
    margin-bottom: 10px;
}
#cta-form .section-subtitle{
    margin-bottom: 20px;
}
#cta-form{
    /* background: #dbdbdb7a; */
    padding: 40px 0px;
}


.features-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin-top: 30px;
}

.features-list li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #8cc440; /* Green tick */
    font-size: 1.1rem;
}
.features-list li p{
    margin-top: 5px;
}

.client-logo {
    padding: var(--spacing-2xl) 0;
}

 #clientLogo {
    background: #f9f9f9;
    padding: 40px 0;
    overflow: hidden;
  }

  .client-logo .slider-track {
    display: flex;
    width: calc(150px * 16); /* 16 logos (8 original + 8 duplicate) x 250px each */
    animation: scroll 20s linear infinite;
  }

  .client-logo .container {
    width: 100%;
    overflow: hidden;
  }

  .client-logo .slide {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 20px;
  }

  .client-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Pause on hover (optional) */
  .slider-track:hover {
    animation-play-state: paused;
  }
/* Modal background (hidden by default) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Show modal when targeted */
.modal:target {
    display: flex;
}

/* Modal box */
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}




/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    text-decoration: none;
    font-size: 20px;
    color: #333;
}


/* Form Fields */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button */
.btn-full {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.btn-full:hover {
    background-color: #0056b3;
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}