/* ============================================
   ERACLE SYSTEMS - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
  --bg-primary: #F4F4F2;
  --bg-dark: #0E0F12;
  --accent: #1f5ae2;
  --accent-hover: #4075fd;
  --text-primary: #0E0F12;
  --text-secondary: #6B6F7A;
  --text-light: #F4F4F2;
  --hairline: rgba(14, 15, 18, 0.22);
  --hairline-light: rgba(244, 244, 242, 0.18);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --header-h: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 600;
}
p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  /* padding: 3rem 0; */
}
.grid-2.reverse {
  direction: rtl;
}

/* Micro Labels */
.text-micro {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  /* color: var(--text-secondary); */
}

/* Overlays */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(14, 15, 18, 0.15) 0px,
    rgba(14, 15, 18, 0.15) 1px,
    transparent 1px,
    transparent calc(100vw / 12)
  );
}

/* Buttons */
.btn-primary,.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-primary {
  background-color: var(--accent-hover);
}
.btn-primary:hover {
  background-color: var(--accent);
  transform: scale(1.02);
}
.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--bg-primary);
}
.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.link-arrow:hover {
  color: #1a5aee;
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.link-arrow svg {
  transition: transform var(--transition-fast);
}

/* Separator */
.separator {
  height: 1px;
  background-color: var(--hairline);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
  z-index: 1000; 
  transition: all var(--transition-medium);
  background-color: rgba(244, 244, 242, 0.95);
  backdrop-filter: blur(12px);
  background-color: transparent;
  border-bottom: 1px solid rgb(54, 77, 75);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  padding: 0 8vw;
  max-width: 100%;
}
.nav-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav a, .nav-links a {
  color: rgb(224, 236, 241);
  text-decoration: none;
}
.nav.scrolled a, 
.nav.scrolled .nav-links a,
.nav.scrolled .nav-toggle {
  color: var(--text-primary);
}
.nav.scrolled {
  background-color: rgba(241, 241, 239, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-dark {
  background-color: var(--bg-dark);
}
.nav-dark .logo,
.nav-dark .nav-links a {
  color: var(--text-light);
  transition: color 0.3s ease;
}
.nav-dark .menu-toggle span {
  background-color: rgba(241, 241, 239, 0.95);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex; 
  align-items: center; 
  /* gap: 5px; */
}
.brand .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav.scrolled .brand .logo {
  filter: brightness(0);
}
.brand img {
  width: 65px; 
  height: 65px; 
}
.brand-name{
  display: flex; 
  flex-direction: column; 
}
.brand h1 {
  font-size: 1.1rem; 
  margin: 0; 
  padding-bottom: 8px;
}
.brand h5 {
  font-size: 0.7rem; 
  font-style: italic; 
}
.nav-links {
  display: flex;
  align-items: center; 
  justify-content: center; 
  gap: 2rem;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  /* color: var(--blue-700);  */
  font-weight: 1000;
  opacity: 0.7;
}
.nav-links a.active {
  font-weight: 700;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px; 
  width: 90%;
  height: 4px; 
  background-color: #004a99;
  border-radius: 2px;
}
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80%;
  height: 4px;
  background-color: #004a99;
  opacity: 0.5;
}
.nav-contact-btn a{
  padding: 7px 18px;
  color: white;
}
.nav.scrolled .nav-contact-btn a {
  color: white;
}
.nav-toggle { 
  display:none;
  color: white;
}

/* Page Header */
.page-header {
  padding: 6rem 3.5vw 2rem;
  min-height: 20vh;
  background: url("../img/gen/pagehero-bg.png") no-repeat center center/cover; 
  background-size: cover;
  background-attachment: fixed;   
  background-position: center;
  background-color: rgba(0, 0, 0, 0.4); 
  background-blend-mode: overlay; 
  color: #FFFFFF; 
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.125rem;
}
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}
.section-dark p {
  color: var(--text-light);
  opacity: 0.7;
}
.industry-icon {
  width: 40px;
  height: 40px;
  color: #333; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 3vw;
}
.cta-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto; 
  align-items: center;            
  gap: 40px;                      
  padding: 3rem 3vw;
}
.cta-container h2 {
  margin-bottom: .5rem;
}
.cta-container .btn-primary {
  display: inline-block;
  width: fit-content;    
  padding: 16px 32px;    
  white-space: nowrap;   
  text-align: center;
}

