:root {
  /* Color Palette - Industrial Professional */
  --primary: #c1a35f; /* Gold/Bronze for excellence */
  --primary-dark: #a68b4c;
  --secondary: #1a2a3a; /* Deep Navy for professionalism */
  --accent: #e67e22; /* Industrial Orange for energy */
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl; /* Arabic support */
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

/* --- Hero Section & Logo Area --- */
.hero {
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
  color: var(--white);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* THE LOGO DESIGN */
.main-logo-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}

.logo-circle-middle {
  position: absolute;
  width: 85%;
  height: 85%;
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(193, 163, 95, 0.2);
}

.logo-content {
  text-align: center;
  z-index: 2;
}

.logo-text {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
}

/* Professional Icons floating around the circle */
.icon-orb {
  position: absolute;
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 3;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.icon-orb:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--white);
}

/* Positioning the icons around the logo */
.orb-1 { top: -10px; left: 50%; transform: translateX(-50%); } /* Renewable Energy */
.orb-2 { right: -10px; top: 30%; } /* Electricity */
.orb-3 { right: 20px; bottom: -10px; } /* Smart Buildings */
.orb-4 { left: 20px; bottom: -10px; } /* Interior Design */
.orb-5 { left: -10px; top: 30%; } /* Graphic Design */

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Hero Typography --- */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  opacity: 0.9;
}

/* --- Navigation --- */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* --- Grid Sections --- */
section {
  margin-top: var(--space-2xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
}

/* --- Specialty Cards --- */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: var(--space-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(193, 163, 95, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--secondary);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Placeholders --- */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: var(--space-md);
  border: 1px dashed var(--border);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

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

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

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* --- Footer --- */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-about h4 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.footer-links h5 {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}
