/* ========== CSS VARIABLES (easy color scheme change) ========== */
:root {
  --primary-color: #0a5c7e;     /* sea blue */
  --secondary-color: #ffffff;    /* white */
  --accent-color: #d4af37;       /* gold */
  --dark-bg: #f8fafc;
  --text-dark: #1e2a3e;
  --text-light: #4a5568;
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== HEADER ========== */
header {
  background: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--accent-color);
  display: block;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
  padding: 4rem 0;
  border-bottom: 3px solid var(--accent-color);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-phone {
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-phone i {
  font-size: 1.4rem;
}

.hero-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 2rem;
  color: var(--accent-color);
}

.hero-image {
  flex: 1;
  text-align: center;
  font-size: 8rem;
  color: var(--primary-color);
  opacity: 0.7;
}

/* ========== SECTION TITLE ========== */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
}
.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* ========== ABOUT ========== */
.about {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-8px);
}
.about-card i {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.about-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ========== SERVICES ========== */
.services {
  padding: 5rem 0;
  background: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.service-item:hover {
  border-bottom-color: var(--accent-color);
  transform: translateY(-5px);
}
.service-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

/* ========== CONTACT ========== */
.contact {
  padding: 5rem 0;
  background: var(--dark-bg);
}
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.info-card {
  background: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.info-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.info-card p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}
.contact-form {
  flex: 1.5;
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}
.btn-submit {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}
.btn-submit:hover {
  background: #0a4a66;
  transform: scale(1.02);
}

/* ========== FOOTER ========== */
footer {
  background: #0a2a38;
  color: #e0e7f0;
  padding-top: 3rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3 {
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}
.footer-col p, .footer-col ul {
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-right: 5px;
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icons a {
  background: rgba(255,255,255,0.1);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--accent-color);
  color: #0a2a38;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--secondary-color);
    position: absolute;
    top: 75px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    gap: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .hero-text h2 {
    font-size: 1.8rem;
  }
  .hero-image {
    font-size: 5rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .contact-wrapper {
    flex-direction: column;
  }
}