main {
  position: relative;
  z-index: 1;
}

/* Hero Section */
#hero-section {
  color: white;
}
.home-hero {
  min-height: 100vh;
  background: url("../img/gen/homehero-bg.png") no-repeat center center/cover; 
  background-size: cover;
  background-attachment: fixed;   
  background-position: center;
  background-color: rgba(0, 0, 0, 0.4); 
  background-blend-mode: overlay; 
  color: #FFFFFF; 
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  padding: 0 8vw;
}
.home-hero .hero-content .text-micro {
  display: block;
  margin-bottom: 1.5rem;
  font-size: clamp(0.875rem, 1.5vw, .9rem); 
}
.home-hero .hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
}
.home-hero .hero-content > p {
  font-size: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.25rem); 
  margin-bottom: 1rem;
  color: var(--text-light);
}
.page-header .hero-content .text-micro {
  display: block;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 1.4vw, .9rem); 
}
.page-header .hero-content h1 {
  margin-bottom: .5rem;
  font-size: clamp(1.75rem, 2.5vw, 2rem);
}
.page-header .hero-content > p {
  font-size: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem); 
  margin-bottom: 1rem;
  color: var(--text-light);
}
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-insight-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: rgba(47, 107, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  padding: 30px;
  margin-bottom: 20px;
}

/* The Service Section */
.service-section {
  background: url("../img/gen/homeservices-bg.png") no-repeat center center/cover; 
  background-size: cover;
  background-attachment: fixed;   
  background-position: center;
  background-color: rgba(0, 0, 0, 0.4); 
  background-blend-mode: overlay; 
  color: #FFFFFF; 
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.service-content {
  padding: 2rem 0;
  border-bottom: 1px solid rgb(201, 231, 229);
}
.section-header h1 {
  font-size: 20px;
  margin-bottom: 1.5rem;
}
.section-header p, .service-content p {
  color: #cbcdd4; 
}
.service-content h3 {
  margin-bottom: 1rem;
}
.service-content p {
  font-size: 14px;
}
.service-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4rem;
}
.service-cta-items p {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 2rem;
  color: var(--bg-primary);
}

/* Service Cards */
.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-fast);
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-color: rgba(47, 107, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.service-icon img,
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}
.reverse{
  flex-direction: row-reverse;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

/* Feature Section */
.align-center {
  align-items: center;
}
.feature-image {
  flex: 0 0 45%;
  border-radius: 8px;
  overflow: hidden;
  max-height: 450px;
}
.feature-image img {
  width: 100%;
  height: 90%;
  object-fit: contain;
  display: block;
}
.feature-content {
  flex: 1;
}
.feature-content .text-micro {
  margin-bottom: 1rem;
}
.feature-content h2 {
  margin-bottom: 1rem;
}
.feature-content > p {
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.feature-list .bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Logo Grid */

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}
.logo-item:hover {
  opacity: 1;
}
.logo-item img,
.logo-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.logo-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

/* Case Studies */
.case-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-fast);
}
.case-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* .case-image {
  height: 180px;
  overflow: hidden;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
} */
/* .case-card:hover .case-image img {
  transform: scale(1.05);
} */
.case-content {
  padding: 1rem 1.5rem;
}
.case-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.case-content p {
  font-size: 0.9375rem;
}
.case-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.75rem;
  background-color: rgba(14, 15, 18, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Capabilities */
.capability-column h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.capability-column ul {
  list-style: none;
}
.capability-column li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.capability-column li svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Team Grid */
.team-member {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: rgba(14, 15, 18, 0.05);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.team-member p {
  font-size: 0.875rem;
}

/* Job Listings */

.job-wrap .job-disc h3{
  font-size: 1em;
  font-weight: 600;
  padding-bottom: 8px;
  color: var(--text-primary);
}
.job-wrap .apply span{
  font-size: .8em;
  padding: 10px 20px;
  color: var(--bg-dark);
  background-color: #eee;
}
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-fast);
}
.job-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.job-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.job-link{
  background-color: transparent;
  border: 1px solid var(--text-secondary);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}
