/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Base Colors */
  --white: #ffffff;
  --black: #000000;

  /* Primary & Accent Colors */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #3b82f6;
  --accent: #c9286d;
  --accent-color: #10b981;

  /* Secondary Colors */
  --secondary-color: #f59e0b;
  --secondary-dark: #d97706;

  /* Status Colors */
  --success-color: #059669;
  --warning-color: #f59e0b;
  --error-color: #dc2626;

  /* Grayscale */
  --gray: #6c757d;
  --dark: #212529;
  --light: #f8f9fa;
  --light-gray: #f5f7fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;

  /* Extended Grayscale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Border Colors */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Shadow */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Special Colors */
  --navy: #001f3f;
  --gold: #ffd700;
  --light-gold: #ffec8b;
}

/* 🌙 Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondaryc: #1e293b;
  --bg-tertiary: #334155;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-light: #334155;
  --border-medium: #475569;

  --gray-100: #1e293b;
  --gray-200: #334155;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-normal),
    color var(--transition-normal);
}

h1,
h2,
h3,
h4 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  margin-bottom: 3.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn:hover {
  background: #152c6e;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #e69008;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-center {
  text-align: center;
}
/* Page Header */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 80px;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../assets/img/scl/contac.png");
  z-index: -1;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 31, 63, 0.8) 0%,
    rgba(181, 188, 215, 0.6) 10%
  );
}

.page-header-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* Existing navbar styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--navy);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

/* Add this new rule to make ALL navbar text white by default */
.navbar * {
  color: white !important;
}
.dropdown-content a {
  color: var(--gold) !important; /* Default text color */
  background-color: rgb(3, 3, 3);
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

/* Optional: Hover effect */
.dropdown-content a:hover {
  background-color: #040404; /* Light navy-ish background */
  color: var(--navy); /* Slightly deeper blue on hover */
}

/* Specific modification for the gold elements */
.logo-text,
.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

/* Rest of your existing CSS remains unchanged */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Push logo to the right corner */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -10px; /* Pushes logo section to the far right */
}

.nav-logo img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
}

/* Keep nav-menu on the left */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  padding-left: 120px; /* Ensure no extra left padding */
  margin-right: 20px; /* Key change: keeps menu on left */
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Styling - Fixed */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
  border: 1px solid var(--border-light);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: var(--bg-secondary);
  color: var(--gold);
}

/* Header Right Styling - Fixed */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher - Fixed */
.lang-switcher {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher:hover {
  background-color: var(--bg-secondary);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--gray-800);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 100;
  border: 1px solid var(--border-light);
}

.lang-switcher:hover .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.95rem;
}

.lang-option:hover {
  background-color: var(--gold);
  color: var(--primary-color);
}

.lang-option i {
  width: 20px;
  opacity: 0;
}

.lang-option[data-lang="en"] i {
  opacity: 1;
}

/* Theme Toggle - Fixed */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--gold);
  transition: var(--transition-fast);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
}

/* Hamburger Menu - Fixed */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gold);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.hamburger:hover {
  background-color: var(--gold);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 20px;
}

/* Footer */
.footer {
  background-color: var(--gray-800);
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-text h3 {
  margin-bottom: 0.3rem;
}

.map {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-form {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dark-mode .contact-form {
  background: #0f172a;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #0a274b;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.dark-mode .form-control {
  background: #1e293b;
  border-color: #334155;
}

.form-control:focus {
  outline: none;

  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
@media (max-width: 992px) {
  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #ff4500;
    --text-light: #333333;
    --border-color: #666666;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slider .slide {
    transition: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Social Media Section */

.social-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  color: var(--navy);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--gold);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .social-icons {
    gap: 15px;
  }
}
