/* ===== SMART PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11,156,49,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

/* show only when needed */
#preloader.active {
  opacity: 1;
  visibility: visible;
}

/* icon animation */
.preloader-icon {
  width: 80px;
  height: auto;
  opacity: 0;
  animation: fadePulse 3s ease-in-out infinite;
}

/* breathing effect */
@keyframes fadePulse {
  0% { opacity: 0; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}

/* fade out smoothly */
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ========================================
   BASE & THEME
======================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg0: #F1F2F2 ;
  --bg1: #e5e7eb;
  --bg2: #464a4f;
  --bg3: #e1f0e4;
  --bg4: #d3d5db;
  --bg5: #fff;
  --bg6: #223140;
  --bg7: #06260a;
  --bg8: #67a86f;
  --bg9: #2f487a;
  --bg10: #9d9ea8;
  --text: #24224C;
  --accent: #39B54A;
  --brand: #24224C;
  --list: #0a66c2;
  --muted: #6b7280;
  --card: #e1f0e4;
  --hr: #e1f0e4;
  --shadow: 0 14px 30px rgba(0,0,0,.08);
}
header {background: var(--bg1);line-height: 1; }
body {
  min-width: 680px;
  max-width: none !important;
  color: var(--text);
  font-family: "adobe-arabic", sans-serif;
  font-weight: bold;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  

}
html, body {
  width:100%;
  min-height: 100%;
  min-width: 97vw;
  overflow-x: hidden;
  background-color: rgb(0, 90, 170,0.1);
  margin: 0;
  padding: 0;
  
}
main h1,h2 {
  text-align: center; 
  color: var(--brand);
}
  
  
footer {
	background: var(--bg2);
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, li {  font-family: "otta-arabic", sans-serif;}
p {font-family: "adobe-arabic", sans-serif; }
h1 {
  font-size: 30px;
  color: var(--accent);
  font-weight: bold;
  text-align: right;
  margin-left: 0rem;
  margin-bottom: 0.1rem;
  margin-top: 0.5rem;
  text-shadow:var(--shadow);

  
}
h2 {
  font-size: 27px;
  color: var(--brand);
  font-weight: medium;
  text-align: right;
  margin: 0;
  text-shadow:var(--shadow);
}
h3 {
  font-size: 23px;
  color: var(--brand);
  font-weight: medium;
  text-align: right;
  margin: 10px;
  text-shadow:var(--shadow);
}


p {
  font-size: 18px;
  color: var(--text);
  font-weight: 550;
  text-align: right;
  
  text-shadow:var(--shadow);
}

::selection {
  background: #24224C !important;     /* your green brand color */
  color: #F1F2F2 !important;          /* text color during selection */
}

::-moz-selection {
  background: #24224C !important;
  color: #F1F2F2 !important;
}


input:focus, textarea:focus {
  outline: none;
  background-color: var(--bg3);
  border: 1px solid var(--brand);
  
}
/* ============================
   UNIVERSAL INPUT RESET
   Autofill | Focus | Active
   For ALL browsers
============================ */

/* 1. Prevent Chrome/Safari autofill weird colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #e1f0e4 inset !important;
  box-shadow: 0 0 0 1000px #e1f0e4 inset !important;
  background-color: #e1f0e4 !important;
  color: var(--text) !important;
}

/* 2. Disable Firefox yellow autofill */
input:-moz-ui-invalid,
input:-moz-ui-valid {
  background-color: #e1f0e4 !important;
}

/* 3. Remove the blue outline from all browsers on focus */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--brand) !important; /* your dark blue-purple */
  box-shadow: 0 0 0 2px rgba(36,34,76,0.3);
  background-color: #e1f0e4 !important;
}



/* ========================================
   HEADER
======================================== */
.header-image {
  position: relative;          /* ✅ scrolls with the page */
  width: 120px;                /* full width edge to edge */
  height: auto;    /* adjusts automatically to image proportions */
  max-height: 150px;
  display: block;
  object-position: center; 
  margin-right: 2rem;
  margin-top: 1rem;
  background-color: transparent;
  object-fit: contain;
  
}
  

header.site { margin: 0; padding: 0;  }

