@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --primary: #1F417A;
  --primary-light: #2A56A0;
  --accent: #8B1E3F;
  --accent-light: #A4254D;
  --secondary: #222222;
  --background: #FFFFFF;
  --support: #F3F3F3;
  --text-dark: #333333;
  --text-light: #777777;
  --white: #FFFFFF;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography Utilities */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem auto;
}

.text-primary { color: var(--primary); }

/* Layout Utilities */
.section-padding {
  padding: 60px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
}

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

.btn-white:hover {
  background-color: var(--support);
}

/* Top Bar */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.9775rem;
  padding: 8px 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: var(--white);
  opacity: 0.9;
  transition: var(--transition);
}

.top-bar a:hover {
  opacity: 1;
}

.language-selector {
  font-weight: 600;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 55px; /* Adjusted to better match text height */
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.company-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.company-name-en {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent); /* Maroon color */
  line-height: 1.1;
}

.company-name-ar {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1.2;
  margin-top: 4px;
  align-self: flex-start;
  display: inline-block;
  direction: rtl;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.965rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.btn::after {
  display: none;
}

/* Nav Menu Button specific styling */
.nav-links .btn {
  font-size: 0.825rem;
}

.nav-links .btn.btn-primary {
  color: var(--white) !important;
  border: 2px solid transparent !important;
}

.nav-links .btn.btn-primary:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border-top: 3px solid var(--primary);
  margin-top: 15px;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--secondary);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background-color: var(--support);
  color: var(--primary);
  padding-left: 25px;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .grid-2 {
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.hero h1 span.highlight {
  color: #FFD700; /* Subtle gold/yellow highlight inspired by reference */
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-buttons .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item h4 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
  height: 380px;
  width: 100%;
  background-color: var(--background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top-right-radius: 60px;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: url('https://via.placeholder.com/800x600/f3f3f3/1F417A?text=Premium+Industrial+Facility') center/cover;
  position: relative;
  z-index: 0;
}

/* Cards / Features */
.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* About Section */
.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 0 30px;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Leadership Team Cards */
.team-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.team-card-content {
  padding: 2rem;
  flex-grow: 1;
}

.team-name {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Executive Leadership Profiles */
.leadership-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 6rem;
  align-items: center;
}

@media (min-width: 992px) {
  .leadership-profile {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  
  .leadership-profile.reverse {
    grid-template-columns: 7fr 5fr;
  }
  
  .leadership-profile.reverse .profile-image {
    order: 2;
  }
  
  .leadership-profile.reverse .profile-content {
    order: 1;
  }
}

.profile-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--support);
  height: 500px; /* large professional image */
}

.profile-content h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.profile-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.profile-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #eaeaea;
}

.profile-signature h4 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.profile-signature span {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 30px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about {
  color: #dddddd;
}

.footer-about img {
  height: 70px;
  margin-bottom: 1.5rem;
  background-color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
}

.footer-about p {
  color: #dddddd;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.footer-links li {
  margin-bottom: 0.75rem;
  color: #dddddd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #dddddd;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #dddddd;
  font-size: 0.875rem;
}

.footer-legal-links a:hover {
  color: var(--white) !important;
}

.legal-contact-link {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.legal-contact-link:hover {
  color: #8B1E3F !important;
}

/* Inner Page Header */
.page-header {
  padding: 140px 0 60px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Leadership */
.team-member {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  max-width: 600px;
  margin: 0 auto;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.member-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--support);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.75rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
