/* Updated style.css for legal website */

@font-face {
    font-family: 'Zain';
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #1c1c1c;
    --color-secondary: #4a4a4a;
    --color-accent: #d4af37;
    --color-light: #f4f4f4;
    --color-silver: #c0c0c0;
}
body {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-light);
    color: var(--color-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}
.text-primary {
    color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.accent {
    color: var(--color-accent);
}

.bg-light {
    background-color: var(--color-light);
}

.text-silver {
    color: var(--color-silver);
}
a.logo { /* Target the logo specifically – add this class to your <a> */
  text-decoration: none; /* Remove underline from link */
  display: inline-block; /* Allow for padding and margin */
  padding: 5px 10px; /* Adjust for spacing */
  font-weight: 700;  /* Make it bolder */
  letter-spacing: 1px; /* Add a bit of space between letters */ 
  /* Example background effect – feel free to customize: */
  background: linear-gradient(to right, var(--color-accent), #d9b32f); /* Subtle gradient */
  -webkit-background-clip: text; /* Apply gradient to text only */
  background-clip: text; 
  color: transparent; /* Make original text color transparent */ 
}

/* Optional hover effect for a more dynamic feel */
a.logo:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}


.text-accent-color {
    color: var(--color-accent);
}
.text-light-color {
    --color-light: #f4f4f4;
}


a.logo { /* Target the logo specifically – add this class to your <a> */
    text-decoration: none; /* Remove underline from link */
    display: inline-block; /* Allow for padding and margin */
    padding: 5px 10px; /* Adjust for spacing */
    font-weight: 700;  /* Make it bolder */
    letter-spacing: 1px; /* Add a bit of space between letters */ 
    /* Example background effect – feel free to customize: */
    background: linear-gradient(to right, var(--color-accent), #d9b32f); /* Subtle gradient */
    -webkit-background-clip: text; /* Apply gradient to text only */
    background-clip: text; 
    color: transparent; /* Make original text color transparent */ 
  }
  
  /* Optional hover effect for a more dynamic feel */
  a.logo:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
  }
.font-zain {
    font-family: 'Zain', 'Tajawal', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    direction: rtl;

}
/* style.css */
.legal-icon {
    width: 1.5em; /* Adjust size as needed */
    height: 1.5em; 
    vertical-align: middle; /* Align with text */
    margin-right: 0.5rem; /* Add spacing (adjust as needed) */
  }

header {
    background-color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 100; /* Ensure the header stays on top of other elements */
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

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

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

main {
    padding: 2rem 0;
}

h1, h2, h3 {
    color: var(--color-primary);
}

.workflow-container {
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.workflow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4, #45B7D1, #6A0572);
    transform: translateY(-50%);
    z-index: 0;
}
.workflow-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
    transform: translateY(-50%);
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}

.workflow-step {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}


.step-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.workflow-step.active {
    opacity: 1;
    transform: translateY(0);
}
.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--color-accent);
}



.step-description {
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.step-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.workflow-step.in-view {
    opacity: 1;
    transform: translateY(0);
}

.workflow-step:hover .step-circle {
    transform: scale(1.3);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 40px;
    height: 40px;
    color: #333;
}
.step-content {
    padding: 1rem;
}



@media (max-width: 768px) {
    .workflow-container {
        flex-direction: column;
        align-items: center;
    }
    
    .workflow-container::before {
        height: 100%;
        width: 4px;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    
    .workflow-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .workflow-step {
        flex-basis: 100%;
    }
}



/* Additional styles for other sections */
.bg-primary {
    background-color: var(--color-primary);
}

.text-white {
    color: var(--color-light);
}

.bg-accent {
    background-color: var(--color-accent);
}

.hover\:bg-yellow-500:hover {
    background-color: #c4a130;
}

.text-primary {
    color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.text-secondary {
    color: var(--color-secondary);
}

.hover\:text-accent:hover {
    color: var(--color-accent);
}


/* ... your existing CSS ... */

/* Footer Styles */
footer {
    background-color: var(--color-accent); /* Your bright accent color */
    py-10;
}

footer h3, footer h4 {
    color: var(--color-light); /* Use your light color for text */
}

footer p {
    color: var(--color-light); /* Use your light color for text */
}

footer a {
    color: var(--color-primary); /* Use your primary color for links */
    text-decoration: none;
}

footer a:hover {
    color: var(--color-secondary);  /* Use a slightly darker shade for hover */
    text-decoration: underline;
}