/* ================================
   HEADER SPLIT LAYOUT
================================ */
.header-frame {
  position: relative;
  display: block;
  border-top: 7px solid var(--brand);
  border-bottom: 7px solid var(--brand);
  width: 100%;
  box-sizing: border-box;
  background-color:rgb(18, 49, 80);/* or transparent if you prefer */
  padding: 0.3rem 1rem;
  height:100px;
  background-size: cover;          /* Stretch to fill screen */
  background-position: 75% 25%;     /* Keep centered */
  background-repeat: no-repeat;
  background-image: url("../images/LogoZ-background.webp"); 
}

.header-frame::before {
  content: "";
  position: absolute;
  inset: -3px 0;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  pointer-events: none;
}

/* inner content — split into two halves */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: 100%; /* allows wrapping on small screens */
}

/* left side — image + text inline */
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}



.header-text h1 {
  font-family: "otta-arabic", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 50px;
  color: var(--bg5);
  margin: 0;
  transform: scaleY(0.85);
  line-height:1.4;
  
}

.header-text h2 {
  font-family: "otta-arabic", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  color: #39B54A;
  margin: 0.3rem 0 0;
  transform: scaleX(1.07);
  
}

/* ===== HEADER RIGHT: pinned horizontally to top & bottom ===== */
.header-right {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;             
  width: 40%;              /* adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* top and bottom pinned */
  align-items: end;            /* align content to the right edge */
  padding: 0.4rem 1rem;
  box-sizing: border-box;
  height:auto;
}

