@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');

:root {
    --bg-color: #fff;
    --text-color: #000;
    --border-color: #000;
    --input-bg: #fff;
    --input-text: #000;
    --button-bg: #fff;
    --button-text: #000;
    --social-color: #000;
}

body.dark {
    --bg-color: #121212;
    --text-color: #eee;
    --border-color: #eee;
    --input-bg: #1e1e1e;
    --input-text: #eee;
    --button-bg: #1e1e1e;
    --button-text: #eee;
    --social-color: #eee;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    overflow: hidden;
    height: 100vh;
    /*cursor: none;*/
    transition: background 0.3s, color 0.3s;
}

.container {
    border: 3px solid var(--border-color);
    border-radius: 10px;
    margin: 20px;
    height: 95%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--border-color);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
}

.top-bar a {
    color: inherit;
    text-decoration: none;
}

.top-right {
    display: flex;
    gap: 20px;
    font-size: 18px;
    align-items: center;
    cursor: pointer;
}
.top-right a { 
    text-decoration: none;
    color: inherit;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 3px solid var(--border-color);
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

.circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none; 
    transform: translate(0, 0); 
    transition: border-color 0.3s;
}

.contact-boxes {
    display: flex;
    flex: 1 1 auto;
    border-bottom: 3px solid var(--border-color);
    overflow: hidden;
}

.contact-box {
    flex: 1;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    border-right: 3px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.3s;
}

.contact-box:last-child {
    border-right: none;
}

.social-box h2,
.form-box h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.social-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.social-box h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.social-box a {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--social-color);
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.2s, color 0.3s;
}

.social-box a i {
    font-size: 36px;
}

.social-box a:hover {
    transform: scale(1.1);
}

.form-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-box input,
.form-box textarea {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    background: var(--input-bg);
    color: var(--input-text);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.form-box button {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background: var(--button-bg);
    color: var(--button-text);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 12px;
    flex-shrink: 0;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-left img {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: border-color 0.3s;
}

.footer-center a {
    margin: 0 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-right {
    font-size: 12px;
}

#mode-toggle {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease, color 0.3s;
    cursor: pointer;
    color: var(--text-color);
}

body.dark #mode-toggle {
    color: var(--text-color);
}

#mode-toggle.rotate {
    transform: rotate(360deg);
}

.arabic {
  font-family: 'Amiri', serif;
  direction: rtl;
  text-align: right;
}

.arabic .top-bar,
.arabic .top-bar * {
  font-family: Arial, Helvetica, sans-serif;
  direction: ltr;
  text-align: left;
}