@font-face {
  font-family: "Roboto";
  src: url("./roboto/Roboto-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("./roboto/Roboto_Condensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("./roboto/Roboto_Condensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("./roboto/Roboto_Condensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("./roboto/Roboto_Condensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.logo-link {
  cursor: pointer;
}

.container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

img[src="logo.png"] {
  width: 250px;
}

.logo-part h1 {
  color: rgb(19 63 112);
  font-weight: 400;
  max-width: 150px;
  line-height: 1.7rem;
  margin-top: 21px;
}

.logo-part {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 26px;
}

.section1 {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.header-description {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 28.6rem;
  justify-content: flex-start;
  align-items: center;
  padding-top: 74px;
  gap: 1rem;
}

/* Fixed Offer Backlight Animation */
.header-description h1.offer-pulse {
  position: relative;
  z-index: 1;
  text-shadow: -3px 3px 3px #0541696b;
}

.header-description h1.offer-pulse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 70%;
  border-radius: 0%;
  background: radial-gradient(
    ellipse at center,
    #ffe5e5 0%,
    rgb(236 34 44 / 24%) 55%,
    transparent 100%
  );
  filter: blur(18px);
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
  animation: offerBacklightPulse 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
  will-change: transform, opacity;
}

@keyframes offerBacklightPulse {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
}

.header-description h1 {
  font-size: 8rem;
  max-width: 730px;
  text-align: center;
  color: #f1222c;
  line-height: 6.5rem;
}

.header-sm-disc {
  font-size: 2.9rem;
  color: #054169;
}

h3.header-sm-disc1 {
  letter-spacing: 7px;
}

.inner {
  width: 70.2%;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 18px;
  height: 23.5rem;
  justify-content: space-evenly;
}

.inner h1 {
  font-size: 4.6rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 12rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: context-menu;
}

.feature:hover {
  transform: scale(1.06);
}

.br {
  border-right: 2px dashed;
  padding-right: 12px;
}

.main-features {
  display: flex;
  gap: 17px;
}

.title {
  font-weight: 700;
  font-size: 1.4rem;
}

.inner2 {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 80%;
  gap: 60px;
  padding: 137px 80px;
}

.num {
  position: absolute;
}

.num-br {
  width: 50px;
  height: 50px;
  border: 1px solid #054169;
  transform: rotate(45deg);
  left: 12px;
  top: 7px;
}

.num-br,
.num-ico,
.num-val {
  position: absolute;
}

.num-val {
  color: white;
  font-size: 3.5rem;
  left: 23px;
  text-align: center;
  top: 0px;
  text-shadow: -3px 4px 0px #054169;
  font-weight: bolder;
  -webkit-text-stroke: 1px #054169;
}

.num-ico {
  background-color: #ec222c;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 11px;
  left: -2px;
}

.choose-us-li {
  position: relative;
}

.inner2 h1 {
  color: #ec222c;
  font-size: 5rem;
}

.choose-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: 86px;
  margin-top: 10px;
  font-size: 34px;
  font-weight: 600;
  gap: 8px;
}

.choose-body-title {
  color: #ec222c;
}

.choose-body-desc {
  font-size: 1em;
  font-weight: 500;
  line-height: 0.8;
}

.elevate {
  position: relative;
  font-size: 3rem;
  text-align: center;
  color: #ec222c;
  top: -75px;
}

.section2 {
  position: relative;
  height: 1492px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 24px;
}

.email {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #054169;
  font-size: 2.4rem;
  font-weight: 600;
  gap: 24px;
  border-bottom: 1px solid #eff3f524;
}

.info {
  background-color: #ec222c;
  border-radius: 30px;
  padding: 8px 25px;
  letter-spacing: 8px;
}

.phone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px;
  gap: 24px;
  color: #004267;
  font-size: 3rem;
  font-weight: 600;
  background-color: #eff3f5;
}

.phone span {
  color: #ef212e;
  font-size: 4rem;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 12px;
}

.pressed-btn {
  background: linear-gradient(145deg, #003c6d, #002548);
  border: 2px solid #e0201a;
  padding: 18px 35px;
  border-radius: 15px 0;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 0 #e0201a, 0 12px 20px rgba(224, 32, 26, 0.3);
  transition: all 0.1s ease;
}

.pressed-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 #e0201a, 0 8px 15px rgba(224, 32, 26, 0.3);
}

.pressed-btn:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #e0201a, 0 4px 10px rgba(224, 32, 26, 0.3);
}