/* Top row — languages */
.language-switch {
  display: flex;
  justify-content: end;
  gap: 0.25rem;
  margin-left:0.25rem;
}
.language-switch a {
  color:var(--bg5);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Calibri", sans-serif;
  font-weight: bold;
  font-style: normal;
}
.language-switch a:hover { color: #39B54A; }

/* Bottom row — contact icons */
.contact-icons {
  display: flex;
  justify-content: end;
  gap: 1.2rem;
}
.contact-icons a {
  color: var(--bg5);
  font-size: 18px;
  transition: color 0.3s ease;
}
.contact-icons a:hover { color: #39B54A; }

/* Hide mobile slide-in menu by default */
.mobile-menu {
    display: none;
}



/* ========================================
   MAIN - TAK SOLUTIONS
======================================== */
main {
  margin: 0.5rem 2rem;   /* centers horizontally */
  padding:0;     /* safe side padding */
  max-width: auto;   /* or match your homepage width */
  margin-bottom: 0 !important;
  padding-bottom: 0.2rem !important; /* keeps footer from clipping */
  display: block; 
  background-image: url("../images/LogoZ-background2.webp");
  background-size: cover;        /* or "contain" if you prefer */
  background-repeat: no-repeat;
  background-position: center ; 
  background-attachment: fixed;  /* optional: elegant parallax-like effect */
  
  }
 
main h1 {
	color: var(--accent);
	line-height: 2rem; 
	text-align: right;
	}
main h2 {
	color: var(--brand); 
	font-size: 30px; 
	text-align: right;
	border-bottom: 3px solid var(--accent);
	}
main h3 {color:var(--accent);
}

.h3-image {width:1%;position:block;}


.slogan {text-align: right; padding-top: 4rem; 
margin-right: 7rem; line-height:2.5rem; transform: scaleX(1.07); }
.slogan h1 { font-size: 2.5vw !important; }
  .slogan h2 { font-size: 1.8vw !important; }
  
/* ========================================
   INFO BOXES — INTERACTIVE FEATURES SECTION
======================================== */
.intro-text { 
 
  text-align: right;
  font-weight: bold;
  margin: 3px;
  width: 90%;
  font-weight: 500;
  font-size: 20px;
  font-family: "otta-arabic", sans-serif;
  margin-top:1rem;
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: rgba(5, 68, 20, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Required for Safari */
  color:var(--bg0);
  font-size: 18px;
  border-bottom: 3px solid var(--accent);
  border-radius: 12px;
}



.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;

  max-width: 1100px;
  width: 100%;            /* makes shrinking proportional */

  justify-items: center;  /* NEW — centers boxes in their columns */
  justify-content: center;/* NEW — keeps grid centered on shrink */

  margin:1rem auto;
  padding:1rem 0 3rem 0;
  text-align: right;
  margin-top:0;
}

.info-boxes .box {
  position: relative;
  background: rgba(6, 38, 10, 0.9);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.2rem 0.8rem;
  height: 200px;
  width: 290px;
  overflow: hidden;
  transition: all 0.35s ease, transform 0.25s ease;
  cursor: pointer;
  text-align: center;
  flex: 0 0 auto;
}

.info-boxes .box i {
  color: var(--accent);
  margin-bottom: 0;
   font-size: 30px;
}



.info-boxes .box h3 {
  color: #F1F2F2;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-align: center;
  margin-top: 1rem;
  line-height: 2rem;
}

.info-boxes .box p {
  background:var(--bg7);
  position: absolute;
  inset:0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  font-size: 15px;
  color: var(--bg0);
  font-weight:bold;
  line-height: 1.4;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding:1rem;
  transition: opacity 0.2s ease;
  
}

/* Hover expansion and reveal */
.info-boxes .box:hover {
  transform: scale(1.05);
  background: var(--bg7);
}
.info-boxes .box:hover p {
  opacity: 1;
}

/* Hide by default */
.mobile-more {
  display: none;
}

/*===========two-column-wrap=================*/

.two-column-wrap1 {
  display: grid;
  grid-template-columns: 2fr 1fr; /* perfect ratio */
  gap: 5rem;
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 auto;
  box-sizing: border-box;
  
  
}



.two-column-wrap2 {
  
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 2rem auto;
  box-sizing: border-box;
}

.two-column-wrap2 form{
  display: grid;
  grid-template-columns: 1.5fr 1.5fr; /* perfect ratio */
  gap: 2rem;
  
}

/* These ensure everything shrinks with the grid */
.left-side, 
.right-side {
  min-width: 0;     /* ⭐ prevents overflow & hidden content */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/*========WORKFLOW-INTRO================*/

.intro-text2{ 
 
  text-align: right;
  font-weight: bold;
  margin: 3px;
  width: 90%;
  font-weight: 500;
  font-size: 18px;
  font-family: "otta-arabic", sans-serif;
  margin-top:1rem;
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: rgba(5, 34, 76, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Required for Safari */
  color:var(--bg0);
  border-bottom: 3px solid var(--accent);
  border-radius: 12px;
}

.workflow-intro {
  padding: 2rem 2rem;
  text-align: center;
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  width: 100%;
  margin-right: 2rem;
  border-radius:18px;
  margin: 3px;
}

.workflow-intro h3 {
    color:var(--bg9);
    font-size:26px;
}


.workflow-intro p{
    color:var(--bg7);
    font-size:17px;
}
.workflow-intro  i{
    font-size: 18px;
}


/*=============== JOURNEY (VERTICAL) ===============*/

.journey {
  background: none;
  border: none;            /* no border */
  box-shadow: none;        /* remove shadow */
  color: var(--accent);
  text-transform: uppercase;
  font-family: "otta-arabic", sans-serif;
  font-weight: 500;
  font-size: 20px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  text-align: right;
  margin-right: auto;
  margin-left: auto;
  justify-content: flex-start;
  align-items: center; 
  display: flex;              /* must be flex, not block */
  flex-direction: column;     /* vertical stack */
  gap: 2rem;                  /* spacing between steps */
}


.journey i {
  margin-left: 10px;
  color: #39B54A;   
  font-size: 1.6rem;
  vertical-align: medium;
}
.icon-badge {
  position: relative;
  display: inline-block;
}

.icon-badge i {
  font-size: 1.8rem;
  
}

.icon-badge .small {
  position: absolute;
  bottom: 0;
  right: -6px;
  font-size: 0.8rem;
  color: var(--accent);
}


/* Each Step Card */
.step {
  position: relative;
  background: rgba(16, 34, 76, 0.85);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  color: var(--bg8);
  padding: 1rem 2rem;
  border-radius: 6px;
  border: 2px solid var(-accent);
  font-family: "otta-arabic", sans-serif;
  font-weight: 550;
  font-size: 1.7rem;
  display: flex;
  flex-direction: column;     /* icon ABOVE text */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;                /* space between icon and text */
  text-align: center;
  width: 300px;   
  height:140px;
}


/* The icon */
.step i {
  font-size: 2rem;            /* bigger icon */
  margin: 0;
  color: var(--bg5);
}

/* Arrow connecting each box vertically */
.step::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  
  /* 🔥 Make arrow as wide as the box */
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-top: 22px solid var(--brand);
}

/* Remove arrow on last card */
.step:last-child::after {
  display: none;
}
/*======*/

.intro-text3{ 
 
  text-align: right;
  font-weight: bold;
  margin: 3px;
  width: 90%;
  font-weight: 500;
  font-size: 18px;
  font-family: "otta-arabic", sans-serif;
  margin-top:1rem;
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
   background: rgba(5, 68, 20, 0.7);
   backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Required for Safari */
  color:var(--bg5);
  border-bottom: 3px solid var(--accent);
  border-radius: 12px;
}

.pdf-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--brand);
   margin: 5rem 7rem;
}

.pdf-header {
  background-color: var(--bg7);
  color: var(--bg3);
  font-family: "otta-arabic", sans-serif;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.pdf-wrapper iframe {
  width: 100%;
  height: 550px;
  border: none;
  
}



/* ========================================
  Form sections
======================================== */
/* Instructions */
.form-instructions  {
  text-align: right;
  font-weight: bold;
  margin: 3px;
  width: 90%;
  font-weight: 500;
  font-size: 20px;
  font-family: "otta-arabic", sans-serif;
  margin-top:1rem;
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 2rem;
  background: rgba(6, 34, 76, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Required for Safari */
  color:var(--bg0);
  font-size: 18px;
  border-bottom: 3px solid var(--accent);
  border-radius: 12px;
  
  
  
}

.section {
  
  background: none;        /* no white background */
  border: none;            /* no border */
  box-shadow: none;        /* remove shadow */
  padding: 0.5rem 0;       /* keep vertical spacing */
  margin-bottom: 0.1rem;   /* space between sections */
  margin-top: 0.5rem;
  
  
}
.section-title {
  background-color:rgba(6, 24, 76, 0.9);
  color: var(--accent);
  text-transform: uppercase;
  font-family: "otta-arabic", sans-serif;
  font-weight: 500;
  font-size: 20px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-align: right;
  margin-right: auto;
  margin-left: auto;
  justify-content: flex-start;
  align-items: center; 
  
}
.section-title i {
  margin-right: 10px;
  color: #39B54A;   
  font-size: 1.6rem;
  vertical-align: medium;
}


/*REQUEST A QUOTE*/
.services-box {
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  
}
.services-box label {
  display: block;
  font-weight: bold;
  font-size: 17px;
  font-family: "adobe-arabic", sans-serif;
  margin-top: 0.5rem;
}
.services-box input[type="checkbox"] {
  margin-left: 8px;
  transform: scale(1.2);
  margin-top: 0.5rem;
 
}

/* Only horizontal for the ones with class “horizontal” */
.services-box-horizontal {
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;          /* align checkboxes side by side */
  flex-wrap: wrap;              /* wrap to next line if too long */
  justify-content: flex-start;  /* or center if you prefer */
  gap: 1.5rem;                  /* spacing between each option */
  margin-top: 0.5rem;  
  font-weight: bold;
  font-size: 17px;
  font-family: "adobe-arabic", sans-serif;
}

.services-box.horizontal label {
  display: flex;
  align-items: center;
  gap: 0.4rem; 
  
  
}
textarea.auto-expand{
  min-height: 40px;     /* starting height */
  resize: none;         /* prevent manual resizing if you prefer */
  overflow-y: hidden;   /* no scrollbars */
  overflow-x: hidden;
  font-family: "adobe-arabic", sans-serif;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

textarea,
input[type="email"],
input[type="date"]{
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "adobe-arabic", sans-serif;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
}

/*---------Arabic Submit Button-----------------------------------------------------*/
.upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#file-container > .file-row,
#file-container > .file-item {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "adobe-arabic", sans-serif;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.file-input,
.file-item input[type="file"] {
  display: none;
}


.file-btn,
.file-item label {
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  color: #656b73 !important;
}

.file-status,
.file-item span {
  color: #656b73 !important;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
/* default (no file) */
.file-status,
.file-item span {
  color: #656b73;
  font-size: 14px;
}

/* when file is selected */
.file-status.has-file,
.file-item span.has-file {
  color: var(--text);   /* your highlight color */
  font-size: 16px;
  font-weight: 600;
}
/*----------------------------------------------------------------------*/

/*--------------- 
Calendar not in use
------------*/
input[type="date"]{
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  direction: rtl;
  text-align: right;
  direction: rtl;
  text-align: right;
  position: relative;
}
/* move the calendar icon to the left */
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 12px;
  right: auto;
  cursor: pointer;
}
/*----------------calendar not in use/end---------------*/

/* ----Arabic calendar in use---*/
#deadline,
.deadline-display {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "adobe-arabic", sans-serif;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  background: rgba(0, 290, 60, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Required for Safari */
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
}

.deadline-display::placeholder {
  font-size: 14px;
  color: #656b73;
}


.phone-inputs{
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;     /* allows stacking on small screens */
}

.phone-inputs input[type="tel"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: "adobe-arabic", sans-serif;
  color: #24224C;
  background: #fff;
  max-width:100%;
  min-width: 0;        /* IMPORTANT: allows flex children to shrink */
  box-sizing: border-box;
  
}

.phone-inputs #countryCode{
  flex: 0 0 4rem;      /* fixed width for country code */
  width: 1.5rem;
  text-align: center;
}

.phone-inputs #mobile{
  flex: 1 1 7rem;     /* grows, but can wrap */
}

.section label{
    
    color:var(--brand);
}
.section label a {
    color: var(--list);
    text-decoration: underline;
}

.section label a:hover {
    
    color: var(--accent);
	text-decoration: underline;
	
}


#formSubmitBtn  {
  color: var(--bg0);
    font-weight: bold;
  font-size: 18px;
  font-family: "adobe-arabic", sans-serif;
  background-color: rgba(36, 34, 76, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Required for Safari */
  border: 1px solid #ccc;
  padding: 0.5rem 3rem;
  border-radius: 8px;
  cursor: pointer;
  margin:  auto;
  transition: background 0.3s;
  border-bottom: 5px solid var(--accent);

}


    
#formSubmitBtn:focus,
#formSubmitBtn:focus-visible {
  outline: none;
  box-shadow: none;
}
#formSubmitBtn:hover { background-color: rgba(6, 34, 76, 0.9); color:var(--accent); }

#responseMessage {
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  color: var(--bg8);
  font-weight: bold;
  margin:  1.5rem 32.5rem;
  padding: 0.8rem;
  border-radius: 6px;
  width: 85%;
  max-width: 750px;
  border: 1px solid var(--brand);
  display: none;
}
#responseMessage.show { display: block; }

#responseMessage { 
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

#responseMessage.show {
  opacity: 1;
  max-height: 200px;
}



