/* Main Styles for BrokNet Insurance Brokers Egypt Website */

:root {
  --primary-color: #0072bc;
  --secondary-color: #4cc3ff;
  --dark-blue: #005a94;
  --light-blue: #e6f4ff;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --footer-bg: #2c3e50;
  --text-color: #333333;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--dark-blue);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-button {
  padding: 12px 25px;
  border: 2px solid var(--white);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.primary-button:hover {
  background-color: transparent;
  color: var(--white);
}

.secondary-button {
  background-color: transparent;
  color: var(--white);
}

.secondary-button:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffa500;
  margin: 0 auto;
}

/* About Section */
.about {
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  text-align: center;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.vision-mission {
  margin-top: 60px;
  display: flex;
  gap: 30px;
}

.vision, .mission {
  flex: 1;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Why Choose Section */
.why-choose {
  background-color: var(--white);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 20px 0 15px;
}

/* Services Section */
.services {
  background-color: var(--light-gray);
}

.service-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-button {
  padding: 12px 25px;
  background-color: var(--white);
  border: none;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-content p {
  margin-bottom: 20px;
}

.discover-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.discover-button:hover {
  background-color: var(--dark-blue);
}

/* Leadership Section */
.leadership {
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 20px;
}

.member-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

/* Partners Section */
.partners {
  background-color: var(--light-gray);
}

.partners-slider {
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-slide {
  padding: 15px;
  width: 25%;
  box-sizing: border-box;
}

.partner {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.partner:hover {
  transform: translateY(-10px);
}

.partner img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.partner h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Slick Slider Customization */
.slick-prev, .slick-next {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

.slick-prev:before, .slick-next:before {
  font-size: 20px;
  opacity: 1;
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
  color: var(--dark-blue);
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.info-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-content h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--dark-blue);
}

/* Quote Section */
.quote {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
}

.quote-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.quote-text {
  flex: 2;
}

.quote-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.quote-form {
  flex: 1;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
}

.quote-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  color: var(--white);
}

.social-link:hover {
  background-color: var(--primary-color);
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

.footer-links h3::after, .footer-contact h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.contact-icon {
  margin-right: 10px;
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content, .contact-container, .quote-container {
    flex-direction: column;
  }
  
  .vision-mission {
    flex-direction: column;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .slick-prev {
    left: -20px;
  }
  
  .slick-next {
    right: -20px;
  }
  
  .partner-slide {
    width: 33.33%;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats {
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
  
  .service-tabs {
    flex-wrap: wrap;
  }
  
  .tab-button {
    margin-bottom: 10px;
  }
  
  .slick-prev, .slick-next {
    display: none !important;
  }
  
  .partner-slide {
    width: 50%;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stat-item {
    flex: 0 0 100%;
  }
  
  .partner-slide {
    width: 100%;
  }
  
  .partner {
    height: 180px;
  }
  
  .partner img {
    width: 180px;
    height: 90px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 5px 0;
  }
}
