:root {
  /* Saima Qaiser Securities Palette */
  --sqs-green-dark: #006400; /* Deep Header Green */
  --sqs-green: #228B22; /* Standard Green */
  --sqs-green-bright: #2ecc71;
  --sqs-teal: #3baea0; /* Online Trading Box */
  --sqs-gold: #e6b800; /* Download Box */
  --sqs-orange: #ff6b4a; /* Financial Info Box */
  
  --primary: var(--sqs-green-dark);
  --accent: var(--sqs-green-bright);
  
  --bg-body: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #111111;
  
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #ffffff;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-med: 0.3s ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--sqs-green-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.text-center { text-align: center; }
.text-white { color: white; }
.bg-light { background-color: var(--bg-light); }
.d-none { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  background: var(--sqs-green-bright);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--trans-fast);
}

.btn:hover {
  background: var(--sqs-green-dark);
}

.btn-login {
  background: var(--sqs-green-bright);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}
.btn-login:hover {
  background: var(--sqs-green-dark);
}

.btn-hero {
  background: var(--sqs-green-bright);
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-top: var(--space-md);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--sqs-green-bright);
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--sqs-green-dark);
}

/* Top Bar */
.top-bar {
  background: #008f5d; /* Specific lighter green from top bar */
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left span {
  margin-right: 20px;
  font-weight: 500;
}

/* Header */
.header-main {
  padding: 15px 0;
  background: white;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 60px; /* Slightly larger */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Search box removed */

/* Navigation */
.nav-menu {
    flex: 1;
    margin: 0 30px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  text-transform: none; /* Keep natural case */
}

.nav-link:hover {
  color: var(--sqs-green-bright);
}

.nav-link.has-dropdown::after {
  content: '▼';
  font-size: 0.6em;
  margin-left: 5px;
  vertical-align: middle;
  color: var(--sqs-green-bright);
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  background: #000;
  color: white;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}

.ticker-wrap.dark-ticker {
    background: #1a1a1a;
    border-top: 1px solid #333;
}

.ticker-wrap.dark-ticker .ticker-item {
    color: #ccc;
}
.ticker-wrap.dark-ticker .ticker-name {
    color: white;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: scrollTicker 60s linear infinite; 
  width: max-content;
}

/* Pause on hover for readability */
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ticker-name {
  margin-right: 8px;
  color: #1e293b;
}

.ticker-price {
  font-weight: 700;
  margin-right: 8px;
}

.ticker-val {
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.ticker-val.up { 
  color: #166534; 
  background-color: #dcfce7;
}

.ticker-val.down { 
  color: #991b1b; 
  background-color: #fee2e2;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px; 
  display: flex;
  align-items: center;
  justify-content: center; /* Centered in desktop image */
  text-align: center;
  overflow: hidden;
  background: #111;
}

/* Specific Business Background */
.hero-bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero h2 {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.btn-hero {
    background: #008f5d;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: capitalize;
}
.btn-hero:hover {
    background: #006400;
}

/* Action Boxes - No Overlap in Image 1, they are just a section */
.action-boxes {
  position: relative;
  z-index: 10;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* No gap in some designs, but let's keep it tight or use margin */
  width: 100%;
}

.action-box {
  padding: 40px 20px;
  text-align: center;
  color: white;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Specific colors from screenshot */
.box-teal { background-color: #1abc9c; } 
.box-gold { background-color: #f1c40f; } 
.box-orange { background-color: #e67e22; } 

.box-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 1;
  color: white;
}

.box-title {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: capitalize;
}

/* Stock Market Section */
.market-section {
  position: relative;
  padding: 60px 0;
  color: #333;
  background: #f4f4f4; /* Light grey bg */
  text-align: center;
}

.market-content {
    max-width: 1000px;
    margin: 0 auto;
}

.market-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #000;
}

.market-content p {
    color: #666;
    margin-bottom: 40px;
}

.partners-banner {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
}

.partner-logo {
    height: 60px;
    width: 150px;
    background: #008f5d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.partner-logo.icon {
    width: 60px;
    border-radius: 50%;
}

.market-content h2 {
  color: #333; /* Dark text inside the box */
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: 400;
}
.market-content p {
    color: #555;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.market-card {
  background: transparent;
  padding: 10px;
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.market-icon-box {
  width: 70px;
  height: 70px;
  background: #1a9e8e; /* Specific teal green */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.market-card h3 {
  color: #333;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.2;
}

.market-card span {
  font-size: 0.8rem;
  color: #666;
  display: block;
}

/* Mission & Vision */
.mission-vision-section {
  padding: 60px 0;
  background-color: #f9f9f9; 
  color: #333;
}

.mv-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.mv-section-header h2 {
    color: #111;
    font-size: 2.5rem;
    font-weight: 700;
}

.mv-rows-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mv-row {
  display: flex;
  margin-bottom: 0; /* Connected looks better? */
  margin-bottom: 60px;
  align-items: center;
  gap: 40px;
}

.mv-row.reverse {
  flex-direction: row-reverse;
}

.mv-image {
  flex: 1;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mv-image img, .mv-image .placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MV Image Overlay removed */

/* The text part */
.mv-text {
  flex: 1;
  padding: 20px;
}

.mv-text h3 {
  color: #111;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.mv-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Reverse Logic cleanup */
.mv-text-mission {
    /* No special overrides needed for now unless visual diff requires it */
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 80px 0;
  color: #333; /* Dark text on light grey or white if matching Image 2? */
  background: #2c3e50; /* Dark fallback */
  color: white;
  overflow: hidden;
}

.contact-bg {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-header-mobile {
    display: none;
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
}
.contact-header-mobile span { color: var(--sqs-green-bright); }

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-right h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1;
}
.contact-right h2 span { color: var(--sqs-green-bright); }

.contact-form-area {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.c-input, .c-textarea {
  width: 100%;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 15px;
  color: #333;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 4px;
}
.c-input::placeholder, .c-textarea::placeholder {
    color: #888;
}

.c-textarea {
  min-height: 120px;
  margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}
.contact-details h3 {
    color: #2ecc71;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background: transparent; /* or specific color */
    border: 1px solid #2ecc71;
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-info {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}
.c-info strong {
    color: white;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

/* Footer */
.footer-logos {
  background: #000;
  padding: 20px 0;
  border-bottom: 1px solid #222;
}

.logos-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom {
  background: var(--sqs-green-bright);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.8rem;
}

/* Placeholder Utility Classes */
.placeholder-image {
  background-color: #cbd5e1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 500;
}

/* Responsive */
/* Desktop Optimization */
@media (min-width: 1200px) {
  /* Global Layout */
  .container {
    max-width: 1320px; /* Slightly wider for modern large screens */
    padding: 0 var(--space-md);
  }

  /* Typography */
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  
  /* Header */
  .header-main {
    padding: 25px 0;
  }
  
  .logo-img {
    height: 75px;
  }
  
  .nav-links {
    gap: 35px;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 5px 0;
  }
  
  .header-actions {
    gap: 25px;
  }

  /* Hero Section */
  .hero {
    height: 700px;
  }
  
  .hero-content {
    max-width: 1000px;
  }
  
  .hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Action Boxes */
  .action-box {
    padding: 60px 30px;
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .action-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 11;
  }
  
  .box-icon {
    font-size: 4rem;
    margin-bottom: 25px;
  }
  
  .box-title {
    font-size: 1.4rem;
  }
  
  /* Stock Market */
  .market-section {
    padding: 100px 0;
  }
  
  .partners-banner {
    padding: 40px;
    gap: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .partner-logo {
    width: 180px;
    height: 80px;
    font-size: 1.2rem;
  }
  
  .partner-logo.icon {
    width: 80px;
  }

  /* Mission & Vision */
  .mv-row {
    gap: 80px;
    margin-bottom: 100px;
  }
  
  .mv-image {
    height: 450px;
  }
  
  .mv-text {
    padding: 40px;
  }
  
  .mv-text h3 {
    font-size: 2.2rem;
  }
  
  .mv-text p {
    font-size: 1.1rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 120px 0;
  }
  
  .contact-container {
    gap: 100px;
    align-items: center;
  }
  
  .contact-right h2 {
    font-size: 3.5rem;
  }
  
  .contact-form-area {
    padding: 50px;
  }
  
  .c-input, .c-textarea {
    padding: 20px;
    font-size: 1rem;
  }
  
  .contact-item {
    gap: 30px;
  }
  
  .c-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .c-info strong {
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  /* Top Bar */
  .top-bar-inner { flex-direction: column; gap: 5px; text-align: center; }
  .top-bar-left span { display: block; margin: 0; }
  
  /* Header */
  .header-inner { flex-direction: column; gap: 15px; }
  .nav-menu { width: 100%; margin: 10px 0; overflow-x: auto; }
  .nav-links { padding: 0 10px; justify-content: flex-start; flex-wrap: nowrap; }
  .nav-link { white-space: nowrap; font-size: 0.85rem; }
  
  /* Hero */
  .hero { height: 400px; }
  .hero h1 { font-size: 2rem; }
  
  /* Boxes */
  .boxes-grid { grid-template-columns: 1fr; }
  .action-box { min-height: 180px; }
  
  /* Mission Vision */
  .mv-row, .mv-row.reverse { flex-direction: column; gap: 0; }
  .mv-image { width: 100%; height: 250px; border-radius: 8px 8px 0 0; }
  .mv-text { width: 100%; padding: 30px 20px; text-align: center; }
  
  /* Contact */
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-area { order: 2; }
  .contact-right { order: 1; text-align: center; }
  .contact-item { justify-content: flex-start; text-align: left; }
  
  /* Partners */
  .partners-banner { flex-direction: column; align-items: center; }
  .partner-logo { width: 100%; max-width: 300px; }
}