/* ========================================
   FOOTER
======================================== */

.footer-scale {
    transform-origin: top center;
    transform: scale(1);
    width: 100%;
}

footer {
	width: 100%;
	text-align: center;
	font-size: 15px; 
	color: #F1F2F2 ;
	margin-top: 1rem !important;   /* gives breathing space above */
    padding-top: 0.5rem; 
	margin-bottom:0; 
	padding-bottom:0; 
	display: block;
	
    
	}

.site-credit {
    text-align: center;
    font-size: 0.6rem;
    color: var(--bg10); /* or white if dark footer */
    margin-top: 8px;
    line-height: 1.4;
}
	
.footer-image {
  position: relative;          /* ✅ scrolls with the page */
  object-position: center;
  width: 4%  ;
}
.legal-links {
    text-align: center;
    margin-top: 21px;
	color: var(--bg8)!important;
	border-top: 5px solid #24224C;   /* decorative divider */
	border-bottom: 5px solid #24224C;   /* decorative divider */
    font-weight: bold;
	font-size: 14px;
	display: block;
  width: 100vw;
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}
.legal-links a {
    color: var(--bg8); 
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: none;
    color: var(--bg0);
	
}


/*CONTACT / GET IN TOUCH*/

.contact-section {
  background-size: cover;          /* ensures any background image fits */
  background-position: center;     /* centers it visually */
  background-repeat: no-repeat;
  background-attachment: fixed;    /* keeps it static while scrolling */
  padding: 0 0;                  /* resets padding shorthand */
  color: #F1F2F2  ;                 /* text color */
  text-align: center;              /* aligns footer text */
  position: relative;              /* allows inner elements to be positioned safely */
  
  padding-top: 1rem !important;  /* ✅ adds gentle spacing above to prevent the “push” */
  margin-top: 0.5rem !important;     /* ✅ cancels the double-margin overlap with <main> */
  margin-bottom: 0 !important;
  padding-bottom:0.5rem;
}

