@import "https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap";
@import "https://fonts.googleapis.com/css2?family=Kenia&display=swap";
@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap";

:root {
  --primary: #000030;
  --primary-dark: #000020;
  --gold: #c8a951;
  --gold-dark: #a8863a;
  --gold-light: #d4b96a;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0a0a1a;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border-color: rgba(200, 169, 81, 0.2);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* Hide Frappe default elements */
.page-header, header + .page-header,
.navbar, nav.navbar,
footer.web-footer, .page-footer, .standard-footer,
.page-breadcrumbs, .breadcrumbs,
#website-footer, .container-fluid.footer {
  display: none !important;
}

.page-content-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body {
  padding-top: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
  color: var(--text-light);
  line-height: 1.8;
}

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

a:hover {
  color: var(--gold-dark);
}

/* Section Styles */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/files/pattern.svg') repeat;
  opacity: 0.03;
}

/* Star animations for hero */
.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 3s infinite ease-in-out;
}

.star-lg {
  width: 6px;
  height: 6px;
}

.star-sm {
  width: 2px;
  height: 2px;
}

.star-float {
  animation: float 6s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Card Styles */
.card-modern {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-color);
}

.card-mini {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.card-mini:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.card-mini h4 {
  color: var(--white);
  font-size: 14px;
  margin-top: 8px;
}

/* Button Styles */
.btn-primary-eacom {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary-eacom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.4);
  color: var(--primary);
}

.btn-secondary-eacom {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.btn-secondary-eacom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* Gradient Backgrounds */
.gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  color: inherit;
}

.service-card .icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 14px;
}

.service-card ul li::before {
  content: '?';
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card .number {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-light);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card .role {
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 80px 40px;
  text-align: center;
}

.cta-section h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(0, 0, 48, 0.7);
  margin-bottom: 32px;
}

.cta-section .btn {
  background: var(--primary);
  color: var(--white);
  padding: 16px 48px;
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.1);
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon {
  font-size: 24px;
  color: var(--gold);
}

.contact-info-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-item span {
  font-size: 14px;
  color: var(--text-light);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.value-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary);
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* Vision/Mission */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vision-card,
.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.vision-card h3,
.mission-card h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 22px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section {
    padding: 80px 30px;
  }
  
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  
  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-primary-eacom,
  .btn-secondary-eacom {
    width: 100%;
    text-align: center;
  }
}

/* RTL Support */
[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] label,
[dir="rtl"] input,
[dir="rtl"] textarea {
  font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .service-card ul li::before {
  content: '?';
  margin-right: 0;
  margin-left: 8px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--primary); }
.bg-gold { background: var(--gold); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
