/* Global Styles */
:root {
  --primary-color: #1e88e5; /* Blue */
  --secondary-color: #64b5f6; /* Light Blue */
  --accent-color: #0d47a1; /* Dark Blue */
  --purple-accent: #673ab7; /* Purple accent for Nabiya Qapital */
  --text-color: #333333;
  --background-color: #ffffff; /* White */
  --light-background: #f5f5f5; /* Off White */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Container */
.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 5px;
}

.logo-img {
  max-height: 65px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 3px white);
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 5px white);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 0;
  white-space: nowrap;
}

nav a:hover {
  color: var(--light-background);
}

.active {
  border-bottom: 2px solid white;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-color);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 0 0 4px 4px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--accent-color);
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown > a::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 5px;
  vertical-align: middle;
}

/* Hero Section */
.hero {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--primary-color);
}

/* Main Content */
main {
  padding: 2rem 0;
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

/* Cards */
.card {
  background-color: var(--light-background);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

textarea {
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 1rem 0;
}

.social-links li {
  margin: 0 0.5rem;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .logo-img {
    max-height: 50px;
  }
  
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav ul {
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
  }
  
  nav.active ul {
    display: flex;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: center;
  }
  
  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: var(--secondary-color);
    padding-left: 1rem;
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    padding: 8px 12px;
  }
  
  .dropdown > a::after {
    float: right;
    content: '+';
  }
  
  .dropdown.active > a::after {
    content: '-';
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .container {
    width: 90%;
  }
  
  /* Animate hamburger menu */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Button variations */
.btn-purple {
  background-color: var(--purple-accent);
  color: white;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin: 0.5rem;
  display: inline-block;
}

.btn-purple:hover {
  background-color: #7e57c2; /* Lighter purple */
}

.cta-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

/* Highlight boxes */
.highlight-box {
  background-color: rgba(30, 136, 229, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 0 4px 4px 0;
}

.highlight-box.purple {
  background-color: rgba(103, 58, 183, 0.1);
  border-left: 4px solid var(--purple-accent);
}

.highlight-box h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.highlight-box.purple h3 {
  color: var(--purple-accent);
}

/* Image containers */
.img-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.img-container:hover img {
  transform: scale(1.05);
}

/* Slider Styles */
.slider-container {
  width: 100%;
  margin: 0 auto;
  background-color: var(--light-background);
  padding: 2rem 0;
}

.slider {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  width: 100%;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.slide-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
}

@media (max-width: 768px) {
  .slider {
    height: 400px;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
} 