.contact-section h3{
  
  text-align: center;
  font-weight:500;
  margin: 0 0 0;
  font-size: 23px;
  color: #24224C;
  padding:0.5rem;
  }
  

  


/* ===== 3-COLUMN FOOTER LAYOUT ====== */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 1rem auto;
  text-align: center;
 
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.footer-col h3 {
  margin-bottom: 1rem;
  color: #F1F2F2 ;
  font-weight:500;
  font-size:23px;
  font-family: "otta-arabic", sans-serif;
}


.links a {
  display: inline-block;
  margin: 8px 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 19px;
  font-family: "adobe-arabic", sans-serif;
}

.links a:hover {
  background: #39B54A;
  color: #24224C;
}

.quote {
    	border-top: 5px solid #24224C;   /* decorative divider */
    
}
.quote h3{ 
    font-size:25px; 
    padding:  0 7rem; 
    margin: 0 ;
}
.quote .links a {
    color:var(--bg9); background: var(--bg8);
    margin-top: 2rem;
    
}

.quote .links a:hover {
    background:#ffff;
  
}

.links a i {
  margin-left: 8px;
  font-size: 20px;
  background: none;
  color: var(--accent);
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}
/* Hover for icons only */
.links a i:hover {
  color: var(--brand);
  transform: scale(1.15);
}