#mobileDropdown {
  font-size: 5rem;
  position: absolute;
  color: white;
  background-color: #002d51;
  left: 30px;
  top: 161px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 100vh;
  padding: 20px;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.mobile-menu-button {
  display: none;
}

#mobileDropdown {
  display: none;
}

/* Email Form Styles */
.split-contact {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.split-half {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.linkedin-contact {
  background: white;
  box-shadow: 0 4px 24px rgba(5, 65, 105, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 360px;
  width: 360px;
}

.linkedin-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.linkedin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 24px;
}

.linkedin-icon {
  margin-bottom: 10px;
}

.linkedin-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0a66c2;
  margin-bottom: 8px;
  text-align: center;
}

.linkedin-name {
  font-size: 1.1rem;
  color: #222;
  text-align: center;
  font-weight: 500;
}

.email-form-section {
  background: #054169;
  padding: 30px;
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  gap: 32px;
}

.email-form {
  background: white;
  box-shadow: 0 4px 24px rgba(5, 65, 105, 0.1);
  padding: 40px 32px 32px 32px;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.email-form h2 {
  color: #ec222c;
  font-size: 2.3rem;
  margin-bottom: 12px;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #054169;
  font-weight: 600;
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid #054169;
  padding: 10px 14px;
  font-size: 1rem;
  color: #054169;
  background: #f7fafd;
  outline: none;
  transition: border 0.2s;
}

.error-message{
  font-size: large;
  color: #ec222c;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #ec222c;
}

.email-form button {
  background: #ec222c;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 14px 0;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.email-form button:hover {
  background: #b81a22;
}

.back-to-top-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #003c6d, #002548);
  border: 2px solid #e0201a;
  border-radius: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 8px 0 #e0201a, 0 12px 20px rgba(224, 32, 26, 0.3);
  transition: all 0.1s;
  cursor: pointer;
  padding: 0;
}

.back-to-top-btn svg {
  display: block;
  margin: auto;
}

.back-to-top-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 #e0201a, 0 8px 15px rgba(224, 32, 26, 0.3);
}

.back-to-top-btn:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #e0201a, 0 4px 10px rgba(224, 32, 26, 0.3);
}

/* COMPREHENSIVE MOBILE RESPONSIVE STYLES */

/* Tablet styles */
@media (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: 1024px;
    padding: 0;
  }

  .header-description h1 {
    font-size: 6rem;
    line-height: 5rem;
  }

  .header-sm-disc {
    font-size: 2.2rem;
  }

  .inner h1 {
    font-size: 3.8rem;
  }

  .inner2 h1 {
    font-size: 4rem;
  }

  .elevate {
    font-size: 4rem;
  }
}

