body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    background: 
      linear-gradient(135deg, rgba(3, 48, 87, 0.85), rgba(253, 181, 21, 0.15)),
      black;
    background-size: cover;
    margin-top: 40px;
    font-size: 22px;
    color: #ffffff; /* Klam el saf7a nafso Berkeley Blue */
    font-weight: 600;
    line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
    color: #f0eeea;   /*  el klam el kber ely ta7t el menu -Berkeley Blue  */
}

/* Container for header */
.header-container {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 25px 20px 15px;
  text-align: center;
  background-color: #f0eeea; /* California Gold */
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.header-container:hover {
  background-color: #e6b00f; /* slightly darker gold on hover */
}

/* Big logo */
.logo-big {
  width: 380px;
  max-height: 90px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  cursor: pointer;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-big:hover {
  transform: scale(1.08);
}

/* Menu below the logo */
.menu {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 0;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Menu links styling */
.menu a {
  color: #e6b00f; /* Berkeley Blue */
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.menu a::after {/*Underline for*/
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #003057; /* California Gold */
  border-radius: 4px;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #003057;
}

.menu a:hover::after {
  width: 100%;
}

@keyframes rotateScale {
  0% {
    transform: rotate(0) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.3);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.logo.animate {
  animation: rotateScale 1s ease forwards;
}

/* Button styling */
button {
  background-color: #FDB515; /* California Gold */
  color: #003057; /* Berkeley Blue */
  border: 2px solid #003057;
  padding: 12px 30px;
  font-size: 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 30px 0;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(253, 181, 21, 0.4);
}

button:hover {
  background-color: #003057;
  color: #FDB515;
  border-color: #FDB515;
  box-shadow: 0 6px 18px rgba(0, 48, 87, 0.7);
}





/* Expertise Section */
.expertise-section {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.expertise-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1.4px;

  /* Text */
  color: #F5F7FA; /* soft white */

  /* Background */
  background: linear-gradient(
    90deg,
    #0E1A24 0%,
    #68a7db 50%,
    #0E1A24 100%
  );

  padding: 18px 30px;

  /* Full-width trick */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
  text-align: center;

  /* Clean edges */
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 100px);
  width: 700px; /* 3 x 180px */
  margin: 0 auto;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  gap: 0; /* no gaps so frames show fully */
}

.expertise-item {
    background: linear-gradient(
    90deg,
    #01223d 0%,
    #008cff 50%,
    #01223d 100%
  );

  padding: 18px 30px;/* Dark Berkeley Blue */
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid transparent;
  outline: 4px solid transparent;
  box-sizing: border-box;
  transition: background-color 0.3s ease, outline-color 0.3s ease;
}

.expertise-item img {
  width: 48px;
  height: 48px;
  filter: brightness(1) contrast(1.2);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

/* Hover effects */
.expertise-item:hover {
  background-color: #0a539c; /* Light Blue highlight */
  outline-color: #add8e6; /* Even lighter blue outline frame */
  border-color: transparent;
}

/* Text label on hover */
.expertise-item::after {
  content: attr(data-text);
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.expertise-item:hover::after {
  opacity: 1;
  pointer-events: auto;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px; /* add small gap */
}




/* Slider */
.slider {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border-top: 2px solid #003057;
  border-bottom: 2px solid #003057;
  margin-top: 50px;
  background: #f7f7f7;
  padding: 12px 0;
}

.slide-track {
  display: inline-block;
  animation: scroll 25s linear infinite;
}

.slide-image {
  height: 380px;
  max-width: 100%;
  margin: 0 10px;
  vertical-align: middle;
  border-radius: 9px;
  display: inline-block;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Cards container */
.card-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0;
}

/* Cards */
.hover-card {
  width: 150px;
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 48, 87, 0.6); /* Berkeley Blue with transparency */
  color: white;
  padding: 20px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
  border-radius: 9px;
}

.hover-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.hover-card:hover {
  transform: scale(1.07);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 48, 87, 0.3);
}

/* Opacity effect on sibling cards */
.card-row:hover .hover-card {
  opacity: 0.7;
}

.card-row .hover-card:hover {
  opacity: 1;
  transform: scale(1.07);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 48, 87, 0.3);
}

/* Contact section */
.contact-section {
  max-width: 800px;
  margin: 80px auto 60px;
  padding: 40px;
  background: linear-gradient(135deg, #003057, #FDB515);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 48, 87, 0.4);
  color: white;
  text-align: center;
  font-weight: 600;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form input,
.contact-form textarea {
  flex: 1 1 300px;
  padding: 15px 20px;
  border-radius: 12px;
  border: none;
  font-size: 18px;
  font-weight: 400;
  outline: none;
  transition: background-color 0.3s ease;
  background-color: rgba(255 255 255 / 0.15);
  color: white;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255 255 255 / 0.75);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: rgba(255 255 255 / 0.3);
  box-shadow: 0 0 10px rgba(253, 181, 21, 0.7);
}

.contact-form button {
  background-color: #FDB515;
  color: #003057;
  border: none;
  padding: 16px 40px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: center;
  width: 220px;
}

.contact-form button:hover {
  background-color: #003057;
  color: #FDB515;
}



/* Footer */
.footer {
  background-color: #f4f5f7;
  color: #003057;
  padding: 0px /* === BODY & BACKGROUND === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: #E0E0E0; /* light gray for readability */
  margin: 40px 0 0 0;
  text-align: center;

  /* Center background image - crisp, no distortion */
  background: none; /* remove previous background so overlays work */
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Center photo as a fixed element behind content */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 15vw; right: 15vw; bottom: 0; /* center area only */
  background: url('pic1.JPG') no-repeat center center fixed;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

/* Left fade */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; bottom: 0; width: 15vw;
  background: linear-gradient(to right, #121212 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Right fade */
body .side-fade-right {
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0; width: 15vw;
  background: linear-gradient(to left, #121212 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Add this div inside body to cover right fade */
0px;
  font-size: 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
  margin: 5px;
}

.footer-logo {
  width: 340px;
  height: auto;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer a.social-link {
  display: inline-block;
  margin-right: 15px;
  color: #FDB515;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a.social-link:hover {
  color: #003057;
}