.job-link:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}
.job-disc{
  padding: 20px;
}
.job-disc li{
  font-size: .9rem;
}



/* Contact Section */
.contact-info {
  flex: 0 0 40%;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info > p {
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item a {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-form-wrapper {
  flex: 1;
}
.contact-form,
.career-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select,
.career-form input,
.career-form textarea,
.career-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: white;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea,
.career-form textarea {
  resize: none;
  min-height: 120px;
}
select:invalid {
  color: #999;
}
select:valid {
  color: #333;
}
select option {
  color: #333;
}
.contact-cta{
  display: flex;
  gap: 16px;
}
.contact-cta .btn-whatsapp{
  background:#25D366;
  color:#fff;
  border-radius:8px;
  padding:9px 12px;
  border:0;
  /* margin-left:8px */
}
.contact-map{
  padding-top: 10px;
  border-radius:8px;
  overflow:hidden;
  height: 220px;
}

/* Dark Form */
.section-dark .contact-form input,
.section-dark .contact-form textarea,
.section-dark .contact-form select {
  background-color: rgba(244, 244, 242, 0.05);
  border-color: rgba(244, 244, 242, 0.1);
  color: var(--text-light);
}
.section-dark .contact-form input::placeholder,
.section-dark .contact-form textarea::placeholder {
  color: rgba(244, 244, 242, 0.4);
}

/* Form Success */
.form-success {
  background-color: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}
.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(47, 107, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}

/* Industries Grid */
.industries h1 {
  padding: .3rem 0;
}
.industries p {
  padding-bottom: 1.5rem;
}
.industry-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-fast);
}
.industry-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.industry-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(47, 107, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
}
.industry-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* ============================================
   INSIGHT PAGE - Insights/Articles
   ============================================ */

.article-wrap, .job-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.article-wrap::before, .job-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}
.article-go, .job-item{
  position: relative;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  cursor: pointer;
}
.article-wrap .info, .job-wrap .apply{
  z-index: 10000;
  position: absolute;
  bottom: 40px;
  color: var(--text-color1);
  transform: translateY(-20px);
  opacity: 0;
  transition: .5s ease;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-wrap:hover .info, .job-wrap:hover .apply {
  transform: translateY(0);
  opacity: 1;
}
.article-wrap .info h3{
  font-size: 1.5em;
  font-weight: 700;
  padding-bottom: 10px;
  color: white;
}
.article-wrap .info span{
  font-size: .8em;
  padding: 10px 20px;
  color: var(--bg-dark);
  background-color: #eee;
}
.article-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-wrap .overlay, .job-wrap .overlay{
  transition: 1s ease;
}
.article-wrap:hover .overlay, .job-wrap:hover .overlay{
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-fast);
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.article-image {
  height: 250px;
  overflow: hidden;
}
.value-img {
  height: 250px;
  overflow: hidden;
  padding-bottom: 18px;
}
.article-image img, .value-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.article-card:hover .article-image img {
  transform: scale(1.05);
}
.article-content {
  padding: 1.5rem;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.article-content h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 1.125rem;
}
.article-content p {
  font-size: 0.9375rem;
}
.article-modal {
  z-index: 10001;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.article-modal.active {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  z-index: 10002;
  position: relative;
  background: white;
  max-width: 1200px;
  width: 90%;
  height: 80vh;
  margin: 20px;
  padding: 20px 40px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}
.article-modal.active .modal-content {
    transform: scale(1);
}
.modal-header {
  flex-shrink: 0;
  padding: 20px;
  background: #fff;
  z-index: 10;
  position: relative;
}
.modal-scroll-area {
  overflow-y: auto; 
  flex-grow: 1; 
  -webkit-overflow-scrolling: touch;
}
.modal-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}
.modal-close-btn:hover {
  color: #000;
}
.article-title { 
  display: grid; 
  grid-template-columns: 1fr .3fr; 
  gap:16px; 
  justify-content: center;
  position: sticky; 
  top: 0; 
  background: #fff; 
  z-index: 10; 
  margin-right: 20px; 
  padding: 5px 0; 
  border-bottom: 1px solid #eee; 
  box-shadow: 0 4px 6px -6px rgba(0,0,0,.15);
}
.article-title h1 { 
  font-size: 1.4rem; 
  font-weight: 600; 
  margin: .5rem 0; 
  text-align: left;
}
.article-title .meta { 
  font-size: .7rem; 
  color: #777; 
  margin: .5rem 0; 
}
.article-details{
  padding-top: 1rem;
}
.article-details h2 { 
  font-size: 1.4rem; 
  padding: .5rem 0;
  margin: .5rem .5rem 0 .5rem; 
  color: #003366;
}
.article-details .article-image{
  width: 100%; 
  padding: 1rem;
  height: 350px; 
}
.article-details .article-image img { 
  height: 100%;
  width: 100%; 
  border-radius: 10px; 
  object-fit: cover;
}
.article-details p { 
  margin: 0;
  padding-bottom: .5rem;
}
.article-details ul, .article-details ol { 
  padding-left: 1.5rem; 
  margin: 0;
  padding-bottom: 1rem;
}
.article-details li {  
  margin-bottom: .5rem;
}


/* Footer */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--hairline-light);
  /* padding: 4rem 0 2rem; */
  padding: 2rem 8vw;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr .8fr 1.1fr;
  gap: 3rem;
  margin-bottom: 1rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand .brand-name{
  color: #FFFFFF;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 3rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: rgba(244, 244, 242, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  opacity: 0.6;
  transition: all var(--transition-fast);
}
.social-links a:hover {
  opacity: 1;
  background-color: rgba(244, 244, 242, 0.1);
}
.footer-column h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  opacity: 0.4;
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 0.75rem;
}
.footer-column a {
  font-size: 0.875rem;
  color: var(--text-light);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.footer-column a:hover {
  opacity: 1;
}
.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.4;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.footer-links a:hover {
  opacity: 0.7;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width:1100px){
  .nav-links {
    display: none; 
    position: absolute; 
    width: 160px; 
    top: 64px; 
    right: 16px; 
    background:#fff; 
    border:1px solid #eaecef; 
    border-radius: 12px; 
    padding: .75rem; 
    z-index: 1000;
  }
  .nav-links.open {
    display: block;
  }
  .nav-links a {
    display:block; 
    padding:.5rem .75rem; 
    margin:0; 
    font-size: 15px;
    color: rgb(25, 36, 41);
  }
  .nav-links a.active {
  background-color: #d6ebff;
  border-radius: 6px;
  height: 90%;
  margin: 0 5px 5px 0;
  /* width: 90%; */
}

  .nav-contact-btn a{
    color: white;
  }
  .btn-cta {
    padding: .55rem 1rem; 
    font-weight:500; 
  }
  .nav-toggle {
    display:block; 
    background: none; 
    border: none; 
    font-size: 24px; 
    cursor: pointer;
  }
}
@media (max-width: 1024px) {
  .hero-image {
    width: 100%;
    height: 40vh;
    position: relative;
  }
  .hero {
    flex-direction: column;
  }
  .hero-content {
    max-width: 100%;
    padding: 2rem 6vw;
  }
  .hero-content > p {
    max-width: 100%;
  }
  .feature-image {
    flex: 1;
    width: 100%;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section {
    flex-direction: column;
    padding: 3rem 6vw;
  } 
  .contact-info {
    flex: 1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .container {
    padding: 5rem 6vw;
  }
  .nav-container {
    height: 64px;
    padding: 0 6vw;
  }
  .page-header {
    padding: 3.5rem 2vw 1rem;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .cta-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-4.center {
    place-items: center;
    text-align: center;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
    gap: 2rem;
  }
  .cta-container.center {
    place-items: center;
    text-align: center;
    gap: 0.8rem;
  }
  .social-links {
    display: flex;
    justify-content: center;   
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
  .cta-row {
    flex-direction: column;
  }
  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .form-row {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 368px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    place-items: center;
    gap: 1rem;
  }   
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(14, 15, 18, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 15, 18, 0.4);
}

/* Selection */
::selection {
  background: rgba(47, 107, 255, 0.2);
  color: var(--text-primary);
}
