/* Reusable Components */

/* Buttons */
.btn {
    padding: 10px 36px;
    border-radius: 100px;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: var(--button-gradient);
    color: var(--text-on-colored);
    box-shadow: 0 8px 20px rgba(238, 94, 69, 0.35);
}

.cta-btn {
    background: var(--button-gradient);
    color: var(--text-on-colored);
    padding: 10px 42px;
    border-radius: 100px;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    box-shadow: 0 10px 24px rgba(238, 94, 69, 0.35);
}

.cta-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--button-gradient);
    color: var(--text-on-colored);
    border: none;
    padding: 10px 42px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    box-shadow: 0 8px 20px rgba(238, 94, 69, 0.25);
}

.btn-secondary:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-on-colored);
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: inherit;
}

.site-logo {
    display: block;
    max-height: 42px;
    width: auto;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text-on-colored);
    font-size: 26px;
    cursor: pointer;
    padding: 8px 10px;
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-on-colored);
    text-decoration: none;
    padding: 12px 16px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Language Toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    gap: 8px;
}

.lang-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-label {
    display: block;
    width: 60px;
    height: 30px;
    border: 3px solid var(--text-white);
    border-radius: 99em;
    position: relative;
    transition: transform .5s ease-in-out;
    transform-origin: 50% 50%;
    cursor: pointer;
    background: transparent;
}

.lang-label:before {
    transition: transform .45s cubic-bezier(.2,.9,.2,1), background-color .2s ease;
    content: "";
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: var(--light-bg);
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.lang-toggle input[type="checkbox"]:checked + .lang-label {
    transform: rotate(360deg);
    background-color: transparent;
}

.lang-toggle input[type="checkbox"]:checked + .lang-label:before {
    transform: translateX(27px);
    background-color: var(--text-on-colored);
}

.lang-text {
    color: var(--text-on-colored);
    font-size: 13px;
    font-weight: 700;
    margin-left: 6px;
    transition: transform .22s ease, opacity .22s ease;
    opacity: .95;
}

.lang-text.lang-change {
    transform: scale(1.07);
    opacity: 1;
}

[dir="rtl"] .lang-toggle {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-text {
    margin-left: 0;
    margin-right: 6px;
}

/* Footer */
footer {
    background: var(--light-bg);
    padding: 100px 16px 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--secondary-color);
}

.footer-col {
    max-width: 320px;
}

.footer-col h3 {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col p, .footer-col a {
    font-size: 16px;
    color: var(--text-white);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-social {
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.footer-social i {
    font-size: 22px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
}

/* Social Sidebar */
.social-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-line {
    width: 2px;
    height: 140px;
    background: var(--text-on-colored);
}

.social-sidebar i {
    font-size: 20px;
    color: var(--text-on-colored);
    cursor: pointer;
    transition: color 0.3s;
}

.social-sidebar i:hover {
    color: var(--secondary-color);
}

/* Cards */
.card {
    padding: 30px;
    border-radius: 8px;
    background: rgba(127, 127, 127, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Form Components */
.form-control {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 16px;
    width: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .14s ease, box-shadow .14s ease, transform .06s ease;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: none;
    transform: translateY(-1px);
}

.form-group {
    margin-bottom: 18px;
}

/* Video controls */
.video-overlay-controls {
    display: none !important;
}

.video-btn {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-on-colored);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
}