.footer-col:last-child .links a {
  background: none;
  padding: 0;
  margin: 0 6px;
  font-size: 1.5rem;
}

.footer-col:last-child .links a i{
 
  font-size: 2rem;
}


.footer-col:last-child .links a:hover {
  background: none;
  transform: scale(1.15);
  color: #24224C;
  font-weight:bold;
  
}


/* CONTACT BUTTONS ONLY (cols 1 & 2) */
.footer-col:not(:last-child) .links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.footer-col:not(:last-child) .links a i {
  color: inherit;
}

/* Ensure icons follow the text color on hover */
.footer-col:not(:last-child) .links a:hover {
  background: var(--accent);
  color: var(--brand);
  transform: translateY(-1px);
}



/* ========================================
   REVEAL + BACK TO TOP + BACK TO BOTTOM
======================================== */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal-init.visible { opacity: 1; transform: translateY(0); }


/* ===== BACK TO TOP (Universal Version) ===== */
#backToTop {
  position: fixed;
  left: 10px;
  bottom: 90px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: none;
  background-color:rgba(36, 34, 76, 0.7);
  color: var(--bg5);
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 9996;
  overflow: hidden;
  transform: none !important;
  scale: 1 !important;
  border-bottom: none !important;
  padding: 0 !important;

}
#backToTop i {
  font-size: 20px !important;
  line-height: 1 !important;
}

#backToTop.show {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  transform: scale(1.08);
  background-color: var(--accent);
}
body {
  transform: none !important;
}

/*========BACK TO BOTTOM==========*/

#backToBottom {
  position: fixed;
  left: 10px;
  bottom: 10px; /* slightly above the chat icon */
  background-color: rgba(36, 34, 76, 0.7);
  color: var(--bg5);
  border: none;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
  scale: 1 !important;
  border-bottom: none !important;
  padding: 0 !important;
  isolation: isolate;
}

#backToBottom.show {
  opacity: 1;
  pointer-events: all;
}

#backToBottom:hover {
  transform: translateY(-3px);
  background-color: var(--accent);
}