/* Small tablet and large phone styles */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0;
  }

  /* Hide desktop navigation, show mobile menu */
  .pressed-btn:not(.mobile-menu-button):not(.back-to-top-btn) {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    padding: 8px;
  }

  /* Logo and navigation adjustments */
  .logo-part {
    padding: 20px 15px;
  }

  .logo-part h1 {
    font-size: 1.2rem;
    line-height: 1.4rem;
    max-width: 120px;
  }

  img[src="logo.png"] {
    width: 180px;
  }

  .nav-container {
    padding-right: 15px;
  }

  /* Header section adjustments */
  .header-description {
    height: auto;
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .header-description h1 {
    font-size: 4rem;
    line-height: 3.5rem;
    max-width: 90%;
  }

  .header-sm-disc {
    font-size: 1.8rem;
  }

  h3.header-sm-disc1 {
    letter-spacing: 4px;
  }

  /* Services section adjustments */
  .inner {
    width: 100%;
    height: auto;
    min-height: 20rem;
    padding: 30px 15px;
    background: linear-gradient(145deg, #f1222c, #a8171f);
  }

  .inner h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .main-features {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .feature {
    width: 100%;
    max-width: 300px;
    text-align: center;
    border-right: none;
    padding-right: 0;
  }

  .br {
    border-right: none;
    border-bottom: 2px dashed;
    padding-bottom: 20px;
    padding-right: 0;
  }

  .feature:last-child .br {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Why Choose Us section */
  .section2 {
    height: auto;
    min-height: 100vh;
  }

  .inner2 {
    width: 100%;
    padding: 60px 20px;
    gap: 40px;
    background: linear-gradient(to bottom, #fef0f1, white);
  }

  .inner2 h1 {
    font-size: 3rem;
    text-align: center;
  }

  .choose-us-li {
    padding-left: 0 !important;
    margin-bottom: 30px;
  }

  .choose-body {
    margin-left: 70px;
    font-size: 1.4rem;
  }

  .choose-body-desc {
    font-size: 1rem;
    line-height: 1.3;
    width: auto !important;
    max-width: calc(100vw - 120px);
  }

  .num-val {
    font-size: 3rem;
    left: 26px;
  }

  .elevate {
    font-size: 2.8rem;
    top: -40px;
    padding: 0 20px;
    line-height: 1.2;
  }

  /* Footer adjustments */
  .email {
    height: auto;
    min-height: 80px;
    padding: 20px;
    font-size: 1.8rem;
    flex-direction: column;
    gap: 15px;
  }

  .info {
    letter-spacing: 4px;
    padding: 6px 20px;
    font-size: 0.9em;
  }

  .phone {
    padding: 25px 20px;
    font-size: 1.8rem;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .phone span {
    font-size: 2.5rem;
  }

  /* Contact form adjustments */
  .email-form-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
  }

  .split-contact {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
  }

  .split-half {
    width: 100% !important;
    max-width: 100% !important;
  }

  .email-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 20px;
  }

  .email-form h2 {
    font-size: 1.8rem;
  }

  .linkedin-contact {
    width: 100%;
    min-height: 250px;
  }

  .linkedin-title {
    font-size: 1.1rem;
  }

  .linkedin-name {
    font-size: 1rem;
  }

  /* Mobile dropdown */
  #mobileDropdown {
    width: calc(100vw - 60px);
    left: 15px;
    top: 120px;
    font-size: 2rem;
    padding: 30px 20px;
  }

  /* Back to top button adjustment */
  .back-to-top-btn {
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
  }

  /* Hide background images on mobile */
  img[src="s1.jpg"],
  img[src="s2.jpg"] {
    display: none !important;
  }
}

/* Small phone styles */
@media (max-width: 480px) {
  .container {
    padding: 0;
  }

  .logo-part {
    padding: 15px 10px;
    gap: 8px;
  }

  .logo-part h1 {
    font-size: 1rem;
    line-height: 1.2rem;
    max-width: 100px;
  }

  img[src="logo.png"] {
    width: 150px;
  }

  .header-description h1 {
    font-size: 3rem;
    line-height: 2.8rem;
  }

  .header-sm-disc {
    font-size: 1.4rem;
  }

  h3.header-sm-disc1 {
    letter-spacing: 2px;
  }

  .inner h1 {
    font-size: 2.2rem;
  }

  .inner2 h1 {
    font-size: 2.5rem;
  }

  .choose-body {
    margin-left: 78px;
    font-size: 1.8rem;
  }

  .choose-body-desc {
    max-width: calc(100vw - 100px);
  }

  .elevate {
    font-size: 2.2rem;
  }

  .email {
    font-size: 1.4rem;
  }

  .phone {
    font-size: 1.4rem;
  }

  .phone span {
    font-size: 2rem;
  }

  #mobileDropdown {
    font-size: 1.5rem;
    width: calc(100vw - 20px);
    left: 10px;
  }
}

/* Extra small phone styles */
@media (max-width: 320px) {
  .header-description h1 {
    font-size: 2.5rem;
    line-height: 2.3rem;
  }

  .header-sm-disc {
    font-size: 1.2rem;
  }

  .inner h1 {
    font-size: 2rem;
  }

  .inner2 h1 {
    font-size: 2.2rem;
  }

  .choose-body {
    margin-left: 50px;
    font-size: 1.1rem;
  }

  .elevate {
    font-size: 2rem;
  }

  .email-form {
    padding: 20px 15px;
  }

  .email-form h2 {
    font-size: 1.6rem;
  }
}

/* 🔹 أنيميشن لطيفة للرسائل */
.fade-message {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade-message.show {
  opacity: 1;
}

.success-message {
  color: #2ecc71;
  margin-top: 10px;
  font-weight: 500;
}

.error-message {
  color: #ff4444;
  margin-top: 10px;
  font-weight: 500;
}
